Skip to content

Commit

Permalink
enh(apache) support line continuation with \ (#4158)
Browse files Browse the repository at this point in the history
  • Loading branch information
joshgoebel authored Dec 14, 2024
1 parent 3e06867 commit 55b0deb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ CAVEATS / POTENTIALLY BREAKING CHANGES

Core Grammars:

- fix(apache) - support line continuation via `\` [Josh Goebel][]
- fix(makefile) - allow strings inside `$()` expressions [aneesh98][]
- enh(arcade) updated to ArcGIS Arcade version 1.29 [Kristian Ekenes][]
- enh(css) add all properties listed on MDN (96 additions including `anchor-name`, `aspect-ratio`, `backdrop-filter`, `container`, `margin-trim`, `place-content`, `scroll-timeline`, ...) [BaliBalo][]
Expand Down
4 changes: 4 additions & 0 deletions src/languages/apache.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,10 @@ export default function(hljs) {
relevance: 0,
keywords: { literal: 'on off all deny allow' },
contains: [
{
scope: "punctuation",
match: /\\\n/
},
{
className: 'meta',
begin: /\s\[/,
Expand Down

0 comments on commit 55b0deb

Please sign in to comment.