Конвертируйте Markdown в HTML
Tool guide
The text is written in Markdown, but it has to go somewhere that has never heard of Markdown: a CMS rich-text field, an email template, a product description, a plain static page. Paste it into the Markdown Input box — the placeholder already shows a heading and a bold phrase — and press convert. The tags appear in the HTML Output box while the preview panel renders them straight away, all handled by marked.js in your tab. See also: pull Markdown out of an existing HTML page, save the same note as a PDF, prepare that HTML for a React component.
Parsing is done by marked.js, which follows GitHub Flavored Markdown: pipe tables, fenced code blocks, strikethrough and task lists all work. More exotic extensions such as footnotes will not appear in the output, and syntax highlighting inside code blocks is a job for a separate library on the page where you publish the HTML.
Most likely the library never loaded: marked.js is fetched from an external CDN when the page opens. If the connection dropped, a content blocker removed the script, or you opened the page offline, there is nothing to do the parsing. Reload the tab with a working connection and allow scripts for this address, and conversion works again.
If you wrote the Markdown yourself, yes. If a user submitted it, remember that Markdown permits raw HTML, so a script tag or an inline event handler can ride along with the paragraphs. Run untrusted output through a sanitiser on the server, or insert it as text rather than as markup.
A single newline is not a break in Markdown; two adjacent lines are joined into one paragraph. To force a br, end the line with two spaces, or separate the chunks with a blank line to get distinct paragraphs instead. That is the format behaving normally, not a quirk of this page.
Direction, and what gets lost on the way. Going this way, plain text expands into full markup and nothing is dropped, because Markdown's syntax is the poorer of the two. Going back, classes, styles and unusual tags are discarded since Markdown cannot express them. You come here to publish; you go the other way to store text in a repo.
No. The library is downloaded from a CDN once, and the parsing itself happens in your tab — your draft is never sent to our server or anywhere else, and nothing is stored. The only network request the page makes concerns the marked.min.js file, not your content.
Yes. The boxes and buttons behave the same on a narrow screen; the preview simply sits lower down the page. The copy button puts the code on the phone's system clipboard, ready to paste into a messenger or a mobile editor. Downloading works too, though on iOS the file lands in Files rather than the photo library.
Before: ### Week in review Closed **12** issues.
After: Week in review Closed 12 issues.
Before: > Release 2.1 See the [changelog](https://example.com/log)
After: Release 2.1 See the changelog
Your rating and feedback help decide what to improve next.