Skip to main content

A Pyblosxom entryparser plugin that uses Markdown syntax and parses the whole file as the entry body

Project description

# pyblosxomsimplemarkdown

pyblosxomsimplemarkdown is a [PyBlosxom]( entryparser plugin that lets you write your entries in [Markdown]( Specifically, [Python Markdown]( is used.

pyblosxomsimplemarkdown differs from other PyBlosxom Markdown plugins in that it treats the entire contents of the entry file as just the entry body. Normally PyBlosxom treats the first line of an entry as its title, any following lines that start with # as metadata, and the rest of the file as the entry’s body:

This is the title #key value #foo bar

The rest of the file is the Markdown-formatted entry body…

pyblosxomsimplemarkdown just treats the entire contents of the file as a Markdown-formatted body. The entry dict won’t have any value in its ‘title’ field. If you want to write a traditional blog post with a title and body, just insert the title yourself:

# This is the title

This is the contents…

If you want to create a differently-formatted post that doesn’t start with a title, such as a link, a quote or an image with a caption, just go ahead and write that in Markdown.

pyblosxom-markdown currently parses entries with the filename extensions ‘.md’ and ‘.markdown’ (these are currently hardcoded and not configurable).

pyblosxom-markdown currently uses Python Markdown’s [Extra]( and [SmartyPants]( plugins (hardcoded, not configurable).

pyblosxom-markdown renders entries as HTML5 (hardcoded, not configurable).

## Installation

Install the pyblosxomsimplemarkdown package from pip:

pip install pyblosxomsimplemarkdown

Then add it to the load_plugins setting in your

py[“load_plugins”] = [“pyblosxomsimplemarkdown.simplemarkdown”]

Project details

Download files

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

Files for pyblosxomsimplemarkdown, version 0.0.2
Filename, size File type Python version Upload date Hashes
Filename, size pyblosxomsimplemarkdown-0.0.2.tar.gz (3.7 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page