Skip to content

Example: Mixed overrides

This page is closer to a realistic per-page setup: it scopes the prompt to a specific product, renames the trigger button, hides the PDF item, drops ChatGPT from the submenu, and gives Cursor its own coding-focused prompt.

this page's frontmatter
---
title: 'Example: Mixed overrides'
llmActions:
prompt: 'You are reading the Acme Edge networking docs. Page: {md_url}'
triggerLabel: 'Open this guide'
actions:
printPdf: false
openIn:
providers:
chatgpt: false
cursor:
prompt: 'Scaffold a new Acme Edge integration based on this page.'
---
  • The dropdown’s trigger button reads Open this guide.
  • The dropdown has no Download as PDF item.
  • The Open in… submenu is missing ChatGPT.
  • Clicking Cursor sends the SDK-scaffolding prompt.
  • Clicking any other provider sends the Acme Edge prompt.

Each override is independent. Mix and match — page-level prompt plus per-provider prompt plus action toggles all coexist, with the four-layer precedence rule deciding the prompt sent to each provider.

If a particular combination doesn’t behave as you expect, file an issue with your frontmatter — the merge has unit tests for the documented precedence rules but new combinations are always worth verifying.