Richtext to Markdown Editor
Rich Text to Markdown Cheat Sheet
Markdown Basics
What is Markdown? Markdown is a simple markup language using plain text formatting. It's easy to read and write and is widely used for formatting text on the web.
Why use Markdown? Markdown excels for its simplicity, readability, and portability. It allows you to format text quickly without the complexity of rich text editors.
Rich Text to Markdown: Convert your content effortlessly to Markdown for easy sharing and formatting across various platforms.
Basic Markdown Formatting
Headings (Convert Rich Text Titles)
# Heading 1\n## Heading 2\n### Heading 3\n#### Heading 4\n##### Heading 5\n###### Heading 6
Emphasis (Italics, Bold, Strikethrough)
*Italic text* or _Italic text_\n**Bold text** or __Bold text__\n***Bold and italic*** or ___Bold and italic___\n~~Strikethrough~~
Blockquotes (Quoting Text)
> This is a blockquote.\n> It can span multiple lines.\n>\n> > Nested blockquotes are possible.
Lists - Unordered (Bullet Points)
* Item 1\n* Item 2\n * Sub-item A (indent)\n * Sub-item B\n\n\n- Item A\n+ Item B
Lists - Ordered (Numbered)
1. First item\n2. Second item\n3. Third item\n 1. Sub-item (indent maintains numbering)
Horizontal Rule (Page Breaks)
---\n***\n___
Links and Images in Markdown
Links (Adding Hyperlinks)
[Link text](https://www.example.com)\n[Link with title](https://www.example.com \"Visit Example\")\n<https://www.automatic-link.com>
Images (Embedding Visuals)
\n
Code Formatting
Inline Code (Highlighting Code Snippets)
Use the `printf()` function.
Code Blocks (Displaying Multi-Line Code)
`````` \n// This is an indented code block line 2;
Advanced Markdown Syntax
Explore extended Markdown features for enhanced formatting.
Tables (Creating Tabular Data)
| Header 1 | Header 2 | Header 3 |\n| :------- | :------: | -------: |\n| Align L | Center | Align R |\n| Cell 1 | Cell 2 | Cell 3 |
Task Lists (Creating Checklists)
- [x] Write the code\n- [ ] Write the docs\n- [ ] Deploy the app
Footnotes (Adding References)
Here is a footnote reference,[^1].\n\n [^1]: This is the footnote definition.
Definition Lists (Defining Terms)
Term 1\n : Definition 1\n\n Term 2\n : Definition 2a\n : Definition 2b
Highlighting (Emphasizing Text)
Use ==highlighted text== for emphasis.
Emoji (Adding Emojis)
:+1: :smile: :sparkles:
Working with HTML
Escaping Characters (Displaying Special Characters)
Use a backslash \\ to escape special characters:\n\\*literal asterisks\\*\n\\`literal backticks\\`\n\\# literal hash
HTML (Embedding HTML Elements)
You can often include raw HTML:\n<div style=\"color: blue;\">\n This is blue text.\n</div>
Need more details? Check the CommonMark Spec or GitHub's Guide.