Intro
Installable via npm install --save mafmt
, it can also be used directly in the browser.
Download
-The source is available for download from GitHub. Alternatively, you can install using npm:
+The source is available for download from GitHub. Alternatively, you can install using npm:
$ npm install --save mafmt
You can then require()
mafmt as normal:
const mafmt = require('mafmt')
@@ -59,7 +59,7 @@ font-weight: bold;}.hljs-deletion{background: #fdd;}.hljs-addition{background: #
Mafmt should work in any ES2015 environment out of the box.
Usage:
<script type="text/javascript" src="index.js"></script>
-The portable versions of mafmt, including index.js
and index.min.js
, are included in the /dist
folder. Mafmt can also be found on unkpkg.com under
The portable versions of mafmt, including index.js
and index.min.js
, are included in the /dist
folder. Mafmt can also be found on unpkg.com under