From 60e5e100ac8af0c6379353083b33aceddce9ef1b Mon Sep 17 00:00:00 2001 From: Bauke Date: Mon, 20 Nov 2023 12:46:06 +0100 Subject: [PATCH] Fix documentation. --- source/storage/markdown-toolbar.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/source/storage/markdown-toolbar.ts b/source/storage/markdown-toolbar.ts index 8427917..83c54dc 100644 --- a/source/storage/markdown-toolbar.ts +++ b/source/storage/markdown-toolbar.ts @@ -21,7 +21,7 @@ export type MarkdownSnippet = { /** The name of the snippet to be shown in the toolbar. */ name: string; - /** The position */ + /** The position of the snippet in the toolbar. */ position: number; }; @@ -179,9 +179,9 @@ export async function collectMarkdownSnippets(): Promise< } /** - * Create a new user label ID by getting the current highest existing ID in - * storage and adding 1 to it. Defaults to 1 when no there are no existing - * labels. + * Create a new Markdown snippet ID by getting the current highest existing ID + * in storage and adding 1 to it. Defaults to 1 when no there are no existing + * snippets. */ export async function newMarkdownSnippetId(): Promise { const snippets = await collectMarkdownSnippets();