tldr/pages/common/slimrb.md

17 lines
372 B
Markdown
Raw Normal View History

2018-05-29 20:19:56 +01:00
# slimrb
> Convert Slim files to HTML.
> More information: <https://rdoc.info/gems/slim/frames#slim-command-slimrb>.
2018-05-29 20:19:56 +01:00
- 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}}`