2009-03-08 00:57:06 +01:00
|
|
|
[[!template id=plugin name=wmd author="[[Will]]"]]
|
2010-02-12 09:38:00 +01:00
|
|
|
[[!tag type/web]]
|
2009-03-08 00:57:06 +01:00
|
|
|
|
|
|
|
[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
|
2011-09-07 22:01:31 +02:00
|
|
|
source](http://ftp.netbsd.org/pub/NetBSD/packages/distfiles/wmd-1.0.1.zip). In that zip file
|
2009-03-08 01:22:27 +01:00
|
|
|
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.
|
2009-03-08 00:57:06 +01:00
|
|
|
|
|
|
|
Note that the WMD plugin does **not** handle ikiwiki directives. For this
|
|
|
|
reason the normal `preview` button remains.
|