MilkpadEdit markdown in a WYSIWYG way, powered by milkdown.
Why MilkpadI built this while writing the context files and instructions for my autoresearch lab, which left me with a web of It did not fit the way I work. I am on a 13-inch screen, and most of the time I have several windows side by side — the markdown file next to a terminal, which is how the lab gets written. Upstream keeps such wide margins down the sides that the editor is unreadable in a pane that size. I do not want the wider window either: in a narrow column more of what I have already written stays in view, and that is how I backtrack while thinking. So this fork is the visual layer, re-cut for a narrow pane: sizing dials in place of a single zoom, tighter gutters, the block handle stacked so it costs one button of width instead of two, and left and right padding set separately rather than as one measurement. The editor underneath is upstream's, unchanged, and the raw HTML rendering described below is this fork's own. It is my default markdown editor right now, and I enjoy writing in it. It is an early version and I have not gone into all that much detail yet — I have found a few mistakes already and fixed them, and I am sure there are more I have not discovered. Try it and tell me what breaks, or what you would want it to do. I am open to pull requests. InstallSearch for Milkpad in the VS Code Marketplace, or in the Extensions view ( Features
Usage:
Feature List
Raw HTMLHTML written in a markdown file renders as markup instead of as visible tags, so an avatar strip like the one in Credits is a picture rather than a line of
Known limit: a Search
The widget searches what is on screen rather than the file's bytes, so markdown syntax is not there to find — This is the one place Milkpad works and upstream does not: Milkdown VSCode leaves the panel's SavingSaving writes the whole document back, so a few things come out in the editor's own style rather than yours:
Everything else is written back as you typed it — words, numbers, links, headings, tables, code, maths and raw HTML. Note that these are the writer's habits rather than a choice per file: bullets come out as Set as DefaultIf you want to use Milkpad as your default markdown editor, you can add this config into your settings:
CreditsMilkpad is a fork of Milkdown VSCode, maintained by Nino Kroesen — ninokroesen.com, @Vultwo. All editor functionality comes from the upstream project and the Milkdown editor it is built on; the work in this fork is the raw HTML rendering and document search described above, the packaging, and the branding. Upstream authors, without whom none of this exists: LicenseMIT, keeping the upstream copyright notice. See LICENSE. |
