components


Log

Author Commit Date CI Message
Andreas Rohner 9acaaa15 2015-10-02T14:54:17 Remove Clike dependency from Bash The Bash language is actually very different from Clike. Only 'boolean', 'operator' and 'punctuation' are shared between them. 'operator' and 'punctuation' should be changed in the future, because Bash actually has slightly different operators. Since they share almost nothing, it makes sense to remove the dependency. This patch copies 'boolean', 'operator' and 'punctuation' from Clike, but doesn't change them. This patch also fixes a typo and adds the missing built-in keyword `let`. `let` is not in the POSIX-standard, but Bash and some other shells support it.
Andreas Rohner 71bf8e9a 2015-10-01T13:22:42 Add support for Here-Documents for the Bash language This patch adds support for Here-Documents for the Bash language. A Here-Document should be highlighted as a multiline string and looks like this: cat << EOF foo bar EOF
Andreas Rohner 89b1f857 2015-10-01T12:21:46 Use a proper alias for the Bash-Shebang This patch introduces a proper alias for the Bash-Shebang. Additionally the variables are changed from the class "property" to "variable". The tests also need to be updated.
Andreas Rohner 5d74562e 2015-10-01T12:03:28 Move the Bash language into a function environment Moving the Bash language definition into a function environment allows for local variables, which are necessary for future changes.
Golmote 0e4d16fb 2015-09-30T08:55:58 Run gulp task
TSUYUSATO Kitsune f178a640 2015-09-30T15:45:15 Crystal dosen't have `undef` keyword since v0.8.0
TSUYUSATO Kitsune 239b95f0 2015-09-27T11:28:25 Fix something commented in #780
TSUYUSATO Kitsune 4943abf4 2015-09-26T23:45:28 Add Crystal language definition
Golmote 0e93b417 2015-09-24T09:16:57 Fix code indentation style
Golmote 1316abcb 2015-09-24T09:15:16 Merge pull request #778 from zeitgeist87/gh-pages Improve performance by doing more work in the worker
Golmote 69ea994e 2015-09-24T09:03:36 Add support for vim. Closes #777
Andreas Rohner 09be99e7 2015-09-23T20:34:29 Improve performance by doing more work in the worker Currently the worker tokenizes the code and then turns it into a JSON string. This JSON string is sent back to the main thread as a message and parsed. Then it is turned into a HTML string and stored in the attribute env.highlightedCode. These conversions into JSON are unnecessary, because we can create the HTML string directly in the worker and send it as a message to the main thread. Signed-off-by: Andreas Rohner <andreas.rohner@gmx.net>
Golmote e62c88ed 2015-09-23T08:41:41 Add nginx to components, fixed basic highlighting, add a few tests
Golmote dc4fc19b 2015-09-23T08:23:23 Merge pull request #776 from westonganger/master Add Nginx
Golmote ccb6566c 2015-09-22T23:26:10 Elixir: Fix empty comment + add test for issue #775
Golmote 2e637f07 2015-09-22T23:17:51 Merge pull request #775 from danielberkompas/fix-elixir-markdown-docs Highlight Elixir string markdown header correctly
Daniel Berkompas 220f1dfa 2015-09-22T08:25:13 Highlight Elixir string markdown header correctly Elixir allows markdown inside its triple-quote heredoc syntax. However, the "#" used in markdown headers is currently misinterpreted as a comment. So, if you write this: ```elixir @doc """ Get the first name of a user. - `user` - A User struct. user = %User{name: "Alice Winston"} User.first_name(user) "Alice" """ ``` Prism interprets the markdown headers as comments, not as part of the string, and this messes up the coloring. This can be fixed by adding a negative lookbehind, such that the comments regex matches "#" but not "##".
Golmote 211a41ce 2015-09-22T20:04:36 Merge pull request #771 from Golmote/prism-autoit Add support for AutoIt. Fix #453
Weston Ganger 114a6e1e 2015-09-22T10:40:37 Add Nginx
Weston Ganger f0182363 2015-09-22T10:13:12 removed vim
Weston Ganger 721af812 2015-09-22T10:06:16 reset state
Weston Ganger d0386c4e 2015-09-22T09:48:57 added vim support
Weston Ganger 5b64e94a 2015-09-22T08:57:40 added nginx highlighting
Weston Ganger a0a3976e 2015-05-18T13:05:43 Added String Interpolation to Ruby fixes #580
Golmote b2763e7d 2015-09-21T09:01:18 Sass: Highlight "-" as operator only if surrounded by spaces, in order to not break hyphenated values (e.g. "ease-in-out")
Golmote 895bf46b 2015-09-20T16:25:21 Properly escape special replacement patterns ($) in Handlebars, PHP and Smarty. Fix #772
Golmote 3f386732 2015-09-17T08:56:50 Add support for AutoIt. Fix #453
Golmote 792e35cf 2015-09-16T22:38:15 C-like: optimized string regexp
Golmote 2af797ca 2015-09-16T08:31:34 Basic: Added case insensitive flag to operators
Golmote 795eb996 2015-09-16T08:22:27 Verilog: Rename to "Verilog", optimize string regexp, don't use captures unless needed
Golmote 44a11c2b 2015-09-16T07:55:58 Merge pull request #640 from a-rey/gh-pages adding system verilog language
Golmote 7feb135e 2015-09-16T07:53:42 Merge pull request #764 from Golmote/prism-bison Add support for Bison
Golmote 3669034d 2015-09-15T08:25:00 Add tests for diff
Tzu-ping Chung e642a222 2015-09-15T13:32:16 Add diff syntax definition
Tzu-ping Chung df1abe99 2015-09-15T13:31:33 Fix prism-autohotkey.js line ending to LF
Golmote 3aadd5d9 2015-09-14T23:07:03 Git: Add support for unified diff. Fixes #769, fixes #357, closes #401
Golmote 07491293 2015-09-11T08:21:38 ABAP: Simplified patterns, renamed all underscores to dashes
Golmote 804b9da0 2015-09-11T07:48:58 Run gulp + removed uneeded array in components
Golmote 75b0328b 2015-09-11T07:47:25 Merge pull request #636 from dellagustin/add_abap_language Add ABAP language
Golmote e336007f 2015-09-09T21:06:24 Add support for Bison
Golmote 48da80ab 2015-09-09T08:42:27 Prolog: Handle \r\n + add comment to explain operators
Golmote d1d971fa 2015-09-09T08:29:35 Merge branch 'gh-pages' into prism-prolog Conflicts: components.js
Golmote 2d394557 2015-09-09T08:27:06 Processing: Add missing XML type + fix function pattern
Golmote 73e16f37 2015-09-09T08:17:21 Merge branch 'gh-pages' into prism-processing Conflicts: components.js
Golmote 9c1bdfef 2015-09-09T07:59:47 OCaml: Add comment explaining operators + run gulp
Golmote ae2fbb61 2015-09-09T07:39:00 Merge branch 'gh-pages' into prism-ocaml
Golmote dac6e7c9 2015-09-08T19:56:37 Pure: Renamed foreign-lang to inline-lang + fixed inline-lang replacement regexp
Golmote e1dd5cc9 2015-09-08T19:11:06 Merge branch 'gh-pages' into prism-pure
Golmote addc9710 2015-09-08T09:04:06 Q: Fixed comments + added explanation, renamed date to datetime, optimized operators
Golmote d1f90a11 2015-09-08T08:19:09 Merge branch 'gh-pages' into prism-q Conflicts: components.js
Golmote 7c85a9ed 2015-09-08T08:13:12 J: Add comment explaining verbs and fixed numbers
Golmote 82638e75 2015-09-08T07:34:56 Merge branch 'gh-pages' into prism-j
Golmote 7bbd8704 2015-09-07T22:28:51 Nim: Fixed strings and numbers in scientific notations
Golmote ea61184a 2015-09-07T21:56:23 Merge branch 'gh-pages' into prism-nim
Golmote 9379417c 2015-09-07T21:51:51 Monkey: Fix preprocessor + optimized operators
Golmote fd324de9 2015-09-07T21:35:58 Merge branch 'gh-pages' into prism-monkey Conflicts: components.js
Golmote 774da160 2015-09-07T08:55:31 Basic: Optimized operators + try to separate functions from keywords
Golmote 8e93d55b 2015-09-07T08:14:00 Merge branch 'gh-pages' into prism-basic
Golmote 82ba23b8 2015-09-07T08:11:26 Mizar: Fixed @proof keyword
Golmote 8af0b91a 2015-09-07T08:02:38 Merge branch 'gh-pages' into prism-mizar Conflicts: components.js
Golmote 7326865b 2015-09-07T07:58:17 MEL: Fix flags + optimized operators
Golmote 95720443 2015-09-07T07:33:04 Merge branch 'gh-pages' into prism-mel
Golmote 6dbea82c 2015-09-06T19:56:37 Qore: Add support for unescaped multi-line strings
Golmote 29a1016e 2015-09-06T19:46:53 Inform 7: Fixed titles, verbs and text substitutions. Renamed variable to type with alias
Golmote 6c0bc91c 2015-09-06T19:05:51 Merge branch 'gh-pages' into prism-inform7
Golmote 90735046 2015-09-06T19:02:52 GLSL: Fix comments
Golmote 92de71d7 2015-09-06T18:37:33 Merge branch 'gh-pages' into prism-glsl
Golmote 7d6c1ac2 2015-09-06T12:14:04 D: Simplified strings, fixed characters, optimized operators
Golmote 4d3f20e4 2015-09-06T11:26:39 Merge branch 'gh-pages' into prism-d
Golmote 93964dd2 2015-09-06T11:19:33 Textile: Fix table modifiers, fix blank punctuation and modifiers, fix phrases, fix image title, simplified regexps, simplified nesting.
Golmote 283691ec 2015-09-06T11:17:35 Markup: don't allow dot inside tag name
Golmote 9019fce5 2015-09-06T08:12:40 Merge branch 'gh-pages' into prism-textile Conflicts: components.js
Golmote 125e91ff 2015-09-05T18:52:14 Merge branch 'gh-pages' of https://github.com/temnoregg/prism into gh-pages + fixes + add example and tests Conflicts: components.js
Golmote e49f7cfd 2015-09-05T17:00:41 Add tests for Docker + optimized strings + fixed punctuation
Golmote c4fe72bd 2015-09-05T16:45:31 Run gulp task
Golmote e8083520 2015-09-05T16:44:38 Merge pull request #576 from JustinBeckwith/gh-pages add dockerfile highlighting
Golmote 89cd5d01 2015-09-05T16:27:38 Swift: Add support for string interpolation. Fix #448
Golmote 11ff829f 2015-09-05T11:35:00 Tcl: Add operators and punctuation + add examples
Golmote a3e751a4 2015-09-05T11:19:11 Merge branch 'prism-markdown-tcl' of https://github.com/PeterChaplin/prism into gh-pages + add tests Conflicts: components.js
Golmote 942a6ec7 2015-09-05T10:28:05 Merge branch 'LatexBranch' of https://github.com/zeitgeist87/prism into gh-pages + update tests Conflicts: components/prism-latex.js components/prism-latex.min.js
Golmote 801769cc 2015-09-05T09:42:40 Elixir: Merged heredoc with strings, fixed capture, optimized operators and keywords.
Golmote a2dda448 2015-09-05T00:26:10 Merge branch 'gh-pages' into prism-elixir
Golmote 1f45942c 2015-09-04T08:58:16 Add support for APL. Closes #308
Golmote b2f14d96 2015-09-04T08:19:21 Merge branch 'plugin-jsonp' of https://github.com/nauzilus/prism into gh-pages Conflicts: components/prism-core.min.js
Golmote 071c3ddf 2015-09-04T00:13:37 Merge branch 'c-fixes' of https://github.com/rygorous/prism into gh-pages Conflicts: components/prism-c.js components/prism-c.min.js components/prism-clike.js components/prism-clike.min.js + added tests
Golmote 4d64d077 2015-09-04T00:11:44 Merge branch 'c-fixes' of https://github.com/rygorous/prism into gh-pages Conflicts: components/prism-c.js components/prism-c.min.js components/prism-clike.js components/prism-clike.min.js + added tests
Golmote 2f9fe1ef 2015-09-03T23:39:16 Added some language aliases.
Golmote 29e26dc3 2015-09-03T23:14:19 JavaScript: Allow for all non-ASCII characters in function names. Fix #400
Golmote e42a2289 2015-09-03T22:47:50 Explicitly make the Worker close itself after highlighting, so that users have control on this behaviour when directly using Prism inside a Worker. Fix #492
Golmote 2d378008 2015-09-03T22:16:03 Ruby: Add % notations for strings and regexps. Fix #590
Golmote 9e33e0a8 2015-09-03T20:17:28 YAML: Handled \r\n and \r, simplified some patterns, fixed "---"
Golmote 0356c58c 2015-09-03T19:09:48 Apply changes from #754 to all plugins so that none of them throw errors in node. Autolinker, Show invisibles and WPD can now be used with node. Removed unused minified CSS file. Also added missing space between attributes during wrapping.
Golmote c8f83b20 2015-09-03T18:43:33 Run gulp task
Golmote de7a5cab 2015-09-03T18:42:16 Merge pull request #754 from valorkin/fix-correct-behaviour-in-nodejs Fix: node.js hacks for components and prism.js
Dmitriy Shekhovtsov 9f5c93c6 2015-09-03T13:45:26 Fix: node.js hacks for components and prism.js
Golmote 8cf9e6a0 2015-09-03T08:27:37 Wiki markup: fixed emphasis + merged some url patterns + added TODOs
Golmote 4533f17d 2015-09-02T22:48:22 VHDL: Move operator overloading before strings, don't capture if not needed, handle \r\n and \r, fix numbers
Golmote 2d8271fd 2015-09-02T08:54:31 Twig: optimized regexps + fixed operators + added missing operators/keywords
Golmote 936e4293 2015-09-02T08:01:07 Swift: optimized keywords lists and removed duplicates
Golmote 77297288 2015-09-02T00:47:09 Stylus: Rewrote the component entirely