slimrb

Convert Slim files to HTML. More information: <https://rdoc.info/gems/slim/frames#slim-command-slimrb>.

Install

All systems
curl cmd.cat/slimrb.sh
Fedora
dnf install rubygem-slim

Convert Slim files to HTML. More information: <https://rdoc.info/gems/slim/frames#slim-command-slimrb>.

  • Convert a Slim file to HTML:
    slimrb input.slim output.html
  • Convert a Slim file and output to prettified HTML:
    slimrb --pretty input.slim output.html
  • Convert a Slim file to ERB:
    slimrb --erb input.slim output.erb

© tl;dr; authors and contributors