How to extend MMD to automatically add a wrapper for tables?

jgagnon's Avatar


04 Sep, 2019 04:05 PM

Is there a way to extend MMD to tell it to automatically add an HTML wrapper for tables like this:

<div class="table-wrapper"> <table> … </table> <div>

It would be useful when we need to do responsive table with an overflow="auto" wrapper (to add horizontal scrolling, when the layout is exact and critical).


  1. Support Staff 1 Posted by fletcher on 25 Oct, 2019 08:22 PM

    fletcher's Avatar

    I'm sorry for the delay -- I missed your question and am trying to catch back up.

    There's not a way to do this automatically -- you would have to include the raw HTML yourself.


  2. fletcher closed this discussion on 25 Oct, 2019 08:22 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

Recent Discussions

11 Jan, 2022 02:33 PM
23 Nov, 2021 07:46 PM
10 Jun, 2021 11:53 AM
10 Jun, 2021 01:15 AM
17 Dec, 2020 03:23 PM

Recent Articles