Brett on 23 Sep, 2015 02:25 PM
This is a good question. When Marked creates a paginated PDF, it uses
the WebKit print system. As far as I can see, the attribute tags on
links are not converted to anything useful in the output PDF. I'd be
happy to work on a conversion system if there were a markup solution
that would solve this, but I can't find evidence of any way to actually
do it. I can use CSS to actually include the text in the output, but not
as the invisible-but-accessible tags you'd get when using Acrobat, etc.
If you know of any references for this, I'd welcome the info. I'm
considering a more ground-up PDF engine in the future (after I finish
the updated RTF export), that would allow me to build the PDF with
templates. Currently, though, it's based on the same system you'd have
if you printed from Safari.