HTML to WackoWiki converter
Current version: Credits: Влад Январев[link1] |
An HTML to WackoWiki converter written in JavaScript.
Download at GitHub[link2]
1. Convert HTML to WackoWiki Syntax
An HTML to WackoWiki converter written in JavaScript. Demo page[link3]
The API is as follows:
toMarkdown(stringOfHTML, options);
2. Installation
BrowserDownload 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[link4] full description.
Referring pages:
- Dev/PatchesHacks[link5]
- Users/VladJanvarev[link6]
- [link1] https://wackowiki.org/doc/Users?profile=ВладЯнварев
- [link2] https://github.com/janvarev/to-wackowiki
- [link3] http://d.janvarev.ru/to-wackowiki/
- [link4] https://github.com/domchristie/turndown
- [link5] https://wackowiki.org/doc/Dev/PatchesHacks#a-3226
- [link6] https://wackowiki.org/doc/Users/VladJanvarev#a-3226