所以我一直在尝试获取某种类型的markdown
插件来将markdown语法转换为html,但我遇到了很多麻烦。我正在使用流星,但是,我不确定这是否真的是一个问题。
我尝试了以下名为的插件Marked
:(https://github.com/chjj/marked)
我得到了这些错误
Uncaught ReferenceError: Markdown is not defined Markdown.Editor.js?e08938e553cc97311ffd455d7241f8fc57c82b64:52
(anonymous function) Markdown.Editor.js?e08938e553cc97311ffd455d7241f8fc57c82b64:52
(anonymous function) Markdown.Editor.js?e08938e553cc97311ffd455d7241f8fc57c82b64:2120
(anonymous function) Markdown.Editor.js?e08938e553cc97311ffd455d7241f8fc57c82b64:2122
Uncaught TypeError: Cannot read property 'Converter' of undefined Markdown.Sanitizer.js?95ec2c6ab6938e5f2fb3d6cc600e6f43c2c3f13a:8
(anonymous function) Markdown.Sanitizer.js?95ec2c6ab6938e5f2fb3d6cc600e6f43c2c3f13a:8
(anonymous function) Markdown.Sanitizer.js?95ec2c6ab6938e5f2fb3d6cc600e6f43c2c3f13a:111
(anonymous function) Markdown.Sanitizer.js?95ec2c6ab6938e5f2fb3d6cc600e6f43c2c3f13a:113
我已经尝试过其他插件,例如pagedown-bootstrap
同一插件的其他版本,我也遇到了类似的错误。
我有什么特别的遗漏吗?