Class AsciiDocToSvg
java.lang.Object
pro.verron.asciidoc.converters.AsciiDocToSvg
Converts an AsciiDocModel into an SVG document simulating an editor
interface.
The theme is read from the model attribute "theme". Supported
values are "word", "gdocs", and "libre".
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapply(AsciiDocModel model) Converts the given AsciiDoc model into an SVG document simulating an editor interface.
-
Constructor Details
-
AsciiDocToSvg
public AsciiDocToSvg()Constructs a newAsciiDocToSvgconverter.
-
-
Method Details
-
apply
Converts the given AsciiDoc model into an SVG document simulating an editor interface.- Parameters:
model- the parsed AsciiDoc model- Returns:
- the SVG document as an XML string
-