Other Special Characters
Functional modifiers — variable, schema, optional, nullable, and sign characters.
Special character set
Symbol
Name
Unicode
Context
Application
Usage examples
Variable references and schema definitions
# Variable declarations
~ @r: red
~ @g: green
~ @b: blue
# A schema using variables in an inline constraint
~ $schema: {
name: string,
email: email,
joiningDt: date,
color: {string, choices: [@r, @g, @b]}
}
---
# Data using variable references
~ John Doe, '[email protected]', d'2020-01-01', @rSchema modifiers
Numeric signs
Character rules
See Also
Last updated
Was this helpful?
