4

Markdown个人笔记

 3 years ago
source link: http://yuanfentiank789.github.io/2015/06/06/Markdown-notes/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

语法方面的文章有很多,这里就不详细说明

Markdown工具

  • StackEdit 非常适合github用户,提供直接publish到github的功能; 尤其是windows再也不用担心中文乱码的问题.

遇到的问题

  • 基于Jekyll的github个人博客,默认是采用kramdown来解析markdown语法,但是无法识别 ```标记符号,围起来的代码块,建议采用4个空格的方式。

  • 在所有标记符号之后,要记得加空格,否则在markdown的编辑器显示可能正常,当发布到blog时会出现非预期的格式。

  • 一行的标记符号结束后,结果加回车,避免出现格式混乱。之前我用用表格的markdown语法,在编辑器格式正常,发布博文到github.io上时,表格不显示,经过一段时间折腾尝试,原来是在上一行的格式增加一个回车就解决了。



About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK