How to add a class attribute to a table created using markdown

[data-theme-*] attributes are whitelisted inside post content, so you can do

<div data-theme-shortcuts="true">

</div>

and then target it in CSS using something like

div[data-theme-shortcuts="true"] {

}

Originally discussed here:

10 Likes