Closed LuHugo closed 1 year ago
use remark-directive
@LuHugo Hi! Can you be more specific? I'm having the same problem.:(
@LuHugo Hi! Can you be more specific? I'm having the same problem.:(
Because I used the remark-admonitions
plug-in which caused the error, and then I replaced it with remark-directive
and got the function I needed. I didn't delve too deeply into the reason.
I am using it in the astro project, and when I start the project I get the error
Cannot read properties of undefined (reading 'blockTokenizers')
. When I debugged the code I found thatthis.Parser.prototype
wasundefined
in the plugin code.astro version is
"astro": "^3.1.0"
project
astro.config.mjs
code:I don't know if it's a configuration problem or something went wrong.
Expectation: Works on astro project