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