feat(markdown): add snippet for blog post title metadata
This commit is contained in:
1 file changed
+19
@@ -1,4 +1,23 @@
|
|||||||
{
|
{
|
||||||
|
"title for blog post":{
|
||||||
|
"prefix": "title",
|
||||||
|
"body": [
|
||||||
|
"---",
|
||||||
|
"title: ${1:Your Title}",
|
||||||
|
"date: \"${CURRENT_YEAR}-${CURRENT_MONTH}-${CURRENT_DATE} ${CURRENT_HOUR}:${CURRENT_MINUTE}:${CURRENT_SECOND}-0000\"",
|
||||||
|
"description: >-",
|
||||||
|
" ${2:Your description here}",
|
||||||
|
"tags:",
|
||||||
|
" - ${3:Tag1}",
|
||||||
|
" - ${4:Tag2}",
|
||||||
|
" - ${5:Tag3}",
|
||||||
|
"image: ./${6:cover.png}",
|
||||||
|
"---",
|
||||||
|
"",
|
||||||
|
"$0"
|
||||||
|
],
|
||||||
|
"description": "Title for my blog post"
|
||||||
|
},
|
||||||
"header 1": {
|
"header 1": {
|
||||||
"prefix": "h1",
|
"prefix": "h1",
|
||||||
"body": ["# ${0}"],
|
"body": ["# ${0}"],
|
||||||
|
|||||||
Reference in new issue
Block a user