Skip to content

Instantly share code, notes, and snippets.


clvs7 clvs7-gh

View GitHub Profile
clvs7-gh /
Last active Jun 22, 2021
Table shortcode for hugo

A table shortcode for hugo. Until 0.60.0, Mmark was good option, convenient way in order to add any attributes to table. But from 0.60.0, mmark is marked as deprecated. On the other hand, new standard markdown parser, goldmark does not support that's way. So, I created a table shortcode for hugo. This shortcode supports both of markdown table and attributes.

Example usage:

{{< table id="sample" class="bordered" data-sample=10 >}}

Keybase proof

I hereby claim:

  • I am clvs7-gh on github.
  • I am clvs7 ( on keybase.
  • I have a public key ASDkvoqsq5aY4rpRmKe8r0fUendbKvKeUCQx0dGVXXDZrAo

To claim this, I am signing this object:

clvs7-gh / gist:d279ea09523b5c894e43198ee4150251
Last active Jan 22, 2020
Bookmarklet for viewing webpages with Saitamaar webfont.
View gist:d279ea09523b5c894e43198ee4150251
javascript:(function(){var d=document,s=d.createElement('style'),h=d.getElementsByTagName('head');s.setAttribute('type', 'text\/css');s.innerHTML='@font-face {font-family: "Saitamaar";src: url("") format("woff2");}* {font-family: "Saitamaar" !important;}';h[0].appendChild(s);})();