indy.io

Imbue

Imbue is the markup language used by the Full Meta Jacket static site generator. It consists of a Markdown body with an optional JSON header:

---
"author": "Leroy Jenkins",
"publishDate": "1st January 2012"
---
Hello World!

The above will generate:

<p>Hello World!</p>

Data can be rendered within the Markdown body using EJS syntax:

---
"name: "Boutros Boutros-Ghali"
---
Hello {{= name }}!

Will generate:

<p>Hello Boutros Boutros-Ghali!</p>

Additional data can also be bound, so rendering the following page:

---
"pageTitle": "about"
---
This site is called {{= siteTitle }}
This page is called {{= pageTitle }}

With an additional binding of:

"siteTitle": "indy.io"

Will generate:

<p>This site is called indy.io</p>
<p>This page is called about</p>