This note documents how directive attributes map to HTML and the typed core in the prototype implementation.
Directives render as:
<div data-a2ml="<name>" key="value" ...>...</div>-
data-a2mlis always set to the directive name. -
Attributes are serialized as HTML attributes in the same element.
Translator behavior (v0.2):
-
@abstract→Sectionwith idsec:abstract -
@fig(id=?, ref=?)→Figurewith id/ref -
@table(id=?)→Table -
@refs→Refswith entries from paragraph lines -
Unknown directives →
Sectionnamed after the directive