Skip to content
This repository has been archived by the owner on Mar 17, 2020. It is now read-only.

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

Merged

Conversation

douglatornell
Copy link
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 added a commit that referenced this pull request May 3, 2012
Use config.post.default_markup to specify extension for created post files.
@EnigmaCurry EnigmaCurry merged commit a2318b9 into EnigmaCurry:master May 3, 2012
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants