TextBundle Demo

This article shows that Eleventy can read the Markdown content that lives inside a .textbundle package. The surrounding metadata (author, title, timestamps) comes from info.json.

Happy capybara mascot

What to look at

  1. The text.md file contains Markdown just like any other post.
  2. Assets such as SVGs sit inside the assets/ directory and can be referenced with relative paths.
  3. The computed date uses the created or modified values from info.json, so you do not need front matter.

Pro tip: TextBundle files are great when writers prefer native macOS or iOS editors that package everything together.