Recent searches

in

inline

On this page

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, or right-of-prefix. This applies to all inline elements unless overridden by element-specific configuration.

This key only takes effect when attributes is enabled.

Appears in

└── markdown
    └── options
        └── attribute_elements
            └── inline

Type

string

Allowed values

none
right
space right
below
newline below
right-of-prefix

Examples

In this example, we have configured inline elements to place attributes on the right.

Copied to clipboard
markdown:
  engine: commonmark
  options:
    attributes: true
    attribute_elements:
      inline: right
{
  "markdown": {
    "engine": "commonmark",
    "options": {
      "attributes": true,
      "attribute_elements": {
        "inline": "right"
      }
    }
  }
}
Open in a new tab