RubyFlow The Ruby and Rails community linklog

×

The Ruby and Rails community linklog

Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!

Publish your data with ERB and markdown

I will show you how to write a powerful and flexible publishing system by combining the power of ruby templates (ERB) and Markdown standard syntax in just 50 lines of code. The idea is to store your data in simple text files thanks to Markdown and use a template engine to present them in the format you want. Also, you can use the ruby power inside your markdown files for free! Check the source code for more information and examples.

Comments

There are more flexible, feature rich ways to do this with static site generators. e.g. nanoc, jekyll, … to name a few.

Post a comment

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in