16

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)

0

1 Answer 1

19

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

2
  • 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
    Commented May 14, 2012 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. :)
    – Adam Lear StaffMod
    Commented May 14, 2012 at 15:07

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.