分页: 1 / 1

有没有会Zim wiki语法的同学

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

有没有高手有详细的zim wiki语法说明?

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

发表于 : 2009-10-01 16:31
tomguy
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?

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

发表于 : 2009-10-01 16:38
luojie-dune
我也在用,但是语法没用过,基本键位,http://zim-wiki.org/Usage/keybindings.html
语法
http://zim-wiki.org/Usage/syntax.html

似乎靠插件。

要语法干嘛啊。。。创建真正的wiki?

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

发表于 : 2009-10-04 13:40
eexpress
wiki语法,简单,就是可能导致歧义的。考虑不完善。

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

发表于 : 2009-12-08 22:10
eexpress
cp /usr/share/zim/default.style ~/.config/zim/
改颜色
主页有说明style的写法。

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

发表于 : 2009-12-08 22:16
shinery
呵呵,不用zim了,改用 notecase 了。

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

发表于 : 2009-12-08 22:32
eexpress
我开始bs notecase了。
哎,一阵一阵的思维不同了。
:em05

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

发表于 : 2009-12-08 22:34
photor
zim的latex插件是王道 :em09

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

发表于 : 2010-05-07 10:03
do-fine
怎么在zim 中插入希腊字母?难道用插入latex 公式的方法?

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

发表于 : 2010-05-07 20:13
shinery
notecase也不用了,用keepnote了。

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

发表于 : 2010-05-07 23:49
do-fine
再问怎么插入希腊字母~~ :em11

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

发表于 : 2010-05-08 9:41
lainme
zim貌似不能插入表格?我还使用dokuwiki了

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

发表于 : 2010-05-08 13:18
do-fine
shinery 写了:notecase也不用了,用keepnote了。
再问LZ,为什么我的fcitx在keepnote下不能输入中文?