2

Can we force questions that are tagged and to have the syntax-highlighting? Since matplotlib/pylab is a python-only library I don't see why this would be a problem. I've been adding the python tag as a workaround, but this seems like a useless edit. Example:

Save plot to image file instead of displaying it using Matplotlib

5
  • You could simply add a <!-- language: lang-py --> in front of your code block to get the highlighting to work.
    – Bart
    Commented Aug 10, 2012 at 2:23
  • @Bart: or better yet, add the python tag.
    – Shog9 Mod
    Commented Aug 10, 2012 at 2:23
  • @Shog9 I agree, but the OP already stated that he did so, but found it a useless edit.
    – Bart
    Commented Aug 10, 2012 at 2:23
  • Eh... Good tagging is never useless.
    – Shog9 Mod
    Commented Aug 10, 2012 at 2:25
  • Not my words and no disagreement here.
    – Bart
    Commented Aug 10, 2012 at 2:26

1 Answer 1

2

Most of these already have the tag, which should suffice. The 340 that don't:

...probably should have it, if they contain actual code. Hint, hint.

That said, there's no harm in enabling the default (auto-detect) formatting for these, since that's what's configured already for . So I've gone ahead and enabled it.

You must log in to answer this question.

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