mirror of https://github.com/CrimsonTome/tldr.git
17 lines
375 B
Markdown
17 lines
375 B
Markdown
# slimrb
|
|
|
|
> Convert Slim files to HTML.
|
|
> More information: <https://rubydoc.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}}`
|