From b5a3f8d10b65ee84d3cacbb2ace5d07bdb0795db Mon Sep 17 00:00:00 2001 From: idchef Date: Tue, 7 May 2024 20:08:09 +0200 Subject: [PATCH] add missing github alerts and github image snippets --- data/snippets.ts | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/data/snippets.ts b/data/snippets.ts index 10d51bf..54d4563 100644 --- a/data/snippets.ts +++ b/data/snippets.ts @@ -803,6 +803,13 @@ Fixes # keyword: "gh-details", type: "template", }, + { + id: nanoid(), + name: "GitHub Image", + text: `![{cursor}]({clipboard})`, + keyword: "gh-image", + type: "template", + }, { id: nanoid(), name: "GitHub Note", @@ -819,6 +826,30 @@ Fixes # keyword: "gh-warning", type: "template", }, + { + id: nanoid(), + name: "GitHub Tip", + text: `> [!TIP] +> {cursor}`, + keyword: "gh-tip", + type: "template", + }, + { + id: nanoid(), + name: "GitHub Important", + text: `> [!IMPORTANT] +> {cursor}`, + keyword: "gh-important", + type: "template", + }, + { + id: nanoid(), + name: "GitHub Caution", + text: `> [!CAUTION] +> {cursor}`, + keyword: "gh-caution", + type: "template", + }, ]; const spelling: Snippet[] = [