Replies: 1 comment
-
|
Hi @njlr! I'm Dosu and I’m helping the docling team. The Docling CLI doesn't currently expose a page break option for markdown export. However, the Python API supports this via the from docling import DocumentConverter
converter = DocumentConverter()
result = converter.convert("your_document.pdf")
doc = result.document
# Export with custom page break delimiter
md = doc.export_to_markdown(page_break_placeholder="\n\n---\n\n")You can use any string you want as the placeholder (e.g., If CLI support for this option would be useful, it might be worth opening a feature request to add a To reply, just mention @dosu. How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Using the Docling CLI to produce markdown, is it possible to include page breaks?
Since there is no standard for page breaks in markdown, can it be configured?
Beta Was this translation helpful? Give feedback.
All reactions