You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
arnaucube 3ee114df27 add github css style 2 months ago
.gitignore update go version & fix go/x/sys dependancy for darwin compilation. add compile.sh and rm binary to upload it as release. 8 months ago
LICENSE Initial commit 5 years ago
README.md add github css style 2 months ago
compile.sh update go version & fix go/x/sys dependancy for darwin compilation. add compile.sh and rm binary to upload it as release. 8 months ago
css.go add github css style 2 months ago
go.mod add github css style 2 months ago
go.sum update go version & fix go/x/sys dependancy for darwin compilation. add compile.sh and rm binary to upload it as release. 8 months ago
main.go add github css style 2 months ago
screenshot00.png Add LaTex support 2 years ago
templates.go add github css style 2 months ago
test.md add github css style 2 months ago
utils.go add github css style 2 months ago

README.md

md-live-server

Server that renders markdown files and live updates the page each time that the file is updated.

screenshot00 (Current visual style is more similar to GitHub's style)

Usage

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

Features