1
\$\begingroup\$

I asked a Python 3 question, and tagged it . The highlighting was messed up, because the tag wasn't passing the lang-py argument to the JS script that handles the syntax highlighting. I submitted this as an issue on GitHub, but it couldn't be reproduced because a mod had came along and added the tag, which fixes the syntax highlighting.

TL;DR: If you ask a question but only tag it , the syntax highlighting gets messed up.

\$\endgroup\$
3
\$\begingroup\$

On Code Review, when you ask a Python question that only works in one of the versions, Python 3, then you should tag it with both the language tag and the version tag . One explanation as to why we do this can be found in this answer.


And so, sure it's a bug, but if we stick to the way that we are already tagging Python questions then it doesn't affect us.

\$\endgroup\$
  • 3
    \$\begingroup\$ Not a bug. The tag info simply doesn't specify a language for syntax highlighting. I'll discuss this with the other mods, but it feels like "status-bydesign", to ensure all Python questions are tagged with python. \$\endgroup\$ – Mathieu Guindon Mar 29 '17 at 13:28

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .