Started a new project called Margen, a markdown note editor for
university notes. The idea came from wanting a clean, offline place to
write notes with formulas, without the bloat of Notion or the
online-only dependency of most editors.
Beta 1 is the basics. A three-column layout: sidebar with the list of
notes, editor pane with a monospace textarea, and a live preview pane
that renders markdown as you type. The markdown parser is written from
scratch, no marked.js or any library, just a chain of regex replaces
handling headers, bold, italic, lists, code blocks, inline code, links,
images, blockquotes and horizontal rules.
The design is “digital typewriter”: white background, serif typography
for the rendered content, monospace for the raw editor, thin dividing
lines instead of cards or shadows. The aesthetic is deliberately calm
and distraction-free, like iA Writer or Bear.
Notes auto-save to localStorage 400ms after you stop typing. There is
also a Ctrl+S shortcut for manual save. The sidebar shows title, first
line preview and relative date for each note, and filters instantly as
you type in the search bar.
Next version will add subjects (folders), tags, and better organization.