HTML to WackoWiki converter
Current version: Credits: Влад Январев |
An HTML to WackoWiki converter written in JavaScript.
1. Convert HTML to WackoWiki Syntax
An HTML to WackoWiki converter written in JavaScript. Demo page
The API is as follows:
toMarkdown(stringOfHTML, options);
2. 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');
3. 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 Turndown full description.
Referring pages: