MCPcopy Create free account
hub / github.com/chhoumann/quickadd / isMarkdownTemplatePath

Function isMarkdownTemplatePath

src/engine/applyTemplateToActiveNote.ts:50–55  ·  view source on GitHub ↗
(path: string)

Source from the content-addressed store, hash-verified

48 * paths default to markdown, matching template content resolution.
49 */
50export function isMarkdownTemplatePath(path: string): boolean {
51 return (
52 !CANVAS_FILE_EXTENSION_REGEX.test(path) &&
53 !BASE_FILE_EXTENSION_REGEX.test(path)
54 );
55}
56
57export function templatePickerItemLabel(item: TemplatePickerItem): string {
58 return item.kind === "choice"

Callers 4

GetApiMethod · 0.90
buildTemplatePickerItemsFunction · 0.85
applyTemplateToNoteFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected