Skip to content

Tiny utility that renders markdown and serves the html, with socket.io livereload.

Notifications You must be signed in to change notification settings

jpttsn/mdserver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

mdserver

Tiny utility that renders markdown and serves the html, with socket.io livereload.

Notes

This is a small thing I wrote for myself.

  • www/ will be served

  • src/ will be watched and rendered

Rendering

Anything with extension .md will be put through marked, and the extension will be stripped.

Existing files in www/ will be replaced by renders as needed, but static files in www/ are okay too.

Some html, scripts etc. will be added to the renders.

Serving

Changes to /www will cause a refresh.

Known problems

  • Only renders the root of src/, ie. not recursively

About

Tiny utility that renders markdown and serves the html, with socket.io livereload.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published