Contents Menu Expand Light mode Dark mode Auto light/dark mode
marceloalcocer
marceloalcocer
  • Notes
    • Backup
    • Bash
    • C/C++
    • Desktop environment
    • Docker
    • Eclipse
    • Gentoo
    • Git
    • Cryptography
    • Graphing
    • Hardware
    • Lab server
    • LaTeX
    • Lund University
    • Network
    • Packages
    • Python
    • ReST
    • reveal.js
    • Read The Docs
    • Signal processing
    • Sphinx
    • SSH
    • Vim
    • Visual Studio Code
    • Web
    • Windows
Back to top

ReST#

Strikethrough#

No native strikethrough in ReST. Implant ourselves with a custom role and CSS [1]:

Define in the ReST document:

.. role:: strike
   :class: strike

Use in the ReST document:

:strike:`struck!`

In CSS:

.strike{
        text-decoration: line-through
}
[1]

http://stackoverflow.com/questions/6518788/rest-strikethrough

Next
reveal.js
Previous
Python
Copyright © 2023, Marcelo Alcocer
Made with Sphinx and @pradyunsg's Furo
On this page
  • ReST
    • Strikethrough