slime v1.1.0 API Reference

Modules

Slim-like HTML templates

Compile a tree of parsed Slime into EEx

Mapping doctype shorthands to their actual values

Build a Slime tree from a Slime document

Utilities for handling element attributes

Embedded engine behaviour module. Provides basic logic of parsing slime with embedded parts for other engines

CSS engine callback module

EEx engine callback module

Elixir code engine callback module

Javascript engine callback module

An embedded code node

An HTML comment node

An inline HTML node

This module helps to process input and insert indents and dedents to simplify parser design

Utilities for parsing text blocks

PEG parser callbacks module. Define transformations from parsed iolist to ast. See https://github.com/seancribbs/neotoma/wiki#working-with-the-ast

Transform Slime templates into HTML

Exceptions

Syntax exception which may appear during parsing and compilation processes