Skip to content

extension to add css classnames to inline elements? #917

@frumbert

Description

@frumbert

In one markdown implementation I saw, there was a handy extension to allow adding classnames and attributes to inline elements, e.g.

![some image](path-to-image.jpg){.shadow.center [data-zoom] #id}

where immediately after the block there's a curly bracket containing values. The above example would have yielded

<img alt='some image' src='path-to-image.jpg' class='shadow center' data-zoom id='id' />

How could this be achieved within Parsedown?

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