hagenburger / pimd

PIMD – Processing Instructions for Markdown
https://hagenburger.github.io/pimd-docs/
MIT License
20 stars 5 forks source link

Implement attribute plugin #3

Open hagenburger opened 6 years ago

hagenburger commented 6 years ago

New feature

Either an element or a code block should be able to update an HTML attribute.

Specifications

The following combinations should be possible:

Example usage

``` html [data-xyz=123]
<p>Example</p>

``` markdown
# Headline <?: [title="Headline title"] ?>

Help

In case some hints are needed, here is an example which could be checked against.