showdownjs / showdown

A bidirectional Markdown to HTML to Markdown converter written in Javascript
http://www.showdownjs.com/
MIT License
14.19k stars 1.56k forks source link

Using showdown with katex from command line #952

Open bene51 opened 1 year ago

bene51 commented 1 year ago

Hi,

please apologize but I seem to be unable to find how to do this. I installed

npm install showdown -g
npm install showdown-katex -g

Now I wonder how I specify the katex extension. I tried

showdown makehtml -i index.md -e showdown-katex -o index.html -p github

which results in

Could not load extension showdown-katex.

Could somebody please point me in the right direction?

Thx, Bene