Skip to content

Extention request: Support arbitrary attributes #586

@doits

Description

@doits

I would be nice if it would support adding arbitrary attributes to block and inline elements, e.g.:

> A nice blockquote
{: title="Blockquote title"}

==>

<blockquote title="Blockquote title">
<p>A nice blockquote</p>
</blockquote>

A PHP parser has this available like this: https://commonmark.thephpleague.com/2.4/extensions/attributes/

Kramdown supports this like this: https://kramdown.gettalong.org/quickref.html#block-attributes and https://kramdown.gettalong.org/quickref.html#inline-attributes

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions