(node:24317) ExperimentalWarning: CommonJS module /usr/lib/node_modules/npm/node_modules/debug/src/node.js is loading ES Module /usr/lib/node_modules/npm/node_modules/supports-color/index.js using require().
Support for loading ES Module in require() is an experimental feature and might change at any time
(Use `node --trace-warnings ...` to show where the warning was created)
hexo-site@0.0.0 /home/netro/Documents/blog
├── hexo-generator-archive@2.0.0
├── hexo-generator-category@2.0.0
├── hexo-generator-index@4.0.0
├── hexo-generator-tag@2.0.0
├── hexo-renderer-ejs@2.0.0
├── hexo-renderer-marked@6.3.0
├── hexo-renderer-stylus@3.0.1
├── hexo-server@3.0.0
├── hexo-theme-landscape@1.0.0
└── hexo@7.3.0
Check List
hexo version
to check)Expected behavior
Should look like
123
{#}
234
{{x}}
Actual behavior
How to reproduce?
just
and edit
source/_posts/hello-world.md
then
Is the problem still there under
Safe mode
?Yes!
Your Node.js & npm version
Your Hexo and Plugin version
Your
package.json
Your site's
_config.yml
(Optional)No response
Others
Changing the second line to
{ #}
would fix the problem. What a weird bug!p.s. I encountered this bug when trying to use mathjax \def and a note block in the same file.
For example:
Adding a space between the
{
and#
also works in this scenario.