The PDF parser already extracts link annotations from pages (/Annots with /Subtype /Link) and creates ItemType::Link items with the target URL.
However, these items are separated out during markdown conversion and never used — the visible text under a link annotation renders as plain text with no [text](url) markup.
For example, a PDF with "Visit our site" hyperlinked to https://example.com currently outputs: Visit our site
Expected: [Visit our site](https://example.com)
The MarkdownOptions.include_links flag exists and defaults to true, but has no effect since the link items are discarded before rendering.
The PDF parser already extracts link annotations from pages (
/Annotswith/Subtype/Link) and createsItemType::Linkitems with the target URL.However, these items are separated out during markdown conversion and never used — the visible text under a link annotation renders as plain text with no
[text](url)markup.For example, a PDF with "Visit our site" hyperlinked to https://example.com currently outputs:
Visit our siteExpected:
[Visit our site](https://example.com)The
MarkdownOptions.include_linksflag exists and defaults totrue, but has no effect since the link items are discarded before rendering.