arnaucube 3ee114df27 | 11 months ago | |
---|---|---|
.gitignore | 1 year ago | |
LICENSE | 5 years ago | |
README.md | 11 months ago | |
compile.sh | 1 year ago | |
css.go | 11 months ago | |
go.mod | 11 months ago | |
go.sum | 1 year ago | |
main.go | 11 months ago | |
screenshot00.png | 3 years ago | |
templates.go | 11 months ago | |
test.md | 11 months ago | |
utils.go | 11 months ago |
Server that renders markdown files and live updates the page each time that the file is updated.
(Current visual style is more similar to GitHub's style)
Put the binary file md-live-server
in your $PATH
, and then go to the directory where are the markdown files that want to live render, and just use:
> md-live-server
And then go to the browser at http://127.0.0.1:8080
Warning for vim / nvim users: vim by default selects the writting strategy, and sometimes writes directly to the files and other times renames the old file and writes a new one. This is solved by adding this line to the .vimrc
/ init.vim
file:
set backupcopy=yes