Mdformat plugin to format crystal code blocks
mdformat-crystal is an mdformat plugin
that makes mdformat format crystal code blocks embedded in Markdown with crystal tool format.
The plugin invokes crystal in a subprocess so having either crystal, Docker or Podman installed is a requirement.
mdformat YOUR_MARKDOWN_FILE.mdThe Docker/Podman fallback is only tested on Linux. If you experience issues with it on Windows or macOS, please install crystal.