Quick start

  1. 1Sign up or sign in from the navbar.
  2. 2Open Workspace (/notes) and click Create note, or go directly to /notes/create.
  3. 3Add a title, write the body in the rich-text editor, optionally add tags, pick a snippet language, and paste code.
  4. 4Save — your note appears on the workspace dashboard and in the full library at /notes/all.

What is Code Notebook?

Code Notebook is a developer notebook for capturing how you solved something: a title, a rich-text explanation, optional tags, and an optional code snippet with syntax highlighting.

Everything is private to your account. Notes sync to the cloud so your library is available whenever you sign back in.

Workspace vs full library

The workspace (/notes) is your dashboard — recent notes and shortcuts to create or open the full library.

All notes (/notes/all) is the paginated grid with search, tag filters, and per-card actions.

The basics

What goes in a note, tags, and search.

What goes in a note

Every note has four main parts: title, rich-text body, optional tags, and an optional code snippet with a language.

Create and edit use the same layout: note details and body at the top, code snippet in the middle, and an AI Explanation section below after you click Explain.

Pro tips

  • Use the title for how you'd search later — e.g. "JWT verify helper" or "Postgres index tip".
  • Put the why in the body and the how in the code snippet.
  • Tags are short labels like react, sql, or interview.

Rich-text body

The content field supports headings, bullet and numbered lists, links, tables, and inline code. Use it for steps, context, links to docs, or interview takeaways.

Code snippet

Pick from 35+ languages in a grouped dropdown — Essentials, Systems & backend, Data & APIs, Web, DevOps, and more.

Every snippet panel includes a Copy button that puts the code on your clipboard and shows "Copied!" for two seconds.

Pro tips

  • The language picker sets syntax highlighting for your snippet.
  • Leave the snippet empty if the note is prose-only.
  • Click Explain in the snippet toolbar to get an AI walkthrough of the code (signed-in users).

Tags

Add tags when creating or editing a note — press Enter or comma after each one. Click × on a badge to remove a tag before saving.

Tags appear as badges on your note cards in the library.

Filter by tag

When your notes have tags, a filter bar appears below search with an All chip and one chip per unique tag.

Click a tag to show only matching notes; click again or choose All to clear the filter.

Card actions

Each note card has a menu with View, Edit, and Delete options.

Opening a note

Note view shows your formatted body text and code snippet in read-only mode, plus the created date and language badge.

Use Edit note to jump back to editing or Library to return to the grid.

Power features

AI explain, copy flows, public links, and keyboard navigation.

AI explain

Every snippet panel on create, edit, and read view includes an Explain button in the toolbar (next to Copy). It streams a plain-English explanation powered by AI.

Output appears in the AI Explanation section below the code — two short paragraphs plus a Worth knowing list. Code terms render as purple inline chips (e.g. useMemo, flatMap).

On read view and edit, explanations are saved to the note when streaming finishes. They reload automatically next time you open the note. Use Clear to remove and save an empty explanation.

On create, explanations are temporary until you save the note — open the saved note and click Explain again to keep it.

You can run up to 10 explain requests per hour while signed in.

Pro tips

  • Works best on focused snippets — keep the panel to the code you want explained.
  • Click Explain again to regenerate; on read/edit this overwrites the saved explanation.
  • The AI explanation always appears below your code snippet.
  • Public share pages do not show Explain or saved AI explanations — viewers see title, body, and snippet only.

Copy raw code

The Copy button on every snippet panel writes the raw snippet text to your clipboard. It works on create, edit, and read views.

Copy screenshot

On read view only, Copy screenshot captures a syntax-highlighted PNG of the full snippet — useful for Slack, Notion, or tickets where you want colors preserved.

If clipboard image paste is unavailable in your browser, the capture may download instead.

Command palette (Cmd+K)

When signed in, press Cmd+K (Mac) or Ctrl+K (Windows/Linux) anywhere in the app to open the command palette.

Search notes by title and tags, or run actions: New note, Open workspace, Open library.

Pro tips

  • Notes are sorted by most recently updated.
  • Arrow keys to navigate, Enter to open, Esc to close.

VS Code extension

Install, authenticate, and save snippets from the editor.

Install the extension

Install Code Notebook from the VS Code Marketplace first — then connect it with an API key from the web app.

  1. 1Open VS Code and click Extensions in the left sidebar (or press Ctrl+Shift+X on Windows/Linux, Cmd+Shift+X on Mac).
  2. 2Search for Code Notebook. Pick the extension published by Code Notebook — it should match the screenshot below.
    VS Code Extensions view showing Code Notebook with publisher Code Notebook and an Install button
    Look for Code Notebook by publisher Code Notebook — then click Install.
  3. 3Click Install and wait until it finishes. You can leave Auto Update on.

API key setup

The extension uses an API key — not your browser sign-in. Create a key in the web app, then paste it into VS Code.

  1. 1Sign in to Code Notebook in your browser. Open Settings from the avatar menu (top right) or the Settings link in the navbar.
  2. 2Under API keys, click Create key and give it a name you'll recognize (e.g. VS Code laptop).
  3. 3Copy the key immediately — it is only shown once. Keep it handy for the next step.
  4. 4In VS Code, open Settings (gear icon → Settings, or Ctrl+, / Cmd+,). Search code notebook and paste your key into Code Notebook: Api Key — see the screenshot below.
    VS Code Settings page with Code Notebook Api Key field after searching code notebook
    Search code notebook in VS Code Settings → paste your key in Code Notebook: Api Key.
  5. 5Select code in a file, right-click → Save to Code Notebook, enter a title, and check that the note appears in your workspace.

Pro tips

  • Revoke keys anytime from Settings → API keys → Delete.
  • If saving fails, check your key is correct or create a new one in Settings.

Account & security

Sign-in, privacy, and API keys for VS Code.

Authentication

Sign in or sign up from the navbar to access your workspace and manage notes in the web app.

Notes are private to your account by default.

API keys (Settings)

Settings lets signed-in users create, list, and revoke API keys for the VS Code extension.

Each key has a label and creation date. The full key is shown only once when you create it — copy it to your password manager or VS Code settings right away.

  1. 1Sign in and open Settings from the navbar or avatar menu.
  2. 2Enter a name and click Create key.
  3. 3Copy the key when shown — you cannot view it again.
  4. 4Paste the key into the Code Notebook extension settings in VS Code.
  5. 5Delete a key anytime to revoke it — create a new one if you need to reconnect.

Frequently asked questions

Quick answers before you get started.

Can I use Code Notebook without code snippets?

Yes. Leave the code snippet empty and use title, body, and tags only.

Are my notes public?

No — notes are private by default. Enable Make this note public when creating or editing a note to share a read-only link; turn it off anytime to revoke access.

How does AI explain work?

Click Explain on any snippet panel. It streams a plain-English summary into the AI Explanation section below the code. On read and edit views, the result is saved to the note; on create it is temporary until you save the note.

Is there a keyboard shortcut for navigation?

Yes. Press Cmd+K or Ctrl+K when signed in to open the command palette — search notes or jump to workspace, library, or create.

How do I connect VS Code?
  1. Open VS Code → Extensions (Ctrl+Shift+X on Windows/Linux, Cmd+Shift+X on Mac) and search Code Notebook. Install the extension published by Code Notebook.
  2. Sign in to Code Notebook in your browser. Open Settings from the avatar menu or navbar → API keys → Create key. Copy the key immediately — it is only shown once.
  3. In VS Code, open Settings (Ctrl+, / Cmd+,), search code notebook, and paste your key into Code Notebook: Api Key.
  4. Select code in a file, right-click → Save to Code Notebook, enter a title, and check that the note appears in your workspace.
I lost my API key — can I view it again?

No. Keys are shown only once when you create them. Revoke the old key in Settings and create a new one.

What happens if I delete a note?

Delete is permanent after confirmation.

Why don't I see the tag filter bar?

The filter bar appears once at least one note in your library has tags.

Ready to capture how you solved it?

Free to start — rich text, code snippets, tags, search, and copy in one workspace.