https://github.com/segfaultax/prettymd
Pretty Markdown Template
https://github.com/segfaultax/prettymd
Last synced: 7 months ago
JSON representation
Pretty Markdown Template
- Host: GitHub
- URL: https://github.com/segfaultax/prettymd
- Owner: SegFaultAX
- Created: 2012-05-31T00:53:13.000Z (almost 14 years ago)
- Default Branch: master
- Last Pushed: 2012-05-31T01:15:10.000Z (almost 14 years ago)
- Last Synced: 2025-01-28T10:29:03.383Z (about 1 year ago)
- Language: Python
- Size: 97.7 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Pretty Markdown
## Introduction
Pretty Markdown is a small Python script for making pretty stand-alone markdown
HTML pages. It wraps the page with the appropriate HTML tags and links with the
awesome [Markdown.css by Kevin
Burke](http://kevinburke.bitbucket.org/markdowncss/) stylesheet.
### Usage
Run `prettymd.py` with a markdown file to convert it into HTML wrapped in a
pretty template:
```
$ prettymd.py -f foo.markdown
```
By default, `prettymd.py` prints to stdout, but you can supply an output file on
the command-line as well:
```
$ prettymd.py -f foo.markdown -o bar.html
```
You can also supply a title for your pretty markdown page:
```
$ prettymd.py -f foo.markdown -o bar.html -t "Awesome Foobar!"
```
The pretty template uses [Markdown.css by Kevin
Burke](http://kevinburke.bitbucket.org/markdowncss/) by default. You can also
generate an output file without the stylesheet linked:
```
$ prettymd.py -f foo.markdown -o bar.html -t "Awesome Foobar!" -n
```