ユーザ用ツール

サイト用ツール


サイドバー

アプリ:エディタ:vscode

文書の過去の版を表示しています。


文字入力・編集

スニペット

設定ファイルの保存先

NOTE: %   ls ./.config/Code/User/snippets    
makefile.json  markdown.json  plaintext.json

GhostTextで編集するdokuwikiのために作成したスニペット

~/.config/Code/User/snippets/plaintext.json

{
	// Place your snippets for plaintext here. Each snippet is defined under a snippet name and has a prefix, body and 
	// description. The prefix is what is used to trigger the snippet and the body will be expanded and inserted. Possible variables are:
	// $1, $2 for tab stops, $0 for the final cursor position, and ${1:label}, ${2:another} for placeholders. Placeholders with the 
	// same ids are connected.
	// Example:
	// "Print to console": {
	// 	"prefix": "log",
	// 	"body": [
	// 		"console.log('$1');",
	// 		"$2"
	// 	],
	// 	"description": "Log output to console"
	// }
	"m1": {
		"prefix": "m1",
		"body":  [
		"====== ${1:見出し1} ======\n",
		"$2"
		]
	},
	"m2": {
		"prefix": "m2",
		"body":  [
		"====== ${1:見出し2} ======\n",
		"$2"
		]
	},
	"m3": {
		"prefix": "m3",
		"body":  [
		"====== ${1:見出し3} ======\n",
		"$2"
		]
	},
	"m4": {
		"prefix": "m4",
		"body":  [
		"===== ${1:見出し4} =====\n",
		"$2"
		]
	},
	"ll": {
		"prefix": "ll",
		"body":  [
		"  - ${1:記号付きリスト}$2"
		]
	},
	"ln": {
		"prefix": "ln",
		"body":  [
		"  * ${1:記号付きリスト}$2"
		]
	},
	"m1": {
		"prefix": "m1",
		"body":  [
		"====== ${1:見出し1} ======\n",
		"$2"
		]
	},
	"m2": {
		"prefix": "m2",
		"body":  [
		"====== ${1:見出し2} ======\n",
		"$2"
		]
	},
	"m3": {
		"prefix": "m3",
		"body":  [
		"====== ${1:見出し3} ======\n",
		"$2"
		]
	},
	"m4": {
		"prefix": "m4",
		"body":  [
		"===== ${1:見出し4} =====\n",
		"$2"
		]
	},
	"っl": {
		"prefix": "っl",
		"body":  [
		"  - ${1:記号付きリスト}$2"
		]
	},
	"っl": {
		"prefix": "っl",
		"body":  [
		"  * ${1:記号付きリスト}$2"
		]
	}
}
アプリ/エディタ/vscode.1637722834.txt.gz · 最終更新: 2021/11/24 12:00 by hirono2021