Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Rails markdown editor with live preview [closed]

Are there any markdown editors that integrate with rails (eg in a gem) and offer live preview?

like image 540
shoen Avatar asked May 03 '12 22:05

shoen


2 Answers

Checkout markdown.js and showdown. You could rig them up to parse whatever the markdown input is whenever certain events fire (i.e. a user releasing a key when typing in the markdown textarea). I'm not aware of any other embeddable markdown editors with live previews, but it seems it would be easy enough to make one with one of these libraries.

like image 85
Chris Schmitz Avatar answered Nov 03 '22 01:11

Chris Schmitz


Check out the gem below, its not well documented but seems to work

https://github.com/zethussuen/epic-editor-rails

like image 23
user1320651 Avatar answered Nov 03 '22 02:11

user1320651