Skip to content

Instantly share code, notes, and snippets.

View kristiannordestgaard's full-sized avatar

Kristian Nordestgaard kristiannordestgaard

View GitHub Profile
@tmtk75
tmtk75 / markdown-tag.rb
Created November 30, 2011 08:10
Jekyll Markdown Tag
=begin
Jekyll tag to include Markdown text from _includes directory preprocessing with Liquid.
Usage:
{% markdown <filename> %}
Dependency:
- kramdown
=end
module Jekyll
class MarkdownTag < Liquid::Tag
def initialize(tag_name, text, tokens)