Some of you may have noticed that the blog software I use is called Pelican- a static file based blog generator. Other similar pieces of software include Hugo and Jekyll. I prefer Pelican due to my preference for Python. One issue I encountered when writing articles in markdown for pelican was remembering the header for the markdown files. A simple fix for this is to use VSCode to write your articles and to create a vscode snippet for the header. I have put mine below as an example. Type pelhead
to trigger the snippet.
{
"Pelican Header": {
"prefix": "pelhead",
"body": [
"Title:",
"Date: $CURRENT_YEAR-$CURRENT_MONTH-$CURRENT_DATE $CURRENT_HOUR:$CURRENT_MINUTE,
"Category:",
"Tags:",
"Authors: Your Name Here",
"Summary:"
],
"description": "Pelican header"
}
}
Output:
Title:
Date:
Category:
Tags:
Authors: Your Name Here
Summary: