Skip to content

Commit 55b0deb

Browse files
authored
enh(apache) support line continuation with \ (#4158)
1 parent 3e06867 commit 55b0deb

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

CHANGES.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ CAVEATS / POTENTIALLY BREAKING CHANGES
77

88
Core Grammars:
99

10+
- fix(apache) - support line continuation via `\` [Josh Goebel][]
1011
- fix(makefile) - allow strings inside `$()` expressions [aneesh98][]
1112
- enh(arcade) updated to ArcGIS Arcade version 1.29 [Kristian Ekenes][]
1213
- 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][]

src/languages/apache.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,10 @@ export default function(hljs) {
7373
relevance: 0,
7474
keywords: { literal: 'on off all deny allow' },
7575
contains: [
76+
{
77+
scope: "punctuation",
78+
match: /\\\n/
79+
},
7680
{
7781
className: 'meta',
7882
begin: /\s\[/,

0 commit comments

Comments
 (0)