Feature: Syntax highlighting for code blocks

Pretty much since the beginning of Python Morsels I've had this item in my to-do list:

  • Add syntax highlighting to the Python code blocks in exercise problem and solution statements

Enough of you have requested this that it's finally been done. All exercise problem and solution statements have syntax highlighting which matches the same color scheme as the code editor on exercise submission pages.

The articles shown at the ends of screencasts have syntax highlighting in their code blocks as well.

Feature screenshot

See all feature history