grup-0.2.0 is not a library.
grup - offline markdown previewer
What is grup?
grup is an offline markdown previewer inspired by the impeccable grip - minus sending your local files to github for formatting.
Example
Get preview for an .md file e.g. README.md:
grup README.md
Then click the displayed link to open the preview in your browser.
TODO
- Publish on crates.io
- Add inotify hooks + js to refresh document (e.g. using a dedicated url /updates which returns 404 if there is nothing new; else use js' document.reload() to refresh page)
Known Issues
"No such remote or remote group: " when running grup
When trying to run grup in zsh, the grup command will be shadowed by an alias defined by the zsh git plugin.
This can be prevented by adding
unalias grup
to your .zshrc which removes the alias.
Style
By default the html output is styled using Github Markdown CSS by Sindre Sorhus.