Penflip-header-logo@2x

Penflip updates, bug fixes, and ramblings

YAML front matter support

In an effort to make content cross-compatible for multiple purposes (e.g. a Jekyll blog and a PDF ebook), Penflip now has support for basic YAML front matter. Basic is an understatement, really, since the only attribute that is supported right now is title. Exactly like Jekyll, the front matter must be the first thing in the file and must take the form of valid YAML set between triple-dashed lines.

Your title front matter should look like this:

---
title: Learning CSS
---

This will be displayed as an H1 element (markdown #) in previews, downloads, etc.

You can import your Jekyll blog into Penflip and all your post titles will be converted to chapter titles. Oh yeah!