Sha256: 4196f1248bd779515f0fc552b6ea59b5bebc043eb46f1429566096f4f707b327
Contents?: true
Size: 588 Bytes
Versions: 17
Compression:
Stored size: 588 Bytes
Contents
Jekyll::Hooks.register :posts, :post_init do |item| item.content = item.content &.gsub(/^:::([a-z \-_]+)/, '<div class="\1" markdown="1">') &.gsub(/^:::/, '</div>') end Jekyll::Hooks.register :pages, :post_init do |item| item.content = item.content &.gsub(/^:::([a-z \-_]+)/, '<div class="\1" markdown="1">') &.gsub(/^:::/, '</div>') end Jekyll::Hooks.register :documents, :post_init do |item| item.content = item.content &.gsub(/^:::([a-z \-_]+)/, '<div class="\1" markdown="1">') &.gsub(/^:::/, '</div>') end
Version data entries
17 entries across 17 versions & 2 rubygems