Skip to content

Use config.post.default_markup to specify extension for created post files. #8

Merged
merged 1 commit into from May 3, 2012

2 participants

@douglatornell
Collaborator

The blogofile blog post create command is hardcoded to create a file with the extension .markdown. This change uses a new config option, blog.post.default_markup to permit an alternative to be specified. I use RST markup, so have set blog.post.default_markup = 'rst' in my _config.py file. If blog.post.default_markup is not set the default remains .markdown.

This pull requests also contains a few compulsive whitespace and PEP8 cleanup changes. Apologies for mixing them with feature changes.

@EnigmaCurry EnigmaCurry merged commit a2318b9 into EnigmaCurry:master May 3, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.