idcd

Markdown Preview

Edit Markdown with live GFM previews, tables, task lists, code blocks and a table of contents.

Table of Contents

Markdown Input

676 chars
6 headings

Preview

Getting Started

Welcome to the Markdown Preview tool. Edit on the left, see the result on the right in real time.

Features

GFM Tables

Feature Supported
Tables ✅
Task lists ✅
Strikethrough ✅
Fenced code ✅

Task Lists

  • GFM rendering with marked
  • XSS sanitization via DOMPurify
  • TOC auto-generation
  • Coming soon: sync scroll

Strikethrough

This text is crossed out.

Code

Inline code and fenced blocks:

const msg = 'Hello, world!'
console.log(msg)

Tip: Toggle the TOC switch above to see the table of contents.

Visit idcd.com

Usage Tips

• Full GFM support: tables, task lists (- [x]), strikethrough (~~text~~), fenced code blocks (```), and autolinks.

• Toggle the TOC switch to show a clickable table of contents generated from your h1–h3 headings.

• Export to .html (self-contained with inline styles) or .md, or copy the raw HTML source.

• All output is sanitized by DOMPurify — scripts and event handlers are stripped before rendering.

What does Markdown Preview do?

Edit Markdown with live GFM previews, tables, task lists, code blocks and a table of contents. Inspect HTML output or export Markdown and standalone HTML documents.

Interpreting results and common questions

Will Markdown look identical on the publishing platform?

Dialects, plugins and HTML safety rules differ. Preview tables, task lists and code blocks on the target platform, and check styles and links in exported HTML.

References and result limitations

Local results depend on the input and selected options. Retain the input example, format and processing rules when citing a result, and verify the output. Keep keys and other sensitive material out of public examples.

These references explain protocol or format rules; they do not endorse results produced by this site.