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 sample/hello.md

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.1.tar.gz (3.1 kB view hashes)

Uploaded Source

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