Skip to content

Instantly share code, notes, and snippets.

@scottpdawson
Created October 25, 2020 18:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save scottpdawson/0bef072b68d7eb3c60e0d2ffdb43e83d to your computer and use it in GitHub Desktop.
Save scottpdawson/0bef072b68d7eb3c60e0d2ffdb43e83d to your computer and use it in GitHub Desktop.
Snippets for Visual Studio Code to help generate markdown
{
"pic": {
"prefix": "pic",
"body": "{% picture \"/images/.jpg\", \"Caption\" %}"
},
"picrt": {
"prefix": "picrt",
"body": "{% pictureRt \"/images/.jpg\", \"Caption\" %}"
},
"lb": {
"prefix": "lb",
"body": "{% lightbox [\r\t{ caption: \"Caption\", image: \"/images/.jpg\" },\r\t{ caption: \"Caption\", image: \"/images/.jpg\" }\r]%}"
},
"fm": {
"prefix": "fm",
"body": "---\rtitle: \"\"\rdate: \"yyyy-mm-dd\"\rpermalink: \".../\"\rhero: \"/images/.jpg\"\rnavigation: \"\"\rauthor: \"Scott Dawson\"\rtags:\r---\r"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment