Markdown Tutorial
Hello! For those who don't know how to use Markdown in the Snap! Forums, here we go:
Markdown Available Tags
Bold and Italic
For italics, put 1 asterisk or underscore before and after text:
*Hello!*
_Hello!_
Result: Hello!
For bold, put 2 asterisks or underscores before and after text:
**Hello!**
__Hello!__
Result: Hello!
For bold italic, put 3 asterisks or underscores before and after text:
***Hello!***
___Hello!___
Result: Hello!
For super bold, put 4 asterisks or underscores before and after text:
****Hello!****
____Hello!____
Result: Hello!
For super bold italic, put 5 asterisks or underscores before and after text:
*****Hello!*****
_____Hello!_____
Result: Hello!
Strikethrough
For strikethrough, put 2 tildes before and after text:
~~Hello!~~
Result: Hello!
Headings
For headings, put 1 to 6 tildes before text. 1 tilde is Heading Level 1, 2 tildes is Heading Level 2, and so on to Heading Level 6:
# Hello
## Hello
### Hello
#### Hello
##### Hello
###### Hello
Result:
Hello
Hello
Hello
Hello
Hello
Hello
Horizontal Rules
For horizontal rules, put at least 3 asterisks in a single line without any text.
***
Result:
Emoji
For emojis, you can use:
:)
:(
:o
:|
:D
:P
Or you can use codes like:
:joy:
Result:
Code
You can surround text with backticks (`) to make code. Use 3 backticks to make block code instead of inline code. You can also specify a language like js
or python
after the starting 3 backticks.
Result:
Hello!
Links and images
For links, you can use this syntax:
[Snap!](https://snap.berkeley.edu)
Replace "Snap!" and "https://snap.berkeley.edu" with your own text and link.
Result:
For images, you can use this syntax:
![alt text][https://]
Replace "alt text" with your text and "https://" to the image link.
Quotes
For quotes, you can use a greater-than sign (>) at the beginning of the line.
> This is a quote
>> This is a quote inside a quote
>>> This is a quote inside a quote inside a quote
Result:
This is a quote
This is a quote inside a quote
This is a quote inside a quote inside a quote
HTML syntax
The forums allow some HTML tags.
HTML tags look like this:
<tag>text</tag>
Where "tag" is the name of the tag.
Some supported tags:
- sup (superscript) and sub (subscript) example
- ul (unoredered list), ol (ordered list) and li (list item) for lists like this
- code
example
- big and small example
- ins (insert) and del (delete) exam
ple - kbd (keyboard) example
And that's all! Enjoy using Markdown.