Open hagenburger opened 6 years ago
Either an element or a code block should be able to update an HTML attribute.
The following combinations should be possible:
[attribute=value]
attribute="value"
[attribute="value"]
[attribute='value']
[attribute='[value]']
attribute="[value]"
[attribute]
attribute
``` html [data-xyz=123] <p>Example</p>
``` markdown # Headline <?: [title="Headline title"] ?>
In case some hints are needed, here is an example which could be checked against.
New feature
Either an element or a code block should be able to update an HTML attribute.
Specifications
The following combinations should be possible:
[attribute=value]
→attribute="value"
[attribute="value"]
quotation marks must be stripped →attribute="value"
[attribute='value']
quotation marks must be stripped →attribute="value"
[attribute='[value]']
quotation marks must be stripped →attribute="[value]"
[attribute]
only the attribute name should be set →attribute
Example usage
Help
In case some hints are needed, here is an example which could be checked against.