-
Hello, BackgroundI am trying to modify the micromark-extension-gfm-table to also parse headerless tables (see end for samples). If possible I would like to avoid making "two copies of micromark-extension-gfm-table" modifying each a little to match a specific "table version". Rather, I would like to modify the micromark-extension-gfm-table so that it matches all the versions.
Questions
Table variants
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 7 replies
-
Thanks!
I am most likely against a PR to add support for non-GFM features to GFM extensions. It is already very hard to maintain extensions that match GFM. And tables are very complex. But GFM is necessary.
This is perhaps because actual tables are used first?
Attempt can indeed be used to try one path, and do something depending on whether that worked or not. |
Beta Was this translation helpful? Give feedback.
Thanks!
I am most likely against a PR to add support for non-GFM features to GFM extensions. It is already very hard to maintain extensions that match GFM. And tables are very complex. But GFM is necessary.
I also think extending markdown with new features is generally a bad idea. See the chapter on Extensions in the micromark readme for more of my thoughts.
This is perhaps because actual tables are used first?
Attempt can indeed be used to try one path, and do someth…