wtf-plugin-latex

latex plugin for wtf_wikipedia

Usage no npm install needed!

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

README

a plugin for wtf_wikipedia

npm install wtf-plugin-latex

Output all, or parts of a wikipedia article in LATEX format.

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

let doc = wtf('hello [[world]]')
doc.latex()
// 'hello \href{./world}{world}'

work-in-progress

MIT