Awesome
Wavedrom plugin for mediawiki
This is a quick&dirty extension for mediawiki to add wavedrom syntax.
Install
To install the plugin :
- In mediawiki directory named
extensions
, create a subdirectory namedwavedrom
- Copy the file
wavedrom.php
under the freshly created directoryextensions/wavedrom
- Add the following lines in your file
LocalSettings.php
// WaveDrom extension
require_once "$IP/extensions/wavedrom/wavedrom.php";
Use it in mediawiki
To use it in mediawiki simply add the tag <wavedrom>
:
<wavedrom>
{ signal: [
{ name: "clk", wave: "p......" },
{ name: "bus", wave: "x.34.5x", data: "head body tail" },
{ name: "wire", wave: "0.1..0." },
]}
</wavedrom>