Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 155 Stack Exchange communities.

What is meta?
Here's how it works:
  1. Any Stack Exchange user can ask a question
  2. The community provides support, votes on ideas, and reports bugs
  3. Your voice helps shape the way Stack Exchange operates

It seems that there is a problem with parsing python multiline strings when these are delimited by '''.

Here's the screenshot from this answer: enter image description here

Workaround: use """ instead: enter image description here

Yes, I also realised by now that it should spell its and not it's...

share|improve this question

I believe this is an issue with auto-detecting python. If you add the syntax highlight hint, for python:

<!-- language: lang-py -->

Then your second scenario shows up correctly @Siva:

Scenario #2: With single quotes' around a comment containing a single quote

def autocomplete(self, category):
    '''
    If possible, autocomplete a word according to it's category.
    '''
    root = ''.join(self.chars).split()[-1]  #The bit after the last space
share|improve this answer
1  
I used (see source of linked answer) <!-- language: python -->... didn't realised python was instead lang-py... – user138932 Aug 5 '11 at 19:07
    
@mac that would use the rule in the python tag which is "default" because python is a webby language so posts with that tend to have html, css, etc. – Jeff Atwood Aug 6 '11 at 0:23

You must log in to answer this question.