Skip to content

Commit

Permalink
syntax: allow spaces after table delimiter. fix asciidoctor#894
Browse files Browse the repository at this point in the history
  • Loading branch information
ebousse authored Aug 6, 2024
1 parent e017e77 commit b1b2acf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions syntaxes/Asciidoctor.json
Original file line number Diff line number Diff line change
Expand Up @@ -1974,7 +1974,7 @@
"patterns": [
{
"name": "markup.table.asciidoc",
"begin": "^(\\|===)$",
"begin": "^(\\|===)\\s*$",
"beginCaptures": {
"0": {
"name": "markup.table.delimiter.asciidoc"
Expand All @@ -1998,7 +1998,7 @@
"include": "#tables-includes"
}
],
"end": "^(\\1)$",
"end": "^(\\1\\s*)$",
"endCaptures": {
"0": {
"name": "markup.table.delimiter.asciidoc"
Expand Down

0 comments on commit b1b2acf

Please sign in to comment.