steveathon / bootstrap-wysiwyg

Tiny bootstrap-compatible WYSIWYG rich text editor
MIT License
661 stars 1.71k forks source link

Add support for syntax highlighting #66

Open codewithtyler opened 8 years ago

codewithtyler commented 8 years ago

I know there are others like myself who use the editor in their blog. It would be nice if we could add syntax highlighting support. Probably the easiest way to do this would be to support adding a GitHub gist to the editor. This would be done by embedding a script into the page since Gists provide an embedded link automatically.

For example: <script src="https://gist.github.com/RandomlyKnighted/0b6d4440ab390be951db.js"></script>

@steveathon What are your thoughts on this? Is this something that would fit into the plan you have for the project?