sublime-markdown-extended icon indicating copy to clipboard operation
sublime-markdown-extended copied to clipboard

Single line list items don't highlight

Open wadetb opened this issue 10 years ago • 10 comments

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

wadetb avatar Jul 28 '15 23:07 wadetb

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.

jonschlinkert avatar Jul 29 '15 02:07 jonschlinkert

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

pradyunsg avatar Sep 04 '15 07:09 pradyunsg

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

architux avatar Nov 17 '15 15:11 architux

+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

ZelphirKaltstahl avatar Feb 27 '16 16:02 ZelphirKaltstahl

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

jonschlinkert avatar Feb 27 '16 17:02 jonschlinkert

@jonschlinkert Sounds great!

ZelphirKaltstahl avatar Feb 27 '16 18:02 ZelphirKaltstahl

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

ZelphirKaltstahl avatar Mar 01 '16 20:03 ZelphirKaltstahl

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

aik099 avatar Mar 19 '16 19:03 aik099

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.

ZelphirKaltstahl avatar Jul 12 '16 13:07 ZelphirKaltstahl

@ZelphirKaltstahl a PR is welcome

jonschlinkert avatar Jul 12 '16 18:07 jonschlinkert