Closed matt-savvy closed 3 months ago
Hey @matt-savvy you're looking for the table
extension:
MDEx.to_html(~S"""
| foo | bar |
| --- | --- |
| baz | bim |
""",
extension: [table: true])
You can see all available options at https://docs.rs/comrak/latest/comrak/struct.Options.html
Closing this one but feel free to add more comments. Thanks!
Worked like a charm, thanks!
Hey @matt-savvy added a few more examples in the readme https://github.com/leandrocp/mdex?tab=readme-ov-file#github-flavored-markdown-with-emojis
Examples look great, I'm sure they'll help the next time someone has the same question I did.
Hello,
I am trying to get some tables working. Even with the example from GitHub Flavored Markdown Spec , it is still treated as plain text.
For example, this markdown:
Renders to html as
Is there any configuration I need to do to enable this? Thanks!