Closed MrBenWang closed 4 years ago
Note: that the jane.scss_48b060fe05b0a273d182ef83c0605941.content
and jane.scss_48b060fe05b0a273d182ef83c0605941.json
of themes\jane\resources\_gen\assets\scss\sass\
are manually modified by me, not automatically generated by tools.
注意:其中 themes\jane\resources\_gen\assets\scss\sass\
的 jane.scss_48b060fe05b0a273d182ef83c0605941.content
和 jane.scss_48b060fe05b0a273d182ef83c0605941.json
我是手动修改,并非通过工具自动生成。
It seems that some problems still exist due to the auto generated <pre><code>
. The problem is also described in https://github.com/gohugoio/hugo/issues/6553.
@MrBenWang Thanks for your PR! :smile:
Use hugo v0.60 or later, bug fix for shortcodes.
It's because after version 0.60, hugo changed the
defaultMarkdownHandler
fromblackfriday
togoldmark
.305 使用 hugo v0.60 后的版本,shortcodes 的 bug fix.
是由于 0.60 版本后,hugo 更换了默认的 defaultMarkdownHandler ,从 blackfriday 改为 goldmark.