Skip to content

Commit 6851287

Browse files
author
Luca Forstner
authored
docs: Fix anchor tags in READMEs (#254)
1 parent ba57fef commit 6851287

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

packages/dev-utils/src/generate-documentation-table.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -375,9 +375,7 @@ function generateDescriptions(
375375
.map((node) => {
376376
const name = parentName === undefined ? node.name : `${parentName}.${node.name}`;
377377
const id = `${parentId}-${node.name.toLowerCase()}`;
378-
let output = `### \`${name}\`
379-
380-
<a name="${id}"></a>
378+
let output = `### <a name="${id}"></a>\`${name}\`
381379
382380
${node.type === undefined ? "" : `Type: \`${node.type}\``}
383381

0 commit comments

Comments
 (0)