module Jekyll::Latex::Pdf::Tikz::TikzUtils
Public Instance Methods
parse_markup(markup)
click to toggle source
# File lib/jekyll/latex/pdf/tikz/utils.rb, line 8 def parse_markup(markup) h = markup.split " " @file_name = h.shift # @params ||= {} k = "" h.each do |v| if v.end_with? ":" k = v[0..-2] next end TikzLibraries.add_lib(v) if "library" == k end end