refactory-id / bootstrap-markdown

Bootstrap plugin for markdown editing
Apache License 2.0
1.99k stars 371 forks source link

Preview Not Working? #162

Closed ghost closed 8 years ago

ghost commented 9 years ago

Hi,

Preview not working? Why is that?

Thanks.

$("textarea[data-provide=markdown]").markdown({language:'tr'});

screenshot from 2015-03-19 01 01 04 screenshot from 2015-03-19 01 00 48

acrobat commented 9 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.

dessalines commented 8 years ago

This should be on the front page. I had to dig to find this.

enlivenapp commented 8 years ago

I agree it should be mentioned. Been digging for 30 minutes as to why the preview button wasn't working.

tankywoo commented 7 years ago

+1, The NOTE should be put on the head of the page 😢