Class ToMarkdownContentHandler

  • All Implemented Interfaces:
    ContentHandler, DTDHandler, EntityResolver, ErrorHandler

    public class ToMarkdownContentHandler
    extends DefaultHandler
    SAX event handler that writes content as Markdown. Supports headings, paragraphs, bold, italic, links, images, lists (ordered and unordered, including nested), tables (GFM pipe tables), code blocks, inline code, blockquotes, horizontal rules, and definition lists.

    Content within <script> and <style> tags is ignored.

    Since:
    Apache Tika 3.2