Created
July 21, 2012 16:36
-
-
Save luztak/3156353 to your computer and use it in GitHub Desktop.
Bricdown Syntax Documentation(temp.)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Bricdown是我对Markdown的改进,更方便,更便于理解. | |
语法: | |
换行 | |
不像Markdown强制双空格换行,Bricdown中换行就是换行. | |
段落 | |
视觉上的段落最后加上一个空格会被视为格式化段落. | |
标题 | |
Bricdown采用Atx风格,在行首文字前添加1~6个井号("#")代表h1~h6标签.在标题后面可以有任意个井号. | |
区块 | |
使用行首右尖括号(">").暂时不支持嵌套. | |
强调 | |
在文字外部使用单星号("*")环绕表示着局部重(<em>). | |
使用双星号("**")环绕表示全局着重(<strong>). | |
列表 | |
无序列表 | |
无序列表使用行首"-"做为列项标记. | |
e.g. | |
- HP | |
- Dell | |
- IBM | |
有序列表 | |
有序列表使用行首数字加点做为列项标记. | |
e.g. | |
1. Google | |
2. Twitter | |
3. Facebook | |
链接 | |
Bricdown采用Markdown行内式链接: | |
[链接文字](地址 "title") | |
其中,title可不写. | |
图像 | |
图像形如链接: | |
 | |
同样,title是可选的. | |
代码 | |
所有代码区块中的"&" "<"都会被自动转义. | |
行内代码 | |
可以使用成对"`"符号标记包含其中的代码. | |
Rev.12072201 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
备注 | |
构成HTML实体的"&"会被保留. | |
构成文本内容的"&"会被自动转义. | |
Bricdown不会转换所有在语法标记前添加"\"的语句,视为纯文本. | |
Rev.12072201 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
除了换行没其他的区别了么?
话说换行+双空格也不是很反人类啊,有的时候编写的时候需要换行来排版,但是显示的时候不需要换行..
可以考虑连续两个换行是换行,连续三个换行是段落...