Socket
Book a DemoInstallSign in
Socket

wiky.js

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

wiky.js

Wiki text parser

latest
Source
npmnpm
Version
0.0.1
Version published
Maintainers
1
Created
Source

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

  • == Heading ==
  • === Subheading ===
  • [http://www.url.com Name of URLs]
  • [[File:http://www.url.com/image.png Alternative Text]]
  • -------------------- (Horizontal line)
  • : (Indentation)
  • Ordered bullet point

    • Unordered bullet point

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/)

  • You just DO WHAT THE FUCK YOU WANT TO.

Keywords

mediawiki

FAQs

Package last updated on 09 Jan 2013

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts