AsciiDoc
https://mazhuang.org[码志]
预览效果
AsciiDoc
image::https://mazhuang.org/assets/images/qrcode.jpg[闷骚的程序员]
AsciiDoc
.无序列表 * level 1 ** level 2 *** level 3 * level 1 .有序列表 . level 1 .. level 2 ... level 3 . level 1
无序列表
-
level 1
-
level 2
-
level 3
-
-
-
level 1
有序列表
-
level 1
-
level 2
-
level 3
-
-
-
level 1
AsciiDoc
[source, java]
----
if (TextUtils.isEmpty(text)) { // (1)
return null;
}
----
<1> 判断 text 是否为空
预览效果
if (TextUtils.isEmpty(text)) { // (1)
return null;
}-
判断 text 是否为空
默认不会展示醒目 ICON,需要 :icons: font 开启,支持 NOTE、CAUTION、WARNING、IMPORTANT、TIP。
AsciiDoc
NOTE: 注意 CAUTION: 小心 WARNING: 警惕 IMPORTANT: 重要 TIP: 提示
|
Note
|
注意 |
|
Caution
|
小心 |
|
Warning
|
警惕 |
|
Important
|
重要 |
|
Tip
|
提示 |
