Skip to main content

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

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

htmlize-0.2.2.tar.gz (8.1 kB view details)

Uploaded Source

File details

Details for the file htmlize-0.2.2.tar.gz.

File metadata

  • Download URL: htmlize-0.2.2.tar.gz
  • Upload date:
  • Size: 8.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for htmlize-0.2.2.tar.gz
Algorithm Hash digest
SHA256 a90882488bfc494c64872056b442ece728ac36d8a72bdfb3b480be11347bef06
MD5 45af079f36647e69ad9a416dff53dbb6
BLAKE2b-256 b6411499ee06c4ebcc4be5f651fe28e072b4a171dd5d495b5411647c09f93c77

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page