@grafctory/blue - v0.17.0
    Preparing search index...

    Function markdown

    • Creates a shape for Markdown text values.

      Admits any string within the stated length bounds. Whitespace carries meaning throughout Markdown, from indentation and blank lines to the trailing spaces that encode a hard break, so no lexical constraint is imposed and authored content survives ingestion verbatim. Reach for it for descriptions, abstracts and other long-form values whose formatting is meaningful; reach for text where the content must stay a single unformatted line.

      States no datatype, so values are typed xsd:string. The shape may also serve as the content of a dictionary, which holds every localised entry to the same rules as a plain value.

      Parameters

      Returns StringShape<string, undefined>

      An immutable shape admitting Markdown text

      TraceError Where the stated constraints contradict one another