slime v0.15.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
In order to make parsing Slime documents easier we run some simple transformations on the document to standardise the format
Transform Slime templates into HTML
Build a tree from a series of Slime lines
A Doctype node
Represntation of a EEx node
An HTML node in the tree
A struct representing simple text in our tree
Exceptions
Syntax exception which may appear during parsing and compilation processes