doc/ref: annotate CUE code blocks via their triple backticks
I experimented with Hugo and it turns out that triple backticks
with syntax highlighting ignore any text after a space,
so we can abuse that a little to annotate code blocks with intent.
Start documenting and using a few conventions with this trick
as a starting point; the following commits will start using them.
We only tweak the contents of one code block, to make the header
a comment so that we can parse the whole block as valid CUE.
Signed-off-by: Daniel Martí <mvdan@mvdan.cc>
Change-Id: I107105360059fdca10bec15adabb5b3495e1b65f
Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/1232178
Reviewed-by: Roger Peppe <rogpeppe@gmail.com>
Reviewed-by: Marcel van Lohuizen <mpvl@gmail.com>
TryBot-Result: CUEcueckoo <cueckoo@cuelang.org>
Unity-Result: CUE porcuepine <cue.porcuepine@gmail.com>