Skip to content
Beskid Platform specification

Beskid

Jump to a Beskid service

Beskid

Jump to a Beskid service

Design model

Spec standingStandard

Owner
Piotr Mikstacki
Submitter
Piotr Mikstacki

Document design model 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)
  1. ScanConsole.Format.Scan provides length, prefix, slice, and index helpers (no allocation-heavy regex engine).
  2. ParseMarkdown.RenderInner walks the source recursively for **, __, \ escapes, and bracket tags.
  3. StyleAttributes / StyleChain map names (red, bold) to Ansi.Sgr or chain steps.
  4. Emit — Concatenated gated escape prefixes wrap plain text segments.
Entryansi flagUse
RenderPlainfalseLogs and non-TTY snapshots
RenderStyled / FormattrueInteractive terminal UI

Sequence bytes are defined in ANSI escape model; markup must not embed raw ESC except via the Ansi builders.

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