From fdaddb5c2a5481a35669e48e0d80a156b6458c7e Mon Sep 17 00:00:00 2001 From: Aditya Date: Mon, 22 Jun 2026 14:01:16 +0530 Subject: [PATCH] docs: add openrouter api key link to onboarding --- electron/onboarding.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/electron/onboarding.ts b/electron/onboarding.ts index 198e2f6..c06b8b7 100644 --- a/electron/onboarding.ts +++ b/electron/onboarding.ts @@ -26,7 +26,7 @@ export function initializeOnboarding(NOTES_DIR: string, COMMANDS_DIR: string) { writeCommandFile( 'markdown.md', - `# Markdown & Code\n\nPaperCache supports full markdown with seamless inline editing.\n\n## Highlighting\nSelect text and press \`Cmd+H\` to highlight it.\n*Example use:* ==This text is highlighted!==\n\n## Code Snippets\nYou can write code snippets inside triple backticks \`\`\` and specify the language name right after the backticks for syntax highlighting.\n*Example use:*\n\`\`\`javascript\nfunction greet(name) {\n return "Hello, " + name + "!";\n}\n\`\`\`\n*(Tip: Click the copy button in the top right of the code block to copy its contents!)*\n\n## Horizontal Rules\nType \`---\` on a new line to create a beautiful horizontal divider.\n*Example use:*\n\n---\n\n## Inline AI Assistance\nType \`/ai \` and press enter to summon an AI assistant directly into your document.\nYou can also type \`/ctx \` to automatically include the entire note's text in your prompt! AI responses are highlighted with a distinct background so you can easily distinguish them from your own writing.\n*Example use:*\n\`/ai Write a python function to reverse a string\`\n\nNext: [Formats & Colors](/file commands/formats.md)\n` + `# Markdown & Code\n\nPaperCache supports full markdown with seamless inline editing.\n\n## Highlighting\nSelect text and press \`Cmd+H\` to highlight it.\n*Example use:* ==This text is highlighted!==\n\n## Code Snippets\nYou can write code snippets inside triple backticks \`\`\` and specify the language name right after the backticks for syntax highlighting.\n*Example use:*\n\`\`\`javascript\nfunction greet(name) {\n return "Hello, " + name + "!";\n}\n\`\`\`\n*(Tip: Click the copy button in the top right of the code block to copy its contents!)*\n\n## Horizontal Rules\nType \`---\` on a new line to create a beautiful horizontal divider.\n*Example use:*\n\n---\n\n## Inline AI Assistance\nTo use the AI, first grab a free API key from [OpenRouter](https://openrouter.ai/keys) and paste it into Settings (\`Cmd+Shift+S\`).\n\nType \`/ai \` and press enter to summon an AI assistant directly into your document.\nYou can also type \`/ctx \` to automatically include the entire note's text in your prompt! AI responses are highlighted with a distinct background so you can easily distinguish them from your own writing.\n*Example use:*\n\`/ai Write a python function to reverse a string\`\n\nNext: [Formats & Colors](/file commands/formats.md)\n` ) writeCommandFile(