1
Fork 0

Fix documentation.

This commit is contained in:
Bauke 2023-11-20 12:46:06 +01:00
parent 4fe4783262
commit 60e5e100ac
Signed by: Bauke
GPG Key ID: C1C0F29952BCF558
1 changed files with 4 additions and 4 deletions

View File

@ -21,7 +21,7 @@ export type MarkdownSnippet = {
/** The name of the snippet to be shown in the toolbar. */ /** The name of the snippet to be shown in the toolbar. */
name: string; name: string;
/** The position */ /** The position of the snippet in the toolbar. */
position: number; 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 * Create a new Markdown snippet ID by getting the current highest existing ID
* storage and adding 1 to it. Defaults to 1 when no there are no existing * in storage and adding 1 to it. Defaults to 1 when no there are no existing
* labels. * snippets.
*/ */
export async function newMarkdownSnippetId(): Promise<number> { export async function newMarkdownSnippetId(): Promise<number> {
const snippets = await collectMarkdownSnippets(); const snippets = await collectMarkdownSnippets();