Skip to content

Wiky.js - a simple Javascript library to convert Wiki MarkUp language to HTML

Notifications You must be signed in to change notification settings

anucreative/wiky.js

 
 

Repository files navigation

Wiky.js - a javascript library to convert Wiki Markup language to HTML.

(It is buggy, please use with care)

Wiky.js is a javascript library that converts Wiki Markup language to HTML.

How to use it

Include wiki.js into your HTML file. Wiky.js has only one function, which is wiky.process(wikitext).

Please see index.html for an example.

*wiky.js does not depend on jQuery, which is included for testing purpose.

Supported Syntax

Contributors

Tanin Na Nakorn

Tanun Niyomjit (Designer)

Dav Glass [davglass]

NPM

$ npm install wiky.js

$ npm install https://github.com/tanin47/wiky.js/tarball/master
var wiky = require('wiky.js');

var html = wiky.process('<string of wiki code>', {});

var html = wiky.process('<string of wiki code>', { 'link-image': false });

Options

It only supports one option at the moment: link-image

Setting this to false will tell wiky.js to not imbed CSS into the markup for link icons.

License

Do What The Fuck You Want To Public License (http://sam.zoy.org/wtfpl/)

  1. You just DO WHAT THE FUCK YOU WANT TO.

About

Wiky.js - a simple Javascript library to convert Wiki MarkUp language to HTML

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published