Home

Markdown Cheat Sheet

Format your shared content with these markdown syntax elements

TXT Share now supports markdown formatting! Use these syntax examples to format your shared text content. When viewing your content, you can toggle between the raw markdown and the formatted view.

Headings

Markdown

# Heading 1 ## Heading 2 ### Heading 3 #### Heading 4 ##### Heading 5 ###### Heading 6

Rendered

Text Formatting

Markdown

**Bold text** *Italic text* ~~Strikethrough~~ (not supported by default) **Bold and _nested italic_** ***All bold and italic***

Rendered

Lists

Markdown

Unordered list: - Item 1 - Item 2 - Nested item 2.1 - Nested item 2.2 - Item 3 Ordered list: 1. First item 2. Second item 3. Third item

Rendered

Links and Images

Markdown

[Link to TXT Share](/) ![Alt text for an image](https://placehold.co/150)

Rendered

Blockquotes

Markdown

> This is a blockquote > > It can span multiple lines

Rendered

Code

Markdown

Inline code: `const example = "code";` Code block: ``` function helloWorld() { console.log("Hello, world!"); } ```

Rendered

Tables

Markdown

| Header 1 | Header 2 | | -------- | -------- | | Cell 1 | Cell 2 | | Cell 3 | Cell 4 |

Rendered

Horizontal Rule

Markdown

Above the line --- Below the line

Rendered

Return to Home