View source for HTML to WackoWiki converter

#||
||
Current version: 
Credits: ((user:ВладЯнварев Влад Январев))
|{{toc numerate=1}} ||
||#

An HTML to WackoWiki converter written in JavaScript.

 
((https://github.com/janvarev/to-wackowiki Download at GitHub))

===Convert HTML to WackoWiki Syntax===

An HTML to WackoWiki converter written in JavaScript. ((http://d.janvarev.ru/to-wackowiki/ Demo page))

The API is as follows:

%%
toMarkdown(stringOfHTML, options);
%%

===Installation===
Browser

Download the compiled script located at ##to-wackowiki.js##.

%%
<script src="PATH/TO/to-wackowiki.js"></script>
<script>toMarkdown('<h1>Hello world!</h1>')</script>
%%

%%
$this->add_html('footer', '<script src="' . $this->db->base_url . 'js/to-wackowiki.js');
%%

===More about===

to-wackowiki is just a changed form of to-markdown. Mostly about the filters at file end - they were just changed to support WackoWiki syntax.

So, if you want to run it on Node, or recompile - please, see ((https://github.com/domchristie/turndown Turndown)) full description.

{{backlinks}}