简体   繁体   中英

Jquery plugin for Converting HTML to Markdown

Am using bootstrap markdown comment box for comment option. am providing an option to edit. while editing, the html content should be appended inside the markdown. but it results in displaying the html tags.

在此处输入图片说明

I want to convert the html tag to markdown format. Is there any simplest jquery plugin to convert the html element to markdown??

Thanks in advance.

Dinesh

This library is probably what you're looking for, it's simple and has some interesting options.

https://github.com/domchristie/to-markdown

Note: I've never used it but I've seen it around a couple of times.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM