class Jekyll::Latex::Pdf::Tikz::TikzPdf

Public Class Methods

new(tag_name, markup, tokens) click to toggle source
Calls superclass method
# File lib/jekyll/latex/pdf/tikz/latex.rb, line 12
          def initialize(tag_name, markup, tokens)
            super

            parse_markup(markup)

            @header = <<~'END'
              \begin{tikzpicture}
            END

            @footer = <<~'END'
              \end{tikzpicture}
            END
          end

Public Instance Methods

render(context) click to toggle source
Calls superclass method
# File lib/jekyll/latex/pdf/tikz/latex.rb, line 26
def render(context)
  nomarkdown_p(@header + super + @footer)
end