NDOJ/judge/jinja2/markdown/__init__.py

8 lines
169 B
Python
Raw Normal View History

2020-01-21 06:35:58 +00:00
from .. import registry
2024-01-19 01:46:41 +00:00
from judge.markdown import markdown as _markdown
2022-07-30 10:21:08 +00:00
2020-01-21 06:35:58 +00:00
@registry.filter
2022-10-29 06:25:22 +00:00
def markdown(value, lazy_load=False):
2024-01-19 01:46:41 +00:00
return _markdown(value, lazy_load)