-
-
Notifications
You must be signed in to change notification settings - Fork 196
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
Feature Request: Merge Attributes and Footnotes Extensions #474
Comments
I agree with footnotes, not sure about the attributes extension though. While I definitely see the value in having that available here, I'm also very cautious about adding anything that's not rooted within the official CommonMark or GFM specs or implementations. |
Well, going by that rationale, then the footnotes extension isn't in either... either. FWIW, attributes has over 88k installs, compared to footnotes which has just over 1.3k installs. It's an extension I use all the time if only to do simple things like assigning IDs to headers. While I understand the desire to not conflate spec implementations, these are just extensions on top of the spec (which is essentially what GFM is as well) If anything this would only help get it accepted as part of the official spec faster. |
Also, #421 isn't either... edit: but I would argue that attributes is more practical/useful than either footnotes or emojis |
True, the specs don't have them, but the GFM implementation does have footnotes, and their Markdown pipeline does support emojis. For those reasons, I feel like it's reasonable to assume these are as close to a standard as we have right now, and any future official specification of those will likely be based closely on those implementations. I'm still open to the idea of attributes, but I'd like to better understand some of the various implementations other Markdown flavors are using and where the CommonMark community might be leaning. |
Maybe for the attributes, we could provide different "flavors" of them? That way, if an official variant comes out, we don't have to break BC - we just offer the new official flavor? |
Still, not part of the spec.
lol I'm not trying to be nit-picky here, but... come on. 😝 I'm just saying that attributes has just as much right as ^. These are extensions, not spec. I really don't know of any "flavors" of attributes. It's a very basic and straight forward syntax. There are only two variations that I am aware of:
Subsequently, webuni/commonmark-attributes-extension based its implementation on the originals and even supports the colon, but makes it optional:
I really don't see this changing or something "new" coming out. If it even makes its way into the spec, it'll likely be what is already widely used; which is this. |
@rezozero @hason Would either of you be opposed to us bringing a copy your footnote and attribute extensions into the main Keeping these most-common extensions within the main package also helps us ensure that the extensions stay compatible with newer versions before they're released - important since we're actively working on upcoming releases for 1.5 and 2.0 🎉 Just let me know :) |
@colinodell OK |
Maybe mentioning @ambroisemaupate directly would be better (actual committer of |
@colinodell Hello that’s an honor if you would like to bring Future enhancements would be added via Github PR into |
Yes |
Awesome! Thank you both for being open to this. I'll work on bringing these in over the next weekend or two 😉 |
This extension is based on https://github.com/rezozero/commonmark-ext-footnotes, imported and relicensed with permission from the maintainer: #474 (comment) In addition to importing the functionality, a number of configuration options were added, as well as some other small tweaks.
This extension is based on https://github.com/rezozero/commonmark-ext-footnotes, imported and relicensed with permission from the maintainer: #474 (comment) In addition to importing the functionality, a number of configuration options were added, as well as some other small tweaks.
This extension is based on https://github.com/rezozero/commonmark-ext-footnotes, imported and relicensed with permission from the maintainer: #474 (comment) In addition to importing the functionality, a number of configuration options were added, as well as some other small tweaks.
This extension is based https://github.com/webuni/commonmark-attributes-extension, imported and relicensed with permission from the maintainer: #474 (comment)
This extension is based https://github.com/webuni/commonmark-attributes-extension, imported and relicensed with permission from the maintainer: #474 (comment)
This extension is based https://github.com/webuni/commonmark-attributes-extension, imported and relicensed with permission from the maintainer: #474 (comment)
This extension is based https://github.com/webuni/commonmark-attributes-extension, imported and relicensed with permission from the maintainer: #474 (comment)
Given that this project has now consolidated a ton of these rando extensions into itself, I think the last two remaining popular extensions should follow suit:
x-ref:
rezozero/commonmark-ext-footnotes#7
The text was updated successfully, but these errors were encountered: