Markdown is a simple way to format text for the web. It uses plain text and a few special characters to create headings, lists, code blocks, and more.
- Headings: Use
#
for headings. More#
s mean smaller headings.# This is a heading 1
## This is a heading 2
### This is a heading 3
- Paragraphs: Separate paragraphs with blank lines.
- Emphasis: Use
*
or_
for italics.*This is italic*
_This is also italic_
- Bold: Use
**
or__
for bold.**This is bold**
__This is also bold__
- Unordered lists: Use
*
,-
, or+
.-
- Item 1
-
- Item 2
-
- Item 3
-
- Ordered lists: Use numbers.
-
- Item 1
-
- Item 2
-
- Item 3
-
Use triple backticks (```) to create code blocks.
def greet(name):
print("Hello, " + name + "!")