|
3362fc79
|
2021-12-18T13:34:34
|
|
HTTP: Added support for special header value tokenization (#3275)
|
|
22d0c6ba
|
2021-11-03T12:22:11
|
|
HTTP: Relax pattern for body (#3169)
|
|
3b2238fa
|
2021-10-10T19:36:58
|
|
JS: Added properties (#3099)
|
|
1dfc8271
|
2021-02-07T14:54:09
|
|
HTTP: Fixed body not being highlighted (#2734)
|
|
c187e229
|
2019-10-16T12:06:22
|
|
Added test for unused capturing groups (#1996)
This adds a test that checks for unused capturing groups in patterns and another test which ensures that lookbehind groups are always the first thing being matched in a pattern.
|
|
1b75da90
|
2018-12-01T18:46:55
|
|
Improved HTTP content highlighting (#1598)
Extends the content highlighting capabilities of HTTP.
1. Add support for `application/javascript` and `text/css` content types.
2. Change the languages associated with certain types:
1. `application/json` now uses `json` with `javascript` as a backup instead of just `javascript`.
2. All XML types now use `Prism.languages.xml` instead of `markup`.
3. The HTML type now uses `html` instead of `markup`.
3. Add support for highlighting based on [suffixes](https://en.wikipedia.org/wiki/Media_type#Suffix) for XML and JSON.
E.g. `image/svg+xml`, `application/xhtml+xml`, `application/atom+xml` will use `xml` and `application/calendar+json` will use `json`.
4. Stylistic changes:
1. Fix indentation.
2. Use single quotes for token names.
|
|
a67f77de
|
2015-08-28T08:40:48
|
|
Renamed inclusion tests according to documentation.
|
|
4ba4c48e
|
2015-08-23T17:26:38
|
|
Add tests for HTTP
|