Class MarkdownParser

    • Field Detail

      • PEGDOWN_PROCESSOR

        protected static final org.pegdown.PegDownProcessor PEGDOWN_PROCESSOR
        The PegDownProcessor used to convert Pegdown documents to HTML.
    • Constructor Detail

      • MarkdownParser

        public MarkdownParser()
    • Method Detail

      • parse

        public void parse​(java.io.Reader source,
                          Sink sink)
                   throws ParseException
        Description copied from interface: Parser
        Parses the given source model and emits Doxia events into the given sink.
        Parameters:
        source - not null reader that provides the source document. You could use newReader methods from ReaderFactory.
        sink - A sink that consumes the Doxia events.
        Throws:
        ParseException - if the model could not be parsed.
      • isHtmlComment

        public static boolean isHtmlComment​(org.pegdown.ast.Node node)
      • nodeText

        public static java.lang.String nodeText​(org.pegdown.ast.Node node)