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
glob
pattern - exclude: hierarchies to ignore in output, follows
glob
pattern - deleteMissing: should we delete files in
dest
that are not present insrc
NOTE: replace
src
anddest
with 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
}'