Skip to content

Instantly share code, notes, and snippets.

@deepyes02
Last active March 2, 2022 07:12
Show Gist options
  • Save deepyes02/fe1f348813a2e10f4b54462dfa3ff8ad to your computer and use it in GitHub Desktop.
Save deepyes02/fe1f348813a2e10f4b54462dfa3ff8ad to your computer and use it in GitHub Desktop.
wp_engine_git_setup_README.md
Lists (Ordered Lists and Unordered Lists)
Lists are made by using indentation and a beginning-of-line marker to indicate a list item. For example, unordered lists are made like this:
* One item
* Another item
* A sub-item
* A deeper item
* Back in sub-item land
* And back at the main level
Unordered lists can use an asterisk (*), plus (+), or minus (-) to indicate each list item.
Ordered lists use a number at the beginning of the line. The numbers do not need to be incremented - this will happen for you automatically by the HTML. That makes it easier to re-order your ordered lists (in markdown) as needed.
Also, ordered and unordered lists can be nested within each other. For example:
* One item
* Another item
1. A nested ordered list
1. This is the second item
* And now an unordered list as its child
* Another item in this list
1. One more in the ordered list
* And back at the main level
Code and Syntax Highlighting
Inline code uses `backticks` around it. Code blocks are either fenced by three backticks (```) or indented four spaces. For example:
```
var foo = 'bar';
function baz(s) {
return foo + ':' + s;
}
```
Blockquotes
Use > to offset text as a blockquote. For example:
> This is some part of a blockquote.
> Some more stuff.
Will produce:
This is some part of a blockquote. Some more stuff.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment