Last active
March 31, 2016 17:55
-
-
Save dylan-k/2915b607baee101e91c3 to your computer and use it in GitHub Desktop.
Sublime Text Snippet to Create YAML Metadata Headers for Poems in Markdown
This file contains hidden or 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" | |
author: Dylan Kinnett | |
date: $2 | |
publication: | |
status: Draft | |
tags: [] | |
note: | | |
X lines | |
--- | |
# $3 | |
]]></content> | |
<tabTrigger>poem</tabTrigger> | |
<!-- save this file to /Users/yourname/Library/Application Support/Sublime Text 2/Packages/User --> | |
<!-- see also: http://www.granneman.com/webdev/editors/sublime-text/top-features-of-sublime-text/quickly-insert-text-and-code-with-sublime-text-snippets/ --> | |
<!-- Optional: Set a tabTrigger to define how to trigger the snippet --> | |
<!-- <tabTrigger>hello</tabTrigger> --> | |
<!-- Optional: Set a scope to limit where the snippet will trigger --> | |
<!-- <scope>source.python</scope> --> | |
</snippet> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment