|
0803525b
|
2020-11-27T15:00:35
|
|
Added support for DataWeave language (#2659)
|
|
f0e2b70e
|
2020-11-20T17:09:54
|
|
Added support for Apex (#2622)
|
|
8831c706
|
2020-11-12T20:43:52
|
|
Added PromQL language (#2628)
|
|
cb75d9e2
|
2020-09-13T23:26:33
|
|
Added support for SML (#2537)
|
|
4d31e22a
|
2020-09-11T12:07:11
|
|
Added support for Birb (#2542)
|
|
ad748a00
|
2020-08-30T18:16:21
|
|
Added PureScript language definition (#2526)
|
|
5c33f0bb
|
2020-08-17T15:39:02
|
|
Added support for BSL (1C:Enterprise) (#2520)
|
|
004eaa74
|
2020-08-14T00:00:21
|
|
Added support for MongoDB syntax (#2518)
|
|
2da2beba
|
2020-08-12T13:10:38
|
|
Added support for Stan (#2490)
|
|
bf115f47
|
2020-08-11T15:33:48
|
|
Added support for TypoScript (#2505)
|
|
388ad996
|
2020-08-07T21:14:34
|
|
Add support for NaniScript (#2494)
|
|
649e51e5
|
2020-07-27T13:50:41
|
|
Added support for Dhall (#2473)
|
|
ed1df1e1
|
2020-07-22T17:27:00
|
|
Added support for YANG (#2467)
|
|
3fcce6fe
|
2020-07-22T18:12:01
|
|
Added support for .gitignore (#2481)
|
|
2ff40fe0
|
2020-07-18T15:29:33
|
|
Rust: Improvements (#2464)
|
|
398e2943
|
2020-07-18T14:58:39
|
|
Added support for Cypher (#2459)
|
|
ed8fff91
|
2020-07-11T01:07:19
|
|
Added support for EditorConfig (#2471)
|
|
22eb5cad
|
2020-06-28T01:41:28
|
|
Added support for Smali (#2419)
|
|
3a127c7d
|
2020-06-24T20:30:38
|
|
Add support for the language Agda (#2430)
|
|
ae0327b3
|
2020-06-22T12:16:29
|
|
Added JS stack trace language (#2418)
This language highlights JavaScript stack traces generated by commonly used JS engines.
|
|
37273a6f
|
2020-06-21T11:34:19
|
|
Dockerfile: Fixed strings inside comments (#2428)
Strings inside comments broke comments. Comments are now greedy, so this can't happen anymore.
|
|
9e64c62e
|
2020-05-29T12:28:05
|
|
GraphQL: Added support for multi-line strings and descriptions (#2406)
|
|
caec5e30
|
2020-05-13T11:26:38
|
|
Added support for XML doc in C#, F#, and VB.net (#2340)
|
|
8a72830a
|
2020-05-07T22:44:16
|
|
Regex: Added aliases and minor improvements (#2325)
This adds a lot of aliases to the regex tokens, so themes can apply their styles. It also makes a few improvements. See the PR for more details.
|
|
d0c1c70d
|
2020-05-06T23:59:29
|
|
Added support for PureBasic (#2369)
A language based on Basic (BlitzBasic to be precise) with inline assembler also and direct API calls. Can compile on Windows, Linux, and macOS
|
|
33e49956
|
2020-04-29T15:39:59
|
|
GLSL: Improvements (#2321)
This improves GLSL by extending C instead of C-like.
|
|
87a5c7ae
|
2020-04-29T15:29:51
|
|
Added support for HLSL (#2318)
https://docs.microsoft.com/en-us/windows/win32/direct3dhlsl/dx-graphics-hlsl
|
|
053016ef
|
2020-04-27T23:18:30
|
|
Added support for Racket (#2315)
|
|
cde5b0fa
|
2020-04-27T22:39:29
|
|
Added support for Warpscript (#2307)
|
|
1093ceb3
|
2020-04-27T22:33:02
|
|
Added support for UnrealScript (#2305)
|
|
bd4d8165
|
2020-04-27T22:29:20
|
|
Added support for Peoplecode (#2302)
|
|
de21eb64
|
2020-04-27T22:22:12
|
|
Added support for AL (#2300)
|
|
8704cdfb
|
2020-04-12T23:15:37
|
|
Added support for Structured Text (IEC 61131-3) (#2311)
|
|
c917a8ca
|
2020-03-25T11:44:33
|
|
C#: Removed invalid strings from example (#2266)
C#'s example page contained some invalid strings.
|
|
43efde2e
|
2020-03-23T17:44:09
|
|
Added support for LLVM IR (#2221)
This adds support for LLVM's assembly language.
https://llvm.org/docs/LangRef.html
|
|
8119e57b
|
2020-03-16T21:17:45
|
|
Added support for Power Query (#2250)
This adds support for Power Query.
https://docs.microsoft.com/en-us/powerquery-m/
|
|
9227853f
|
2020-03-13T21:52:26
|
|
Added support for DAX (#2248)
This adds support for DAX (Data Analysis Expressions).
https://docs.microsoft.com/en-us/dax/
|
|
bf4f7bfa
|
2020-03-10T14:59:46
|
|
Added support for Excel formula (#2219)
This adds support for Excel's formula terms.
|
|
1f7a245c
|
2020-03-07T11:53:31
|
|
Added tests for examples (#2216)
This adds a new test to validate the structure and syntax of all examples and moves the existing example test into the mocha test suite.
|
|
6232878b
|
2020-03-07T11:37:11
|
|
Examples: Updated content header (#2232)
This changes the automatically generated header of examples on Prism's example page.
The `overrideExampleHeader` option in `components.json` is no longer supported.
|
|
bd16bd57
|
2020-02-24T14:43:16
|
|
Shell-Session: Improvements (#2208)
- Added support for elevated shells starting commands with `#` instead of `$`.
- The user and cwd info `bash` and `sh` print before the interactive shell will now be highlighted.
- Changed the line ends of test files to CRLF.
|
|
15983d52
|
2020-02-23T14:12:37
|
|
Added support for Solution (.sln) files (#2213)
This adds support for VS Solution files.
https://docs.microsoft.com/en-us/visualstudio/extensibility/internals/solution-dot-sln-file?view=vs-2019
|
|
f941102e
|
2020-02-16T13:49:33
|
|
Added support for Factor (#2203)
This adds support for the [Factor](https://factorcode.org) language.
|
|
b24f7348
|
2020-02-14T21:55:32
|
|
Add Concurnas support (#2206)
Concurnas is an open-source JVM programming language designed for building reliable, scalable, high performance concurrent, distributed and parallel systems. For more information please see: https://concurnas.com/
|
|
2a570fd4
|
2020-01-12T02:23:06
|
|
OCaml: Improvements (#2179)
- Added some missing keywords
- Added highlighting for modules, labels, and constructors
- Split polymorphic variant types and type variables
|
|
c40d96c6
|
2020-01-08T15:57:52
|
|
Added QML (#2139)
This adds support for QML (Qt Modeling Language), a user interface markup language.
https://en.wikipedia.org/wiki/QML
https://doc.qt.io/qt-5/qtqml-index.html
|
|
0b539136
|
2020-01-06T14:39:45
|
|
Added checks for examples (#2128)
This adds a check to `premerge` to detect missing and lone examples.
All currently missing examples were added with some exceptions.
|
|
9908ca69
|
2019-12-02T01:43:42
|
|
Robotframework: Renamed example file (#2126)
This renames the example for the Robotframework language to match its id.
|
|
631f1e34
|
2019-10-26T18:53:47
|
|
Added support for BrightScript (#2096)
This adds support for BrightScript.
|
|
f31946b3
|
2019-10-25T21:53:29
|
|
Added support for Moonscript (#2100)
This adds support for the Moonscript language.
|
|
aaf13aa6
|
2019-10-25T21:12:20
|
|
Added support for BBCode (#2095)
This adds support for the BBCode markup language.
|
|
cfac94ec
|
2019-10-16T11:41:51
|
|
Added SQF language (#2079)
This adds support for the SQF language.
https://community.bistudio.com/wiki/SQF_syntax
|
|
0b771c90
|
2019-10-16T11:33:14
|
|
Added support for etlua (#2050)
This adds support for etlua (Embedded Lua templating).
|
|
2f3da7e8
|
2019-10-16T11:18:57
|
|
Added support for FTL (#2080)
This adds support for FTL (Freemarker language).
|
|
c42f877d
|
2019-09-05T17:28:28
|
|
Added support for SPARQL language (#2033)
This adds support for the SPARQL language.
https://www.w3.org/TR/sparql11-query/
|
|
f7eaa618
|
2019-09-03T12:56:20
|
|
Added Robot Framework plain text format (#2034)
This adds support for the Robot Framework plain text space separated format.
https://robotframework.org/robotframework/latest/RobotFrameworkUserGuide.html#plain-text-format
|
|
cc2cf3f7
|
2019-09-02T20:29:26
|
|
Added support for Solidity (#2031)
This adds support for the Solidity language.
https://solidity.readthedocs.io/en/v0.4.23/
|
|
3fdb7d55
|
2019-09-02T20:08:04
|
|
Added support for AQL (#2025)
This adds support for the AQL language.
https://www.arangodb.com/docs/stable/aql/
|
|
a7cf56b7
|
2019-08-29T16:25:02
|
|
Added suppprt for Zig (#2019)
This adds support for the Zig language.
https://ziglang.org/
|
|
9f722586
|
2019-08-17T14:36:50
|
|
Added support for Firestore security rules (#2010)
This adds support for Google Cloud Firestore security rules.
|
|
e2b99f40
|
2019-08-14T11:40:43
|
|
Added support for GDScript (#2006)
This adds support for the GDScript language.
|
|
076f6155
|
2019-08-08T15:16:31
|
|
SAS: Major improvements (#1981)
This makes various improvements to the SAS language definition such as adding support for embedded SQL, missing keyword and language elements, more granular tokenizing, and many more.
|
|
508d57ac
|
2019-08-06T15:30:24
|
|
Added RDF Turtle/TriG language (#2012)
This adds support for the RDF Turtle/TriG language.
|
|
e7702ae1
|
2019-07-22T01:27:48
|
|
Diff: Added support for syntax highlighting inside diff blocks (#1889)
This adds support for syntax highlighting inside diff blocks via a new plugin called: Diff Highlight.
|
|
c8844286
|
2019-07-21T22:59:46
|
|
Highlight JS tagged template literals (#1931)
This adds support for highlighting embedded languages in JavaScript tagged template literals.
|
|
c93c066b
|
2019-07-20T12:35:15
|
|
Added support for Splunk SPL (#1962)
This adds support for Splunk SPL and corrects the position of the SQL in `components.json`.
|
|
bb84f98c
|
2019-07-15T23:22:20
|
|
Added support for DNS zone files (#1961)
This adds support for DNS zone files.
The highlighting is quite simple as every type and class is highlighted as `keyword`. This is intentional as other token names (e.g. `class-name`, `function`, `builtin`, ...) are not highlighted by every theme resulting in large portions of unstyled text for some themes.
|
|
d58d2aeb
|
2019-07-13T15:41:07
|
|
F#: Improved character literals (#1956)
This adds support for all F# character escapes which should result in all characters being highlighted as such.
The problem was that character literals with escape sequences longer than two characters were not recognized.
|
|
858201c7
|
2019-07-10T21:45:22
|
|
Added support for PascaLIGO (#1947)
This adds support for the [PascaLIGO language](http://ligolang.org).
|
|
473f7fbd
|
2019-07-03T12:34:20
|
|
Added support for PC-Axis file format (#1940)
This adds a new language for the PC-Axis file format.
|
|
de10bd1d
|
2019-07-01T19:55:12
|
|
Protobuf improvements (#1948)
This makes numerous improvements to the Protobuf grammar adding (almost) full support for PB2 and PB3 syntax.
|
|
36a5fa0e
|
2019-06-30T04:19:54
|
|
Known failure page (#1876)
This PR adds a known failures page. This resolves #1750.
The known failures are moved from the example pages.
(I also updated all example pages with invalid HTML.)
Some known failures were actually fixed in the meantime but never updated, so I removed a few. Those were:
- Handlebars
- Markdown's nested bold-italic
- Smarty
- Textile's "Nested styles are only partially supported"
### Screenshot
<details>
![image](https://user-images.githubusercontent.com/20878432/56849438-7eca3200-68f4-11e9-9dc3-bf0256be8d1e.png)
</details>
|
|
0b48301e
|
2019-06-12T15:46:07
|
|
Resolved conflicts
|
|
3e181241
|
2019-06-12T15:28:44
|
|
Added more examples & small TOML improvement (#1917)
This adds some of the missing examples and makes a small improvement to TOML.
|
|
73d964be
|
2019-06-08T20:15:08
|
|
Added support for JQ language (#1896)
This adds support for the JQ language.
|
|
96044979
|
2019-05-15T21:06:59
|
|
Added shell session language
|
|
c13d6e7d
|
2019-04-19T22:07:57
|
|
JS: Template strings: Increased bracket count of interpolations (#1845)
This increases the number of nested braces which can be matched by JS's template pattern to supported nested objects within interpolation expressions.
|
|
30779976
|
2019-03-20T22:10:17
|
|
Added support for CMake language (#1820)
This adds support for the [CMake](https://cmake.org/) language.
|
|
c37c90df
|
2019-03-05T22:17:36
|
|
Added EJS (#1769)
This adds the EJS (Embedded JavaScript templates) language to Prism.
|
|
64dc049d
|
2019-02-28T19:28:22
|
|
Added JSON5 language (#1744)
This adds the JSON5 language to Prism.
|
|
13e1c97d
|
2019-02-28T19:23:25
|
|
Added EBNF language (#1756)
This adds the EBNF language.
|
|
1df96c55
|
2019-02-28T19:18:05
|
|
Added BNF and RBNF languages (#1754)
This adds the BNF and RBNF languages.
|
|
6d98f0e7
|
2019-02-28T19:10:37
|
|
Added ANBF language (#1753)
This adds a new language: ANBF (Augmented Backus–Naur form).
|
|
ae4842db
|
2019-02-27T14:54:06
|
|
Fixed JSON/JSONP examples (#1765)
This corrects my previous mistake where I forgot to adjust the example of JSON after changing the implementation of JSONP.
|
|
b5041cf9
|
2019-02-26T05:41:01
|
|
Fix JSONP support (#1745)
This PR fixes that JSON did not support [JSONP](https://en.wikipedia.org/wiki/JSONP) callback functions.
I also added a JSON example page.
|
|
b94b56c1
|
2019-01-15T15:54:35
|
|
Added the Nand2Tetris HDL language (#1710)
This adds support for the [Nand2Tetris](https://www.nand2tetris.org/) HDL language.
|
|
7def8f5c
|
2019-01-03T23:52:27
|
|
Added N1QL language support (#1620)
Adds support for[N1QL](https://www.couchbase.com/products/n1ql) for Couchbase.
|
|
c939df8e
|
2018-12-27T20:56:24
|
|
Added support for HCL (#1594)
Adds support for HCL ([HashiCorp configuration language](https://github.com/hashicorp/hcl)).
|
|
b48c012c
|
2018-12-15T20:32:22
|
|
Added Vala language (#1658)
Adds support for the Vala language.
|
|
4a8219a4
|
2018-12-02T19:25:05
|
|
Add support for Java stack traces (#1520)
There are 3 main types of elements which are highlighted:
1. The summary.
This is the head of the stack trace and includes the name of the exception and a message.
`Exception in thread "main" java.lang.RuntimeException: A test exception`
2. Stack frames.
These make up the actual stack trace and include the full name of the method and the source.
`at com.stackify.stacktrace.StackTraceExample.methodB(StackTraceExample.java:13)`
3. Omitted frames.
This is a simple message that some frames were omitted.
`... 27 more`
Everything besides these 3 element types will not be highlighted.
|
|
a69c2b62
|
2018-12-02T16:48:53
|
|
Improvements to Python F-strings and string prefixes (#1642)
This PR adds support for [string interpolation](https://www.python.org/dev/peps/pep-0498/) (aka. f-strings) and makes the [string prefixes](https://docs.python.org/3/reference/lexical_analysis.html#string-and-bytes-literals) part of the string.
Resolves #1636.
### Known issues
Assumes that strings inside the interpolation expression are 'nice'. So strings
with unfortunate numbers of curley braces will cause incorrect highlighting: E.g.: `f"{'}'}"`.
|
|
2288c25e
|
2018-12-01T18:37:20
|
|
Add G-code language (#1572)
This PR adds the [G-code language](https://reprap.org/wiki/G-code) to Prism
and resolves #1571.
### Features
- All fields from A-Z ([case sensitive](https://reprap.org/wiki/G-code#Case_sensitivity)) and [checksums](https://reprap.org/wiki/G-code#.2A:_Checksum) (`*`).
- [Comments](https://reprap.org/wiki/G-code#Comments) of both the semicolon and parenthesis style.
- [Quoted strings](https://reprap.org/wiki/G-code#Quoted_strings).
- The colon punctuation of [lists (see the example)](https://reprap.org/wiki/G-code#M584:_Set_drive_mapping).
|
|
b41fb8f1
|
2018-10-22T15:47:13
|
|
Fixes regex for JS examples (#1591)
This PR fixes a regex example which Prism does not highlight correctly
because it is preceded by a comment.
|
|
c1d6cb85
|
2018-10-19T04:06:02
|
|
Fix tokenizing !important (#1585)
Updates the regex to ensure that when `!important` sits next
to a property with no spaces, it's still tokenized correctly.
|
|
e529edd8
|
2018-09-15T21:52:37
|
|
Add GameMaker Language support (#1551)
GameMaker is a cross-platform game engine developed by YoYo Games.
|
|
e00b408f
|
2018-06-26T11:32:31
|
|
Remove extraneous class
|
|
334c7bca
|
2018-06-26T11:21:28
|
|
Add Python triple-quoted strings "known failure" (#1449)
* Add example of failure in Python parser
|
|
e326cb03
|
2018-05-26T11:39:35
|
|
Add support for XQuery. Fix #1405 (#1411)
|
|
e063992b
|
2018-05-10T12:07:34
|
|
Support for Template Toolkit 2 (#1418)
* support for Template Toolkit 2
* optimized quoted string regexes
* optimized double-quoted string regex
* fully qualified tt2 plug-in names don't work
Also use \w.
* do not use empty character class
See #1107.
* put keyword tests in alphabetical order
* ordered tt2 keywords alphabetically
* removed redundant operator rule for tt2
* removed possibly existing old rules before inserti
* indentation
* allow backslash in front of lf in tt2 strings
* indentation
* avoid backtracking
* escape xml special characters
* indent with tab instead of spaces
* greedy is no longer needed for variables
Also use \w instead of explicit character class.
* re-generated with gulp
|
|
db2d0ebb
|
2018-04-22T15:12:28
|
|
JavaScript: Add support for one level of nesting inside template strings. Fix #1397
|