Class MarkdownConverter
java.lang.Object
org.concordion.internal.parser.flexmark.MarkdownConverter
- All Implemented Interfaces:
SpecificationConverter
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionconvert
(InputStream inputStream, String specificationName) Convert the specification's input stream to an HTML input stream.void
withFlexmarkOptions
(com.vladsch.flexmark.util.data.DataSet flexmarkOptions) void
withNamespaceDeclarations
(Map<String, String> namespaces) void
withPegdownExtensions
(int extensions)
-
Constructor Details
-
MarkdownConverter
public MarkdownConverter()
-
-
Method Details
-
convert
Description copied from interface:SpecificationConverter
Convert the specification's input stream to an HTML input stream.- Specified by:
convert
in interfaceSpecificationConverter
- Parameters:
inputStream
- the input stream containing the content of the specificationspecificationName
- 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
-
withFlexmarkOptions
public void withFlexmarkOptions(com.vladsch.flexmark.util.data.DataSet flexmarkOptions)
-