Skip to content

Commit

Permalink
feat: hidden specification of the heading is output as an attribute
Browse files Browse the repository at this point in the history
Co-authored-by: Shinyu Murakami <murakami@vivliostyle.com>
  • Loading branch information
akabekobeko and MurakamiShinyu committed Apr 29, 2021
1 parent 7b1208e commit a933f6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugins/section.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ const checkProperties = (node: any, depth: number) => {

// {hidden} specifier
if (Object.keys(hProperties).includes('hidden')) {
node.data.hProperties.style = 'display: none;';
node.data.hProperties.hidden = "hidden";
}

// output section levels like Pandoc
Expand Down

0 comments on commit a933f6b

Please sign in to comment.