Closed jcourson8 closed 2 months ago
I think it's a version mismatch issue, solid-markdown
definitely works with remark-gfm
3.0.1
I can't support higher versions yet due to a bug in how the library gets bundled (this one here: https://github.com/andi23rosca/solid-markdown/issues/33)
This solved the issue, thanks!
I am trying to use the
remarkGfm
plugin with thesolid-markdown
library to render GitHub Flavored Markdown, but I am encountering an error in the console when I include the plugin.Steps to Reproduce:
Specifically I'm using this example for the markdown:
Something as simple as this also reproduces error:
const markdown = `\`a\``;
Expected Behavior: The markdown should be rendered correctly with GitHub Flavored Markdown support.
Actual Behavior: The following error is thrown in the console:
Environment:
Additional Information: This repository demonstrates the issue in a minimal setup (specifically in the App.tsx). When the
remarkGfm
plugin is included in theremarkPlugins
prop of theSolidMarkdown
component, the error occurs. Removing the plugin resolves the error but loses the GitHub Flavored Markdown functionality.