Change markdown spoiler delimiter

This commit is contained in:
Dan 2022-01-03 11:19:02 +01:00
parent f6625192d0
commit ebaf1a23fb
2 changed files with 3 additions and 3 deletions

View File

@ -64,7 +64,7 @@ To strictly use this mode, pass "markdown" to the *parse_mode* parameter when us
~~strike~~ ~~strike~~
##spoiler## ||spoiler||
[text URL](https://docs.pyrogram.org/) [text URL](https://docs.pyrogram.org/)
@ -89,7 +89,7 @@ To strictly use this mode, pass "markdown" to the *parse_mode* parameter when us
"__italic__, " "__italic__, "
"--underline--, " "--underline--, "
"~~strike~~, " "~~strike~~, "
"##spoiler##, " "||spoiler||, "
"[mention](tg://user?id=23122162), " "[mention](tg://user?id=23122162), "
"[URL](https://pyrogram.org), " "[URL](https://pyrogram.org), "
"`code`, " "`code`, "

View File

@ -28,7 +28,7 @@ BOLD_DELIM = "**"
ITALIC_DELIM = "__" ITALIC_DELIM = "__"
UNDERLINE_DELIM = "--" UNDERLINE_DELIM = "--"
STRIKE_DELIM = "~~" STRIKE_DELIM = "~~"
SPOILER_DELIM = "##" SPOILER_DELIM = "||"
CODE_DELIM = "`" CODE_DELIM = "`"
PRE_DELIM = "```" PRE_DELIM = "```"