extension docs

This commit is contained in:
Levi Neely 2025-11-30 14:11:21 +01:00
parent 264974b1ac
commit f12ce62722
1 changed files with 4 additions and 0 deletions

View File

@ -1,5 +1,7 @@
# Extending acme-denote
## Architecture
`acme-denote` is extended by building programs upon its 9P API.
```
@ -86,6 +88,8 @@ plumb $notepath
### Metadata Manipulation (e.g., Dmerge)
`Dmerge` performs metadata manipulation, and it also illustrates an important architectural concept: the `acme-denote` program manages metadata, not content (the latter is a function of the appropriate editor). Therefore, content manipulation is performed directly on the filesystem.
```rc
# Read source content
sourcepath=`{9p read denote/n/$sourceid/path}