evilstreak / markdown-js

A Markdown parser for javascript
7.69k stars 863 forks source link

lib/markdown.js not working in browser - saying undefined exports is not defined #285

Closed SeunMatt closed 7 years ago

SeunMatt commented 7 years ago

Hello I try to include the js file into my page like this

And am getting the error in my debug console that exports is not defined

ashb commented 7 years ago

It sounds like you are using the wrong file -- you'll need to download the browser specific release from https://github.com/evilstreak/markdown-js/releases and use that.