diff --git a/.config/nvim/snippets/languages/markdown.json b/.config/nvim/snippets/languages/markdown.json index d2551272..10dad64e 100644 --- a/.config/nvim/snippets/languages/markdown.json +++ b/.config/nvim/snippets/languages/markdown.json @@ -1,42 +1,72 @@ { + "caution (callout)": { + "body": [ + "> [!CAUTION]", + "> $0" + ], + "description": "https://docs.github.com/en/get-started/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax#alerts", + "prefix": "caution (callout)" + }, + "centerdiv": { + "body": "
$0
", + "prefix": "centerdiv" + }, + "details & summary": { + "body": [ + "
", + "${1:Text}", + "$0", + "
" + ], + "description": "https://developer.mozilla.org/en-US/docs/Web/HTML/Element/details", + "prefix": [ + "toggle / fold", + "details & summary" + ] + }, + "div": { + "body": "
$0
", + "description": "https://developer.mozilla.org/en-US/docs/Web/HTML/Element/div", + "prefix": "div" + }, "image": { "body": "\"${2:alt", "description": "HTML syntax for images used to display images with reduced size", "prefix": "image" }, - "details & summary": { - "body": ["
", "${1:Text}", "$0", "
"], - "description": "https://developer.mozilla.org/en-US/docs/Web/HTML/Element/details", - "prefix": ["toggle / fold", "details & summary"] - }, - "caution (callout)": { - "body": ["> [!CAUTION]", "> $0"], - "description": "https://docs.github.com/en/get-started/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax#alerts", - "prefix": "caution (callout)" - }, "important (callout)": { - "body": ["> [!IMPORTANT]", "> $0"], + "body": [ + "> [!IMPORTANT]", + "> $0" + ], "description": "https://docs.github.com/en/get-started/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax#alerts", "prefix": "important (callout)" }, "note (callout)": { - "body": ["> [!NOTE]", "> $0"], + "body": [ + "> [!NOTE]", + "> $0" + ], "description": "https://docs.github.com/en/get-started/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax#alerts", - "prefix": ["info (callout)", "note (callout)"] + "prefix": [ + "info (callout)", + "note (callout)" + ] }, "tip (callout)": { - "body": ["> [!TIP]", "> $0"], + "body": [ + "> [!TIP]", + "> $0" + ], "description": "https://docs.github.com/en/get-started/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax#alerts", "prefix": "tip (callout)" }, "warning (callout)": { - "body": ["> [!WARNING]", "> $0"], + "body": [ + "> [!WARNING]", + "> $0" + ], "description": "https://docs.github.com/en/get-started/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax#alerts", "prefix": "warning (callout)" - }, - "div": { - "body": ["
{$0}
"], - "description": "https://developer.mozilla.org/en-US/docs/Web/HTML/Element/div", - "prefix": ["div"] } }