A quote mark (') in a comment breaks further highlighting. Example: Is there a tool to check database integrity in Django?
-
Have a read of the markdown help: stackoverflow.com/editing-help#syntax-highlightingKev– Kev2013年08月23日 18:11:36 +00:00Commented Aug 23, 2013 at 18:11
-
possible duplicate of Syntax highlighting language hints (probably more accurately a duplicate of this question)Cody Gray– Cody Gray2013年08月24日 06:13:54 +00:00Commented Aug 24, 2013 at 6:13
1 Answer 1
It wasn't actually using the python syntax highlighter. I fixed it by adding
<!-- language: lang-py -->
before the code to force python syntax highlighting.
answered Aug 23, 2013 at 18:10