Last active
June 10, 2020 09:58
-
-
Save perpouh/59f66d51b438dd011c239f31813bba7a to your computer and use it in GitHub Desktop.
VSCode>mdフォーマット
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
{ | |
"vsnote_template_blog": { | |
"prefix": "vsnote_template_blog", | |
"body": [ | |
"---", | |
"date: '$CURRENT_YEAR-$CURRENT_MONTH-$CURRENT_DATE'", | |
"auther: perpouh", | |
"lang: ja", | |
"tags:", | |
"\t- $1", | |
"meta:", | |
" - property: og:type", | |
" content: article", | |
" - property: og:url", | |
" content: https://hogehoge.xyz", | |
" - property: og:site_name", | |
" content: サイト名", | |
" - property: og:title", | |
" content: $TM_FILENAME_BASE", | |
" - property: og:description", | |
" content: $2", | |
" - property: og:image", | |
" content: https://placehold.jp/1920x1080.png", | |
" - property: twitter:card", | |
" content: photo", | |
" - property: twitter:image", | |
" content: https://placehold.jp/1920x1080.png", | |
" - property: twitter:title", | |
" content: $TM_FILENAME_BASE", | |
" - property: twitter:description", | |
" content: $2", | |
"---", | |
"", | |
"# $TM_FILENAME_BASE", | |
"<div class='video-wrapper'>", | |
" <iframe id='content' src='https://www.youtube-nocookie.com/embed/#{ID}' frameborder='0' allow='accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture' allowfullscreen></iframe>", | |
"</div>", | |
"<a href='https://twitter.com/share?ref_src=twsrc%5Etfw'", | |
" class='twitter-share-button'", | |
" data-text='$TM_FILENAME_BASE'", | |
" data-url='https://hogehoge.com'", | |
" data-via='hogehoge'", | |
" data-hashtags='ほげほげ'", | |
" data-show-count='false'>Tweet</a>", | |
"<script async src='https://platform.twitter.com/widgets.js' charset='utf-8'></script>", | |
"<script src='https://apis.google.com/js/platform.js'></script>", | |
"<div class='g-ytsubscribe'", | |
" data-channel='GoogleDevelopers'", | |
" data-layout='default'", | |
" data-count='hidden'></div>", | |
"$3" | |
], | |
"description": "Blog Template", | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
マルチカーソルまでちゃんとやってくれて嬉しいうれしい