tldr/pages/common/slimrb.md

16 lines
294 B
Markdown
Raw Normal View History

2018-05-29 20:19:56 +01:00
# 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}}`