Skip to content

Example: No PDF on this page

This site has printPdf: true in its global config (see docs/astro.config.mjs), so the Download as PDF item appears on every page — except this one.

this page's frontmatter
---
title: 'Example: No PDF on this page'
llmActions:
actions:
printPdf: false
---
  • The dropdown above does not include a Download as PDF item.
  • Visit any other page on this site (e.g. Install) and Download as PDF is back.
  • Pages that don’t print well: interactive widgets, live demos, or long index pages where a PDF export would be confusing.
  • Pages with content that shouldn’t be archived offline (e.g. live status dashboards or pages whose value depends on freshness).

Note: hiding the dropdown’s PDF button doesn’t prevent users from printing via Cmd/Ctrl+P. To prevent printing entirely, scope the page’s CSS with a @media print { display: none } rule on the body — out of scope for this plugin.