|
5f9c078a
|
2018-03-25T13:46:42
|
|
Make ERB, Handlebars, PHP and Smarty highlight properly in NodeJS (#1367)
|
|
2b8321d3
|
2018-03-20T08:37:58
|
|
JSX: Add support for plain text inside tags (#1357)
* JSX: Add support for plain text inside tags
* JSX: Use a "plain-text" token to identify plain text
* TSX: Add support for plain text
* Fix test after merge
|
|
0a00d7f7
|
2017-02-10T17:10:19
|
|
Fix the PHP language
This patch is an attempt to fix the PHP language, when it is combined
with markup.
The problem is, that markup has a higher priority than all other tokens.
This leads to weird errors, where HTML tags are highlighted inside of
comments #197. One solution to this was to set the `greedy` flag for the
comment token, but this leads to far worse errors like #1097.
This patch should fix both issues #197 and #1097, by switching the
grammar to markup on the fly. One potential problem is, that it relies
on the `<?php` tag to detect if markup is present. So if a PHP file
contains only markup and no PHP code at all, the result will look
broken.
|
|
dfc19413
|
2016-11-09T01:57:46
|
|
Add support for the Jolie language (#1014)
* Added component for the Jolie language
* Added Jolie among the supported components
* update for merge
- revised jolie component
- added tests
- added code example
- minified with `gulp`
* fixes
* fixes
* fixed Jolie html file example and highlight for punctuation
* fixed indentation in test html file and added comma as punctuation
|
|
c1a0c1bd
|
2016-07-11T20:37:47
|
|
Added TestCase.runTestsWithHooks + add missing tests. Updated documentation for test suite.
|
|
a896f0a6
|
2015-08-30T16:06:37
|
|
Drastically increased the number of dashes (from 4 to 10) required for separations in test files, to prevent conflicts with languages syntax.
|
|
791dad0d
|
2015-08-27T20:57:37
|
|
Tests: Increase the minimum number of dashes for the separation + fix test-suite page to match the actual behaviour.
|
|
d1b2e206
|
2015-08-19T00:19:45
|
|
Fix test runner: it must use the last language by default
|
|
a13c87b9
|
2015-07-26T14:27:38
|
|
Added support for specifying the main language to load in test cases
You can add an exclamation mark anywhere in the name to load it as main language. If you do not specify anything, the first entry is used as main language
css+markup! --> markup is main language
css+markup --> css is main language
|
|
1e0b8d9d
|
2015-07-26T14:08:47
|
|
Fixed code style issues
|
|
3a3cd268
|
2015-07-15T19:35:07
|
|
Extract simplification of token stream
Pull the token stream transformation out of the test case into its own component.
|
|
9ce5838a
|
2015-07-14T10:51:35
|
|
Catch JSON parse error to provide a unified error reporting in the test runner
|
|
9619d4cb
|
2015-07-14T10:46:57
|
|
Implement support for simplifying nested token streams
|
|
09898e8e
|
2015-06-13T16:37:07
|
|
Support language inclusion tests
By using composed language names "language+language2+language3" you can test language inclusion or do integration tests.
|
|
be5e037b
|
2015-06-13T15:12:21
|
|
Added support for test case comments
|
|
d1f90520
|
2015-06-01T20:39:11
|
|
Implemented test runner
|