Published on October 29, 2025
Markdown is a lightweight markup language with plain-text-formatting syntax. Its design allows it to be converted to many output formats, but the original tool by the same name only supported HTML. Markdown is often used to format readme files, for writing messages in online discussion forums, and to create rich text using a plain text editor.
Headings are created by prefixing a line with one or more '#' characters.
You can make text bold or italic.
This is bold text.
This is italic text.
This is bold and italic text.
Blockquotes are created by prefixing a line with '> '.
This is a blockquote. It's a great way to emphasize a section of text.
This is a nested blockquote.
Unordered lists are created by prefixing a line with '*', '-' or '+'.
Ordered lists are created by prefixing a line with a number followed by a period.
You can format code inline by wrapping it in backticks: console.log('Hello, World!');
You can create a fenced code block by wrapping your code in triple backticks. You can also specify the language for syntax highlighting.
function greet(name) {
return `Hello, ${name}!`;
}
console.log(greet('World'));
def hello_world():
print("Hello, world!")
hello_world()
You can create a link by wrapping the link text in brackets and the URL in parentheses.
You can embed an image by adding an exclamation mark, followed by alt text in brackets, and the path or URL to the image in parentheses.