-
Jennifer Mankoff authored
with simplified text and removal of most cse340 specific information
Jennifer Mankoff authoredwith simplified text and removal of most cse340 specific information
jekyll-mermaid.rb 331 B
module Jekyll
class Mermaid < Liquid::Block
def initialize(tag_name, markup, tokens)
super
end
def render(context)
@config = context.registers[:site].config['mermaid']
"<div class=\"mermaid\" id=\"i141\">#{super}</div>"
end
end
end
Liquid::Template.register_tag('mermaid', Jekyll::Mermaid)