Closed sakurawald closed 1 year ago
If you don't enable the highlight plugins. Then everything goes well.
Try adding some spaces between '>' and '```'
> ```java
> This is the first line.
> This is the second line.
> This is the thrid line.
> ```
The reason for the error is that the highlight function is called at the wrong time. If you call the highlight function manually, then everything goes well. Anyway, there are still some rendering problems on hexo.
Check List
Please check followings before submitting a new issue.
hexo version
to check)Expected behavior
The codes inside a blockquote should be rendered the same as MarkedDemo. But hexo didn't. I am not sure whether this is is the problem of hexo or marked.js
Actual behavior
The codes insides a blockquote are actually rendered in-correctly. (The ">" should not be a part of the codes.)
How to reproduce?
Try to write down this.
Is the problem still there under "Safe mode"?
YES !
Environment & Settings
Node.js & npm version(
node -v && npm -v
)Your site
_config.yml
(Optional)Hexo and Plugin version(
npm ls --depth 0
)Your package.json
package.json
Others
Though I use "kramed", but I test on "marked" too, both of them have the same bug. Maybe this is not a bug of the markdown render, but a bug of hexo.