mirror of
https://github.com/James-Yu/LaTeX-Workshop.git
synced 2024-10-04 23:27:20 +03:00
Enable snippets usage on selected text
Changed text style snippets to enable them to be used on selected texts
This commit is contained in:
parent
147536760a
commit
213002b3ba
@ -71,22 +71,22 @@
|
||||
},
|
||||
"bf" : {
|
||||
"prefix": "FBF",
|
||||
"body": "\\textbf{$1}",
|
||||
"body": "\\textbf{${1:${TM_SELECTED_TEXT:text}}}",
|
||||
"description": "Use a bold font"
|
||||
},
|
||||
"it" : {
|
||||
"prefix": "FIT",
|
||||
"body": "\\textit{$1}",
|
||||
"body": "\\textit{${1:${TM_SELECTED_TEXT:text}}}",
|
||||
"description": "Use an italic font"
|
||||
},
|
||||
"em" : {
|
||||
"prefix": "FEM",
|
||||
"body": "\\emph{$1}",
|
||||
"body": "\\emph{${1:${TM_SELECTED_TEXT:text}}}",
|
||||
"description": "Use an emphasis font"
|
||||
},
|
||||
"tt" : {
|
||||
"prefix": "FTT",
|
||||
"body": "\\texttt{$1}",
|
||||
"body": "\\texttt{${1:${TM_SELECTED_TEXT:text}}}",
|
||||
"description": "Use a typewriter font"
|
||||
},
|
||||
/* Insert Gree letter with @ + corresponding latin letter */
|
||||
|
Loading…
Reference in New Issue
Block a user