Add option to fence tables#272
Conversation
|
That's a simple clever idea to improve tables when treating it as markdown with proportional fonts! (The long term answer would be to add an option to use markdown table formatting as an alternative to fixed-width cells) I wonder if it's slightly too simple, though - nested tables are always a bit tricky, and I guess there would be extra ``` around the inner tables? Either way, would you mind adding a unit test or two checking for the correct output? |
You were right - nested tables added extra ```. |
|
Merged, thanks! |
Adds an option to wrap tables inside fences
Example:
This makes tables render correctly in Markdown previews:
instead of:
───────┬───┬──────
Name │Age│City
───────┼───┼──────
Alice │30 │Berlin
───────┼───┼──────
Bob │25 │Paris
───────┼───┼──────
Charlie│35 │London
───────┴───┴──────