Skip to content

Commit b581fd4

Browse files
committed
Rename role "s" -> "del"
1 parent 0a37592 commit b581fd4

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

doc/index.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,11 @@ Use role ``strike`` to add text with a strikethrough:
4545
``:strike:`Sphinx``` :strike:`Sphinx`
4646
==================== ================
4747

48-
Role ``s`` is shortcut of ``strike``:
48+
Role ``del`` also works:
4949

50-
=============== ==========
51-
``:s:`Sphinx``` :s:`Sphinx`
52-
=============== ==========
50+
================= =============
51+
``:del:`Sphinx``` :del:`Sphinx`
52+
================= =============
5353

5454
Change Log
5555
==========

sphinxnotes/strike/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ def setup(app:Sphinx):
6060
app.add_node(strike_node,
6161
html=(html_visit_strike_node, html_depart_strike_node))
6262
app.add_role('strike', strike_role)
63-
app.add_role('s', strike_role)
63+
app.add_role('del', strike_role)
6464

6565
# Add static path and include css file
6666
app.connect("config-inited", on_config_inited)

0 commit comments

Comments
 (0)