Update docstring

Co-authored-by: kkthxbye <400797+kkthxbye-code@users.noreply.github.com>
This commit is contained in:
Jonathan Senecal 2023-08-17 10:32:18 -04:00
parent a195dfc8dc
commit 0c7141d48a

View File

@ -159,7 +159,8 @@ def content_type_id(model):
def render_markdown(value, classes=""):
"""
Render a string as Markdown. This filter is invoked as "markdown":
Args: optional coma separated list of classes to add to the generated div
Args:
optional: Comma separated list of classes to add to the generated div
(stripped of leading and trailing whitespace)
{{ md_source_text|markdown:"classa, classb,classc, classd " }}