What is meta? ×
Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 131 Stack Exchange communities.

I have asked a question related to web2py—an open-source Python web-framework—that includes a code snippet.

Unfortunately it didn't syntax highlight by default, so—following the docs—I added the following to precede the code: <!-- language: lang-py -->

Unfortunately it had no affect. Please fix this bug.

(For evidence; see my question: Generate a nested CRUD form)

share|improve this question

1 Answer 1

up vote 6 down vote accepted

You just needed a blank line after the <!-- language: lang-py -->. :)

share|improve this answer
    
Ahh right, thanks. –  A T May 14 '12 at 14:59
    
Quick aside for the 11 minutes until I can accept your answer: how would I go about getting Python added to the tag inference for web2py? –  A T May 14 '12 at 15:00
1  
@A.T. Normally, you'd just make a meta post about it or flag a question and ask a moderator to set it up. I went ahead and just set it in this case, though. Seems straightforward. :) –  Anna Lear May 14 '12 at 15:07
    
Thank you very much! :) –  A T May 14 '12 at 15:08

You must log in to answer this question.

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