aboutsummaryrefslogtreecommitdiff
path: root/filters/html-converters/md2html
diff options
context:
space:
mode:
Diffstat (limited to 'filters/html-converters/md2html')
-rwxr-xr-xfilters/html-converters/md2html7
1 files changed, 1 insertions, 6 deletions
diff --git a/filters/html-converters/md2html b/filters/html-converters/md2html
index 59f43a8..fbe7efa 100755
--- a/filters/html-converters/md2html
+++ b/filters/html-converters/md2html
@@ -66,7 +66,6 @@ div#cgit .markdown-body h1 a.toclink, div#cgit .markdown-body h2 a.toclink, div#
}
.markdown-body h2 {
font-size: 24px;
- border-bottom: 1px solid #ccc;
color: #000;
}
.markdown-body h3 {
@@ -269,13 +268,9 @@ div#cgit .markdown-body h1 a.toclink, div#cgit .markdown-body h2 a.toclink, div#
background: transparent;
}
.markdown-body .highlight pre, .markdown-body pre {
- background-color: #f8f8f8;
- border: 1px solid #ccc;
font-size: 13px;
line-height: 19px;
overflow: auto;
- padding: 6px 10px;
- border-radius: 3px;
}
.markdown-body pre code, .markdown-body pre tt {
margin: 0;
@@ -286,7 +281,7 @@ div#cgit .markdown-body h1 a.toclink, div#cgit .markdown-body h2 a.toclink, div#
''')
sys.stdout.write(HtmlFormatter(style='pastie').get_style_defs('.highlight'))
sys.stdout.write('''
-</style>
+</style>
''')
sys.stdout.write("<div class='markdown-body'>")
sys.stdout.flush()