Closed dekryptic closed 6 years ago
To diagnose this we're going to need a bit more information. Do you have the full traceback and a piece of code or a failing test that can reproduce this error?
I'm using react-markdown. Here's an example I was working on: https://codesandbox.io/s/9zo29v9k5o
If you change the version of remark-shortcodes to 0.1.5, it works fine.
That's really helpful, thanks.
@ChristianMurphy worked on the 0.2 release, as it added compilation. This is probably related to that, I'll try and get a chance to see why as soon as possible.
@dekryptic 0.2.0 requires both remark-parse
and remark-stringify
.
We can make the error messages clearer and/or make the compiler and parser optional.
@djm Do you have a preference on having optional install for compiler and parser (silently skip if one or both is missing), or having errors if one or both are missing?
I don't get an error with 0.1.5.