showdown
showdown copied to clipboard
NPM installation browser support
Is there a reason the NPM package only runs on the server side? Since you're able to build for CDN, it's possible to build it so it can be used in frontend projects using ES module imports, right?
I'm working on the frontend and I'd like to be able to import showdown in a Vue/React/Svelte app without putting a script:src in my HTML
and also get intellisense.
use import showdown from 'showdown'
to import showdown is supported
use import showdown from 'showdown' to import showdown is supported
@milkpotatoes well actually it doesn't work:
Uncaught SyntaxError: The requested module 'showdown' does not provide an export named 'default'