@Singleton @Named(value="markdown") public class MarkdownParser extends org.apache.maven.doxia.parser.AbstractTextParser implements org.apache.maven.doxia.markup.TextMarkup
Implementation of Parser
for Markdown documents.
Defers effective parsing to the flexmark-java library, which generates HTML content then delegates parsing of this content to a slightly modified Doxia Xhtml5 parser. (before 1.8, the PegDown library was used)
Modifier and Type | Class and Description |
---|---|
static class |
MarkdownParser.MarkdownHtmlParser
Internal parser for HTML generated by the Markdown library.
|
Constructor and Description |
---|
MarkdownParser() |
Modifier and Type | Method and Description |
---|---|
void |
parse(Reader source,
org.apache.maven.doxia.sink.Sink sink,
String reference) |
addSinkWrapperFactory, doxiaVersion, executeMacro, getBasedir, getMacroManager, getSinkWrapperFactories, getWrappedSink, init, isEmitAnchorsForIndexableEntries, isEmitComments, isSecondParsing, parse, parse, parse, setEmitAnchorsForIndexableEntries, setEmitComments, setSecondParsing
public MarkdownParser()
Copyright © 2005–2024 The Apache Software Foundation. All rights reserved.