Skip to content
Beskid Platform specification

Beskid

Jump to a Beskid service

Beskid

Jump to a Beskid service

Contracts and edge cases

Platform spec article

Contracts and edge cases

Spec standingStandard

Owner
Piotr Mikstacki
Submitter
Piotr Mikstacki

Document contracts and edge cases for the Console Markup Format feature: role-specific normative detail beyond the feature hub.

  • Feature hub: Console Markup Format
  • Sibling articles in this bundle (design model, contracts, flow, examples, verification)
IDRequirement
FMT-001Unclosed ** or __ spans must fall through as literal text (no panic).
FMT-002Unknown bracket tag names must render as literal [name] text.
FMT-003Backslash before a recognized sigil must emit the sigil literally and continue parsing.
FMT-004Format must delegate to styled render only when ShouldStyle() is true.
FMT-005Each styled span should reset attributes after the span (StyleChain / SGR reset).
ConstructEffect when styled
**text**Bold
__text__Underline
[red]text[/]Foreground palette (name table in Attributes.bd)
\[ etc.Escape sigil
  • Nested styles apply inner chain then outer tail recursively.
  • Empty source returns "".
  • Markup does not interpret HTML or full Markdown block syntax (headings, lists).

See the verification and traceability article in this bundle and compiler/corelib/beskid_corelib/tests/corelib_tests/src/console/.