Module: Kramdown::PlantUml::ConverterExtension

Defined in:
lib/kramdown-plantuml/converter_extension.rb

Overview

Plugs into Kramdown::Converter::Html to provide conversion of PlantUML markup into beautiful SVG.

Instance Method Summary collapse

Instance Method Details

#convert_codeblock(element, indent) ⇒ Object



8
9
10
11
12
# File 'lib/kramdown-plantuml/converter_extension.rb', line 8

def convert_codeblock(element, indent)
  return super(element, indent) unless plantuml? element

  convert_plantuml(element.value)
end