Markdown Playground
- Code
- Headers
- Bold
- Italic
- Blockquotes
- Lists
- Links
- Emphasis
- Horizontal Rule
- Line Break
- Images
- Tables
- Footnotes
- Definition Lists
- Task Lists
- Emoji
- HTML
- Escaping
- Backslash Escapes
- Automatic URL Linking
- Strikethrough
Code
```javascript
function example() {
console.log('Hello, world!');
}
```function example() {
console.log('Hello, world!');
}More examples...
```markdown
```python
```html
```css
```java
```c
```cpp
```bash
```shell
```yaml
```json
```markdown
```plaintext
```diff
```makefile
```dockerfile
```nginx
```apache
```apacheconfHeaders
# Header 1
## Header 2
### Header 3
#### Header 4
##### Header 5Header 1
Header 2
Header 3
Header 4
Header 5
Bold
**Bold Text**Bold Text
Italic
_Italic Text_Italic Text
Blockquotes
> This is a blockquote.This is a blockquote.
Lists
Unordered list:
- Item 1
- Item 2- Item 1
- Item 2
Ordered list:
1. First item
2. Second item- First item
- Second item
Links
[OpenAI](https://openai.com)Emphasis
Bold and italic combined:
**_Bold and Italic_**Bold and Italic
Horizontal Rule
---Line Break
Line 1 <br /> Line 2Line 1
Line 2
Images
![]()
<img src="https://nicholasragland.com/assets/demo.gif" alt="Demo" />
Tables
| Column 1 | Column 2 | Column 3 |
| -------- | -------- | -------- |
| Row 1 | Data 1 | Data 2 |
| Row 2 | Data 3 | Data 4 || Column 1 | Column 2 | Column 3 |
|---|---|---|
| Row 1 | Data 1 | Data 2 |
| Row 2 | Data 3 | Data 4 |
Footnotes
Here's a sentence with a footnote.[^1]
[^1]: This is the footnote text.Here's a sentence with a footnote.1
Definition Lists
Term 1
: Definition for term 1
Term 2
: Definition for term 2Term 1 : Definition for term 1
Term 2 : Definition for term 2
Task Lists
- [x] Task 1
- [ ] Task 2- Task 1
- Task 2
Emoji
🥺👾🤖👻🥺👾🤖👻
HTML
<div>
<h1>Heading</h1>
<p>paragraph</p>
</div>Heading
paragraph
Escaping
\*Escaped asterisk\**Escaped asterisk*
Backslash Escapes
\*
\\
\`
\_
\{
\}
\[
\]
\(
\)
\#
\+
\-
\.
\!*
\
`
_
ect.....
Automatic URL Linking
https://openai.comStrikethrough
~~Strikethrough Text~~Strikethrough Text
- This is the footnote text.↩