Dubrzr / golb

A simple multi-author blog webapp using Django
https://futureistech.com/
MIT License
1 stars 0 forks source link

Add a code highlighter. #9

Open Dubrzr opened 8 years ago

Dubrzr commented 8 years ago

Add a code highlighter HTML/CSS/JS extension to highlight code written by authors. Find a nice way to integrate it to the tinymce editor or something else?

tgy commented 8 years ago

Why not write the articles in hoedown (GitHub's flavored markdown), pygmentize will highlight the code and with LaTeX formulae that will be displayed nicely with MathJax?

I already have the code for all of this

Dubrzr commented 8 years ago

The only thing I want is to keep a wysiwig editor, yeah ok markdown is nice, I agree with it, but we have users that don't know it, and I don't want them to have hard time writting an article just because of the syntax. We have to give html to Tinymce, so maybe we can store markdown, generate html for tinymce, and we'll be able to have a markdown editor. What do you think? If it's ok for you, you can pull request with your code :)