We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 87e7029 + f23ff1f commit bcc49c9Copy full SHA for bcc49c9
src/plugins/metadata.ts
@@ -11,6 +11,7 @@ import { Node } from 'unist';
11
import { select } from 'unist-util-select';
12
import visit from 'unist-util-visit';
13
import { VFile } from 'vfile';
14
+import { mdast as attr } from './attr';
15
import { mdast as footnotes } from './footnotes';
16
17
/** Attribute of HTML tag. */
@@ -164,6 +165,7 @@ const parseMarkdown = (md: string): KeyValue => {
164
165
[markdown, { gfm: true, commonmark: true }],
166
// Remove footnotes when reading title from heading
167
footnotes,
168
+ attr,
169
frontmatter,
170
mdast,
171
] as unified.PluggableList<unified.Settings>)
0 commit comments