Closed ghost closed 8 years ago
did you include a markdown parser lib? See note at the bottom of the page http://www.codingdrama.com/bootstrap-markdown/
NOTE Altought the primary purpose of this plugin is to provide Markdown editor, the design is allowing the plugin to be used as a general purpose editor. The preview functionalities and html to markdown conversion are provided by 3rd party codes : markdown-js, marked (default failover if markdown-js lib not available) and to-markdown. Without them, this plugin would still work and convert the content as-is, so you could easily modify those functionalities yourself via available hooks.
This should be on the front page. I had to dig to find this.
I agree it should be mentioned. Been digging for 30 minutes as to why the preview button wasn't working.
+1, The NOTE should be put on the head of the page 😢
Hi,
Preview not working? Why is that?
Thanks.
$("textarea[data-provide=markdown]").markdown({language:'tr'});