mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-05-05 16:38:59 -04:00
registered convert_markdown formatter in __init__.
This commit is contained in:
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user