Skip to content
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

Proposal - Improve attribute parsing #28

Closed
jmooring opened this issue Feb 4, 2022 · 1 comment
Closed

Proposal - Improve attribute parsing #28

jmooring opened this issue Feb 4, 2022 · 1 comment

Comments

@jmooring
Copy link

jmooring commented Feb 4, 2022

Users are accustomed to quoting HTML attributes, regardless of type, because many have no concept of type. And the browser doesn't care. I understand this is markdown, not HTML, but there is a similar expectation from non-developer users.

With this module, quoting or not quoting an attribute makes a big difference.

Example Notes
{linenostart="1"} Panic (see #27)
{linenos="false"} Effectively setting it to true
{hl_lines="[2]"} Ignored
@jmooring jmooring changed the title Proposal - improve attribute parsing Proposal - Improve attribute parsing Feb 4, 2022
@yuin
Copy link
Owner

yuin commented Feb 8, 2022

This is not only for this extension, but for the goldmark core.

Could you create a new discussion in yuin/goldmark?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants