Strike content¶
There are a series of strike element capabilities supported by the Confluence builder extension. This guide will cover the available options that can be used.
Strike role¶
Added in version 2.1.
This extension provides a confluence_strike
role to help strike
content. For example:
:confluence_strike:`My text`
This role will only work when using the Confluence builder. See also the Confluence Strikethrough role.
Class hints¶
Added in version 1.7.
When this class hint is applied to inlined text, the text will be styled
with a strikethrough style. Sphinx projects may define the following in
a document to support the strikethrough of text in both the html
and
confluence
builders (assuming HTML documents are also prepared to
support the strike
class):
.. role:: strike
:class: strike
This is an :strike:`example`.
Projects may also move the role definition inside the project’s conf.py
inside rst_prolog as follows:
rst_prolog = """
.. role:: strike
:class: strike
"""
Projects using Markedly Structured Text - Parser can also
take advantage of the role defined in rst_prolog
(above) and use the
role as follows:
This is an {strike}`example`.
sphinxnotes-strike’s strike role¶
Added in version 2.2.
When using the sphinxnotes-strike extension, a strike
role should
be able to manage striked content. For example:
:strike:`My text`