Slim 0.0.4A library for generating HTML from concise, lightweight templates.
afSlim
is a library for generating HTML from concise, lightweight templates. afSlim
is based on Jade for javascript and Slim for Ruby.
Features include:
- indentation driven - closing tags not needed
- shortcut notation for IDs and classes
${...}
notation to call Fantom code- efan template generation
Install
To install Slim with Fantom Pod Manager, cut'n'paste the following into a cmd prompt, terminal or shell:
Or to install Slim with the Fantom Repository Manager (fanr), cut'n'paste the following into a cmd prompt, terminal or shell:
Or to install manually, download the pod file and copy it to the %FAN_HOME%/lib/fan/
directory.
Use
To use Slim in a Fantom project, add a dependency to the project's build.fan
:
depends = ["sys 1.0", ..., "afSlim 0.0.4 - 0.0"]
Documentation
Information
Meta information on the Slim pod:
- Published by
- Steve Eynon
- Organisation
- Alien-Factory
- Pod file size
- 25.55 kB
- Licence
- BSD 2-Clause License
- Built on
- 9th Oct 2013
- Source code
- at https://bitbucket.org/Alien-Factory/afslim
- Depends on
- afEfan, afPlastic, sys
- Referenced by
- Javascript Compatible
- No
Dependency Graph
Use mouse to re-position pods
Release History
There have been 24 releases of Slim: