jekyll 降价要点问题
jekyll markdown bullet point issue
我正在一些在线编辑器中编辑我的 markdown dillinger.io。然后将内容复制到 jekyll _posts 中。但是,jekyll 在浏览器上的呈现方式与我在上面提到的 editor/github 文件预览中看到的不同。
我面临的主要问题是要点。我无法使用“*”或“-”降价语法显示要点。要使用 jekyll 显示它,我需要在降价文件中使用
标签。我在谷歌上搜索了很长时间,并在 _config.yml 文件中使用了以下配置以获得更好的输出。
markdown: kramdown
kramdown:
input: GFM
但它仍然不是我期待的那个。以下是截图
Online editor and github preview are same as shown in the following URL -
But Jekyll is rendering as follows -
With the mentioned change in _config.yml file. It is better but still it does not display bullet points properly -
一些 Whosebug 帖子说这是默认的 Jekyll markdown 渲染引擎的问题。
您能否建议我需要进行哪些更改才能获得与下面 URL 中提到的 github 预览中看到的相同的输出? -
kramdown GFM 解析器仅支持一些 Github 风格的 Markdown 选项(see documentation)
在 Jekyll 中,您需要在列表前添加 two new lines
:
The list
- item 1
- item 2
我正在一些在线编辑器中编辑我的 markdown dillinger.io。然后将内容复制到 jekyll _posts 中。但是,jekyll 在浏览器上的呈现方式与我在上面提到的 editor/github 文件预览中看到的不同。 我面临的主要问题是要点。我无法使用“*”或“-”降价语法显示要点。要使用 jekyll 显示它,我需要在降价文件中使用
markdown: kramdown
kramdown:
input: GFM
但它仍然不是我期待的那个。以下是截图
Online editor and github preview are same as shown in the following URL -
But Jekyll is rendering as follows -
With the mentioned change in _config.yml file. It is better but still it does not display bullet points properly -
一些 Whosebug 帖子说这是默认的 Jekyll markdown 渲染引擎的问题。 您能否建议我需要进行哪些更改才能获得与下面 URL 中提到的 github 预览中看到的相同的输出? -
kramdown GFM 解析器仅支持一些 Github 风格的 Markdown 选项(see documentation)
在 Jekyll 中,您需要在列表前添加 two new lines
:
The list
- item 1
- item 2