mirror of
https://github.com/LeCoupa/awesome-cheatsheets.git
synced 2026-01-27 05:38:01 -08:00
Merge 0367462d4d into 7e9e6af408
This commit is contained in:
146
tools/markdown.md
Normal file
146
tools/markdown.md
Normal file
@@ -0,0 +1,146 @@
|
||||
<!-- ----------- Markdown Cheat sheet -----------------------------------------
|
||||
|
||||
Markdown is a lightweight markup language for creating formatted text
|
||||
using a plain-text editor. John Gruber created Markdown in 2004 as a markup
|
||||
language that is appealing to human readers in its source code form. Markdown
|
||||
is widely used in blogging, instant messaging, online forums, collaborative
|
||||
software, documentation pages, and readme files.
|
||||
------------------------------------------------------------------------------->
|
||||
|
||||
<!-- Headings -->
|
||||
|
||||
<!-- To create a heading, add number signs (#) in front of a word or phrase. The number of
|
||||
number signs you use should correspond to the heading level. -->
|
||||
|
||||
<!-- Example: -->
|
||||
### The Nile River is the largest river in the world.
|
||||
|
||||
|
||||
| Explanation | Syntax |
|
||||
| --- | --- |
|
||||
| Heading level 1 | # Example of heading level 1 |
|
||||
| Heading level 2 | ## Example of heading level 2 |
|
||||
| Heading level 3 | ### Example of heading level 3 |
|
||||
| Heading level 4 | #### Example of heading level 4 |
|
||||
| Heading level 5 | ##### Example of heading level 5 |
|
||||
| Heading level 6 | ###### Example of heading level 6 |
|
||||
|
||||
|
||||
<!---------------------------------------------------------------------->
|
||||
|
||||
|
||||
<!-- Paragraphs -->
|
||||
|
||||
<!-- To create paragraphs, use a blank line to separate one or more lines of text. -->
|
||||
|
||||
|
||||
| Markdown | HTML |
|
||||
| --- | --- |
|
||||
| Example of Paragraph | <p> Example of Paragraph </p> |
|
||||
|
||||
|
||||
<!---------------------------------------------------------------------->
|
||||
|
||||
<!-- Bold and Italic text -->
|
||||
|
||||
<!-- To bold text, add two asterisks or underscores before and after a word or phrase. To bold
|
||||
the middle of a word for emphasis, add two asterisks without spaces around the letters.
|
||||
|
||||
To italicize text, add one asterisk or underscore before and after a word or phrase. To italicize
|
||||
the middle of a word for emphasis, add one asterisk without spaces around the letters. -->
|
||||
|
||||
|
||||
| Bold text | Italic text |
|
||||
| --- | --- |
|
||||
| **Javascript** is popular programming language |*Javascript* is popular programming language |
|
||||
|
||||
|
||||
<!---------------------------------------------------------------------->
|
||||
|
||||
<!-- Blockquotes and Nested Blockquotes -->
|
||||
|
||||
<!-- To create a blockquote, add a > in front of a paragraph. -->
|
||||
|
||||
> The Nile River is the largest river in the world.
|
||||
|
||||
<!-- Blockquotes can be nested. Add a >> in front of the paragraph you want to nest. -->
|
||||
|
||||
>> The Mount Everest is the highest mountain in the world.
|
||||
|
||||
|
||||
|
||||
| Blockquote | Nested Blockquote |
|
||||
| --- | --- |
|
||||
| > This is a blockquote | >> This is a nested blockquote |
|
||||
|
||||
|
||||
<!---------------------------------------------------------------------->
|
||||
|
||||
<!-- Ordered Lists and Unordered Lists -->
|
||||
|
||||
<!-- You can organize items into ordered and unordered lists. -->
|
||||
|
||||
|
||||
<!-- Example of Ordered Lists -->
|
||||
1. First item
|
||||
2. Second item
|
||||
3. Third item
|
||||
1. Indented item
|
||||
2. Indented item
|
||||
4. Fourth item
|
||||
|
||||
|
||||
<!-- Example of Unordered Lists -->
|
||||
- First item
|
||||
- Second item
|
||||
- Third item
|
||||
- Indented item
|
||||
- Indented item
|
||||
- Fourth item
|
||||
|
||||
<!---------------------------------------------------------------------->
|
||||
|
||||
<!-- Code -->
|
||||
|
||||
<!-- To denote a word or phrase as code, enclose it in backticks (`). -->
|
||||
|
||||
<!-- Example -->
|
||||
The `pwd` command writes to standard output the full path name of your current directory
|
||||
|
||||
|
||||
<!---------------------------------------------------------------------->
|
||||
|
||||
<!-- Horizontal Rules -->
|
||||
|
||||
<!-- To create a horizontal rule, use three or more asterisks (***), dashes (---), or
|
||||
underscores (___) on a line by themselves. -->
|
||||
|
||||
|
||||
<!-- Example -->
|
||||
|
||||
**********
|
||||
----------
|
||||
__________
|
||||
|
||||
|
||||
<!---------------------------------------------------------------------->
|
||||
|
||||
<!-- Links -->
|
||||
|
||||
<!-- To create a link, enclose the link text in brackets and then follow it immediately with the URL in parentheses -->
|
||||
|
||||
<!-- Example -->
|
||||
|
||||
[Wikipedia](https://wikipedia.com) is a free online encyclopedia, created and edited by volunteers around the world and hosted by the Wikimedia Foundation.
|
||||
|
||||
<!---------------------------------------------------------------------->
|
||||
|
||||
<!-- Images -->
|
||||
|
||||
<!-- To add an image, add an exclamation mark (!), followed by alt text in brackets, and the path or
|
||||
URL to the image asset in parentheses. You can optionally add a title in quotation marks after the path or URL. -->
|
||||
|
||||
|
||||

|
||||
|
||||
|
||||
BIN
tools/markdown.png
Normal file
BIN
tools/markdown.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 25 KiB |
Reference in New Issue
Block a user