Parse and format Markdown tables. Args: content: Raw Markdown content as bytes Returns: Document with formatted table content
(self, content: bytes)
| 209 | self.table_helper = MarkdownTableUtil() |
| 210 | |
| 211 | def parse_into_text(self, content: bytes) -> Document: |
| 212 | """Parse and format Markdown tables. |
| 213 | |
| 214 | Args: |
| 215 | content: Raw Markdown content as bytes |
| 216 | |
| 217 | Returns: |
| 218 | Document with formatted table content |
| 219 | """ |
| 220 | # Decode bytes to string with automatic encoding detection |
| 221 | text = endecode.decode_bytes(content) |
| 222 | # Format all tables in the content |
| 223 | text = self.table_helper.format_table(text) |
| 224 | return Document(content=text) |
| 225 | |
| 226 | |
| 227 | class MarkdownImageUtil: |
nothing calls this directly
no test coverage detected