Skip to content

Instantly share code, notes, and snippets.

View jekyll-video-embed.rb
class Video < Liquid::Tag
Syntax = /^\s*([^\s]+)(\s+(\d+)\s+(\d+)\s*)?/
def initialize(tagName, markup, tokens)
@url = Jekyll.configuration({})['url'] || ''
if markup =~ Syntax then
@id = $1
jeauxlb /
Last active Jan 12, 2018 — forked from opieters/
Python script to generate configuration for a lightGallery photo gallery in Jekyll.
You can’t perform that action at this time.