Client side html markdown conversion

Posted by DNN on Stack Overflow See other posts from Stack Overflow or by DNN
Published on 2010-03-14T20:41:02Z Indexed on 2010/03/14 20:45 UTC
Read the original article Hit count: 448

Filed under:
|
|
|
|

Hello, I've been trying to create a client side editor which allows the end user to create content in html or markdown. The user has two tabs for switching between the two. I managed to find some javascript that converts markdown to html, so if a user has been writing markdown and switches to the html tab, the html equivilant is shown. I haven't been able to find a javascript that converts html to markdown, only a python script.

The python script is obviously server side. The tabs are just hyperlinks with script in there. Is there any way I can convert the markdown html when the user clicks the tab?

The system has been created in python/django for reference

Thanks

© Stack Overflow or respective owner

Related posts about python

Related posts about django