Bleach is a Python module that takes any HTML input, and returns valid, sanitised HTML that contains only an allowed subset of HTML tags, attributes and styles. django-bleach is a Django app that makes using bleach extremely easy.
Why do you think that https://github.com/agusmakmun/django-markdown-editor is a good alternative to django-bleach