registered convert_markdown formatter in __init__.

This commit is contained in:
Anastasia Gradova
2023-12-27 12:59:45 -07:00
parent 051d7767d9
commit 7af656e9f9
2 changed files with 5 additions and 0 deletions

View File

@@ -25,6 +25,9 @@ from app.utils.time import parse_naive_dt
def convert_markdown_template(mdf, test=False):
content_text = ""
if not test:
APP_ROOT = get_root_path('notifications-admin')
file = 'app/content/' + mdf + '.md'