1.1.1 Q:viki 是什么?
viki是vim編輯器里面的wiki插件,其它中文幫助可以看edyfox和安裝、定制、使用Viki 以及Deplate
1.1.2 Q:viki 支持中文嗎?
支持!在編譯含有中文的viki文件時,加載中文支持包即可.
deplate -m zh-cn-autospace hello.viki
1.1.3 Q:如何忽略所有的 ViKi 語法,直接插入原樣文本?
可以使用Verbatim宏
#Verbatim <<結束符
任意文本
結束符
結束符可以是文本中不出現的任意字符串,這兒用–-
1.1.4 Q:怎樣自動生成當前文檔的目錄?(就像你現在看到的目錄一樣)
使用 LIST 命令 LIST [page!]: [contents|toc|minitoc|tables|figures|index] 如列出內容目錄可以用
#LIST: contents
其它表格,索引,圖表目錄可以依此生成.
#TITLE: latex2html使用技巧
#MAKETITLE
可以生成標題.效果可以看這兒的標題
1.1.5 Q:viki 有那些快捷鍵可以使用?
1.2 Q:viki支持那些markup?
1.2.1 Q:如何注釋掉一行?
和Latex中一樣用%來注釋一行,%必須是那一行的首字母才有效.
Line %1
%Comment
Line %2
Line %1 Line %2
1.2.2 Q:如何分段?
可以用空行或列表來分段,如下例:
第一段以空行結束.第一段以空行結束第一段以空行結束
第二段以無序列表結束.第二段以無序列表結束.第二段以無序列表結束.
- Item 1
- Item 2
第一段以空行結束.第一段以空行結束第一段以空行結束
第二段以無序列表結束.第二段以無序列表結束.第二段以無序列表結束.
1.2.3 Q:標題有那些選項?
#OPT: noList!
阻止標題在目錄中出現.
1.2.4 Q:如何加一個注釋?
可以用!!!來生成注釋
Indented paragraphs that begin with a marker
and a subsequent space start an annotation.
!!! Something like this.
Indented paragraphs that begin with a marker and a subsequent space start an annotation.
1.2.5 Q:特殊符號有那些?
<-, ->, <=, =>, <~, ~>, <->, <=>, <~>, !=, ~~, ..., --, ==, ```, `'', ``, `'
←, →, ?, ?, <~, ~>, ?, ?, <~>, ≠, ≈, …, –, ≡, “, ”, ‘, ’
1.2.6 Q:如何生成列表?
- Item
* Item
+ Item
1. Item 1
a. Item a
B. Item B
* Item
# Item 1
# Item 2
@ There is much to say about Item A, too much to be put
in words or to be written down.
What else is there to say about Item A?
@ Item B
- Item
-
Item
-
Item
-
Item 1
-
Item a
-
Item B
-
Item 1
-
Item 2
-
There is much to say about Item A, too much to be put in words or to be written down.
What else is there to say about Item A?
-
Item B
1.2.7 Q:描述性列表?
Item :: Description
- Item
-
Description
1.2.8 dd