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 f4a55d1f1e add tables borders, add README vim config 5 years ago
LICENSE Initial commit 5 years ago
README.md add tables borders, add README vim config 5 years ago
main.go add page error when file don't exists 5 years ago
md-live-server add tables borders, add README vim config 5 years ago
screenshot00.png server rendering markdown with live reload on file update working 5 years ago
templates.go add tables borders, add README vim config 5 years ago
test.md server rendering markdown with live reload on file update working 5 years ago
utils.go server rendering markdown with live reload on file update working 5 years ago

README.md

md-live-server

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

screenshot00

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