Add remove_markdown helper function

This commit is contained in:
Edwin
2021-03-29 00:38:34 +02:00
committed by GitHub
parent 4aee7fed5d
commit 31ee3fafc1
4 changed files with 52 additions and 7 deletions

View File

@ -808,9 +808,9 @@ class Message(Hashable):
.. note::
This *does not* escape markdown. If you want to escape
markdown then use :func:`utils.escape_markdown` along
with this function.
This *does not* affect markdown. If you want to escape
or remove markdown then use :func:`utils.escape_markdown` or :func:`utils.remove_markdown`
respectively, along with this function.
"""
transformations = {