You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i tried you code but there seems to be a problem with markdown
i noticed extra " " are added before and after the file content hence it is displayed as string not html
example if a mrkdown is
###hello
then it becomes "###hello "
The text was updated successfully, but these errors were encountered:
here is the code i used that worked
convert .md to html using markup
python3 -m markup xxx.md xxx.html
class home(Resource):
def get(self):
"""Present some documentation"""
# Open the README file
content = get_file('readme.html')
return Response(content, mimetype="text/html")
i tried you code but there seems to be a problem with markdown
i noticed extra " " are added before and after the file content hence it is displayed as string not html
example if a mrkdown is
###hello
then it becomes "###hello "
The text was updated successfully, but these errors were encountered: