Skip to content

Commit cd32346

Browse files
authored
Merge pull request #3 from benmccann/headings
2 parents 09c92b2 + a002893 commit cd32346

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)