jsliang / sublime-pelican

A Sublime Text plugin that makes writing Pelican articles easier and faster.
http://jsliang.com/sublime-pelican/
34 stars 9 forks source link

Support for default Pelican Metadata (markdown) #12

Closed traeblain closed 11 years ago

traeblain commented 11 years ago

According to the Docs default Markdown Meta data is structured as follows:

Title: My super title
Date: 2010-12-03 10:20
Tags: thats, awesome
Category: yeah
Slug: my-super-post
Author: Alexis Metaireau
Summary: Short version for index and feeds

Your plugin is case-sensitive only works with lowercase meta titles. re's need to contain :?[dD]ate:\s* etc. Other places usage of tags: and category: should support capitalized items.

jsliang commented 11 years ago

Hi @traeblain, thanks for reminding me about the case sensitive issue. It reminds me that date & slug generation functions might have some problems too. I'll be busy these coming days but I hope to fix it ASAP.