- Description:
This key defines where attribute lists are positioned for block-level elements when converting HTML to Markdown.
The value can be
none,right,space right,below,newline below, orright-of-prefix. This applies to all block-level elements unless overridden by element-specific configuration.This key only takes effect when
attributesis enabled.- Appears in:
└── markdown └── options └── attribute_elements └── block- Type:
string- Allowed values:
nonerightspace rightbelownewline belowright-of-prefix- Examples:
In this example, we have configured block-level elements to place attributes below the element.
Copied to clipboardmarkdown: engine: commonmark options: attributes: true attribute_elements: block: below{ "markdown": { "engine": "commonmark", "options": { "attributes": true, "attribute_elements": { "block": "below" } } } }