diff --git a/readFile.py b/readFile.py index b2bd379..3bff830 100755 --- a/readFile.py +++ b/readFile.py @@ -14,10 +14,11 @@ class readMarkdown(): def markdown(self): file = open(self.mdFile, 'r') - outStr = str(markdown.markdown(file.read())) #TODO: I really want nice tab indentations + self.outStr = markdown.markdown(file.read(), tab_length=4, output_format="html") file.close() - return(outStr) + return(self.outStr) + def __str__(self): return(str(self.markdown())) diff --git a/theme.py b/theme.py old mode 100644 new mode 100755