(uriPath: string, markdown: string)
| 830 | const parser = createMarkdownParser(); |
| 831 | |
| 832 | function parseNote(uriPath: string, markdown: string) { |
| 833 | const uri = URI.file(uriPath); |
| 834 | return parser.parse(uri, markdown); |
| 835 | } |
| 836 | |
| 837 | it('`body` returns the note text minus frontmatter, keeping the H1 title', () => { |
| 838 | const markdown = `---\nstatus: to_ask\n---\n# Question\n\nWhat is X?\n`; |
no test coverage detected