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