-
Notifications
You must be signed in to change notification settings - Fork 743
Comparing changes
Open a pull request
base repository: rouge-ruby/rouge
base: v3.27.0
head repository: rouge-ruby/rouge
compare: v3.28.0
- 20 commits
- 39 files changed
- 16 contributors
Commits on Dec 15, 2021
-
Co-authored-by: Drew Blessing <drew@gitlab.com>
Configuration menu - View commit details
-
Copy full SHA for 79468ba - Browse repository at this point
Copy the full SHA 79468baView commit details
Commits on Dec 27, 2021
-
lexer: c: Highlight #includes as Comment::PreprocFile (#1770)
When changing https://chrisdown.name over from Pygments to Rouge, one quite noticeable change was that `{% highlight c %}` blocks lost the delineation between #include statements and the actual include, with them all now just being stylised as a comment. This patch brings back Comment::PreprocFile support for C-like languages, as it was with Pygments. Tested locally by rebuilding chrisdown.name with a gem from this commit, and seeing that the Comment::PreprocFile highlighting reappeared.
Configuration menu - View commit details
-
Copy full SHA for 1db8d15 - Browse repository at this point
Copy the full SHA 1db8d15View commit details
Commits on Jan 1, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 75fad66 - Browse repository at this point
Copy the full SHA 75fad66View commit details
Commits on Jan 6, 2022
-
Support quoted keys for TOML (#1777)
This commit supports quoted keys in standard key/value pair as well as ones inside inline table.
Configuration menu - View commit details
-
Copy full SHA for 158b6fd - Browse repository at this point
Copy the full SHA 158b6fdView commit details
Commits on Jan 7, 2022
-
* Implement stan lexer. * Use class methods and clean up formatting. * Fix scoping issue. * Fix return type parsing and lint. * Make sample more complex. * Add complex literals and fix '|' for conditional probability. * Add '.stanfunctions' extension and new array declaration syntax. * Include +/- in complex numbers. * Make complex regex greedier and expand spec. * Put complex functions in correct place and fix typo. * Add Stan to list of supported languages. * Implement @tancnle's suggestions and fix includes. * Factor includes into own state. * Add special highlighting for deprecated comment syntax
Configuration menu - View commit details
-
Copy full SHA for e8297f4 - Browse repository at this point
Copy the full SHA e8297f4View commit details
Commits on Jan 12, 2022
-
don't crash if last line of console snippet ends with \ (#1779)
* don't crash if last line of console snippet ends with \ * simplify line regex for console lexer
Configuration menu - View commit details
-
Copy full SHA for 358d7a7 - Browse repository at this point
Copy the full SHA 358d7a7View commit details -
* Initial stata commit * Updated stata syntax * Updated highlighting * Update stata.rb * Updated highlighting * Fixed single line comment issue * Fixed issue with \n * Update stata.rb * Added numeric formats * Added str1-str2045 * Update stata.rb * Update stata.rb * compound doubles added * More keywords * Added operators * Update stata.rb * Update stata.rb * Update stata.rb * Update stata.rb * Update stata.rb * Update stata.rb * Addressed reviewer comments Added end of line to sample file Fixed indentations Added reference to Stata manual Changed KEYWORD_TYPES and KEYWORDS_RESERVED to use class methods * Rename methods and vacuum trailing spaces * Update stata.rb Co-authored-by: Tan Le <tan.le@hey.com>
Configuration menu - View commit details
-
Copy full SHA for 6be5a3b - Browse repository at this point
Copy the full SHA 6be5a3bView commit details -
Configuration menu - View commit details
-
Copy full SHA for d7fc820 - Browse repository at this point
Copy the full SHA d7fc820View commit details
Commits on Jan 16, 2022
-
Fix Visual Test App on Ruby 3.0 (#1696)
* Add puma as development dependency for Ruby 3.0 Ruby 3.0 no longer ships with a built-in webserver * Update Gemfile Co-authored-by: Tan Le <tan.le@hey.com> Co-authored-by: Tan Le <tan.le@hey.com>
Configuration menu - View commit details
-
Copy full SHA for b92d206 - Browse repository at this point
Copy the full SHA b92d206View commit details
Commits on Jan 18, 2022
-
Rust: update lexer for the latest version of Rust (#1649)
* Rust: remove constant "nil" The word "nil" has no special meaning in the latest version of Rust. * Rust: update keyword list Added: They are keywords in the latest version of Rust. * `abstract` * `become` * `final` * `in` * `override` * `typeof` * `unsized` * `virtual` Removed: They are *not* keywords in the latest version of Rust. * `assert` * `copy` * `drop` * `fail` * `pure`
Configuration menu - View commit details
-
Copy full SHA for 5d45948 - Browse repository at this point
Copy the full SHA 5d45948View commit details
Commits on Jan 20, 2022
-
Configuration menu - View commit details
-
Copy full SHA for b3ee7ac - Browse repository at this point
Copy the full SHA b3ee7acView commit details
Commits on Jan 23, 2022
-
Support Cypher multi-line comments (#1710)
* resolves #1709 support Cypher multi-line comments * Remove empty line * Add newline at the end of the file
Configuration menu - View commit details
-
Copy full SHA for c39c98a - Browse repository at this point
Copy the full SHA c39c98aView commit details
Commits on Jan 24, 2022
-
Update list of maintainers in README (#1787)
This commit adds @tancnle as a maintainer. He joined as a maintainer from 10 December 2021.
Configuration menu - View commit details
-
Copy full SHA for b75a28d - Browse repository at this point
Copy the full SHA b75a28dView commit details
Commits on Jan 25, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 3542334 - Browse repository at this point
Copy the full SHA 3542334View commit details -
Add HCL file extensions (#1769)
HCL is used in [Terraform which uses the `.tf` file extension](https://www.nomadproject.io/docs/commands/job/run#examples) but it is already handled by the [terraform lexer](https://github.com/rouge-ruby/rouge/blob/master/lib/rouge/lexers/terraform.rb). But HCL is also used by other Hashicorp tools like: * [Packer which uses the `.pkr.hcl` extension](https://www.nomadproject.io/docs/commands/job/run#examples) * [Vault which uses the `.hcl` extension](https://www.vaultproject.io/docs/commands/server#command-options) * [Consul which uses the `.hcl` extension](https://www.consul.io/docs/agent/options#configuration) * [Waypoint which uses the `waypoint.hcl` file](https://www.waypointproject.io/docs/waypoint-hcl#project-configuration-waypoint-hcl) * [Nomad which uses the `.nomad` extension](https://www.nomadproject.io/docs/commands/job/run#examples) but also [Nomad Packs which uses the `.hcl` extension](https://learn.hashicorp.com/tutorials/nomad/nomad-pack-writing-packs#add-a-new-pack) (in fact the [list of HCL Schemas](https://learn.hashicorp.com/tutorials/nomad/nomad-pack-writing-packs#add-a-new-pack) seems to be the most comprehensive list of HCL implementations)
Configuration menu - View commit details
-
Copy full SHA for a2af69c - Browse repository at this point
Copy the full SHA a2af69cView commit details -
Configuration menu - View commit details
-
Copy full SHA for e06ad14 - Browse repository at this point
Copy the full SHA e06ad14View commit details
Commits on Jan 26, 2022
-
lexer: cpp: add keywords and operator introduced in C++20 (#1784)
Signed-off-by: Kefu Chai <tchaikov@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for c91b3a7 - Browse repository at this point
Copy the full SHA c91b3a7View commit details -
JSX: Allow dashes in attribute names (#1650)
Support attributes with names that contain dashes, e.g. ARIA attributes.
Configuration menu - View commit details
-
Copy full SHA for 8229933 - Browse repository at this point
Copy the full SHA 8229933View commit details -
Fix SPARQL unicode names support (fix #1653) (#1654)
* Fix SPARQL unicode names support * Update lib/rouge/lexers/sparql.rb Co-authored-by: Tan Le <tan.le@hey.com> * Update lib/rouge/lexers/sparql.rb Co-authored-by: Tan Le <tan.le@hey.com> Co-authored-by: Tan Le <tan.le@hey.com>
Configuration menu - View commit details
-
Copy full SHA for 75fcbff - Browse repository at this point
Copy the full SHA 75fcbffView commit details -
Configuration menu - View commit details
-
Copy full SHA for cb51ad7 - Browse repository at this point
Copy the full SHA cb51ad7View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff v3.27.0...v3.28.0