Class KonceptBadgeAnatomyBlockMacro
- All Implemented Interfaces:
org.asciidoctor.extension.Processor
Usage in AsciiDoc, per the image standards (block title and alt text always present):
.Anatomy of a Koncept Badge koncept-badge-anatomy::DescriptionPattern[]
The figure is composed at conversion time by KonceptFigureRenderer from the
same primitives the badges render with — the KonceptKind sigil glyph/colour
data and the IdenticonRenderer LifeHash image — so the illustration can never
drift from a real badge. The target resolves through KonceptResolver exactly
as a k: reference does; a target with no computable identity renders a visible
placeholder. The html family embeds a data: URI; file-referencing backends get
a content-addressed PNG file. Drawn at 2× and displayed at half width for
crispness.
An uncurated typed target — a component whose identity is source-declared but
not in koncepts.yml, like a ledger-declared STAMP whose PublicId is the
deterministic Stamp.stampUuid of its tuple — resolves with no kind and its id
as label, so the author asserts both explicitly:
.Anatomy of a STAMP badge koncept-badge-anatomy::uuid=1e041b79-…[kind=stamp, label="Active · 2026-07-12 00:00 · IKE Community"]The same adopt-never-re-mint discipline as declared component identities: assert only what the source of the identity declares. A stamp anatomy renders the pentagon on the gray provenance chip, with the verbatim provenance text labelled
provenance in
place of name.-
Field Summary
Fields inherited from class org.asciidoctor.extension.MacroProcessor
name -
Constructor Summary
ConstructorsConstructorDescriptionCreates a new block macro processor instance. -
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
-
KonceptBadgeAnatomyBlockMacro
public KonceptBadgeAnatomyBlockMacro()Creates a new block macro processor instance.
-
-
Method Details
-
process
-