Ruby Shell
Latest commit d3e2edb Jan 20, 2017 @eggcaker committed on GitHub Merge pull request #23 from VonFry/master
org file slug



This plugin adds Org mode support to Jekyll and lets you write posts and pages in Org.


  • Jekyll
  • org-ruby


Short version

For experienced Jekyll users, you need to do 2 things to get jekyll-org to work

  • Install the gem
  • Include the gem in your _config.yml
  • Include the gem in Gemfile

Long version

To use jekyll-org with Jekyll, you need to have Ruby RubyGems and Jekyll installed. See how to do that here.

Create a new Jekyll project my-site run:

jekyll new my-site

Create a Gemfile in the root of the project, and add at least the following lines:

source ''

gem 'jekyll' , '>= 3.0.0'
gem 'jekyll-org', '>= '1.0.1'

Install the gems with bundler:

bundle install

To use the new converter add the following line to your _config.yml:

gems: [jekyll-org]


Create a new file with .org extension in _posts, and write the post with Org. That is all! Generate your Jekyll site as you usually do.

Front matter

Instead of YAML the front matter is configured in the usual Org way, with no lines:

#+TITLE: Jekyll and Org together
#+LAYOUT: posts
#+TAGS: jekyll org-mode

This is a blog post about Jekyll and Org mode.

Liquid templating

By default the all content is exported to raw HTML with org-ruby, but you can add #+liquid: whatevervalue= in the header. Then you can use Liquid tags.

For example, if your Org file contains

#+liquid: enabled
#+foo: hello world

{{ }}


{{ site.time | date_to_xmlschema }}

then you will get output like

<p>hello world</p>

Source code highlighting

Add a source code block as you would in Org, for example Ruby:

require 'rubygems'
require 'org-ruby'
data =

Then the output will have code highlighting:

require 'rubygems'
require 'org-ruby'
data =


eggcaker <>