some more info in the readme

This commit is contained in:
Jerome Gravel-Niquet 2016-02-14 13:08:50 -05:00
parent f31dad17d7
commit 0e5ab4338d
2 changed files with 4 additions and 2 deletions

View file

@ -10,7 +10,7 @@ Simplify developers' lives by abstracting template rendering for multiple templa
| Language | File extensions | Required libraries |
| -------- | --------------- | ------------------ |
| ECR | .ecr | none |
| ECR | .ecr | none (part of the stdlib) |
| Slang | .slang | [slang](https://github.com/jeromegn/slang) |
## Installation
@ -25,6 +25,8 @@ dependencies:
# Any other template languages Crystal shard
```
Kilt essentially adds two macros `Kilt.embed` and `Kilt.file`, the code is really simple.
## Usage
Add template language dependencies, as listed in the support table above.

View file

@ -1,6 +1,6 @@
require "spec"
require "slang"
require "../src/kilt"
require "slang"
macro render_file(filename)
String.build do |__io__|