WackoWiki: HTML to WackoWiki converter

https://wackowiki.org/doc     Version: 12 (11.09.2021 10:13)

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

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[link4] full description.

Referring pages:

  1. Dev/PatchesHacks[link5]
  2. Users/VladJanvarev[link6]