Show Topics
Getting Started
Compilers
Other Tools

Slim

Slim is a template language whose goal is reduce html syntax to the essential parts without becoming cryptic.

File Options

Slim

  • Output Path

    Click the path to manually change the output path or use Output Settings to adjust output path for all less files.

  • Auto Compile

    Enable this option to compile a file every time you save it in a code editor.

  • Indent

    Select Tab or Space Indentation

  • Pretty

    Enable this option to output expanded html.

Imported Files

If you are importing a slim file from another file, the importing file is compiled whenever a imported file is saved in code editor.

doctype html
html
  head
    title Slim Examples
  body
    == Slim::Template.new('b.slim').render

//This file is compiled whenever b.slim is changed

NOTE: Prepros doesn't auto compile nested slim imports.

Learn more about Slim from Slim website