Skip to content

Commit

Permalink
Support legacy FrontMatter integration
Browse files Browse the repository at this point in the history
  • Loading branch information
RedCMD committed Aug 6, 2024
1 parent 8de6455 commit cc4e999
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions syntaxes/yaml-1.2.tmLanguage.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,19 @@
]
},
{
"comment": "Support legacy FrontMatter integration",
"begin": "\\G$",
"while": "^(?! {3,0}-{3,}[ \t]*+$|[ \t]*+\\.{3}$)",
"name": "meta.stream.yaml",
"patterns": [
{ "include": "#byte-order-mark" },
{ "include": "#directives" },
{ "include": "#document" },
{ "include": "#presentation-detail" }
]
},
{
"comment": "For when YAML is embedded inside a Markdown code-block",
"begin": "\\G",
"while": "\\G",
"name": "meta.stream.yaml",
Expand Down

0 comments on commit cc4e999

Please sign in to comment.