-
Notifications
You must be signed in to change notification settings - Fork 67
Deciding the future of commonmark.py
#308
Comments
I'm all for transferring commonmark.py to Jazzband so it can receive better regular maintenance and attention! |
@astrojuanlu I've submitted a proposal to move this package to jazzband here: jazzband/help#221 |
Thanks a lot @nikolas ! I subscribed there 👍🏽 |
I'm fine with moving it or favor markdown-it-py. |
Yea, Jazzband seems like a good home if we want to keep it maintained in some fashion 👍 |
I would add that no other commonmark compliant parser in python provides source level map for the ast which is required for efficient documentation manipulation. |
Summonning @chrisjsewell on this |
yep markdown-it/markdown-it-py does If you want to use commonmark.js over markdown-it that obviously that's absolutely fine. |
@chrisjsewell Does it provide map from tokens to locations in source? AFAIK original JS markdown-it does not provide them markdown-it/markdown-it#336 In JS world, only commonmark.js (block granularity) and remark (inline granularity) provide such info. Edit: Oops, my memory failed me. Markdown-it does provide line position but not character position. Somehow I couldn't find them the list of token generated. In light, of that my original comment is moot. Edit2: Thanks @chrisjswell. For me markdown-it-py is the way forward and you saved the day when I was finishing up ast generation implementation via NodeJS over rpc. (after brief adventure with JS2Py which ended up being too slow) |
Yes it does, in the No doubt, inline level (column) mapping would be great, but personally I think it would be a lot better to create an adapted version of markdown-it rather than commonmark.js, if you ever want to consider extending the syntax past commonmark in any way. |
https://ui.toast.com/weekly-pick/en_20200402 looks interesting though, will certainly keep an eye on it 😄 |
Any progress on Jazzband migration here? Seems like this is mostly stalled, so tempted to add a note archiving it unless anyone else feels strongly. |
I'm now going to archive this repo. Please reach out to me if anyone is interested in continuing to maintain this, but it seems there's already a solid replacement, and we aren't going to do any more work on this project. |
Hi everyone, from Read the Docs we would like to open up the question about the future of
commonmark.py
. The landscape of Markdown in Python and Sphinx has changed a lot over the past 12 months, and in particular markdown-it-py by @chrisjsewell et al achieves a level of extensibility that is beyond what's possible withcommonmark.py
(see #106 (comment)). Similarly, MyST-Parser provides a broader feature set than whatrecommonmark
offers.As a result of the latter, and with the hope of optimizing efforts, a couple of months ago we decided to deprecate recommonmark in favor of MyST-Parser. Since
commonmark.py
has a similar status, we would also like to deprecate it - but given that the project has a richer history and it's also a lower level package, we would like to first ask the current maintainers their opinion.@nikolas and @lu-zero are the ones that have been merging code to
commonmark.py
in recent years. There are a bunch of open bugs and pull requests that haven't received much attention, and the last release is from October 2019 (ah, the good old times without global pandemics). Nobody from Read the Docs plans to step in and address them, so we would like to offer two possibilities:If there is no response or consensus in a reasonable time frame, the latter option wins, since anyone can fork the repository anyway. But we would like to give others the chance to speak up so the complete repository, with all the issues and pull request history, can be cleanly transferred.
Thoughts?
cc @ericholscher
The text was updated successfully, but these errors were encountered: