mirror of
https://github.com/catppuccin/catppuccin
synced 2024-11-28 14:30:23 +00:00
34 lines
661 B
Text
34 lines
661 B
Text
// This is a node with a single string value
|
|
title "Hello, World"
|
|
|
|
// Multiple values are supported, too
|
|
bookmarks 12 15 188 1234
|
|
|
|
// Nodes can have attributes
|
|
author "Peter Parker" email="peter@example.org" active=true
|
|
|
|
// Nodes can be arbitrarily nested
|
|
contents {
|
|
section "First section" {
|
|
paragraph "This is the first paragraph"
|
|
paragraph "This is the second paragraph"
|
|
}
|
|
}
|
|
|
|
// Anonymous nodes are supported
|
|
"This text is the value of an anonymous node!"
|
|
|
|
// This makes things like matrix definitions very convenient
|
|
matrix {
|
|
1 0 0
|
|
0 1 0
|
|
0 0 1
|
|
}
|
|
|
|
foo 2013/2/22 07:53:34.123-GMT+05:30 bar=null
|
|
|
|
xml `
|
|
<product>
|
|
<shoes color="blue"/>
|
|
</product>
|
|
`
|