aziz / knockdown

Github flavored Markdown for SublimeText and a custom theme for writing markdown
89 stars 17 forks source link

Code within list item isn't highlighted #9

Closed vovkkk closed 11 years ago

vovkkk commented 11 years ago

How it looks in ST2:

pic 2013-05-13 18 43 37

How it looks on Github:

class ClassName(object):
    """docstring for ClassName"""
    def __init__(self, arg):
        super(ClassName, self).__init__()
        self.arg = arg

My attempts to learn tmLanguage have been disaster, thus am not sure how to fix it. Could you, please?

aziz commented 11 years ago

I'll look into it. Thanks for reporting it.

vovkkk commented 11 years ago

I've tried to fix it https://github.com/vovkkk/knockdown/tree/code-inside-lists But I'm not sure it's bug-free, so would like to test it few days; y'all please try it, let me know if sth wrong.

aziz commented 11 years ago

@vovkkk if you've played with your fix and it's working for you, would you please send a PR?

glyph commented 11 years ago

Thanks for fixing this, @vovkkk - I hope this PR will be merged, but for the moment I'm using your branch (with no issues). For what it's worth, this feature is why I switched to Knockdown.