cue export curly.cue | |
cmp stdout expect-stdout-cue | |
-- frontmatter.toml -- | |
title = "Curly Braces" | |
description = "" | |
-- text.md -- | |
The outer curly braces may be omitted for the top-level struct. | |
CUE also allows both, which has a specific meaning. | |
[We will come back to that later](emit.md). | |
-- curly.cue -- | |
one: 1 | |
two: 2 | |
"two-and-a-half": 2.5 | |
-- expect-stdout-cue -- | |
{ | |
"one": 1, | |
"two": 2, | |
"two-and-a-half": 2.5 | |
} |