MCPcopy Create free account
hub / github.com/Tencent/WeKnora / MarkdownParser

Class MarkdownParser

docreader/parser/markdown_parser.py:440–451  ·  view source on GitHub ↗

Complete Markdown parser using pipeline approach. This parser processes Markdown content through multiple stages: 1. MarkdownTableFormatter: Standardizes table formatting 2. MarkdownImageBase64: Extracts and uploads base64 images The pipeline ensures that content flows through each

Source from the content-addressed store, hash-verified

438
439
440class MarkdownParser(PipelineParser):
441 """Complete Markdown parser using pipeline approach.
442
443 This parser processes Markdown content through multiple stages:
444 1. MarkdownTableFormatter: Standardizes table formatting
445 2. MarkdownImageBase64: Extracts and uploads base64 images
446
447 The pipeline ensures that content flows through each parser in sequence,
448 with each stage's output becoming the next stage's input.
449 """
450
451 _parser_cls = (MarkdownTableFormatter, MarkdownImageBase64)
452
453
454if __name__ == "__main__":

Callers 1

markdown_parser.pyFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected