Skip to content

wikimatze/zimki

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Zimki is a text conversion tool which translates files written in zimki Desktop Wiki to textile.

Installation

Type in your console

gem install zimki

and you can use the gem.

Usage

Here is an example how you can use it.

require 'zimki'

zimki = Zimki.new
zimki.textile_conversion("src.txt")

A typical text file in the zimki format can be found in this repository under spec/source/src.txt. The output will be written in the console - so then copy the things you need.

Current translation status

Currently the gem can translate the following constructs. On the left you can see the zimki format and on the right of the arrow you can see the textile pendant.

General constructs

//italique// => _italique_
**bold** => *bold*
__highlight => @highlight@

Headings

==== The 10-day MBA ==== => h1. The 10-day MBA
=== The 10-day MBA === => h2. The 10-day MBA
== The 10-day MBA == => h3. The 10-day MBA

Links and Images

[[http://wikimatze.de|wikimatze]] => "wikimatze":http://wikimatze.de
{{~/Dropbox/pics/Screenshot.png}} => !http://~/Dropbox/pics/Screenshot.png!

Bullets

* first bullet
  * second bulltet
    * third bullet
      * fourth

=>

* first bullet
** second bulltet
*** third bullet
**** fourth

Contact

Feature request, bugs, questions, etc. can be send to matthias.guenther@wikimatze.de.

License

This software is licensed under the MIT license.

© 2011-2013 Matthias Guenther matthias.guenther@wikimatze.de.

About

Converts files written in the zim Desktop format to textile.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages