All articles
Inside Textend10 min read

What Textend learned from Typora and iA Writer

We learned from Typora’s mature editing experience and iA Writer’s focus design, while taking our own text-based implementation route: edit Markdown directly, handle structural details in depth, preserve existing source where possible, and build in-place AI collaboration on that foundation.

Two paper ribbons join an open book with a lavender spine.

Bring established writing strengths into one product

We studied Typora and iA Writer while developing Textend. Typora provided a reference for a mature Markdown editor as a whole: live editing backed by careful handling of hierarchy, input, selection, and revision. iA Writer sharpened our attention to focus, writing position, and restraint. Those product experiences informed the editing quality we aimed for; we built the implementation along our own route.

Textend is first a Markdown editor with a complete set of core editing capabilities. Direct writing, structural editing, source editing, local saving, and export form its foundation. Sentence and paragraph focus and typewriter mode support sustained writing. AI discussion and review then connect to the draft on that foundation.

These capabilities share a document and need to hold up through repeated input, reorganization, and reversal. We want authors to have an editor they can rely on over time: solid everyday actions, comfortable work on complex structure, and collaboration when help is wanted.

Learn from Typora’s foundations for demanding everyday editing

Our reference to Typora concerns its maturity as a core editor. Live editing means content can be read and changed directly, with clear structure and dependable results as authors type, change levels, work with selections, and revise repeatedly. Those details together create confidence in everyday use.

Rendering Markdown marks as headings, lists, and tables can produce a convincing demonstration. Deeper use brings out questions of nested lists and quotes, child-content relationships, selections across levels, copy and paste, deletion boundaries, and undo. Displaying a structure does not establish that its editing behavior has been implemented in depth.

Textend has invested systematically in those foundations. Headings, lists, quotes, tables, images, code, equations, and diagrams have their own editing rules. In combination, they also need coordinated handling of hierarchy, selections, input positions, and history. We build documents that remain workable through continued editing, beyond an attractive initial display.

Everyday use does not require working directly with source. Writers edit visible content in writing view and can use source mode for precise control. Both views share the document text and undo history, giving direct live editing and controllable Markdown text the same foundation.

Learn from the experience, build our own implementation

Similar product capabilities can rest on different technical approaches. Textend uses Markdown text directly as its editable document and builds its own live-editing rules on CodeMirror 6. Typing, structural changes, and undo act on that Markdown rather than first changing a separate rich-document representation and regenerating Markdown from it.

This route does not maintain an additional rich-document tree as a separate carrier of content that must be converted to and from Markdown. We still parse headings, lists, and quotes into a syntax tree, and handle caret coordinates and local projections for nested content. Those mechanisms serve the same text without becoming another authority for the document.

Writers therefore work with the visible content of the current Markdown draft. Source mode exposes its characters and marks; returning to writing mode changes interpretation and presentation. Both share editing history without reconciling two different document bodies.

We consider this design simpler and more coherent: document text, editing, and saving share the same basis. Removing a round trip through a separate content model gives source positions, edit ranges, and undo a common reference. We handle the complexity of live editing so writers retain direct interaction and access to their original text.

Reliable foundations require depth in nesting, selections, and undo

Nesting is an important test of core editing. The editor needs to know which list item and quote level contain a passage, and which children belong to it. Visually identical indentation can hide different parents. Indentation width alone cannot determine what should move, be deleted, or receive continued input.

Textend defines these relationships explicitly. Single-item actions and cross-level selections that include children are handled separately. Continuation paragraphs retain list membership, and actions leaving inner content such as code or tables return to the appropriate parent. Authors need not repair a chain of markup to maintain those relationships.

Copying, pasting, and deletion also need explicit scope. Working on inner content differs from working on an entire quote or list. Visible selections, copied content, and actual changes need to agree, while unselected children must remain intact. These behaviors determine whether complex documents can be reorganized with confidence.

Undo needs to correspond to complete actions, source mode needs precise character editing, and caret and click positions need to follow changing content dimensions. We define these behaviors as explicit editing rules and check them through focused regression coverage and actual interaction. These details are what build Textend’s foundation.

The text foundation also supports restraint in changing source. Opening a file, switching ordinary views, or adjusting appearance does not reformat the whole Markdown document for presentation. Ordinary local input mainly changes the text it touches. Structural commands adjust the relevant marks, indentation, or paragraph separators when needed, under explicit rules and with the action’s undo history.

Original line endings receive explicit preservation handling too. Editing uses a common internal coordinate space, while saving retains untouched original separators where possible. We aim to leave unrelated source alone so repeated editing still produces an understandable Markdown original that can be used elsewhere.

Learn from iA Writer’s attention to the current passage

iA Writer’s sentence and paragraph focus, along with typewriter-style writing position, were another reference. They demonstrate how the interface can support attention and continued writing once the document is editable.

Textend offers sentence and paragraph focus to emphasize the current passage while surrounding text recedes. Typewriter mode keeps the writing position near the middle of the window, reducing the need to follow it toward the edge during sustained input.

These modes work alongside live editing and can be controlled independently. Focus, typewriter mode, the discussion panel, and toolbar visibility are separate choices. Authors can arrange them for the task while retaining document structure and a consistent editing environment.

Support focus and leave room for typography preferences

Textend makes its own choices about appearance. Interface themes, paper colors, and typography are set separately. Presets provide starting points, while font, size, line height, and writing width can be adjusted to reading preferences. A quiet interface can still leave room for comfortable text density and width.

These settings adjust the writing environment without turning visual preferences into extra blank content. Changing a theme retains the document text and structure. Delivery can then use the format appropriate to its recipient, with the result checked in that format.

Focus and adjustable presentation can coexist. Start with the defaults and refine the environment as your preferences develop, without reworking the article to change paper color, type size, or line height.

Add in-place AI collaboration that connects to the current draft

Alongside direct editing and focused writing, Textend connects AI to specific text. Authors can discuss existing content and request an edit after choosing a direction. Discussion can remain advice, with proposals entering the document through review and acceptance.

This keeps the assistance connected to the article. The intended target, proposed wording, and decision to apply it can be considered at the relevant passage. It reduces extraction, placement, and comparison work while the author retains responsibility for facts, position, and tone.

This division of work between editor and AI also lets us optimize token use deliberately. For quick edits, the editor keeps the original and target, while the model returns a local change and essential operation details. Duplicate target text is removed from the reference body too. We continue refining context and response handling to reduce repeated input and the redundant output of full-draft rewrites. Relevant context is still supplied, and savings depend on the task.

Textend checks the target on application and provides a way to undo the edit. Different entry points have their own safeguards for edits made while waiting, and an unconfirmed older result needs a fresh request. In-place collaboration supports continued revision while protecting the current draft.

Authors can also work without AI for as long as they choose. Live editing, file saving, focus, and typewriter mode remain available. We want independent writing to work well, with collaboration providing help when wanted.

Share the document and coordinate the editing boundaries

On top of core editing, Textend also coordinates focus, appearance, and AI collaboration with the editor. Focus needs to keep the content under consideration visible, structural edits need to respect selections, AI proposals need target checks, and appearance changes need to preserve input positions.

Textend’s focus design accounts for annotations, check results, and their relevant ranges so the content being considered remains clear. After discussion, authors continue typing in the same document, with accepted changes belonging to its editing history.

That integration is part of the product work. Content editing, sustained writing, and targeted collaboration serve different purposes and need smooth connections. Authors can change how they work for the current task without reassembling the document when moving between tools.

What these influences become in Textend

Textend combines mature core editing, focused writing, and in-place AI collaboration. The table relates these capabilities to everyday use: core editing supports continued revision, focus supports attention, and AI collaboration offers help when wanted. All work around the same document.

Writing needIn TextendValue for the writer
Edit content and hierarchy in depthLive editing, nesting, structural selections, copy and paste, and undoKeep clear content relationships and action scope through repeated edits to complex drafts
Write with fewer distractionsSentence/paragraph focus and typewriter modeSupport attention and writing position with independent controls
Retain the draft and precise controlDirect Markdown editing with shared text and historyAvoid a separate content-model round trip and leave unrelated source alone
Adjust reading comfortTheme, paper, typography, and font settingsArrange the writing environment without changing document structure
Get help with an existing draftIn-place discussion, review, and undoable acceptanceReduce text copying while retaining editorial decisions
Deliver for the intended useMarkdown, HTML, PDF, and printing; Pro adds DOCX and full-document image exportRetain the source and choose an output for its recipient

Build on familiar strengths with a writing experience of our own

Textend provides a complete set of core writing capabilities even with AI disabled. Edit content directly, reorganize structure, inspect and revise source, save local documents, and export for delivery. Its value rests on everyday actions used repeatedly, with AI extending collaboration on that dependable foundation.

Basic Markdown editing, local files, themes and typography, focus, and typewriter mode are free. New AI writing tasks require Pro or an active trial. You configure the service, model, and key; Pro does not include model credits. Start with everyday writing and decide whether collaboration is useful to you.

Learning from Typora made core-editor reliability a fundamental requirement. Learning from iA Writer sharpened our care for attention during sustained writing. Textend supports those experiences through its own text-based implementation, then adds in-place collaboration and appearance choices: solid editing foundations and control of the original for deeper work.