Shortcode to Add a Strikethrough
There’s a much easier way to do this when using markdown, by using a tilde character twice. In your markdown for your post or page, wrap the text in a double ‘squiggle’ character and it will strike it out. See our example below
(thanks stp in the comments)
This is part of our Hugo shortcode series.
In this post we wanted to make a quick shortcode to add a strikethrough to some of our text. We use a very similar method to the raw html shortcode, but encompass it with the