Class: Coradoc::Mirror::Node::LiteralBlock

Inherits:
CodeBlock show all
Defined in:
lib/coradoc/mirror/node.rb

Overview

Literal block — preformatted text (‘.…` delimiter). Same shape as CodeBlock but distinguished on the wire so consumers can apply literal-vs-source rendering/styling.

Constant Summary collapse

PM_TYPE =
'literal'

Constants inherited from Coradoc::Mirror::Node

POLYMORPHIC, TYPE_TO_CLASS

Method Summary

Methods inherited from Coradoc::Mirror::Node

#text_content