-
-
Notifications
You must be signed in to change notification settings - Fork 197
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow simplified input for attribute values #943
Comments
Looking at one of our test cases it seems like this might already be supported:
Would you be open to adding some more test cases to confirm whether this works as expected? We can then commit those new test cases if they pass or explore options (like your proposal) if they don't currently work. |
Then maybe it's a bug I found. I will extend the tests tomorrow morning. What I can already say, with me the following did not go (the point at the end provides for problems):
|
Description
Related to the https://commonmark.thephpleague.com/2.3/extensions/attributes/ extension, I would like to make an adjustment. In order to make it easier for the users, I would be a bit more generous when entering values for atttributes (can be activated via configuration).
For all key-value values, where the value only consists of the following characters
A-Za-z0-9-_.
the user does not need to write quotation marks (they are set in the HTML anyway).It is only an improvement for the operability. What is your opinion?
I would make this adjustment as part of the change in #942.
Example
[Goolge can help you](https://www.google.de){target=_blank}
-><a href="https://www.google.de" target="_blank">Goolge can help you</a>
### Headline {class=big}
-><h3 class="big">Headline</h3>
Total crazy{class=cms.highlight}
-><p class="cms.highlight">Total crazy</p>
Did this project help you today? Did it make you happy in any way?
No response
The text was updated successfully, but these errors were encountered: