Skip to content

Instantly share code, notes, and snippets.

@perpouh
Last active June 10, 2020 09:58
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 perpouh/59f66d51b438dd011c239f31813bba7a to your computer and use it in GitHub Desktop.
Save perpouh/59f66d51b438dd011c239f31813bba7a to your computer and use it in GitHub Desktop.
VSCode>mdフォーマット
{
"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",
}
}
@perpouh
Copy link
Author

perpouh commented Jun 9, 2020

マルチカーソルまでちゃんとやってくれて嬉しいうれしい

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment