Created
September 15, 2017 10:14
-
-
Save growdigital/665a658194aecf920f4359de6f28ec41 to your computer and use it in GitHub Desktop.
Sublime Text Frontmatter snippet for Metalsmith blog posts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<snippet> | |
<content><![CDATA[ | |
--- | |
title: $1 | |
date: ${2:2017-04-01} | |
layout: post.hbs | |
collections: posts | |
draft: true | |
--- | |
]]></content> | |
<!-- Optional: Set a tabTrigger to define how to trigger the snippet --> | |
<tabTrigger>fm</tabTrigger> | |
<!-- Optional: Set a scope to limit where the snippet will trigger --> | |
<scope>text.html.markdown</scope> | |
</snippet> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There ought to be a way to insert today's date automatically…