Last active
May 25, 2023 13:46
-
-
Save tamouse/4204dddabb6b072b0242 to your computer and use it in GitHub Desktop.
Adding a class to a table in markdown (using kramdown processor as default in Jekyll).
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Let's try out a table with kramdown class tag | |
| A simple | table | | |
| with multiple | lines| | |
{: .my-class } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks, you saved me an hour!