Select current note as a start point, iterate the graph contains it, and copy all related file (notes or attachments) into a textbundle directory.
- the note's wiki link will keep the origin format, markdown links too.
- TODO: parse internal links.
- the notes will be flatten in the root path.
- the attachments will be placed into subdirectory
/assets
. - TODO: generate textbundle's info.json
- Clone this repo.
npm i
oryarn
to install dependenciesnpm run dev
to start compilation in watch mode.
- Copy over
main.js
,styles.css
,manifest.json
to your vaultVaultFolder/.obsidian/plugins/your-plugin-id/
.