From: Guenter M. <mi...@us...> - 2016-12-23 17:18:32
|
On 2016-12-23, Gour wrote: > Hello, > I've a need for strikeout text in some of my blog posts that I migrate to > Nikola static-site-generator using rst markup... > I've the following in my post: > .. role:: strike > :class: strike BTW: There is no need for the :class: argument in this case (the class defaults to the role name if not explicitely given). > but that does not work. You missed the trailing _ in the link, but most importantly: .. note:: Docutils does not support nested inline markup! This is an unfortunate, long known limitation and TODO item. It holds for both, pre-defined and custom roles as well as substitutions and links. > Do you have any suggestion in rst for something simple as: ... You may consider giving the strikeout class to the list item: Things to consider: - .. class:: strike point which is already done in our `archive <http://www.example.com/archive/>`_ which contains mp3 files Alternatively, you could strike out with Unicode: - point which is a̶l̶r̶e̶a̶d̶y̶ ̶d̶o̶n̶e̶ ̶i̶n̶ ̶o̶u̶r̶ `a̶r̶c̶h̶i̶v̶e̶ <http://www.example.com/archive/>`_ which contains mp3 files Günter |