Skip to content

Instantly share code, notes, and snippets.

View btskinner's full-sized avatar

Benjamin Skinner btskinner

View GitHub Profile
@btskinner
btskinner / linkmarkdown.rb
Last active March 30, 2020 14:09 — forked from mignev/markdown-tag.rb
Ruby module to include online markdown files in Jekyll site
=begin
Tag to include markdown text from linked file (e.g. Github README.md)
Usage:
{% linkmarkdown <filename> %}
=end
require 'open-uri'
module Jekyll
class MarkdownTag < Liquid::Tag