Skip to content
Compare
Choose a tag to compare

Fix make build on Linux and homebrew formula on Linux.

Compare
Choose a tag to compare

Updated install instructions. Upgrade to Crystal 0.36.1.

Compare
Choose a tag to compare
Pre-release

Changes in v0.1.1:

  • the target file defaults to current directory now. This resolves the issue of images/assets not appearing when using relative paths
  • to keep directories clean, the target file .mark.html is removed automatically after opening in the browser
  • use the --keep option if you want to keep the target file around
  • syntax highlighting has been added to the default template
  • syntax highlighting is only added to fenced code blocks an explicitly set language
  • updated the CSS to be a bit more modern

To install:

  • install Crystal
  • check out repo and run make build
  • binary will be at bin/mark
Compare
Choose a tag to compare

v0.1.0

Pre-release
Pre-release

Initial release of mark!

Quickly preview markdown in your browser by running:

mark <file.md>

This renders file.md's markdown to HTML, writes to ~/.mark/index.html, and opens it in a browser via the open ~/.mark/index.html command.

See mark -h for customizations.