aboutsummaryrefslogtreecommitdiff
path: root/doc/plugins/wmd.mdwn
blob: 2eac0788c56fcf8faf9f021f96db00729c28beb6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
[[!template id=plugin name=wmd author="[[Will]]"]]
[[!tag type/web]]

[WMD](http://wmd-editor.com/) is a What You See Is What You Mean editor for
[[mdwn]]. This plugin makes WMD be used for editing pages in the wiki.

To use the plugin, you will need to install WMD. Download the [WMD
source](http://ftp.netbsd.org/pub/NetBSD/packages/distfiles/wmd-1.0.1.zip).  In that zip file
you'll find a few example html files, a readme and `wmd` directory.  Create
a 'wmd' subdirectory in the ikiwiki `underlaydir` directory (ie `sudo mkdir
/usr/share/ikiwiki/wmd`). Move the `wmd` directory into the directory you
made. You should now have a `wmd/wmd/wmd.js` file as well as some other
javascript files and an images directory in the same place.

Note that the WMD plugin does **not** handle ikiwiki directives.  For this
reason the normal `preview` button remains.