- Share part of pages to gist when you want to using github/gitlab private repo as notebook.
- Support images and plantuml in markdown, see test/*.md as examples.
- Gitlab gets better experience as it supports plantuml images in the repo website
- Make a private Github/gitlab repo for your notebook.
- Add this repo as submodule
git submodule add git@github.com:xylophone21/gist-sync.git .gist-sync
- Copy .github/workflows/test.yaml or .gitlab-ci.yml to your repo and change the envs
- Generate a new GitHub Token https://github.com/settings/tokens here
- New a Gist at https://gist.github.com/
- Add the Gist to your markdown file to share it
[gist-sync-url]:https://gist.github.com/{your_account}/{gist_id}/
- Sync some pages to gist
- plantuml diagram in markdown like Markdown Preview Enhanced
Do not add you token to your public repo. That's why actions failed in this repo.