JiHong88 / suneditor

Pure javascript based WYSIWYG html editor, with no dependencies.
http://suneditor.com
MIT License
1.73k stars 309 forks source link

feature suggestion: Syntax Highlighter #561

Open mansoor-omrani opened 3 years ago

mansoor-omrani commented 3 years ago

I don't know if this is possible or not, but it would be great if a syntax highlighter plugin could be added to the editor, through which one could apply syntax lighting to codes in the editor.

Markdown has an internal marking mechanism (triple tilds). You are also able to even specify a programming language so that the code is highlighted regarding that.

JiHong88 commented 3 years ago

Hi, This feature will be added in version 3.0.0. It will take time.

ganeshmani commented 3 years ago

I am looking for that feature as well.

cardalda commented 1 year ago

Any update on this feature? Or did somebody find a work-around with a plugin?

maximehuran commented 1 month ago

It could be nice to have something like this 🚀