Documentation ¶
Overview ¶
Package d2compiler implements a parser, compiler and autoformatter for the Terrastruct d2 diagramming language.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var FullToShortLanguageAliases map[string]string
View Source
var ShortToFullLanguageAliases = map[string]string{
"md": "markdown",
"tex": "latex",
"js": "javascript",
"go": "golang",
"py": "python",
"rb": "ruby",
"ts": "typescript",
}
TODO add more, e.g. C, bash
Functions ¶
Types ¶
type CompileOptions ¶
Click to show internal directories.
Click to hide internal directories.