jonschlinkert / sublime-markdown-extended

Top 100 Sublime Text plugin! Markdown syntax highlighter for Sublime Text, with extended support for GFM fenced code blocks, with language-specific syntax highlighting. YAML Front Matter. Works with ST2/ST3. Goes great with Assemble.
https://github.com/jonschlinkert
MIT License
659 stars 96 forks source link

Single line list items don't highlight #99

Open wadetb opened 9 years ago

wadetb commented 9 years ago

In this example, only the first list item has its number styled.

1. test
2. test
3. test

* a
* b
* c

2015-07-28 19_54_47-untitled - sublime text

jonschlinkert commented 9 years ago

I'll take a look at the commonmark spec to see what it says about single list items. for now I'll mark as a bug, thanks for reporting.

pradyunsg commented 8 years ago

Bump. Shouldn't all the list numbers/markers be highlighted?

architux commented 8 years ago

+1 That's the thing that I also wanted to post issue about.

ZelphirKaltstahl commented 8 years ago

+1 Same here, I even went into the tmTheme file and change it as described in this post: http://superuser.com/questions/1046133/sublimetext-3-syntax-highlighting-markdown-list-asterisk

jonschlinkert commented 8 years ago

fwiw I have a fix for this, along with a bunch of others. I'm just making sure there are no regressions before I push up

ZelphirKaltstahl commented 8 years ago

@jonschlinkert Sounds great!

ZelphirKaltstahl commented 8 years ago

@jonschlinkert You might want to see the solution someone posted on superuser :+1: it solves the problem well.

aik099 commented 8 years ago

In my case none of items gets highlighted.

The following text has * colored the same as text near to them. I'm using Solarized Dark theme. The headings are highlighted correctly.

* text 1
* text 2
ZelphirKaltstahl commented 8 years ago

Any update on this issue? The code is already there on Stackoverflow, ready to be pasted. When I installed the package yesterday, this bug was still there.

jonschlinkert commented 8 years ago

@ZelphirKaltstahl a PR is welcome