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

Render HTML pages using Markdown and Jinja

Project description

# Parseltongue

Render HTML pages using Markdown and Jinja

## Try it

`bash git clone https://github.com/marksteve/parseltongue.git cd parseltongue python setup.py install git checkout gh-pages parseltongue python -m SimpleHTTPServer `

## How it works

You put your posts as Markdown files in a _posts directory (not yet configurable) while your Jinja templates reside in _templates. Posted timestamps are automatically determined though you can add an html comment in your Markdown file to manually specify it. If you need a different template for a certain post, add a template file of the same filename. You can (should) take advantage of Jinja features like expressions and template inheritance.

### Drafts and listing

You can prepend an underscore (“_”) to the Markdown file’s name to mark a post as unlisted (only applies to the index page right now but will be used in archives and navigation later). Put two undescores for drafts (not rendered).

## Warning This project is still very rough. If you find something wrong or want to add stuff, feel free to post an issue or a pull request.

## TODO

  • Navigation
  • Archives
  • Categories
  • Configuration

## License

http://marksteve.mit-license.org

Project details


Release history Release notifications

This version
History Node

0.0.2

History Node

0.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
parseltongue-0.0.2.tar.gz (3.1 kB) Copy SHA256 hash SHA256 Source None Jul 23, 2013

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