Rivista/rivista/markdown/html.py
Schimon Jehudah, Adv. 3ac005708d Add installation instruction file;
Order directories.
2024-11-12 15:31:05 +02:00

11 lines
246 B
Python

#!/usr/bin/python
# -*- coding: utf-8 -*-
import markdown
class MarkdownHtml:
def convert_to_html(markdown_content):
# Convert Markdown to HTML
html_content = markdown.markdown(markdown_content)
return html_content