Comments (5)
I believe I am going to take a swing at this tomorrow. I raised the following question on readthedocs/recommonmark#3 already:
Do we keep CommonMark vanilla CommonMark, and instead subclass or patch the CommonMark.Parser
in recommonmark
, or would experimental CommonMark spec features make more sense in the CommonMark
package?
I'd like to keep experimental features configured under an option flag, and if there is ever movement in the table syntax and extension syntax, the experimental features would issue deprecation warnings after they are moved to the main parser. Does any of this sound antithetical to this package? At this point, I feel like the lack of these features is hurting recommonmark
adoption.
from commonmark.py.
I assume nobody's working on this (as there doesn't appear to be an official extension yet) but are there any plans to support any of the existing table syntaxes?
from commonmark.py.
Cool, sounds good. Up to this point I have been trying to focus on the upstream commonmark spec, and afraid of adding new syntax like this because it could get more complicated to maintain. I definitely see how this is a needed feature though for recommonmark / rtfd, and I like the idea of experimental features under an options flag.
Keep in mind that the Python-Markdown library supports tables:
https://pythonhosted.org/Markdown/extensions/tables.html
So one approach could be adding compatibility with that library to recommonmark. But after glancing over recommonmark it looks like it does dig pretty deeply into this library's API, so I don't know if that's so straightforward.
from commonmark.py.
Hi all. I have a mostly working implementation of an extension to this library for parsing and rendering tables here:
https://github.com/GovReady/CommonMark-py-tables/blob/master/CommonMarkTables/__init__.py
It attempts to follow Github Flavored Markdown.
We'd be happy to have this be incorporated into this library, or not (because I totally understand the hesitance over incorporating non-standard extensions). If not, this might at least be informative for how to make this library a little friendlier for extending it.
from commonmark.py.
I know recommonmark
will never support table
, cause this is a major feature than markdown
, to let people to use rst.
So,is there any other Parser
for sphinx
to use ?
from commonmark.py.
Related Issues (20)
- Broken package on MacOS since 0.8.0 HOT 10
- Proposol to move project to jazzband HOT 3
- Breaking change in 0.8.0 - "ImportError: No module named CommonMark" HOT 4
- nested emphasis and strong tags when phrase ends in colon HOT 1
- Update to commonmark spec 0.29 HOT 2
- Initial Update
- CHANGELOG.md in pypi tarball HOT 2
- Do not escape HTML HOT 1
- Do not hide link labels HOT 2
- Support for YAML front-matter HOT 4
- Pyup Safety check is flagging security vulnerabilities within commonmark 0.9.1 HOT 2
- Dependabot couldn't authenticate with https://pypi.python.org/simple/
- Nested list in markdown cannot convert to rst correctly HOT 1
- migrate to github actions for testing
- Deciding the future of `commonmark.py` HOT 13
- AST produced for lists with mixed bullets is incorrect
- Incorrect end sourcepos for fenced code blocks
- Use an enumeration for the nodes' t
- Consider editing repository setings to remove "Packages" section
- Issue with HTML-looking tags
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from commonmark.py.