Open amrithmmh opened 5 years ago
solved it!
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"""
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 "