Markdown viewer
Write or open Markdown and see it rendered beside the text, with Obsidian callouts, wikilinks and Mermaid diagrams.
Editor and preview
The preview appears here as you type.
Jotura is a free desktop notes app that keeps every note as a Markdown file and renders the same callouts, wikilinks and diagrams as you write. Download Jotura
How to preview Markdown
- Add your Markdown. Type in the editor, paste text, or open a
.mdfile. Try an example loads a note that uses every feature. - Read the preview. On a wide screen it sits beside the editor. On a phone, switch between Write and Preview.
- Export it. Download .html saves a styled web page, and Copy HTML puts the HTML on the clipboard.
Obsidian syntax in the preview
| Markdown | Shows as |
|---|---|
[[Note]], [[Note|label]] | A link styled as a wikilink, with the label when there is one |
[[#Heading]] | A link that jumps to that heading |
![[image.png]] | A placeholder with the file name |
==highlight== | Highlighted text |
#tag, #area/project | A tag |
> [!warning] Title | A coloured callout box with a title |
> [!faq]- Title | A callout that starts folded and opens on a click (+ starts it open) |
Markdown viewer questions
Which Markdown does the viewer support?
GitHub Flavored Markdown: headings, emphasis, links, lists, block quotes, code blocks, tables, task lists, strikethrough and footnotes. It also reads the syntax Obsidian adds. [[Note]] and [[Note|alias]] wikilinks show as links, ==text== becomes a highlight, #tags show as tags, ![[image.png]] embeds show as a placeholder, and callouts like > [!tip] Title get a coloured box. GitHub's > [!NOTE] alerts render the same way.
How do I preview a .md file?
Click Open a .md file and pick the file, or drag it onto the editor. The preview renders straight away. You can keep editing the text and the preview follows.
Does it render Mermaid diagrams?
Yes. Put the diagram in a fenced code block with mermaid after the opening backticks and it draws as a diagram in the preview. Flowcharts, sequence, class, state, entity relationship, Gantt and pie charts all work. To save a diagram as an image, use the Mermaid to PNG and SVG converter.
Can wikilinks go anywhere?
A wikilink to a heading in the same document, like [[#Open questions]], jumps to that heading. Links to other notes show as styled links with nowhere to go, since this page has only the one file. In a notes app such as Jotura or Obsidian the same links open the other notes.
How do I export Markdown to HTML or PDF?
Download .html saves a complete web page with the diagrams drawn in and a small stylesheet. Copy HTML copies the HTML body only. For a PDF, open the downloaded page in your browser and print it with Save as PDF as the printer.
Is my Markdown uploaded?
No. The Markdown is rendered by a WebAssembly program in your browser, and nothing is sent to a server. The text you type is kept in your browser's local storage so a reload keeps your draft. Clear empties it.
Is raw HTML in the Markdown safe to preview?
The preview shows HTML tags as plain text and never runs them, and javascript: links are disarmed, so opening a file you did not write is safe. The copied and downloaded HTML keeps your HTML as written.
How do I preview Markdown in VS Code?
Open the .md file and press Ctrl+Shift+V (Cmd+Shift+V on a Mac) for a preview tab, or Ctrl+K V to open it beside the editor. VS Code's built-in preview does not render Obsidian callouts, wikilinks or Mermaid without extensions.
To get the HTML of plain Markdown, use the Markdown to HTML converter. The Markdown to Word converter makes a .docx, and the Mermaid to PNG and SVG converter saves diagrams as images.