Skip to content

Commit

Permalink
okay my css margining was stupid
Browse files Browse the repository at this point in the history
  • Loading branch information
treatmesubj committed Apr 4, 2023
1 parent 42317b0 commit d9e8c17
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
4 changes: 1 addition & 3 deletions httpmdhtml/md_to_html.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,7 @@ def markdown_to_html(MarkdownIt_obj, in_file_path, out_file_path="tmp.html",
css="""body { background-color: #272822; color: white; font-family: Courier; }
a[href] { color: #66d9ef; }
code { color: #ae81ff; background-color: #272b33; border-radius: 6px; }
table, th, td { border: 1px solid; border-collapse: collapse; padding-left: 4px; padding-right: 4px; }
h1, h2, h3, h4, h5 { margin-top: 0px; margin-bottom: 0px; }
p { margin-top: 0px; }"""
table, th, td { border: 1px solid; border-collapse: collapse; padding-left: 4px; padding-right: 4px; }"""
soup.select_one("style").string = css
if encode_local_images:
img_elems = soup.select("img")
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@

setup(
name="httpmdhtml",
version="0.0.5",
version="0.0.6",
license="gpl-3.0",
author="John Hupperts",
author_email="[email protected]",
description="HTTP server that converts markdown to HTML",
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.0.5.tar.gz",
download_url="https://github.com/treatmesubj/python-md-to-html-server/archive/refs/tags/v0.0.6.tar.gz",
packages=["httpmdhtml"],
package_dir={"python-md-to-html-server": "httpmdhtml"},
project_urls={
Expand Down

0 comments on commit d9e8c17

Please sign in to comment.