#30 I want to use strikethrough text

open-remind
nobody
None
2
2012-09-16
2012-09-14
togakushi
No

Please implement the markup of strikethrough text to use many by a business scene.

For example, I sandwich it in a Hyphen-minus like textile.

Example::

I like -textile- reStructuredText.

STRIKE or DEL of html tag, or style sheet(text-decoration: line-through) ...

Discussion

  • Günter Milde
    Günter Milde
    2012-09-16

    Strikethrough markup is already possible with a custom role and style sheet::

    .. role:: del

    I like :del:`muffins` apples.

    would create <span class="del">muffins</span> in HTML and
    \DUrole[del]{muffins} in LaTeX.

    Special markup for strikethrough text is rather unlikely to be accepted to the reST
    syntax. For simpler markup, you may consider setting the default role.
    http://docutils.sourceforge.net/docs/ref/rst/directives.html#setting-the-default-interpreted-text-role

    Alternatively, you may consider the combining Unicode characters for strikethrough in
    the source (will only work with xetex, not with pdftex).

     
  • Günter Milde
    Günter Milde
    2012-09-16

    • priority: 5 --> 2
    • status: open --> open-remind