Class MarkdownConverter

java.lang.Object
org.concordion.internal.parser.flexmark.MarkdownConverter
All Implemented Interfaces:
SpecificationConverter

public class MarkdownConverter extends Object implements SpecificationConverter
  • Constructor Details

    • MarkdownConverter

      public MarkdownConverter()
  • Method Details

    • convert

      public InputStream convert(InputStream inputStream, String specificationName) throws IOException
      Description copied from interface: SpecificationConverter
      Convert the specification's input stream to an HTML input stream.
      Specified by:
      convert in interface SpecificationConverter
      Parameters:
      inputStream - the input stream containing the content of the specification
      specificationName - the filename of the specification (without the path)
      Returns:
      converted specification content
      Throws:
      IOException - on i/o error
    • withPegdownExtensions

      public void withPegdownExtensions(int extensions)
    • withNamespaceDeclarations

      public void withNamespaceDeclarations(Map<String,String> namespaces)
    • withFlexmarkOptions

      public void withFlexmarkOptions(com.vladsch.flexmark.util.data.DataSet flexmarkOptions)