Skip to main content
Help us improve PyPI by participating in user testing. All experience levels needed!

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


Release history Release notifications

This version
History Node

0.2.2

History Node

0.2.1

History Node

0.2

History Node

0.1

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
htmlize-0.2.2.tar.gz (8.1 kB) Copy SHA256 hash SHA256 Source None Jun 10, 2014

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page