Documentation

    Hosted installer: at launch

    YAML profile

    All reference topics

    YAML profile

    Frontmatter, rich fences and .rstyle.yaml files are read by one profile: the YAML 1.2 core schema with these limits. Every reader uses it, so two hosts never disagree about what a source says.

    ConstructRule
    A key repeated in one mappingError yaml.duplicate-key at the second key’s line
    Anchors, aliases, merge keys (<<), explicit tags, a second documentError yaml.unsupported; write the value out in full
    .inf, .nan, a number too large to holdError yaml.unsupported; numbers are finite
    yes, no, on, off, unquoted dates, 1_000, 0b11Text
    007 and other integers with a leading zeroText (the core schema would read 7)
    0x10, 0o17, 1e3Numbers
    ~, null, an empty valueNull
    Quoted and block scalarsAlways text

    Text that is not YAML at all keeps its family’s code (frontmatter.yaml, block.yaml, style.yaml) with the parser’s line and column.

    Was this page useful? Suggest an edit