766e51af4c
Add packaging instructions; Add modules to handle Gemini file type (no Gemini server yet); Improve handling of configuration.
11 lines
246 B
Python
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
|