Hexo + Markdown issues

Backslash escapes

Hexo installs a plugin hexo-renderer-marked as the default Markdown renderer, but the plugin generates literal characters which are not what you want if have a backslash before these characters, such as scrapy crawl \<spider name\> becomes scrapy crawl \. To fix this issue by replacing hexo-renderer-marked with hexo-renderer-markdown-it.

Normally, we insert <!-- more --> into a post to display its summary, but don’t work if using hexo-renderer-markdown-it with default configuration, hexo-renderer-markdown-it escapes HTML. To fix this issue by appending

markdown:
  render:
    html: true

to Hexo‘s _config.yml.