Skip to content

Instantly share code, notes, and snippets.

@tamouse

tamouse/input.md-text

Last active Dec 3, 2020
Embed
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">
<tbody>
<tr>
<td>A simple</td>
<td>table</td>
</tr>
<tr>
<td>with multiple</td>
<td>lines</td>
</tr>
</tbody>
</table>
@apotonick

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