diff --git a/httpmdhtml/md_to_html.py b/httpmdhtml/md_to_html.py index e5725b2..d7908e7 100644 --- a/httpmdhtml/md_to_html.py +++ b/httpmdhtml/md_to_html.py @@ -41,8 +41,8 @@ def markdown_to_html( 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; } a[href] { color: #66d9ef; } code { color: #e6edf3; background-color: #343941; font-family: monospace; padding: .2em .4em; border-radius: 6px; } -pre { padding: 1em; border-radius: 6px; background-color: #161b22; } -pre code { background-color: #161b22; } +pre { padding: 1em; border-radius: 6px; background-color: #161b22; overflow-x:auto; } +pre > code { background-color: #161b22; padding: 0px 0px; } table, th, td { border: 1px solid; border-collapse: collapse; padding-left: 4px; padding-right: 4px; } img { max-width: 100%; } """ diff --git a/setup.py b/setup.py index c5b0b6c..4913715 100644 --- a/setup.py +++ b/setup.py @@ -6,7 +6,7 @@ setup( name="httpmdhtml", - version="0.1.2", + version="0.1.3", license="gpl-3.0", author="John Hupperts", author_email="jrock4503@hotmail.com", @@ -14,7 +14,7 @@ long_description=long_description, long_description_content_type="text/markdown", url="https://github.com/treatmesubj/python-md-to-html-server", - download_url="https://github.com/treatmesubj/python-md-to-html-server/archive/refs/tags/v0.1.2.tar.gz", + download_url="https://github.com/treatmesubj/python-md-to-html-server/archive/refs/tags/v0.1.3.tar.gz", packages=["httpmdhtml"], package_dir={"python-md-to-html-server": "httpmdhtml"}, project_urls={