Note: This guide is written in Markdown. View the code to know the syntax.
#
for H1
##
for H2
###
for H3
####
for H4
#####
for H5
######
for H6
Alternatively you can use ===
for H1 and --
for H2.
Heading 1
=========
Heading 2
----------
To create paragraphs, use a blank line to separate one or more lines of text.
You should not indent paragraphs with spaces or tabs.
For line breaks, just enter in next line.
bold text
**Insert text here**
alternative bold
__insert text here__
Italic text
*insert text here*
alternative italic
_insert text here_
Strikethrough is done by 2~
~~This a strikethrough.~~
blockquote
> Add block quote here
> There are 3 sticks with n discs sorted by size on one of the sticks.
>
> The goal is to move all n discs to another stick subject to two constraints: move one disc at a time,
>
> and dont'place a larger disc on a smaller one.
can be -- or ____
Add the code in between the special character back tick ( ` ).
for x in y: print(x)
Add the code in between ``` ```
or ~~~ ~~~
def poem():
print("There is a place where the sidewalk ends")
print("And before the street begins,")
print("To cool in the peppermint wind.")
for count in [1,2,3]:
poem(count)
Continue the numbers or repeat one(1). Markdown will automatically order the list. Remember, the numbers can be unordered.
for x in range(5): print(x)
for x in range(3, 6): print(x)
for x in range(3, 8, 2): print(x)
Use -/*/+/-
to start an unordered list.
- break is used to exit a for loop or a while loop.
- continue is used to skip the current block, and return to the "for" or "while" statement.
1. if expression1:
- statement(s)
2. if expression2:
- statement(s)
3. elif expression3:
- statement(s)
4. else:
- statement(s)
5. else:
- statement(s)
term : definition
It is done by square brackets []
. Use [x]
to mark the task as complete.
- wake up early
- do exercise
- eat healthy
Link can be given as: name in between []
and link in between ()
.
It's diaplayed as seen - link
To quickly turn a URL or email address into a link, enclose it in angle brackets <>
.
Example: https://www.bing.com
Image can be given as: alt_text in ![]
and image file in ()
.
Table can be given in between |
and |
.
Syntax | Description |
---|---|
x == y | assignment operator |
X ^ y | xor operation |
To display a literal character that would otherwise be used to format a text, add a backslash \
in front of the character.
* Without the backslash, this would be a bullet in an unordered list.