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
| 438 | |
| 439 | |
| 440 | class 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 | |
| 454 | if __name__ == "__main__": |