mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
22 lines
468 B
Plaintext
22 lines
468 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, common]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# 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}}`
|