This is an experimental version of Dendron Internal API
- Clone the repo
git clone https://github.com/dendronhq/dendron-api-v2.git
- Install dependencies
cd dendron-api-v2 yarn - Run
yarn dev
Exports a vault of dendron dot delimited markdown to a folder based markdown structure
Parameters:
- src: source
- dest: destination
- targetFormat:
markdown|html - include: hierarchies to include in output, follows
globpattern - exclude: hierarchies to ignore in output, follows
globpattern - deleteMissing: should we delete files in
destthat are not present insrc
NOTE: replace
srcanddestwith your folders
curl --location 'localhost:8080/sync/to' \ --header 'Content-Type: application/json' \ --data '{ "src": "~/code/proj.aws-docs/aws-doc-extractor/build/artifacts", "dest": "~/code/proj.aws-docs/aws-reference-notes/services", "targetFormat": "markdown", "include": "hierarchies=*", "exclude": "hierarchies=ignore.*", "deleteMissing": false }'