Class Markdown

java.lang.Object
io.swagger.codegen.v3.utils.Markdown

public class Markdown extends Object
Utility class to convert Markdown (CommonMark) to HTML. This class is threadsafe.
  • Constructor Details

    • Markdown

      public Markdown()
  • Method Details

    • toHtml

      public String toHtml(String markdown)
      Convert input markdown text to HTML. Simple text is not wrapped in

      ...

      .
      Parameters:
      markdown - text with Markdown styles. If null, "" is returned.
      Returns:
      HTML rendering from the Markdown