How to switch between Markdown and rich text editing
Most Markdown tools don't offer a true switch between Markdown and rich text editing: you either get a syntax pane plus a preview, or a rich editor that stores Markdown underneath. Check whether your editor round-trips cleanly between both views, then use its dedicated source/preview toggle rather than editing raw text inside the rendered view.
Knowing how to switch between Markdown and rich text editing determines whether your formatting survives a round trip or quietly breaks. Markdown's plain-text portability and rich text's immediate, formatted view each solve a different problem, and most editors pick a side rather than genuinely supporting both.
This guide covers the actual switching models you'll encounter, how to verify that formatting survives the change, and how to bring a draft back to plain Markdown when you need to export or hand it off.
What is the difference between Markdown and rich text editing?
Markdown editing means typing plain-text syntax like asterisks and hashes that describe formatting without applying it on screen. Rich text editing means selecting words and applying bold, italic, or headings directly, so the text is formatted as you type. The tradeoff is portability versus immediacy: Markdown files open anywhere, while rich text is faster to read at a glance.
Markdown is a plain-text convention. The characters you type are the file's actual content, with symbols like **bold** or ## Heading describing formatting to whatever program opens the file later. Because the underlying file is plain text, it opens in any text editor, diffs cleanly in version control, and survives being moved between tools.
Rich text editing works the opposite way. You select a word, press bold, and the word renders bold immediately; the syntax is hidden or absent entirely. This is more familiar and faster for drafting prose, but the underlying storage format varies by application and may be proprietary.
- Markdown: plain text, portable, version-control friendly, requires syntax knowledge
- Rich text: formatted inline, no syntax needed, storage format varies by tool
- Hybrid editors: present a formatted rich text surface while storing Markdown underneath
The practical distinction matters most at export. A Markdown file will render correctly in GitHub, in a static site generator, or in another editor years from now. A rich text document depends on its originating application still understanding its format.
How do I switch between Markdown source and rich text in a Markdown editor?
Switching methods depend on the editor's model. Split-view editors show a source pane and a rendered preview side by side, always visible. Others offer a source or raw toggle that flips the whole document between syntax and rendered view. Live-preview editors like Typora or Obsidian hide the switch entirely, rendering syntax as you move away from it.
There are roughly three switching models in current Markdown editors, and the method you use depends on which one you have.
|
Model |
How you switch |
Example behavior |
|---|---|---|
|
Split view |
No switching needed |
Source pane on the left, rendered preview on the right |
|
Source toggle |
A dedicated source or raw mode button |
Whole document flips between syntax and formatted |
|
Live preview |
Automatic on cursor movement |
Syntax renders as soon as you click away |
In split-view tools, the preview pane is often read-only, so you edit entirely in the source pane and never actually switch. In editors with a source toggle, you typically find the control in the view menu or a toolbar icon; toggling it back to the formatted view is what applies the formatting visually.
A fourth approach is a rich text surface that stores Markdown invisibly, where you never see raw syntax at all but can copy out the Markdown. Some tools, including the NeoGlint Markdown editor, work this way: you type into a formatted editing surface that round-trips to clean Markdown, so there is no separate mode to toggle and no syntax to fight while drafting.
How do I verify formatting survives the switch between Markdown and rich text?
Round-trip your document: write in rich text, switch to or copy out the Markdown, and confirm the syntax is standard. Then convert back and check that tables, lists, and inline formatting still render. Warning signs include proprietary syntax extensions, lost table structure, and checkboxes that revert to plain bullet lists.
Not every editor round-trips cleanly. Some write just enough Markdown for their own renderer while adding extensions that other tools will not understand. Before committing a long document to a tool, run a short verification pass.
- Write a test block containing bold, italic, a heading, a bulleted list, a numbered list, a task list, and a table.
- Switch to the Markdown or source view, or export the document as Markdown.
- Read the raw output and confirm it uses standard Markdown syntax rather than a proprietary variant.
- Convert it back or open the exported file in a different Markdown editor to confirm the formatting holds.
Two failure points show up most often. Tables are the first: some editors flatten them into pipe-delimited text that will not render, or lose column alignment entirely. Task lists are the second, because checkbox syntax is a widely supported extension rather than part of the original Markdown specification, so a strict renderer may display them as plain bullets.
If your workflow depends on handing files to other tools, test the export path early rather than at the end of a project. NeoGlint, for example, copies or exports any Space as Markdown, HTML, JSON, plain text, or PDF, and produces standard Markdown that other editors can open without modification — which is what makes a round-trip check pass rather than fail.
How do I convert a rich text document to plain Markdown for export or handoff?
Most editors with a Markdown export or copy-as-Markdown command produce the plain-text source directly; if yours lacks one, paste the rendered content into a rich-text-to-Markdown converter, then clean up stray syntax. Always verify the output opens correctly in a plain text editor before handing it off.
Converting rich text to Markdown is usually a one-step export in editors that store Markdown underneath, but the path differs when the source is a word processor or a rich-text-only tool.
- Use a built-in export command. Look for “Export as Markdown” or “Copy as Markdown” in the file or edit menu. This writes the document's Markdown source without touching the editing view.
- Use a paste converter when there is no export. Tools like Pandoc or online rich-text-to-Markdown converters accept pasted HTML or rich text and return Markdown. For a single document, copying the rendered view and pasting into a converter is fast.
- Clean up manual conversions. Automated converters sometimes leave HTML tags for tables or nested lists, or escape characters that did not need escaping. Open the result in a plain text editor and check for stray backslashes or angle brackets.
- Verify portability. Open the exported file in a different Markdown editor or preview it on a platform like GitHub to confirm headings, lists, and tables render as expected.
The key risk in conversion is silent loss: a table converted to pipe-delimited text can look correct in the source but fail to render elsewhere. If the document matters, spot-check the output rather than assuming the export was clean.
In NeoGlint, every Space can be copied or exported directly as Markdown, which avoids a separate conversion step; the Markdown it produces is standard and opens without modification in other editors.
Can I edit the formatted view directly, or do I need to switch to source?
It depends on the editor's architecture. Split-view tools usually make the preview read-only, so editing happens in the source pane. Live-preview and rich-text-surface editors let you edit the formatted view directly, but only some preserve clean Markdown underneath — verify before relying on it.
The ability to edit the formatted view directly is not universal, and the distinction determines whether switching modes is even necessary.
- Split view with read-only preview: the right pane renders output but rejects input. All editing happens in the left source pane; there is no formatted editing surface.
- Live-preview editors: you type into a single pane where syntax renders as you move the cursor away. Editing the formatted view is possible because the source and the display are the same surface.
- Rich-text-surface editors: the document appears formatted at all times, with Markdown stored underneath. You edit directly in the formatted view, and source is only visible on export or in a dedicated source pane if one exists.
The practical question is not whether you can edit formatted text but whether formatting survives the edit. In a live-preview editor, typing inside a rendered heading or table can behave unpredictably because the source characters are still present but hidden. In a rich-text-surface editor, the underlying Markdown is written by the application, so the risk shifts to whether that generated Markdown is standard or proprietary.
If your workflow involves both drafting in a formatted view and handing off plain Markdown, favor an editor that round-trips cleanly between the two. Testing with a table and a task list is the quickest way to tell the difference.
Which Markdown editors actually support switching between both views?
Split-view editors like Ghostwriter and VS Code show source and preview together. Toggle-based editors like iA Writer and Mark Text flip the whole document. Live-preview editors like Typora and Obsidian render syntax in place. Rich-text-surface editors like NeoGlint store Markdown underneath without a visible mode switch.
Editors fall into a few recognizable camps, and each handles the Markdown-to-rich-text question differently.
|
Editor |
Switching model |
How you move between views |
|---|---|---|
|
Ghostwriter |
Split view |
Source pane and preview pane side by side; preview is read-only |
|
VS Code (with Markdown extension) |
Split view |
Open preview to the side; edit only in the source pane |
|
iA Writer |
Source toggle |
A view control flips between syntax and rendered text |
|
Mark Text |
Source toggle |
Menu command switches between source and rendered modes |
|
Typora |
Live preview |
Syntax renders automatically as the cursor leaves the line |
|
Obsidian |
Live preview or source |
A toggle switches between live preview and raw source |
|
NeoGlint |
Rich-text surface |
No mode switch; Markdown is stored underneath and exported on demand |
The table is not exhaustive, and default behavior can change between versions, so confirm the current toggle location in your editor's documentation before relying on a specific menu path. What matters is the model, not the brand: split view means you never edit formatted output, a toggle means you flip the whole document, and live preview means the switch happens automatically.
If your priority is drafting in a formatted surface with clean Markdown on export, choose an editor in the rich-text-surface or live-preview camp and test its round-trip. If your priority is seeing raw syntax at all times, a split view or source toggle is the more direct fit.
Key Takeaways
- — Markdown editing stores formatting as plain-text syntax, while rich text editing applies formatting directly and hides the underlying syntax.
- — Editors handle switching in one of four ways: split view, a source toggle, live preview, or a rich-text surface that stores Markdown underneath.
- — Split-view previews are usually read-only, so editing happens in the source pane rather than the formatted view.
- — Round-trip testing with a table, task list, and inline formatting reveals whether an editor writes standard Markdown or a proprietary variant.
- — Tables and task lists are the most common failure points when formatting moves between views or editors.
- — Exporting or copying a document as Markdown is the reliable way to hand off plain text, provided the output is standard and verified in a second editor.
Frequently Asked Questions
Does switching to rich text view change the file on disk?
It depends on the editor. In split-view and toggle-based tools, the file remains Markdown text and the rendered view is generated from it. In rich-text-surface editors, the document's stored format may be the application's own file type, with Markdown produced only on export or copy.
Why do my tables break when I switch views?
Tables are a frequent failure point because some editors write them as pipe-delimited text that only their own renderer understands, or lose column alignment during conversion. Standard pipe tables with a header separator row render correctly in most Markdown processors.
Can I edit Markdown in a rich text editor without seeing the syntax?
Yes, in live-preview and rich-text-surface editors. The syntax is either rendered in place as you type or stored underneath a formatted editing surface, so you never work with raw asterisks and hashes directly.
How do I know if my editor produces standard Markdown?
Export or copy a short test document and open it in a plain text editor. The output should use standard syntax such as asterisks for emphasis, hashes for headings, and pipe tables. Then open the same file in a different Markdown editor to confirm it renders correctly.
Is there a universal keyboard shortcut to switch between Markdown and rich text?
No. Shortcuts vary by application and sometimes by version. Check the editor's view or format menu for a source, raw, or preview toggle, and consult its documentation for the current binding.
What happens to task list checkboxes when switching to plain Markdown?
Task list syntax is a widely supported extension rather than part of the original Markdown specification. Some strict renderers display checkboxes as plain bullet items. If your destination tool does not support the extension, convert task lists to plain bullets before export.
Can I convert a rich text document to Markdown without losing formatting?
Usually, but the result depends on the converter. Built-in Markdown export commands preserve the most formatting. Manual or third-party converters may leave stray HTML tags or escape characters that need cleanup, so spot-check the output before relying on it.