Paste as Markdown
Paste as Markdown means the editor reads the formatting on the clipboard, not just the words, and writes it out as Markdown. When you copy from a web page, Google Docs or Word, the clipboard holds an HTML version of the selection next to the plain text. An editor that converts that HTML gives you ## headings, - lists and **bold** instead of a flat block of text.
Copy a formatted section from a web page and this is the kind of result you want:
## Release checklist
1. Freeze the branch
2. Run the **full** test suite
3. Post the notes in [the changelog](https://example.com/changelog)
| Step | Owner |
| --- | --- |
| Freeze | Mia |
| Tests | Sam |
Why does pasted text lose its formatting in a Markdown editor?
Most Markdown editors paste the plain-text version of the clipboard. Headings become ordinary lines, bullets become bare text or odd symbols, links lose their address and tables turn into tab-separated rows. The formatting was on the clipboard all along, in the HTML version, but plain-text paste ignores it.
What converts cleanly, and what does not?
| On the clipboard | In the Markdown |
|---|---|
| Headings | # to ###### headings |
| Bold, italic, strikethrough | **bold**, *italic*, ~~strike~~ |
| Bulleted and numbered lists | - and 1. lists, nested lists indented |
| Links | [text](address) |
| Simple tables | GFM pipe tables |
| Code blocks | Fenced code blocks |
| Images | Image links that point to the original address |
| Colors, fonts, merged cells, comments | Dropped, because Markdown has no syntax for them |
Images are the usual catch. The Markdown links to the image's address on the web, so save any image you need and link it by a relative path. For whole documents, a file conversion is more reliable: see Google Docs to Markdown and Word to Markdown.
How do you convert clipboard HTML to Markdown with other tools?
- Pandoc: save the page as HTML and run
pandoc page.html -f html -t gfm -o page.md. - Browser extensions: several extensions copy a page or a selection as Markdown.
- Obsidian: the Auto convert HTML editor setting converts formatted text to Markdown when you paste it.
Paste as Markdown in Noteline
Noteline converts formatted text when you paste it into an empty note, in the desktop app and the mobile apps.
- Copy a selection from a web page, Google Docs, Word or another app.
- Create a new note with + in the tab bar. In the desktop app, Cmd+N on a Mac or Ctrl+N on Windows and Linux does the same.
- Paste. The note fills with Markdown, rendered as you see it in live preview.
While it converts, Noteline also tidies the result:
- Headings are shifted so the first level is
#, and skipped levels are closed up, so##followed by####becomes#and##. - Numbered lists are renumbered 1, 2, 3.
- Two dividers in a row are merged into one.
- Curly quotes inside code are straightened, so pasted commands still run.
- Bullets are written as
-and code blocks as triple backtick fences.
Plain Markdown on the clipboard, such as an answer copied from a chat assistant, goes through the same tidy-up. Clean up AI Markdown covers fixing the problems that are left.
Common questions
What happens if I paste into a note that already has text?
The text is inserted as you copied it, without conversion, so a paste never rewrites what you already wrote. To convert, paste into a new, empty note and move the result where you need it.
How do I paste without any conversion?
Press Cmd+Shift+V on a Mac or Ctrl+Shift+V on Windows and Linux. Noteline inserts the plain text of the clipboard exactly, even into an empty note.
Does the conversion change my headings on purpose?
Yes, when the pasted text starts below level one or skips levels. If you need the original levels, paste with Cmd+Shift+V or Ctrl+Shift+V instead and adjust the headings yourself.