有没有会Zim wiki语法的同学

OOo,TeX,KO,ABI,GIMP,Picasa,ProE,QCAD,Inkscape,Kicad,Eagle
回复
头像
shinery
帖子: 1378
注册时间: 2009-07-22 22:23

有没有会Zim wiki语法的同学

#1

帖子 shinery » 2009-08-25 23:25

感觉zim是一个做个人笔记不错的软件。但不是很了解它的wiki语法。在Zim 0.27的编辑界面上已经有了加粗、斜体、下划线等控制钮,但我要把一段文字换成红色应该采用什么语法。
例如,在zim中,用[\color=Blue]你好[\/color] (为了显示标记添加了反斜杠\)标记不能把 你好 两个字变成蓝色。这个论坛中是可以的:你好:em01

有没有高手有详细的zim wiki语法说明?
愿扣上你双手,至繁华浪处到沙丘。
tomguy
帖子: 702
注册时间: 2005-09-27 10:32

Re: 有没有会Zim wiki语法的同学

#2

帖子 tomguy » 2009-10-01 16:31

Syntax

Examples of the wiki syntax as used by zim.

Most of this syntax is inspired by the dokuwiki syntax, but with some significant modifications. All markup uses at least two characters to reduce the chance of conflicts between the wiki markup normal typographic use of these characters.

Headings

Headings are created by using an appropriate amount of "=" characters:

====== Head 1 ======

===== head 2 =====

==== head 3 ====

=== head 4 ===

== head 5 ==

Links

Link to another page like this:

[[foo]] links to page in the current namespace or parents
[[:foo]] links to page in the root namespace
[[.foo]] links to page in a subnamespace

[[foo|bar]] links to "foo" but display "bar"

External links like http://nongnu.org are also supported

Lists

Bullet list just use a "*" at the start of the line:

* item 1
* item 2
* item 3
* item 3a

Will be rendered as:

• item 1
• item 2
• item 3
• item 3a

Numbered lists are not (yet) supported.

Checkbox lists look like this:

[ ] foo
[*] bar
[*] sub item 1
[*] sub item 2
[x] baz

This renders as:

foo
bar
sub item 1
sub item 2
baz

Of course the checkboxes are clickable in zim. See checkboxes for more details.

Markup
bold, italic and underline and verbatim

**bold**, //italic// and __underline__ and ''verbatim''

and also strike through

and also ~~strike through~~

Using verbatim also prevents any further parsing of the content. To render a whole block as verbatim the first and last line of the block should contain 3 quotes and no other characters:

'''
Sing, O goddess, the rage of
Achilles son of Peleus, that
brought countless ills upon
the Achaeans.
'''

This can be used for code examples etc.

Before version 0.26 all indented paragraphs were rendered verbatim as well. This has been changed because it conflicted with the typographic use of indenting paragraphs that were not intended as verbatim. However to maintain backwards compatibility this style is still supported for any page that does not have headers indicating that it was written by version 0.26 or newer.

Images

To include images use:

{{./foobar.png}}

The filename for an image can either be absolute or relative. If relative it is looked for in the same directory as where the text source of the current page is.


没看到文字颜色的部分,是不是要自己定义一个style?
头像
luojie-dune
帖子: 22033
注册时间: 2007-07-30 18:28
系统: Linux
来自: 空气中

Re: 有没有会Zim wiki语法的同学

#3

帖子 luojie-dune » 2009-10-01 16:38

我也在用,但是语法没用过,基本键位,http://zim-wiki.org/Usage/keybindings.html
语法
http://zim-wiki.org/Usage/syntax.html

似乎靠插件。

要语法干嘛啊。。。创建真正的wiki?
『这个世界都是我的 ,我爱你们』

ENTP ⥂ INTP ⥄ INFP ⇦ INTJ

在此发布的文章使用 Creative Commons Attribution-ShareAlike 4.0 协议
头像
eexpress
帖子: 58428
注册时间: 2005-08-14 21:55
来自: 长沙

Re: 有没有会Zim wiki语法的同学

#4

帖子 eexpress » 2009-10-04 13:40

wiki语法,简单,就是可能导致歧义的。考虑不完善。
● 鸣学
头像
eexpress
帖子: 58428
注册时间: 2005-08-14 21:55
来自: 长沙

Re: 有没有会Zim wiki语法的同学

#5

帖子 eexpress » 2009-12-08 22:10

cp /usr/share/zim/default.style ~/.config/zim/
改颜色
主页有说明style的写法。
附件
08.jpg
● 鸣学
头像
shinery
帖子: 1378
注册时间: 2009-07-22 22:23

Re: 有没有会Zim wiki语法的同学

#6

帖子 shinery » 2009-12-08 22:16

呵呵,不用zim了,改用 notecase 了。
愿扣上你双手,至繁华浪处到沙丘。
头像
eexpress
帖子: 58428
注册时间: 2005-08-14 21:55
来自: 长沙

Re: 有没有会Zim wiki语法的同学

#7

帖子 eexpress » 2009-12-08 22:32

我开始bs notecase了。
哎,一阵一阵的思维不同了。
:em05
● 鸣学
do-fine
帖子: 116
注册时间: 2009-10-31 18:45

Re: 有没有会Zim wiki语法的同学

#9

帖子 do-fine » 2010-05-07 10:03

怎么在zim 中插入希腊字母?难道用插入latex 公式的方法?
Lenovo Y430-TFO
CPU:Pentium Dual-Core T4200
RAM:3G
Graphics:Nvidia GeForce 9300M GS
头像
shinery
帖子: 1378
注册时间: 2009-07-22 22:23

Re: 有没有会Zim wiki语法的同学

#10

帖子 shinery » 2010-05-07 20:13

notecase也不用了,用keepnote了。
愿扣上你双手,至繁华浪处到沙丘。
do-fine
帖子: 116
注册时间: 2009-10-31 18:45

Re: 有没有会Zim wiki语法的同学

#11

帖子 do-fine » 2010-05-07 23:49

再问怎么插入希腊字母~~ :em11
Lenovo Y430-TFO
CPU:Pentium Dual-Core T4200
RAM:3G
Graphics:Nvidia GeForce 9300M GS
头像
lainme
论坛版主
帖子: 7805
注册时间: 2008-09-13 19:17
系统: Arch Linux (x86_64)
联系:

Re: 有没有会Zim wiki语法的同学

#12

帖子 lainme » 2010-05-08 9:41

zim貌似不能插入表格?我还使用dokuwiki了
do-fine
帖子: 116
注册时间: 2009-10-31 18:45

Re: 有没有会Zim wiki语法的同学

#13

帖子 do-fine » 2010-05-08 13:18

shinery 写了:notecase也不用了,用keepnote了。
再问LZ,为什么我的fcitx在keepnote下不能输入中文?
Lenovo Y430-TFO
CPU:Pentium Dual-Core T4200
RAM:3G
Graphics:Nvidia GeForce 9300M GS
回复