Skip to main content

htmlize

tiny utility command, generate html from any formats(e.g. .md, .rst)

support format

  • markdown

  • restructured text

how to use

target file(markdown)

$ cat sample/hello.md
hello
========================================

hello

## subsection

* マルチバイト文字
* multi bytes string

output

$ htmlize sample/hello.md

<!doctype html>
<html>
<head>
<meta charset="UTF-8"/>
</head>
<body>
<h1>hello</h1>
<p>hello</p>
<h2>subsection</h2>
<ul>
<li>マルチバイト文字</li>
<li>multi bytes string</li>
</ul>
</body>
</html>

open by browser with -b option

when -b option is added, dump generated html to teporary file, and open via web browser

htmlize -b --theme default sample/hello.md

memo(and thunks)

css is borrowed from these repositories.

0.2.1 support 2.7 0.2 css include 0.1 first release

Metadata

Release files for htmlize 0.2.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for htmlize 0.2.2
File Size Uploaded Provenance Actions
htmlize-0.2.2.tar.gz 8.1 kB Without provenance Details for htmlize-0.2.2.tar.gz

Release files / htmlize-0.2.2.tar.gz

Download URL htmlize-0.2.2.tar.gz
Size 8.1 kB
Tags Source
SHA-256 checksum
How to use checksums
a90882488bfc494c64872056b442ece728ac36d8a72bdfb3b480be11347bef06
BLAKE2b-256 checksum
How to use checksums
b6411499ee06c4ebcc4be5f651fe28e072b4a171dd5d495b5411647c09f93c77
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for htmlize 0.2.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page