A Docsify.js template for taking notes and summaries, based on my own setup.
I assume you've already installed Docsify here!
On Github: click on Use this template:
Afterwards; clone your own repo and run docsify serve
Open http://localhost:3000 (port 3000 by default) and start editing this document! Docsify automatically reloads as you save
Afterwards: change some variables found in index.html
!
window.$docsify = {
name: 'A new name',
repo: 'you/your-repo-name',
loadSidebar: true,
themeColor: '#E00049',
subMaxLevel: 4,
tabs: {
persist : true, // default
sync : false, // default
theme : 'material', // default
tabComments: true, // default
tabHeadings: true // default
}
}
After that; you're set. Check out the Example Notebook for some ideas and read up on docsify's documentation!
You can do some cool stuff when working with markdown and Docsify, thanks to pretty great community support.
You can see some examples by checking out the Example Notebook, since I've written this page without any plugins/docsify features.
You can find a complete list of plugins and themes here!
You can expand Docsify by using plugins! Here are some of my favorites
- docsify-example-panels
- Represent content in a side-by-side fashon.
- Included in this repository!
- docsify-tabs
- Stick content in tabs; saving space in the process.
- Included in this repository
- Note: it messes with markmap a bit
- docsify-copy-code
- Copy your own codeblocks easily.
- Included in this repository!
- docsify-corner
- Customize the top-right corner.
- docsify-darklight-theme
- Darkmode for late-night writing.
Thanks to markmap.js, you can automatically generate mindmaps from your Markdown documents. There's even a Visual Studio Code extention available here. This could be useful to visualize your notes during studies.
There are some caviats with Markmap! It doesn't parse some elements, like text. It also expects your documents to be written without too many issues; like having comments directly ontop of titles.
This file is should be fully compatible with markmap!
You can build and deploy this repository using Docker by running
$ docker build -t notes:latest . #build the image
$ docker run --rm --name notes -d -p 80:80 notes:latest #container is running on host:80. It'll remove itself if it stops running
There's an included GitLab CI file in the repository which builds, pushes to a GitLab registry and deploys it on a server using curl
. This might be useful if you're able to host your notes somewhere using Docker.
Always welcome! Fork and make a pull request with your changes or make a issue and I'll get back to you.
If there's something wrong, or you have some questions, let me know! You can find my email on my GitHub profile.