Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.zx2c4.com/cgit.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'filters')
-rwxr-xr-xfilters/html-converters/md2html3
1 files changed, 1 insertions, 2 deletions
diff --git a/filters/html-converters/md2html b/filters/html-converters/md2html
index 1488f48..67141ba 100755
--- a/filters/html-converters/md2html
+++ b/filters/html-converters/md2html
@@ -1,6 +1,5 @@
#!/usr/bin/env python
import markdown
-import sys
print('''
<style>
.markdown-body {
@@ -282,5 +281,5 @@ print('''
''')
print("<div class='markdown-body'>")
# Note: you may want to run this through bleach for sanitization
-markdown.markdownFromFile(input=sys.stdin, output_format="html5")
+markdown.markdownFromFile(output_format="html5")
print("</div>")