diff --git a/ai/contextual-menu.mdx b/ai/contextual-menu.mdx index cf094d83c..4f342e1f2 100644 --- a/ai/contextual-menu.mdx +++ b/ai/contextual-menu.mdx @@ -84,28 +84,22 @@ Create custom options in the contextual menu by adding an object to the `options Example custom option: -```json {8-21} -"contextual": { - "options": [ - "copy", - "view", - "chatgpt", - "claude", - "perplexity", - { - "title": "Ask Gemini", - "description": "Ask Google Gemini about the current page", - "icon": "sparkle", - "href": { - "base": "https://gemini.google.com/app", - "query": [ - { - "key": "q", - "value": "Ask question about https://mintlify.com/docs$path.md" - } +```json {9-14} wrap +{ + "contextual": { + "options": [ + "copy", + "view", + "chatgpt", + "claude", + "perplexity", + { + "title": "Request a feature", + "description": "Join the discussion on GitHub to request a new feature", + "icon": "plus", + "href": "https://github.com/orgs/mintlify/discussions/categories/feature-requests" + } ] - } } - ] } ```