Package io.swagger.codegen.v3.utils
Class Markdown
java.lang.Object
io.swagger.codegen.v3.utils.Markdown
Utility class to convert Markdown (CommonMark) to HTML.
This class is threadsafe.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Markdown
public Markdown()
-
-
Method Details
-
toHtml
Convert input markdown text to HTML. Simple text is not wrapped in...
.- Parameters:
markdown- text with Markdown styles. Ifnull,""is returned.- Returns:
- HTML rendering from the Markdown
-