Lineform Feature Showcase
A hands-on tour of the seven features added on 2026-07-18. Open this in Read or Preview mode to see it rendered — most of the new visuals only appear there. Switch modes fast with ⌘E (Write ↔ Read).
G · View-mode toggle (⌘E)
Press ⌘E right now. It flips between Write and Read. From Split it lands in Write. Split itself stays on the toolbar. That's the whole feature — a fast, one-key way to move between editing and reading.
C · Code syntax highlighting + copy button
In Read / Preview each fenced block is colourized by a native tokenizer, and a Copy pill appears in the top-right when you hover. Try hovering one. Unknown languages stay plain monospace but still get the copy button.
Swift
// A small greeting type
struct Greeter {
let name: String
func hello() -> String {
let count = 3
return "Hello, \(name)! " + String(repeating: "👋", count: count)
}
}
JavaScript / TypeScript
// Debounce a function by `ms` milliseconds
function debounce<T>(fn: (arg: T) => void, ms: number = 250) {
let timer: number | undefined
return (arg: T) => {
clearTimeout(timer)
timer = setTimeout(() => fn(arg), ms)
}
}
Python
# Fibonacci up to n
def fib(n: int) -> list[int]:
seq = [0, 1]
while seq[-1] < n:
seq.append(seq[-1] + seq[-2]) # running sum
return seq
JSON
{
"app": "Lineform",
"version": "1.2.0",
"features": ["callouts", "images", "read-aloud"],
"aiInside": false
}
Bash
# Package a release build
set -euo pipefail
VERSION="1.2.0"
echo "Building Lineform ${VERSION}…"
xcodebuild -scheme Lineform -destination 'platform=macOS' build
HTML
<!-- A minimal card -->
<article class="card">
<h2>Calm writing</h2>
<p>Real files. No cloud. <strong>No AI inside.</strong></p>
</article>
CSS
/* Quiet, readable body text */
.prose {
max-width: 65ch;
line-height: 1.6;
color: #23201c; /* warm near-black */
}
B · Callouts / admonitions
These render as a monochrome title row (an icon + label, no colour) over the quoted body. All five GitHub types:
This is a note. Use it for neutral, useful context while reading.
You can give a callout a custom title, like this: > [!TIP] Pro move.
Callouts are plain text — they degrade to an ordinary blockquote in any other editor.
An unrecognized type such as [!FOO] just renders as a normal blockquote.
Nothing here touches the network or a database. It's all in the file.
A · Inline local image rendering + Reconnect
An image alone on its own line with a local path renders the real picture in Read/Preview — block-only, left-aligned (like a diagram), never wider than the column and capped in height so a tall photo can't take over the page.
If that file isn't next to this document, you'll see the 🖼 placeholder with a "Reconnect" pill instead — click it, pick any local image, and Lineform rewrites the link for you. Try it: it's the intended way to fix a moved or shared image. (Remote http://… images are never downloaded — they always stay a placeholder.)
A broken/missing image shows the placeholder with a Reconnect pill:
An image inside a sentence stays a placeholder on purpose — images are block-only.
D · RTF export · F · PDF styles
These live in the menus, not the page:
- File ▸ Export As ▸ Rich Text (RTF)… — hand this document to someone on Word/Pages/Google Docs.
- File ▸ Export As ▸ PDF… — plain markdown source, shows
#and**as typed. - File ▸ Export As ▸ Styled PDF… — rendered like Read mode, with images, tables, math, and diagrams. ⌘P (Print) always renders like Read mode too.
Export this very document as PDF vs Styled PDF to see the plain-source and rendered looks side by side.
E · Read-aloud
Open Edit ▸ Speech ▸ Start Speaking. Lineform reads the rendered text aloud — it says "Hello" and this sentence, but it skips the code blocks, math, and diagrams below, and never reads the # or * symbols. Select a paragraph first to have it read only that.
Everything still works too
A quick regression tour — these all predate today and should render as before.
Tables
| Feature | Mode | Ships in export |
|---|---|---|
| Code highlighting | Read / Preview | Monochrome |
| Callouts | Read / Preview | Yes |
| Local images | Read / Preview | Placeholder (v1) |
Task list
- ☑ Design specs written
- ☑ Built task-by-task with review
- ☑ Merged to main
- ☑ Your manual QA pass
Math
Inline math like \(E = mc^2\) and a display block:
Mermaid
Blockquote & emphasis
Plain blockquotes still look like plain blockquotes — bold, italic,inline code, andstrikethroughall render normally.