-
Notifications
You must be signed in to change notification settings - Fork 881
Open
Labels
bugBug report.Bug report.confirmedConfirmed bug report or approved feature request.Confirmed bug report or approved feature request.extensionRelated to one or more of the included extensions.Related to one or more of the included extensions.someday-maybeApproved low priority request.Approved low priority request.
Description
Currently, if you have an attribute without value then attr_list defaults the value to the name of the attribute. For example:
[download](file.txt){download}
is rendered as
<a download="download" href="file.txt">download</a>
I would like to have an option to preserve it as simply download
without value, so the output would be this:
<a download href="file.txt">download</a>
This would make the attribute list in markdown more consistent with the produced HTML.
PS: What was the reasoning behind the current behavior? I can't think of a scenario where I would want the attribute to have its name as the value.
Metadata
Metadata
Assignees
Labels
bugBug report.Bug report.confirmedConfirmed bug report or approved feature request.Confirmed bug report or approved feature request.extensionRelated to one or more of the included extensions.Related to one or more of the included extensions.someday-maybeApproved low priority request.Approved low priority request.