NUKnightLab / learncms

Learn.Knightlab.com CMS version
8 stars 5 forks source link

Restyle code block #59

Closed zachwise closed 9 years ago

zachwise commented 9 years ago

sketch

JoeGermuska commented 9 years ago

If the issue is essentially about color, it is very easy to switch to any of these:

http://jmblog.github.io/color-themes-for-google-code-prettify/

My understanding is that the summer content team thought it was strange to use light backgrounds for the code when we all generally promote dark backgrounds. I have no opinion.

If you want the specific colors in the sketch, would you be game to take one of those CSS themes and take a crack at it? Or, barring that, make explicit the CSS hex colors for the various things?

It also crossed my mind that switching to CodeMirror, which drives the CMS content editor, might be a route to the more elaborate ideas you had about annotating code blocks. The main concern with that is figuring out the balance between simple enough authoring vs the gain of more clarity/information in the final presentation -- but I'd be game to talk more about that.