strikethrough
This commit is contained in:
parent
7c0d9da36c
commit
3dcc56c3a2
1 changed files with 3 additions and 1 deletions
4
main.py
4
main.py
|
@ -117,7 +117,9 @@ class MatrixClient(nio.AsyncClient):
|
||||||
# Code blocks
|
# Code blocks
|
||||||
("```", "<pre><code>", "</code></pre>"),
|
("```", "<pre><code>", "</code></pre>"),
|
||||||
# Spoilers
|
# Spoilers
|
||||||
("||", "<span data-mx-spoiler>", "</span>")
|
("||", "<span data-mx-spoiler>", "</span>"),
|
||||||
|
# Strikethrough
|
||||||
|
("~~", "<del>", "</del>")
|
||||||
]
|
]
|
||||||
|
|
||||||
for replace in replace_:
|
for replace in replace_:
|
||||||
|
|
Loading…
Reference in a new issue