mirror of
https://github.com/netbox-community/netbox.git
synced 2025-08-24 08:25:17 -06:00
Update docstring
Co-authored-by: kkthxbye <400797+kkthxbye-code@users.noreply.github.com>
This commit is contained in:
parent
a195dfc8dc
commit
0c7141d48a
@ -159,7 +159,8 @@ def content_type_id(model):
|
|||||||
def render_markdown(value, classes=""):
|
def render_markdown(value, classes=""):
|
||||||
"""
|
"""
|
||||||
Render a string as Markdown. This filter is invoked as "markdown":
|
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)
|
(stripped of leading and trailing whitespace)
|
||||||
|
|
||||||
{{ md_source_text|markdown:"classa, classb,classc, classd " }}
|
{{ md_source_text|markdown:"classa, classb,classc, classd " }}
|
||||||
|
Loading…
Reference in New Issue
Block a user