btford / angular-markdown-directive

AngularJS markdown directive using Showdown.js
569 stars 120 forks source link

I got error with showdown is not defined?! #48

Open dotku opened 8 years ago

dotku commented 8 years ago

I'm tring to use include for my github.io by using

I got error with showdown is not defined?! Here is my git file: https://github.com/dotku/dotku.github.io/blob/master/index.html

ggoforth commented 8 years ago

Have the same issue.

yishenggudou commented 8 years ago

+1

yishenggudou commented 8 years ago

i use require.js

JLRishe commented 8 years ago

You either need to use an old version of Showdown, or change line 17 of the code to:

return new showdown.Converter(opts);  // lowercase s, uppercase C

Several forks of this repo include this modification.