File tree Expand file tree Collapse file tree
extensions/markdown-basics/snippets Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2323 "prefix" : " fenced codeblock" ,
2424 "body" : [
2525 " ```${1:language}" ,
26- " $0" ,
26+ " ${TM_SELECTED_TEXT}$ 0" ,
2727 " ```"
2828 ],
2929 "description" : " Insert fenced code block"
3030 },
3131 "Insert heading" : {
3232 "prefix" : " heading" ,
33- "body" : " # ${1:text }" ,
33+ "body" : " # ${1:${TM_SELECTED_TEXT} }" ,
3434 "description" : " Insert heading"
3535 },
3636 "Insert unordered list" : {
6060 },
6161 "Insert link" : {
6262 "prefix" : " link" ,
63- "body" : " [${1:text}](https://${2:link})$0" ,
63+ "body" : " [${TM_SELECTED_TEXT:${ 1:text} }](https://${2:link})$0" ,
6464 "description" : " Insert link"
6565 },
6666 "Insert image" : {
6767 "prefix" : " image" ,
68- "body" : " $0" ,
68+ "body" : " $0" ,
6969 "description" : " Insert image"
7070 }
7171}
You can’t perform that action at this time.
0 commit comments