Chrome extension/Productivity/Working

Notes Panel

A Markdown notes side panel with explicit saves, a file history and an editable rendered preview.

Built with
  • JavaScript
  • Side Panel API
  • chrome.storage
Runs as
Side panel · Context menu
Status · v2.0.0
Plain JavaScript with no build step; loads unpacked as-is.

§ 01

What it is

A notebook that lives in Chrome's side panel, next to whatever you are reading. Write in Markdown, flip to a rendered view, and save snapshots to a history you can reopen.

The problem

Quick notes taken while browsing end up in a separate app or a scratch tab that gets closed.

§ 02

Screenshot

Notes Panel showing a note titled Release checklist rendered as Markdown with a list, a quote and a code block
A note in rendered preview mode.

Real screenshots of the extension's own interface; some show sample content.

§ 03

How it works

  1. 01

    Click the toolbar icon to open the side panel, or right-click selected text and choose "Send selection to Notebook".

  2. 02

    Type in Markdown. The draft is kept locally so a reload or a closed panel does not lose it.

  3. 03

    Click the logo to switch between the editor and a rendered preview. The preview is editable too, and edits there are turned back into Markdown.

  4. 04

    Save adds the note to history as a new file; saving identical content again is detected and skipped. Reopen or delete saved files from the history panel.

§ 04

Key features

  • Markdown headings, bold and italic, inline and fenced code, links, quotes and lists.
  • Editable preview that converts back to Markdown.
  • Saved-file history with reopen and delete; duplicate saves are skipped.
  • Word count, light and dark themes.

§ 05

Technical implementation

A two-way Markdown converter with no dependencies

markdown.js renders Markdown to HTML, escaping all text before adding markup, and serializes hand-edited preview HTML back to Markdown.

Deliberately simpler than v1

Version 1 synced every keystroke between open panels through a background port relay. Version 2 removed that in favour of explicit saves, and the background worker now only opens the panel.

§ 06

Permissions & browser APIs

sidePanel
Shows the notebook in Chrome's side panel.
storage
Keeps the draft and the saved history.
contextMenus
Adds "Send selection to Notebook".