Fix documentation.
This commit is contained in:
		
							parent
							
								
									4fe4783262
								
							
						
					
					
						commit
						60e5e100ac
					
				| 
						 | 
					@ -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();
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue