The built-in GFM-capable MarkdownParser implementation.
Delegates to markdownToHtml. No configuration required — construct and call toHtml().
toHtml()
import { DefaultMarkdownParser } from '@theredhead/lucid-foundation';const parser = new DefaultMarkdownParser();console.log(parser.toHtml('**hello**')); // <b>hello</b> Copy
import { DefaultMarkdownParser } from '@theredhead/lucid-foundation';const parser = new DefaultMarkdownParser();console.log(parser.toHtml('**hello**')); // <b>hello</b>
Converts a Markdown string to HTML using the built-in GFM converter.
Raw Markdown source.
HTML string.
The built-in GFM-capable MarkdownParser implementation.
Delegates to markdownToHtml. No configuration required — construct and call
toHtml().Example