Skip to content

Instantly share code, notes, and snippets.

View salgadobreno's full-sized avatar

Breno Santos Salgado salgadobreno

  • Origem Motos
  • Brasília, Brazil
View GitHub Profile
@salgadobreno
salgadobreno / markdown-tag.rb
Last active December 10, 2015 21:48 — forked from tmtk75/markdown-tag.rb
Markdown Tag for Jekyll
=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)