Class: Coradoc::CoreModel::ListingBlock
Overview
Listing block — a delimited block for listing/content without source language
Distinct from SourceBlock: a listing has no language annotation. When a language is present, SourceBlock should be used instead.
Instance Attribute Summary
Attributes inherited from Block
#block_semantic_type, #content, #delimiter_length, #delimiter_type, #element_type, #language, #lines
Attributes inherited from Base
#element_attributes, #id, #metadata_entries, #title
Class Method Summary collapse
Methods inherited from Block
Methods included from ChildrenContent
#children=, #flat_text, included, #initialize, #renderable_content, #to_hash
Methods inherited from Base
#accept, #attr, #metadata, #semantically_equivalent?, #set_attr, #set_metadata
Class Method Details
.semantic_type ⇒ Object
10 |
# File 'lib/coradoc/core_model/listing_block.rb', line 10 def self.semantic_type = :listing |