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

attr_list for table and ul/ol ? #668

Closed
ikus060 opened this issue Jun 17, 2018 · 1 comment
Closed

attr_list for table and ul/ol ? #668

ikus060 opened this issue Jun 17, 2018 · 1 comment

Comments

@ikus060
Copy link

ikus060 commented Jun 17, 2018

I see multiple issues (#312, #227, #505, #594, #600) related to attr_list applied to table, ol or ul and I can't figure out if we settle on a specific syntax. Looking at the code it's not obvious if it's possible to assign class to ol/ul.

If not supported, I'm wondering why. Clearly, it's a highly requested feature and I see multiple proposal for syntax and implementation.

If supported, what is the right syntax ? and may we get this documented on the web site.

Thanks !

@waylan
Copy link
Member

waylan commented Jun 18, 2018

I don't know what is so confusing. Sure, various non-members have proposed various solutions on the cited issues. However, my position has remained constant. Regarding lists I explain that:

...the markdown syntax has no concept of a ul or ol. They are simply implied by the fact that we have list items.

And tables:

...how would one differentiate between attributes defined on a row, or on a table. The syntax only defines the cells, the rows and table are inferred.

It is not possible to assign attributes to elements which don't actually exist in the document. Therefore, we will never attempt to support such a feature, regardless of how many requests or proposals we receive. Of course, anyone is free to create their own extensions which have any behavior they want.

This is being closed as another duplicate of #227 and #312.

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