
NETTRASH.md
Markdown Editor
About
What's New in NETTRASH.md
1.4
August 30, 2026
Version 1.4 — plot a function in a fence, and every document opens the way you left it. PLOTS • A fenced block tagged plot is now drawn as a chart. Write one line per curve — sin(x), or envelope = exp(-abs(x)/5) to give it a name for the legend — and any number of them share the figure, each in its own colour. • Functions of x, parametric curves written (cos(t), sin(t)) for t in 0..2*pi, and points you type in yourself with points: 0,0 1,2 2,1. • x: and y: set the window, and y fits itself to the curve unless you say otherwise. title, xlabel, ylabel, legend, grid, axes, width, height and samples set the rest. • The usual arithmetic and comparisons, the constants pi and e, and the functions you would expect: sin cos tan asin acos atan sinh cosh tanh asinh acosh atanh sqrt cbrt abs exp exp2 ln log2 log10 floor ceil round atan2 pow hypot. • md draws the figure itself, in code. No engine sits behind it and there is nothing to fetch or wait for: it added nothing at all to what the app carries, where each of the diagram languages beside it — Mermaid, Graphviz and PlantUML — is an engine of several megabytes built in. • The drawing is a real vector, and it goes wherever the page goes — the preview, print, an exported PDF, an exported HTML page, Export Diagram as SVG, and an exported EPUB, where a plot stays a vector rather than becoming a picture of one, as the other figures still do. A LaTeX export keeps the block's source under a comment, the same treatment the other diagram languages get, so there is no chart in the .tex file. • A block that cannot be read never leaves a hole in the page: one plot: line says what is wrong, with your own text still under it. OPENS THE WAY YOU LEFT IT • md now remembers, for each file, which layout you last used for it — Edit, Preview, or Split on iPad — and opens it there next time. Something you keep coming back to read stays a reading page; something you are writing stays a writing page. • The last 200 documents you opened are remembered, on this device. Nothing is sent anywhere, and nothing in the file itself changes: rename or move it outside md and it simply starts fresh. • A new document, or an empty one, opens in Edit. A document md has not seen before opens in Split on iPad, exactly as before; on iPhone, where there is only ever one pane, it now opens in Preview, and Edit is one tap away. • Books are left out of this on purpose: a book keeps one layout throughout, so stepping from one chapter to the next never changes the view under you.
More







