Jekyll::Hooks.register :posts, :post_init do |item| item.content = item.content &.gsub(/^:::([a-z \-_]+)/, '
') &.gsub(/^:::/, '
') end Jekyll::Hooks.register :pages, :post_init do |item| item.content = item.content &.gsub(/^:::([a-z \-_]+)/, '
') &.gsub(/^:::/, '
') end Jekyll::Hooks.register :documents, :post_init do |item| item.content = item.content &.gsub(/^:::([a-z \-_]+)/, '
') &.gsub(/^:::/, '
') end