Documentation Index
Fetch the complete documentation index at: https://docs.yamuno.com/llms.txt
Use this file to discover all available pages before exploring further.
Security & CSP
HTML Macro for Confluence uses Content Security Policy (CSP) to control what external resources can load inside the macro iframe. Admins configure the security mode from Confluence Settings → HTML Macro → Security.Security Modes
Block All (default)
No external resources load. Only inline HTML, CSS, and JavaScript run. This is the most secure mode and the default for new installations. Best for: Internal widgets, styled text, and custom layouts that don’t need external libraries.Whitelist
Only domains explicitly added to the whitelist can serve resources. All other external URLs are blocked by the browser’s CSP enforcement. Best for: Controlled use of specific CDN libraries or external APIs. To add a domain:- Go to Confluence Settings → HTML Macro → Security
- Set mode to Whitelist
- Click Add domain
- Enter the domain (e.g.
cdn.jsdelivr.net) - Save
Allow All
Any external URL can load resources. No CSP restrictions are applied. Best for: Trusted internal Confluence instances where all editors are vetted. Not recommended for public-facing or externally accessible Confluence instances.Common Domains to Whitelist
| Library | Domain to whitelist |
|---|---|
| Chart.js | cdn.jsdelivr.net |
| Google Fonts | fonts.googleapis.com, fonts.gstatic.com |
| YouTube embeds | www.youtube.com |
| Google Maps | maps.googleapis.com |
| D3.js | cdn.jsdelivr.net |
| Mermaid diagrams | cdn.jsdelivr.net |
