Slimrb Installation On A Fedora

Slimrb Installation On A Fedora

slimrb

Convert Slim files to HTML.

Install slimrb

  • Fedora dnf install rubygem-slim Click to copy

Convert Slim files to HTML.

How to use slimrb?

Below are few example commands for slimrb that you can use in the terminal.

Convert a Slim file to HTML:
slimrb input.slim output.htmlClick to copy
Convert a Slim file and output to prettified HTML:
slimrb --pretty input.slim output.htmlClick to copy
Convert a Slim file to ERB:
slimrb --erb input.slim output.erbClick to copy
To install the latest version of slimrb in your favorite operating system just copy the slimrb installation command from above and paste it into terminal. It will download and install the latest version of slimrb 2024 package in your OS.