Hey @gonzalezreal , I am loving your awesome library! Thanks for sharing it.
I have a use-case where I want to use the MarkdownContent parser and inspect the blocks. I want the app to behave differently if the markdown contains a codeblock, so I want to do something like:
let markdown = MarkdownContent(text)
if let codeBlock = markdown.blocks.first(...) {
// do this
}
The problem is that BlockNode is not public, so I can't access it. I'm creating this fork as a workaround, but opening a PR in case you think it's worth exposing.
Hey @gonzalezreal , I am loving your awesome library! Thanks for sharing it.
I have a use-case where I want to use the MarkdownContent parser and inspect the blocks. I want the app to behave differently if the markdown contains a codeblock, so I want to do something like:
The problem is that BlockNode is not public, so I can't access it. I'm creating this fork as a workaround, but opening a PR in case you think it's worth exposing.