我正在使用 hexo 框架并尝试在我的 .md 文件中添加“---”或“***”以显示水平线,但它不起作用。
还尝试在我的 _config.yml 文件中启用 gfm markdown:
标记:gfm:true 迂腐:false sanitize:false 表:true 中断:true smartLists:true smartypants:true modifyAnchors:'' autolink:true
有什么线索吗?或者有没有办法将 HTML 标签嵌入到帖子中?
小智 7
我知道这已经很旧了,但我想用 Markdown 添加一件事。如果您在段落后面放置一条没有换行的水平线,如下所示:
This is text! <!--No new line after paragraph-->
---
Run Code Online (Sandbox Code Playgroud)
输出将是:
文本加粗。
为了创建水平线,您需要在段落和 之间添加一条新线---,如下所示:
This text is also text! <!-- New line here... -->
---
This is separated text! <!-- ... and new line here. -->
Run Code Online (Sandbox Code Playgroud)
在 Markdown 中,这使得:
这段文字也是文字!
这是分开的文本!
| 归档时间: |
|
| 查看次数: |
14531 次 |
| 最近记录: |