A simple script to preview local markdown file with hot reload.
Want to use it in VS Code? Check out this extension!
npx @hyrious/marked-cli README.md
serving http://localhost:5000
There's none.
The first version of this script is quickly written in 10 minutes. You can submit a PR or raise an issue if you really need some configuration.
This package has 2 purposes:
- Let the rendering result be like GitHub.com as much as possible.
- As small as possible.
If you're using macOS and found localhost:5000 cannot be reached, it is highly possible that AirPlay Receiver is taking over the port. You can turn off AirPlay Receiver from System Settings → General → AirDrop & handoff → AirPlay Receiver.
MIT @ hyrious