Skip to content

Commit

Permalink
Merge branch 'st4134'
Browse files Browse the repository at this point in the history
  • Loading branch information
deathaxe committed Mar 10, 2024
2 parents 2eb36cf + ce686c0 commit 85e14dc
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Syntaxes/HTML (Liquid).sublime-syntax
Original file line number Diff line number Diff line change
Expand Up @@ -22,17 +22,17 @@ contexts:

frontmatter:
- meta_include_prototype: false
- match: (---)\s*(?i:(ya?ml)\s*)?\n
- match: \s*(---)\s*\n
captures:
0: meta.frontmatter.jekyll
1: punctuation.section.block.begin.frontmatter.jekyll
1: punctuation.section.frontmatter.begin.jekyll
2: constant.other.language-name.jekyll
embed: scope:source.yaml
embed_scope: meta.frontmatter.jekyll source.yaml.embedded.jekyll
escape: ^(---|\.{3})\s*\n # pandoc requires the remainder of the line to be blank
escape: ^\s*(---)\s*$\n?
escape_captures:
0: meta.frontmatter.jekyll
1: punctuation.section.block.end.frontmatter.jekyll
1: punctuation.section.frontmatter.end.jekyll
pop: 1
# Ensure to highlight frontmatter if the syntax is embedded, but pop as early as possible
- match: ^|(?=\S)
Expand Down

0 comments on commit 85e14dc

Please sign in to comment.