【问题标题】:Markdown not rendering properly with Jekyll (although I suspect CSS is the culprit)使用 Jekyll 无法正确渲染 Markdown(尽管我怀疑 CSS 是罪魁祸首)
【发布时间】:2015-12-12 19:10:18
【问题描述】:

我所在的 CTF 团队有一个由 Jekyll 提供支持的 GitHub Pages 网站,但 Markdown 富文本没有呈现。我怀疑 CSS 是问题所在,而不是 Jekyll 或 markdown 渲染器,但我不确定问题出在哪里。

网站:http://ctftoolkit.com/

博文:http://www.ctftoolkit.com/tutorial/2015/12/12/swift.html

GitHub 仓库:https://github.com/ID10T-Errors/ID10T-Errors.github.io

【问题讨论】:

  • 它现在似乎正在工作。你确认了吗?

标签: css jekyll github-pages


【解决方案1】:

不要使用{{page.content}},使用{{content}}。

出于某种原因,page.content 不会呈现 Markdown,但 content 会。

【讨论】:

  • 谢谢!在所有答案中,这个隐藏的答案实际上是唯一正确的答案:/
猜你喜欢
  • 1970-01-01
  • 1970-01-01
  • 2015-04-09
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2021-01-14
  • 2020-08-25
相关资源
最近更新 更多