tree-sitter-d2/test/highlight/grid.d2

51 lines
916 B
Text

grid-gap: 0
# <- property
# ^ property
# ^ property
# ^ punctuation.delimiter
# ^ number
grid-columns: 1
# <- property
# ^ punctuation.delimiter
# ^ number
vertical-gap: 0
# <- property
# ^ property
# ^ property
# ^ punctuation.delimiter
# ^ number
horizontal-gap: 0
# <- property
# ^ property
# ^ property
# ^ punctuation.delimiter
# ^ number
header
# <- variable
body: "" {
# <- string.special
# ^ punctuation.delimiter
# ^ string
# ^ punctuation.bracket
grid-gap: 0
# <- property
# ^ property
# ^ property
# ^ punctuation.delimiter
# ^ number
grid-columns: 2
# <- property
# ^ punctuation.delimiter
# ^ number
content
# <- variable
sidebar
# <- variable
}
# <- punctuation.bracket
footer
# <- variable