Implement attribute plugin #3
Labels
enhancement
New feature or request
good first issue
Good for newcomers
RGSoC
This is a task for the Rails Girls Summer of Code DV Team
Milestone
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
# Headline <?: [title="Headline title"] ?>
Help
In case some hints are needed, here is an example which could be checked against.
The text was updated successfully, but these errors were encountered: