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.

24 lines
943 B

  1. # md-live-server
  2. Server that renders markdown files and live updates the page each time that the file is updated.
  3. ![screenshot00](https://raw.githubusercontent.com/arnaucube/md-live-server/master/screenshot00.png 'screenshot00')
  4. ## Usage
  5. 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:
  6. ```
  7. > md-live-server
  8. ```
  9. And then go to the browser at `http://127.0.0.1:8080`
  10. **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:
  11. ```
  12. set backupcopy=yes
  13. ```
  14. ## Features
  15. - [x] server rendering .md files
  16. - [x] live reload when .md file changes
  17. - [x] directory files list on `/` endpoint
  18. - [ ] graphviz
  19. - [ ] colour `<code>` with syntax highlighting