Web viewer for the bunch Markdown documents in directories.
I make almost all my notes in .md
format and store it in git repo.
There are a lot of advantages, such as:
- I can write it in
vim
- I can store it in
git
- I can distribute it on all my computers (including my phone)
- I can replicate it, just because it is
git
- I can insert pictures or something else in my notes
Arguing dialectically I should mention some disadvantages:
- I am not able to show it to "normal" guys easily
- I am not able to share it to other people by link
- I am not able to see pictures in my notes, only links on it
- I am not able to read it on my phone
Some of this problems I am tried to solve by mdlight.
To run:
To test:
- python3-pytest
Run ./mdlight/server.py --help
and let see what happen. This is a entry point.
Run python3 -m pytest
cmd to execute all tests.
Some features I would like to make in future:
- Support HTML pattern page and CSS style
- I case of perfomance problems it would be helpful to use another web server (e.g. werkzeug) and cache.