Skip to content

Commit 53d2d76

Browse files
committed
v0.1.3 code block css
1 parent e6bca59 commit 53d2d76

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

httpmdhtml/md_to_html.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ def markdown_to_html(
4141
body { background-color: #272822; color: #e6edf3; font-family: -apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji"; position: relative; max-width: 960px; margin: auto; line-height: 1.5; }
4242
a[href] { color: #66d9ef; }
4343
code { color: #e6edf3; background-color: #343941; font-family: monospace; padding: .2em .4em; border-radius: 6px; }
44-
pre { padding: 1em; border-radius: 6px; background-color: #161b22; }
45-
pre code { background-color: #161b22; }
44+
pre { padding: 1em; border-radius: 6px; background-color: #161b22; overflow-x:auto; }
45+
pre > code { background-color: #161b22; padding: 0px 0px; }
4646
table, th, td { border: 1px solid; border-collapse: collapse; padding-left: 4px; padding-right: 4px; }
4747
img { max-width: 100%; }
4848
"""

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,15 @@
66

77
setup(
88
name="httpmdhtml",
9-
version="0.1.2",
9+
version="0.1.3",
1010
license="gpl-3.0",
1111
author="John Hupperts",
1212
author_email="[email protected]",
1313
description="HTTP server that converts markdown to HTML",
1414
long_description=long_description,
1515
long_description_content_type="text/markdown",
1616
url="https://github.com/treatmesubj/python-md-to-html-server",
17-
download_url="https://github.com/treatmesubj/python-md-to-html-server/archive/refs/tags/v0.1.2.tar.gz",
17+
download_url="https://github.com/treatmesubj/python-md-to-html-server/archive/refs/tags/v0.1.3.tar.gz",
1818
packages=["httpmdhtml"],
1919
package_dir={"python-md-to-html-server": "httpmdhtml"},
2020
project_urls={

0 commit comments

Comments
 (0)