Skip to content

Commit 076b687

Browse files
authored
syntax: allow spaces after table delimiter. fix #894 (#895)
1 parent e017e77 commit 076b687

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

syntaxes/Asciidoctor.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1974,7 +1974,7 @@
19741974
"patterns": [
19751975
{
19761976
"name": "markup.table.asciidoc",
1977-
"begin": "^(\\|===)$",
1977+
"begin": "^(\\|===)\\s*$",
19781978
"beginCaptures": {
19791979
"0": {
19801980
"name": "markup.table.delimiter.asciidoc"
@@ -1998,7 +1998,7 @@
19981998
"include": "#tables-includes"
19991999
}
20002000
],
2001-
"end": "^(\\1)$",
2001+
"end": "^(\\1)\\s*$",
20022002
"endCaptures": {
20032003
"0": {
20042004
"name": "markup.table.delimiter.asciidoc"

0 commit comments

Comments
 (0)