Skip to content

Instantly share code, notes, and snippets.



Last active Dec 3, 2020
What would you like to do?
Adding a class to a table in markdown (using kramdown processor as default in Jekyll).
# Let's try out a table with kramdown class tag
| A simple | table |
| with multiple | lines|
{: .my-class }
<h1 id="lets-try-out-a-table-with-kramdown-class-tag">Let’s try out a table with kramdown class tag</h1>
<table class="my-class">
<td>A simple</td>
<td>with multiple</td>

This comment has been minimized.

Copy link

@apotonick apotonick commented Jun 1, 2019

Thanks, you saved me an hour!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment