Introduction

Kurenai can be used to parse documents of varying formats that have embedded metadata.

Let's start by taking a look at a Kurenai document.

<metadata exists here>
======================
<content exists here>

Kurenai documents have both a metadata and content section, separated by three or more = equals signs. Both the metadata and the content can support a variety of formats. Let's try another example.

{
  "title": "My title here."
  "date":  "12-12-1984"
}
===========================
# Hi There

How are you doing?

Here, we have our metadata defined using JSON, and our content written in Markdown format.

We'll learn how to parse documents in the next section.