Last active
January 2, 2018 21:56
-
-
Save growdigital/890afda0d0783eb284def8929ae6ee8f to your computer and use it in GitHub Desktop.
Groundwork Visual Studio Code User Snippets for post & status templates
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
{ | |
// prettier-ignore | |
"Post template": { | |
"prefix": "fmp", | |
"body": [ | |
"---", | |
"title: $1", | |
"excerpt: $2", | |
"datePublished: $3", | |
"image: $4", | |
"imagealt: $5", | |
"layout: post.hbs", | |
"collection: post", | |
"---\n", | |
"$6" | |
], | |
"description": "Post template for post collection" | |
}, | |
// prettier-ignore | |
"Status template": { | |
"prefix": "fms", | |
"body": [ | |
"---", | |
"title: $1", | |
"statusDate: $2", | |
"image: $3", | |
"imagealt: $4", | |
"layout: status.hbs", | |
"collection: status", | |
"---\n", | |
], | |
"description": "Status template for status collection" | |
}, | |
// prettier-ignore | |
"Figure, image, caption": { | |
"prefix": "figcap", | |
"body": [ | |
"<figure>", | |
"", | |
"![$1]($2)", | |
"", | |
"<figcaption>$3</figcaption>", | |
"</figure>" | |
], | |
"description": "figure, image and caption HTML tags" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment