How do I add style to a markdown table? #580
-
When I try to add style to my markdown table, I end up deleting the table completely.
The heading, list, and paragraph are rendering but the table doesn't show up. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
@hjohnsick how are you using remark to render the table? A codesandbox with an example of the issue would help folks offer suggestions as well. |
Beta Was this translation helpful? Give feedback.
@hjohnsick how are you using remark to render the table?
remark
+remark+rehype
+rehype-react
?react-markdown
? Something else?A codesandbox with an example of the issue would help folks offer suggestions as well.
remark and rehype (for markdown to html): https://codesandbox.io/s/remark-rehype-debug-4cz8v
react-markdown: https://codesandbox.io/s/react-markdown-debug-9n4eg
are some good starting points depending on your setup.