server rendering markdown with live reload on file update working

This commit is contained in:
arnaucube
2019-05-07 21:07:45 +02:00
parent 6e3b9cbf68
commit a0b3d071e5
7 changed files with 302 additions and 0 deletions

19
README.md Normal file
View File

@@ -0,0 +1,19 @@
# md-live-server
Server that renders markdown files and live updates the page each time that the file is updated.
![screenshot00](https://raw.githubusercontent.com/arnaucube/md-live-server/master/screenshot00.png '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`
## Features
- [x] server rendering .md files
- [x] live reload when .md file changes
- [x] directory files list on `/` endpoint
- [ ] on error return error page, instead of panic server
- [ ] graphviz
- [ ] colour `<code>` with syntax highlighting