Commit Graph

30 Commits

Author SHA1 Message Date
Matt Bierner
9e6b718bd4 Fixing markdown colorization test 2018-01-24 08:42:06 -08:00
Yuki Ueda
142d587bde Fix md quote syntax highlight(fix #38523) (#39487) 2017-12-04 10:59:37 -08:00
Matt Bierner
35c8bc4daa Further improve colorization of embeded expressions
- Add groovy embedded support
- Make high contrast colorization consistent
2017-09-12 11:04:02 -07:00
Matt Bierner
bf84cbcc37 Fix begin/end for markdown script/pre blocks
Fixes #33886
2017-09-06 14:11:01 -07:00
Matt Bierner
49db68d7ce Reset VS Dark + Light styling for meta embedded (#33866)
Fixes #33120

Adds rules to vs dark+light to reset style for meta embedded scopes. This is a proposed approach to support colorization of nested languages better
2017-09-06 11:18:53 -07:00
Martin Aeschlimann
2c70320d48 [html] update html grammar 2017-04-25 23:40:28 +02:00
Martin Aeschlimann
74a6d6d423 fix tests for #20610 2017-02-20 17:34:05 +01:00
katainaka
96ba7c27aa Fixed colorization of nested list. (#19596)
Fixed colorization of nested list with unindented line.
2017-02-01 14:18:23 -08:00
Martin Aeschlimann
d133a5e17c [coffeescript] switch to atom/language-coffee-script. Fixes #14953, #14945, #15008 2017-01-31 22:44:17 +01:00
Martin Aeschlimann
60bbe61489 [css] change grammar to atom/language-css 2017-01-31 17:10:28 +01:00
Alex Dima
ebc43b3e8b Merge remote-tracking branch 'origin/master' into alex/tokenization 2017-01-05 12:31:43 +01:00
Alex Dima
90d74c59aa Use hex colors in themes integration tests 2017-01-05 09:47:08 +01:00
Alex Dima
10f68352a0 Themes integration tests 2017-01-04 22:44:08 +01:00
Matt Bierner
31e1aebf30 Fix markdown colorization tests 2017-01-03 11:15:05 -08:00
Josh Peng
b9a362a185 Improve Markdown code block tokens (#17591)
* Improve Markdown code block tokens

Code blocks without a language weren't tokenized.
Code blocks didn't have their ending ``` punctuation tokenized.
Code blocks used to only have one token. Now each block has the following tokens available for syntax highlighters:
- Starting and ending ``` punctuations
- Code block's language setting
- Code snippet

* Variable whitespace for MD code block ``` token

Allow for variable amount of whitespacing before ``` code blocks

* Reorder raw blocks

Raw blocks were preventing tokenizing as languaged blocks. Putting them on bottom resolves this.

* Fix MD block detection when following paragraph

Used to require a new line inbetween ``` code blocks and preceding paragraph text.

* Prevent broken language grammar leaks in MD fences

Prevents leaks in MD code fences while also capturing the closing fence punctuations.

* Update Markdown tokenizer test file
2017-01-03 10:03:16 -08:00
Matt Bierner
603e08d62d Improve Markdown Html Block Colorization (#12696)
* Add rule for html comment in blocks

* Match common mark spec for html comments

* Updating tests and fixing some token names

* Fix style and script blocks

* Fix test file results

* Fixed markdown tests for new html logic
2016-11-08 10:38:33 -08:00
Matt Bierner
3eacbae040 Highlight Markdown Image Starting ! Punctuator (#12841)
* Highlight Markdown Image Starting ! Puctuator

Issue #12835

Adds highlighting for the `!` that defines a markdown image link. This is colored the same as the `[` after it.

Closes #12835

* Fixed highlight test
2016-11-07 16:03:49 -08:00
Martin Aeschlimann
2db37ea17a Wrong highlighting for angle bracket syntax in embedded language. Fixes #14551 2016-10-27 12:04:54 +02:00
Martin Aeschlimann
7bdc667cd4 Change HTML grammar to be more precise (embedded modes). fixes #14295 2016-10-24 23:19:07 +02:00
Kai Maetzel
37cffbd031 Merge pull request #11066 from eklavyamirani/master
Fixed: Markdown syntax highlighting to support alternative header styles
2016-09-26 17:44:21 -07:00
Matt Bierner
5c32264d0e Update markdown syntax highlighing test results 2016-09-26 10:50:58 -07:00
kieferrm
aeda1791fe update tests results for the new version of the textmate engine 2016-09-21 22:17:16 -07:00
Alex Dima
91ff124083 Fix failing integration tests 2016-09-21 17:01:23 +03:00
Eklavya Mirani
2e886c0708 fixed broken markdown tests. 2016-08-28 23:20:58 +05:30
Eklavya Mirani
9aff1d0f74 Added the --- seperator to the paragraph rule
to allow heading-setext.2 rule to be recognized
2016-08-28 16:31:02 +05:30
Benjamin Pasero
4e72dcc359 make colorization tests happy for markdown 2016-07-02 14:31:05 +02:00
kieferrm
8657e6e2b5 update markdown test results 2016-06-27 11:29:44 -07:00
kieferrm
fe74885026 temporarily 'fix' test failure 2016-06-15 16:26:23 +02:00
Martin Aeschlimann
37f5e2b355 [colorize tests] update test result data 2016-04-11 21:28:19 +02:00
Martin Aeschlimann
8509d4e47a even more colorizer tests 2016-04-11 16:03:40 +02:00