Last modified : 2014. 10. 13

Download

In this page, you can download source code of KARAS converter and the plugin for using KARAS on each system.

Plugins

KARAS is intended for UTF-8 character encoding. In system which using the other encoding, this may cause problems. Especially, when it use multi-byte character such as Japanese. If your system use non-UTF-8 multi-byte character encoding, please note.

KARAS for WordPress

This WordPress plugin will be hooked to the_content as Filter. Unzip your download file, and put into plugins directory.

Meta-box of KARAS (custom fields) will appears in the article post screen. If checked, the syntax of the KARAS in article will be converted.

When KARAS applied, any other filters hooked to prepend_attachment will not apply. (Filter which hooked later than KARAS will apply.) In order to change this behavior, need knowledge about WordPress and the plugin developing. When your WordPress not using filter plugin, no problem will occur.

Download : KARAS for WordPress

KARAS for Jekyll

This Jekyll plugin acts as Converter. Unzip your download file, and put each files into _plugins directory. There is no need to change the any other settings. Text file with the extension . karas will be converted to an HTML page.

KARAS for Jekyll has one important problem. Jekyll has a template engine Liquid, and the syntax conflicts with Block group syntax of KARAS. Even if the results of KARAS not include {{ symbol, Liquid throws exception. Because this problem can not be corrected from plugin, Block group syntax in KARAS for Jekyll is slightly modified.

In order to write a Block group in KARAS for Jekyll, use {\{ and {\{, insted of {{ and }}. Unfortunately, this would detract from the beauty of KARAS. However, I could not find any other way.

Because of this problem, KARAS.rb included in KARAS for Jekyll is not same as original KARAS.rb.

Download : KARAS for Jekyll

Source Code

The original source code of KARAS converters are published in GitHub. If you are developer, I recommend to read Development page.