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 0c5629a3a6 Add LaTex support 3 years ago
LICENSE Initial commit 5 years ago
README.md Add LaTex support 3 years ago
go.mod Add theme switcher 4 years ago
go.sum Add theme switcher 4 years ago
main.go Add theme switcher 4 years ago
md-live-server Add LaTex support 3 years ago
screenshot00.png Add LaTex support 3 years ago
templates.go Add LaTex support 3 years ago
test.md Add LaTex support 3 years ago
utils.go Add theme switcher 4 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