Class KonceptNarrativeBlockMacro
- All Implemented Interfaces:
org.asciidoctor.extension.Processor
narrative field into the document as real AsciiDoc source.
Usage in AsciiDoc:
koncept-narrative::Axioms[]
The target is a koncepts.yml identifier (the same key a k:
reference uses); its narrative field — AsciiDoc source, including
embedded k: chip references — is split into lines and handed to
BaseProcessor.parseContent(StructuralNode, List) so it is re-parsed as real
AsciiDoc (embedded chips resolve through the normal macro pipeline), not
frozen as pre-rendered text. This is the KB-native alternative to hand-typed
manuscript prose (IKE-Network/ike-issues#879): the same content lives once,
in the knowledge base, and is rendered here rather than copied.
A koncept with no narrative field renders a visible placeholder
rather than silently vanishing, matching the glossary's own
"Definition not available" convention for a missing field.
-
Field Summary
Fields inherited from class org.asciidoctor.extension.MacroProcessor
name -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.asciidoctor.extension.MacroProcessor
getName, options, setNameMethods inherited from class org.asciidoctor.extension.BaseProcessor
createBlock, createBlock, createBlock, createBlock, createBlock, createBlock, createBlock, createDocument, createList, createList, createList, createListItem, createListItem, createPhraseNode, createPhraseNode, createPhraseNode, createPhraseNode, createPhraseNode, createPhraseNode, createSection, createSection, createSection, createSection, createSection, createTable, createTable, createTableCell, createTableCell, createTableCell, createTableCell, createTableColumn, createTableColumn, createTableRow, getConfig, log, newCursor, newCursor, newCursor, newReader, newReader, newReader, newReader, parseContent, setConfig, unwrap, updateConfig
-
Constructor Details
-
KonceptNarrativeBlockMacro
public KonceptNarrativeBlockMacro()Creates a new block macro processor instance.
-
-
Method Details
-
process
-