tldr/pages/common/slimrb.md

294 B

slimrb

Convert Slim files to HTML.

  • 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}}