[+] Parse markdown

This commit is contained in:
Hykilpikonna
2021-11-24 19:34:50 -05:00
parent bae16fce53
commit b845762754
+4 -2
View File
@@ -1,14 +1,16 @@
import markdown
from constants import SRC_DIR
from utils import read
def generate_report() -> str:
"""
Create a HTML report
Do data visualization and generate a HTML report
:return: HTML
"""
return read(f'{SRC_DIR}/report_document.md')
return markdown.markdown(read(f'{SRC_DIR}/report_document.md'))
if __name__ == '__main__':