Module: Metanorma::Document::Components::Inline::RenderedDisplay

Overview

Marker module for fmt-* element classes — the rendered counterparts of semantic elements. Including this module marks a class as a presentation-layer sibling (e.g. FmtStemElement is the rendered counterpart of StemInlineElement).

Used by SemanticContent#each_semantic_content to filter out rendered siblings so consumers iterating semantic content don't see both forms of the same logical content.

Adding a new fmt-* class means one include RenderedDisplay line — no edits to the filtering logic.