当前搭建个人Wiki好的方法是什么?

2012-05-04 13:53:38 +08:00
 bravluna
想搭建个 wiki 来管理知识,目前想到的方法:

-. 使用 vimwiki 书写并生成html,push到github pages

-. 直接使用 jekyll 引擎

哪种方法好呢?或是其它更好的方法。
25652 次点击
所在节点    问与答
43 条回复
pimgeek
2014-07-21 12:20:15 +08:00
@Yannis1990 请看这里,可能有点麻烦,但很可能行得通。

http://zim-wiki.org/install.html

Mac OS X

You can run zim on mac if you have the proper dependencies installed.
If you are using Mac Ports than installing the following ports should work:

python26
py26-gtk
py26-simplejson
py26-xdg

(The python25 packages should work as well if you prefer them)

An alternative that is reported to work is to install Pygtk for mac. This will make your zim window look nicer compared to using the Mac Ports option. With pygtk for mac installed, you can just run zim directly from the source package.
pimgeek
2014-07-21 12:25:08 +08:00
@voidmous

1 表格没有确实很可惜,可以先安装 Graphviz ,然后插入图形的时候用 DOT 代码实现 HTML Table
2 一般的代码块,我都是先选中大段代码,然后用 Ctrl-T 就变成等宽的显示了。这个转换为代码格式的功能,菜单里好像没有,但话说回来也确实没有代码高亮。

你可以在 Zim 主程序的帮助->快捷键中找到这个功能。

<Ctrl>U Make selected text underline (renders highlighted)
<Ctrl>K Make selected text strike-trough
<Ctrl>T Make selected text verbatim text (monospace font)
pimgeek
2014-07-21 12:28:15 +08:00
@voidmous 仔细一看这都两年前的讨论了,没有及时跟进讨论。。。实在抱歉。

这个是利用 DOT 语法实现表格的 zim 截图。

![](http://mindpin.oss-cn-hangzhou.aliyuncs.com/image_service/images/UO6RTW3j/UO6RTW3j.png)

DOT 源码如下:

graph G {
rankdir=TB
motivation [
shape=none
fontname="Hiragino Sans GB Light"
label=<<TABLE BORDER="0" CELLBORDER="1" CELLSPACING="0">
<TR>
<TD BGCOLOR="#eeeeee">逻辑反思动力 →<br/>直觉行动动力↓</TD>
<TD BGCOLOR="#aaffaa">动力<br/>较弱</TD>
<TD BGCOLOR="#66ff66">动力<br/>较强</TD>
</TR>
<TR>
<TD BGCOLOR="#ffaaaa">动力<br/>较弱</TD>
<TD BGCOLOR="#dddd44">无论如何,辛苦了!<br/>能否稍微休息下?</TD>
<TD BGCOLOR="#bbdd99">调动逻辑思维开始反思,<br/>读书求知,刨根问底</TD>
</TR>
<TR>
<TD BGCOLOR="#ff6666">动力<br/>较强</TD>
<TD BGCOLOR="#ddbb99">顺应直觉开始行动,<br/>处理试错类,探索类工作</TD>
<TD BGCOLOR="#bbbb33">全面发挥自身能量,<br/>不必拘泥于规则</TD>
</TR>
</TABLE>>
]
}

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/34605

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX