evilstreak / markdown-js

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

Example in READEME for how to use markdown.js in browser is wrong #262

Open xlwang-bupt opened 8 years ago

xlwang-bupt commented 8 years ago
ericgrosse commented 8 years ago

+1, in Chrome I get "Uncaught ReferenceError: require is not defined" and "Uncaught ReferenceError: markdown is not defined". Readme should be updated with instructions on adding a minimal browserify setup or something similar.

subdavis commented 8 years ago

I also cannot work out how to reference this library using gulp.

coooliang commented 6 years ago

me too I include require.js and markdown-js-master/src/markdown.js in the html file chrome tell me: markdown is not defined