add bold and italic text block

This commit is contained in:
Phani Pavan K
2025-12-17 11:56:53 +05:30
parent ad747a44b7
commit a7d022b928
2 changed files with 12 additions and 2 deletions

View File

@@ -1,6 +1,6 @@
id = "latexnips" id = "latexnips"
name = "Latex Snippets" name = "Latex Snippets"
version = "0.1.3" version = "0.1.4"
schema_version = 1 schema_version = 1
authors = ["Phani Pavan K <kphanipavan@gmail.com>"] authors = ["Phani Pavan K <kphanipavan@gmail.com>"]
description = "Common Latex Snippets, common action from overleaf toolbar." description = "Common Latex Snippets, common action from overleaf toolbar."

View File

@@ -47,7 +47,17 @@
}, },
"Reference": { "Reference": {
"prefix": "ref", "prefix": "ref",
"body": "${2:delSpace}~\\ref{${1:citation}} ${3:continue}", "body": "${2:delSpace}~\\ref{${1:refr}} ${3:continue}",
"description": "Adds the Ref command" "description": "Adds the Ref command"
}, },
"Italic Text":{
"prefix": "itl",
"body": "{\\it ${1:text}} ${2:continue}",
"description": "Adds Italic text block"
},
"Bold Text":{
"prefix": "bol",
"body": "{\\bf ${1:text}} ${2:continue}",
"description": "Adds Bold text block"
}
} }