-
{title}
-
-
- Page {args.page}
-
-{paragraphs_html}
-{list_html}
-{footer_html}
-
-
-'''
-
- return html_content
-
-
-def create_markdown_document(image_path, doctags_text, args):
- """Create Markdown document from DocTags."""
- print("Creating Markdown document...")
-
- # Get filename for document title
- doc_name = Path(image_path).stem
-
- # Extract content from doctags
- title_match = re.search(r'