Code & diagrams
Fenced blocks render where you wrote them
Tag a fence with Swift, Python, TypeScript, Rust, Go or a dozen other languages and it gets highlighted. Tag it mermaid and the fence draws the diagram it describes. The file on disk keeps the text you typed, so any other editor opens it fine.
Double-click a diagram to see it full screen. Its menu copies it as an image, saves it as SVG or PNG, or opens the source for editing. Pick the clean Modern style or the hand-drawn Sketch style in Settings. A .mmd file opens as a document of its own, source and picture in one window.
