docs: Add syntax specification

Formally document the language syntax and provide examples and detailed
descriptions of how things work.
This commit is contained in:
James Westman 2023-03-11 18:43:32 -06:00
parent 3c1941a17e
commit ef39b5d7db
13 changed files with 1223 additions and 3 deletions

View file

@ -5,4 +5,20 @@
.experimental-admonition img {
width: 64px;
}
}
p.grammar-block {
font-family: var(--font-stack--monospace);
white-space: pre;
overflow: auto;
font-size: var(--code-font-size);
padding: .625rem .875rem;
line-height: 1.5;
background: #f8f8f8;
border-radius: .2rem;
}
body:not([data-theme="light"]) .grammar-block {
background: #202020;
color: #d0d0d0;
}