Links
Attach a clickable target to a text span in any text element (p, th, td, h1–h5). The span becomes a hot region in PDF output.
External hyperlink
[link, URL] opens a URL in the user's browser when clicked.
{ "p": "Visit [link, https://example.com]our website[/link] for details." }
Example: email link
{ "p": "Contact us at [link, mailto:support@meridian.com][fontcolor, #0066CC][u]support@meridian.com[/u][/fontcolor][/link]" }
Example: styled link in a footer
{ "p": "[fontsize, 8][fontcolor, #0066CC][link, https://meridian.com/privacy]Privacy Policy[/link][/fontcolor][/fontsize]" }
The URL accepts any scheme the PDF viewer supports — https, http, mailto, tel, etc.
Internal navigation
[goto, destination] jumps to a named destination within the same PDF. Named destinations are auto-generated by the table-of-contents engine and by heading content; reference them by name.
{ "p": "Jump to [goto, toc-dest-0]the introduction[/goto] or back to the [goto, toc-dest-3]appendix[/goto]." }
The destination name must match a target that exists in the document. Unmatched destinations resolve to no-op (the click does nothing) without breaking the render.
Combining with formatting
Link and goto compose with typography and color tags to create styled clickable text:
{ "p": "[link, https://docs.example.com][b][fontcolor, #0066CC]API Documentation[/fontcolor][/b][/link]" }
{ "p": "Read the [link, https://example.com/terms][u]terms of service[/u][/link] before proceeding." }
Output format
[link] and [goto] render clickable hot regions in PDF output. In DOCX output the wrapped text appears in place as plain text without the click target attached.