A Markdown bug in Jekyll

reproduce

  • Summary

    The strikethrough doesn't work.

  • Operating Environment

    GitHub Pages

  • Reproduce

    • Create a markdown file in folder _post, such as 2018-03-09-bugs.md

    • Write following text in 2018-03-09-bugs.md

      ---
      layout: post
      title: A bug of Jekyll
      ---
      
      - ~~飘啊飘~~
      
      - ~~飘~~
      
      - ~~测试~~
      

      Review this post, you will see this

      The strikethrough doesn't work.

      If I deleted - ~~飘~~, works well, if I deleted - ~~飘啊飘~~ and - ~~测试~~, left code like following

      ---
      layout: post
      title: A bug of Jekyll
      ---
      
      - ~~飘~~
      

      The strikethrough doesn't work too. I tried more Chinese characters, only this one can cause this issue. It's so strange.

Update@2018-03-09 13:29(GMT+8)

I installed Jekyll at local, and created a new site, and added more text at the bottom in the default markdown(welcome-to-jekyll.markdown) file in _posts folder

~~should be deleted~~

~~飘~~

~~飘飘~~

It's a bug, look at following image

Occurrence probability

请注意:这里的内容都是原创,你可以免费阅读,但拒绝所有其他任何形式的转载,谢谢配合。如果你发现文章中有错误,请发邮件给我,非常感谢。

The Copyright of all posts & photos posted in tourcoder.com is belong to tourcoder.com. You can read them for free, but you may not reuse anything therein without my permission.