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.
1 parent bcc49c9 commit f220a82Copy full SHA for f220a82
tests/metadata.test.ts
@@ -534,3 +534,12 @@ title: ["Foo", "Bar"]
534
};
535
expect(received).toStrictEqual(expected);
536
});
537
+
538
+it('Exclude attribute syntax in title heading', () => {
539
+ const md = '# Foo {.bar}';
540
+ const received = readMetadata(md);
541
+ const expected: Metadata = {
542
+ title: 'Foo',
543
+ };
544
+ expect(received).toStrictEqual(expected);
545
+});
0 commit comments