Skip to content
All tools

Markdown Editor

Available

Write Markdown in a focused CodeMirror editor with a live, safe preview that runs entirely in your browser.

Runs locally. Your Markdown never leaves this browser.

Editor

Markdown

Preview

Safe preview

Build something

Markdown Editor keeps your documentation local while you write.

What this beta supports

  • Headings and paragraphs
  • Bold, emphasis and inline code
  • Ordered and unordered lists
  • Blockquotes and safe links
  • Fenced code blocks
Raw HTML is displayed as text instead of being executed.
  1. Write on the left
  2. Preview on the right
  3. Copy the Markdown when you are done
ts
const tool = "Markdown Editor";
console.log(tool);

OpenAI

Words
79
Characters
499
Lines
24
Reading time
1 min

Editing, parsing and preview rendering happen entirely in the browser. Markdown is not persisted or sent to a Devary backend.

Focused writing with live feedback

Write documentation, notes and README-style content with an editor and rendered preview side by side.

Safe preview by construction

The preview renders a typed Markdown structure through React. Raw HTML is shown as text, and unsafe link schemes are never turned into clickable links.

Developer guide

Write Markdown and understand the safe-preview boundary

Markdown Editor parses a focused subset of Markdown into a browser-local preview. Test headings, lists and links before publishing.

Practical workflow

  1. Configure

    Enter Markdown with headings, paragraphs, code spans and lists. Use a small document before pasting larger content.

  2. Try it

    Compare the source with the safe preview, especially links and fenced code blocks.

  3. Check the result

    Export the source and check rendering in the target platform, whose Markdown extensions may differ.

Worked examples

Parse a heading and list

The parser recognizes a heading block followed by an unordered-list block.

Configuration

Markdown parser

Example input

# Release notes
- Fixed caching

Expected result

heading, list

Reject an unsafe link scheme

A JavaScript URL is treated as plain text rather than a clickable link in the safe preview.

Configuration

Safe-link parsing

Example input

[Docs](javascript:alert(1))

Expected result

[{"type":"paragraph","content":[{"type":"text","value":"[Docs](javascript:alert(1)"},{"type":"text","value":")"}]}]

Limits and safeguards

Supported scope

This is a supported Markdown subset, not every GitHub Flavored Markdown or arbitrary HTML extension.

Before using in production

Raw HTML is treated as text and unsafe links are not activated. Test exported Markdown in its destination renderer.

Common question

Why is raw HTML not rendered?

The local preview intentionally avoids executing arbitrary HTML. It keeps the authoring experience safer than an unrestricted browser render.