- This is a bullet point
- This is a second bullet point
- This is a third bullet point etc...
- Mark sure there's a space after the asterisk
Create a line divider with a triplet of the following characters:
- Three asterisks
- Three underscores
- Three dashes
This is a quote and as you see it is given a spotlight so to speak
To make a quote, you use the '>' right angle bracket like so
Add emphasis with two asterisks '**' to open bold text and two more to close it.
bold text
bold italic text by putting two underscores before and after text
Bold with italics
Create italic text with one asterisk or underscore to open and close
This is italics
This is also italics
There once was a cold old haggard woman who wished with all her heart that she could have found love while she was still young. There was once a nice and sturdy young man who had asked her "My sweet, Melinda, will you marry me?" But she had emphatically replied NO! hoping that someone better would come along. But now in the solemn gloom of her dilapitated study it was her remorse that looked with distate on her so hasty refusal with tacit dissaproval of her youthful indicretion.
You can create lists with asterisks, dashes, plus signs,
- list item using *
- list item using +
- list item using -
- Create Sublists
- lists simply by
- adding \t (tabs)
- before additonal
- sublist items
- And this can continue
- as long as you like
- And this can continue
- sublist items
- before additonal
- adding \t (tabs)
- lists simply by
- Simply write the number
- and a period and then
- you're good to go!
Create links by surrounding the link with angle brackets
Create variables by creating a key in square brackets and then a colon followed by the variables content.
Note that when referencing the content of a variable you must use square brackets.
When you create a header a header ID is create which can move you back to that header.
Now This header ID is the same as the content of the header EXCEPT that:
- upper case characters are replaced by lower case characters
- spaces (blanks) are replaced by dashes (-)
so below would be a link to the 'lists' section Headers link to Lists header
When you click on the above list it will take you to the LISTS header.
Images are the same as links except that:
- an exclamation mark is used before custom text reference to an image
use three backticks above and below to open and close a block of text
enclosing text with three backticks will highlight the code
You can combine this with an angle bracket to produce quoted & highlighted code
- Create table headers, columns, and rows by separating text with pipes
- separate columns from the first row with pipes and dashes
- Note it doesn't matter if everything lines up perfectly just make the number of pipes is correct
| Header 1 | Header 2 | header 3 | header 4 | header 5 |
|---|---|---|---|---|
| Column 1 | Column 2 | Column 3 | Column 4 | Column 5 |
| Column 1 | Column 2 | Column 3 | Column 4 | Column 5 |
| Column 1 | Column 2 | Column 3 | Column 4 | Column 5 |
| Column 1 | Column 2 | Column 3 | Column 4 | Column 5 |
Repeat the above columns separated by pipes for each additional row you wish to create.
By inserting colons (:) on either ends of the dashes (or on both sides of the dash divider) that form the divider between the first row and the header row you can align text in each of the corresponding columns
For example.
| Aligned Left | Centered | Aligned Right |
|---|---|---|
| text | text | text |
<h1>Markdown and HTML</h1> or # Markdown and HTML
So since markdown gets converted to HTML anyway you can also write HTML. Most of the stuff you can do with HTML you can also do with markdown.
For instance the above header is written in HTML but could just as easily be written with a # pound sign as if we wanted to write a header with the markdown language.
The same applies to writing CSS and markdown:
For instance if you wanted to write a <style></style> tag.
<style>
p {
color: teal
}
</style>
Notice that the above
<style>tag uses CSS to turn nearly all non-header and non-list-item or non table-text to the color teal.