apple-notes-mcp 2.9.15 → 2.9.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +150 -1
- package/build/index.js +862 -153
- package/docs/markdown-templates.md +10 -1
- package/package.json +1 -1
|
@@ -11,11 +11,20 @@ Templates change only the exported Markdown. They never change a note.
|
|
|
11
11
|
|
|
12
12
|
## Choosing a template
|
|
13
13
|
|
|
14
|
+
Built-in and saved templates are managed with `list-markdown-templates`,
|
|
15
|
+
`show-markdown-template`, `validate-markdown-template`,
|
|
16
|
+
`save-markdown-template` and `delete-markdown-template`. Saved templates live
|
|
17
|
+
in `~/Library/Application Support/apple-notes-mcp/templates` (or the absolute
|
|
18
|
+
directory in `APPLE_NOTES_MCP_TEMPLATE_DIR`) as `<name>.json`, where the name
|
|
19
|
+
is a lowercase slug of `a-z`, `0-9`, `-` and `_`. Saving is create-only unless
|
|
20
|
+
`force` is true, and the built-in names are reserved. The library skips files
|
|
21
|
+
it cannot read or validate instead of trusting them.
|
|
22
|
+
|
|
14
23
|
Pass exactly one of these to `export-notes-markdown`:
|
|
15
24
|
|
|
16
25
|
| Parameter | Meaning |
|
|
17
26
|
| --- | --- |
|
|
18
|
-
| `template` | A built-in name
|
|
27
|
+
| `template` | A built-in name (`standard-markdown` or `obsidian`) or a saved template's name |
|
|
19
28
|
| `templateFile` | An absolute path to a JSON template file ending in `.json` (home, a temp directory, or `/Volumes`; at most 256 KiB; symlinks refused) |
|
|
20
29
|
|
|
21
30
|
The template is read and validated before any note is opened. An invalid
|
package/package.json
CHANGED