Mermaid to PDF Without Screenshots
Most converters screenshot your diagram. Here is what that costs, and how to tell whether a PDF will survive zooming, printing and a failed render.
MarkdownGo Blog
Run the free check first — it applies the same preflight as the PDF/UA export, so you see what would fail before you spend a conversion.