Comments (2)
I understand your motivation.
But, to be honest, I think that adopting too easily too many extensions (just because we can) would eventually result in a Markdown parser which gets much bigger, much less maintainable, and which would strongly contribute to Markdown syntax babel, making the overall situation worse, not better.
There seems to be absolutely no consensus that multiple pipes should be understood as cell spans. (MultiMarkdown even reports some error when trying to parse the 1st part of the table from its own documentation!)
For the multi-row cells, the situation is likely even worse because I have no idea how a reasonable syntax for it might look like, and there are probably even fewer Markdown implementations which attempt to support it.
Last but not least, if I understand you correctly, you want the feature because you can easily wire it to some feature of Qt and not because there are users who need it.
Taking it all together, under the current circumstances my motivation to implement this (or even merge such feature) is very close to zero.
from md4c.
As it is, I can detect that the cell is completely empty, but I wouldn't think it would be too hard for the parser to detect that the pipes are exactly adjacent without even whitespace between them. Maybe just set a flag then, and leave interpretation of the colspan up to the user?
Row merging might be too hard, I agree.
from md4c.
Related Issues (20)
- HTML declarations are not recognized without a whitespace HOT 1
- Incorrect parsing of difficult emphasis cases
- OSS-Fuzz issue 65781 HOT 2
- OSS-Fuzz issue 65875
- Striketrough incorrectly matches closer with 1st opener, not the last preceding one.
- code spans differ - cmark vs md2html
- OSS-Fuzz issue 65943 HOT 1
- permissive url ending with slash not recognized
- code spans differ - cmark vs md2html (reprise)
- md2html not outputing <meta charset="UTF-8"> HOT 5
- "shadowed" variables warning HOT 2
- Pathological input
- pathologic input: O(n^2) with link ref. defs HOT 1
- Adding an HTML to Markdown parser/converter (html2md) HOT 5
- Improve strikethrough around double quotes HOT 1
- Strikethrough with punctuation special case HOT 2
- compatibility: initial tab replaced by four spaces HOT 2
- TAB in heading HOT 1
- spurious hard break after html tag HOT 1
- Some character sequences break URL detection
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 md4c.