wtf-plugin-html

html plugin for wtf_wikipedia

Usage no npm install needed!

<script type="module">
  import wtfPluginHtml from 'https://cdn.skypack.dev/wtf-plugin-html';
</script>

README

a plugin for wtf_wikipedia

npm install wtf-plugin-html

Output all, or part of a wikipedia article in HTML.

const wtf = require('wtf_wikipedia')
wtf.extend(require('wtf-plugin-html'))

let doc = wtf('hello [[world]]')
doc.html()
// 'hello <a href="./world">world</a>'

work-in-progress

MIT