SuiLang Markdown EditorWrite instantly, nothing leaves your browser, paste into any editor

Guides / Markdown to HTML, then somewhere it belongs

Markdown to HTML, then somewhere it belongs

Converting is the easy part — pasting is where most tools fail

Converting Markdown to HTML takes one function call. The hard part is that most editors (WeChat, Word, Notion, Ghost, most CMSs) throw away external stylesheets and classes, so plain HTML output arrives unstyled. That is the problem this editor's copy buttons solve.

The workflow

  1. Write in the editor; the preview is already the HTML you will get.
  2. Choose a paste style: WeChat, Zhihu or Medium / WordPress / Notion / Word. Each one rewrites styles into inline style="" attributes that survive a paste.
  3. Paste into the target editor. Nothing to configure.

Which style should I pick?

  • WeChat: centred H1, accent bar on H2, roomy line height, code blocks converted to WeChat-friendly markup, diagrams rasterised to PNG.
  • Zhihu: lighter styling that matches the platform's own typography instead of fighting it.
  • Medium / WordPress / Notion / Word: neutral, portable styles for Medium, WordPress, Notion, Ghost, Substack, Google Docs, Word, email and CMS fields.

Other export options

  • Download .html — a standalone file with inlined CSS, images embedded as data URIs. Open it anywhere, or upload it to a static host.
  • Print / save PDF — opens the print dialog with the article layout, so “Save as PDF” gives you a clean document.
  • Copy HTML source — the rendered body HTML, for developers who want to drop it into a template.
  • Share link — the whole document compressed into the URL fragment. It never touches a server; the link is the document.

Things to know

  • Math is rendered with KaTeX. Editors that do not support it (WeChat among them) will not show formulas properly — screenshot the formula, or keep the math for the web version.
  • Some platforms re-upload or block images on paste. Re-inserting the picture once usually fixes it; the exported .html keeps images inline.
  • Very long code blocks look better as an image on mobile-first platforms.
  • Your document is never uploaded anywhere: conversion, highlighting and image compression all happen in this tab.

New to the syntax? The cheat sheet covers everything above.

Best read with the editor open

It runs in the page, needs no install and no account, and never uploads your text.

Open the editor