-
Hi, I was trying to use remark-lint for a markdown table, but the cells contained
I understand that I could use
I wonder if there's a way to let the cells untouched? Thanks in advance. My .remarkrc is here:
My expected result: (at least the cells contain the right contents)
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
the remark lint rules have to do with warnings, and as you’re not seeing warnings, those are apparently not the problem. remark-stringify formats markdown, it passes options to a different project. This is documented here: https://github.com/remarkjs/remark/tree/main/packages/remark-stringify. As you can see remark adheres to standards. CommonMark by default, and if You could overwrite the serializer, by creating and maintaining your own version of |
Beta Was this translation helpful? Give feedback.
the remark lint rules have to do with warnings, and as you’re not seeing warnings, those are apparently not the problem.
remark-stringify formats markdown, it passes options to a different project. This is documented here: https://github.com/remarkjs/remark/tree/main/packages/remark-stringify. As you can see
spacedTable
andpaddedTable
are not options there. They used to exist but have new names now: this change is documented in the changelog: https://github.com/remarkjs/remark/releases/tag/13.0.0.remark adheres to standards. CommonMark by default, and if
remark-gfm
is used, tables and such (GFM features) are supported too.But:
remark-gfm
does not support non-standard tables.You could …