-
Notifications
You must be signed in to change notification settings - Fork 85
Closed
Description
Hello 🙂
Is there a way to import the MarkdownParser class or make it exportable?
The reason is, i would like to render the HTML without the need of initializing an OverType instance. E.g.:
// do this directly
MarkdownParser.parse(bookmark.description)
// instead of
const overtype = new OverType(node, {value: '... some markdown ...'}
overtype.getRenderedHTML()Then I would not need to do any utility function that generates a node on the fly or import an additional library.
Any suggestions how to do this? I would also be happy to help with a PR in case it seems useful.
Thank you in advance 🙂
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels