diff --git a/extension.toml b/extension.toml index 1b22f89..5823f20 100644 --- a/extension.toml +++ b/extension.toml @@ -1,6 +1,6 @@ id = "latexnips" name = "Latex Snippets" -version = "0.1.3" +version = "0.1.4" schema_version = 1 authors = ["Phani Pavan K "] description = "Common Latex Snippets, common action from overleaf toolbar." diff --git a/snippets/latex.json b/snippets/latex.json index a40162e..e106729 100644 --- a/snippets/latex.json +++ b/snippets/latex.json @@ -47,7 +47,17 @@ }, "Reference": { "prefix": "ref", - "body": "${2:delSpace}~\\ref{${1:citation}} ${3:continue}", + "body": "${2:delSpace}~\\ref{${1:refr}} ${3:continue}", "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" + } }