Skip to content

Commit a002893

Browse files
committed
linkify FAQ headings
1 parent 09c92b2 commit a002893

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/format/headings.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ type Heading_with_hProps = Heading & {
6565

6666
export function linkify_headings(): Transformer {
6767
return function (tree, { data }: custom_vfile) {
68-
if (data.docs_type !== "docs" && data.docs_type !== "blog") return;
68+
if (data.docs_type !== "docs" && data.docs_type !== "blog" && data.docs_type !== "faq") return;
6969

7070
visit(tree, "heading", (node: Heading_with_hProps) => {
7171
const prev_section = data.section_stack[data.section_stack.length - 1];

0 commit comments

Comments
 (0)