Give me a guide to markdown.
- User
Give me a guide to markdown.
- Assistant
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.
Give me a guide to markdown.
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.
Markdown is a lightweight markup language that allows you to format text using a plain-text editor. It's widely used for documentation, blogging, and collaboration platforms like GitHub, Reddit, and Stack Overflow. This guide will walk you through the basics and some advanced features of Markdown to help you get started.
To use Markdown, you can write your text with Markdown syntax in any plain-text editor (like VS Code, Sublime Text, or even Notepad) and view the formatted output using a Markdown viewer or platform that supports it (like GitHub or a Markdown preview extension in your editor).
Headers are created using the # symbol followed by a space and the header text. The number of # symbols denotes the level of the header (1-6).
# Heading 1
## Heading 2
### Heading 3
#### Heading 4
##### Heading 5
###### Heading 6
Rendered:
You can emphasize text using asterisks (*) or underscores (_).
*italic* or _italic_**bold** or __bold__***bold and italic*** or ___bold and italic___Rendered:
italic, bold, bold and italic
Use asterisks (*), plus signs (+), or hyphens (-) followed by a space.
- Item 1
- Item 2
- Subitem 2.1
- Subitem 2.2
- Item 3
Rendered:
Use numbers followed by a period and a space.
1. First item
2. Second item
1. Subitem 2.1
2. Subitem 2.2
3. Third item
Rendered:
Create links using the [link text](URL) syntax.
[OpenAI](https://www.openai.com)
Rendered:
Similar to links, but add an exclamation mark (!) before the square brackets.

Rendered:
[image: Alt text] open
Use the greater-than symbol (>) followed by a space.
> This is a blockquote.
>
> It can span multiple lines.
Rendered:
This is a blockquote.
It can span multiple lines.
Enclose code within backticks (`).
Use the `printf` function.
Rendered:
Use the printf function.
Use triple backticks (```) before and after the code block. Optionally, specify the language for syntax highlighting.
Rendered:
def greet(name):
print(f"Hello, {name}!")
Create horizontal lines using three or more hyphens (---), asterisks (***), or underscores (___).
---
Rendered:
Create tables using pipes (|) and hyphens (-).
| Header 1 | Header 2 | Header 3 |
|----------|:-------:|---------:|
| Row 1 | Centered| Right |
| Row 2 | Centered| Right |
Rendered:
| Header 1 | Header 2 | Header 3 |
|---|---|---|
| Row 1 | Centered | Right |
| Row 2 | Centered | Right |
Useful for to-do lists. Start with - [ ] for incomplete and - [x] for complete tasks.
- [x] Completed task
- [ ] Incomplete task
- [ ] Another task
Rendered:
Add footnotes using [^1] in the text and define them at the bottom.
Here is a footnote reference[^1].
[^1]: This is the footnote.
Rendered:
Here is a footnote reference1.
Use two tildes (~~) to strike through text.
~~This text is crossed out.~~
Rendered:
This text is crossed out.
GitHub extends Markdown with additional features like:
Tables: As shown above.
Task Lists: As shown above.
Syntax Highlighting: Specify language after triple backticks for colored code.
```javascript
console.log('Hello, world!');
**Rendered:**
```javascript
console.log('Hello, world!');
Mentions and References: Use @username to mention or #issue to reference.
Emoji Support: Use shortcuts like :smile: to insert emojis.
Editors with Markdown Support:
Online Viewers and Converters:
Reference Guides:
Cheat Sheets:
By mastering Markdown, you can efficiently create well-formatted documents, collaborate effectively, and streamline your writing workflow across various platforms.
This is the footnote. ↩
Not yet included in a published release.