A Simple Styling Shortcode for Hugo
I’ve always had a preference for serif fonts when writing in Russian. Since some of my posts here are written in Russian I needed a quick way of marking up the formatting for the Russian portion of my post, as in this post. Just a simple shortcode specifying a CSS class:
<span class="russian">{{ .Inner | markdownify }}</span>
In action, applying the desired CSS for the russian
class, we have: