Re: strikeout and hyperlinks
Guenter Milde <[email protected]>
| Newsgroups | gmane.text.docutils.user |
|---|---|
| Message-ID | <[email protected]> |
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 ------------------------------------------------------------------------------ Developer Access Program for Intel Xeon Phi Processors Access to Intel Xeon Phi processor-based developer platforms. With one year of Intel Parallel Studio XE. Training and support from Colfax. Order your platform today.http://sdm.link/intel _______________________________________________ Docutils-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/docutils-users Please use "Reply All" to reply to the list.