Giter VIP home page Giter VIP logo

zim2wikidot's Introduction

1. 設定 Custom tools

在 Zim 的最上方的選單 Tools >> Custom Tools 下,新增一個項目。
將其中 Command: 的欄位指定為:

	/usr/local/bin/zim2wikidot.py %f %d %s %n %D %t

2. 設定檔

編輯 $HOME/.zim2wikidot.conf 的設定如下:

	[default]
	template = ~/.zim2wikidot.tmpl

	[hackingthursday]
	api_name = h4_w**********ater 
	api_key = niGf************************vZQI

其而 [default] 是保留的設定區,而 [hackingthursday] 則是上傳站的項目


3. Template 設定檔

編輯 ~/.zim2wikidot.tmpl ( 或是設定檔指定的其他檔案 )

	[% page.body %]

4. 設定完成

在 zim 開某個 page 後,使用 zim2wikidot custom tool 就可以上傳至

	http://hackingthursday.wikidot.com/test2

目前是寫死的。

==== 以下是 blue119 整理的語法筆記 ====

zim and wikidot format mapping

Heading :        zim        ->  wikidot
	H1	:	====== a ======	->	+ a
	H2	:	===== b =====	->	++ b
	H3	:	==== c ====		->	+++ c
	H4	:	=== d ===		->	++++ d
	H5	:	== e ==			->	+++++ e
	H6	:	None			->	++++++ f

Format - zim				->	wikidot
		**Bold**			->	**Bold**
		//Italic//			->	//Italic//
		__Mark__			->	__UnderLine__
		~~strike~~			->	--strikethrough text--
		[[LINK_TO|TEXT]]	->	[LINK_TO TEXT]
		'''
		Quoted Text			->	> quoted text
		'''
		_{Subscript}		->	^^superscript^^
		^{Superscript}		->	,,subscript,,

Custom meta-data for zim page
zim2wikidot-site: site
zim2wikidot-page: page

zim2wikidot's People

Contributors

matlinuxer2 avatar czchen avatar blue119 avatar

Watchers

Lingfei Kong avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.