remove non ascii whitespaces
This commit is contained in:
parent
598a10bc28
commit
5a6d6c4d13
117 changed files with 1928 additions and 1928 deletions
|
@ -10,7 +10,7 @@ Markdown is a lightweight markup language that provides a simple and human-reada
|
|||
# Syntax
|
||||
## Basic Syntax
|
||||
### 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. For example, to create a heading level three (`<h3>`), use three number signs (e.g., `### My Header`).
|
||||
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. For example, to create a heading level three (`<h3>`), use three number signs (e.g., `### My Header`).
|
||||
```markdown
|
||||
# Heading 1
|
||||
## Heading 2
|
||||
|
@ -42,12 +42,12 @@ To emphasize text with bold and italics at the same time, add three asterisks or
|
|||
```
|
||||
|
||||
### Blockquote
|
||||
To create a blockquote, add a `>` in front of a paragraph.
|
||||
To create a blockquote, add a `>` in front of a paragraph.
|
||||
```markdown
|
||||
> My blockquote
|
||||
```
|
||||
|
||||
Blockquotes can be nested. Add a `>>` in front of the paragraph you want to nest.
|
||||
Blockquotes can be nested. Add a `>>` in front of the paragraph you want to nest.
|
||||
|
||||
Blockquotes can contain other Markdown formatted elements. Not all elements can be used — you’ll need to experiment to see which ones work.
|
||||
|
||||
|
@ -78,7 +78,7 @@ At the command prompt, type `nano`.
|
|||
To create a horizontal rule, use three or more asterisks (`***`), dashes (`---`), or underscores (`___`) on a line by themselves.
|
||||
|
||||
### Links
|
||||
To create a link, enclose the link text in brackets (e.g., `[Duck Duck Go]`) and then follow it immediately with the [URL](../internet/URL.md) in parentheses (e.g., `(https://duckduckgo.com)`).
|
||||
To create a link, enclose the link text in brackets (e.g., `[Duck Duck Go]`) and then follow it immediately with the [URL](../internet/URL.md) in parentheses (e.g., `(https://duckduckgo.com)`).
|
||||
```markdown
|
||||
My favorite search engine is [Duck Duck Go](https://duckduckgo.com).
|
||||
```
|
||||
|
@ -88,7 +88,7 @@ Reference-style links are a special kind of link that make URLs easier to displa
|
|||
The first part of a reference-style link is formatted with two sets of brackets. The first set of brackets surrounds the text that should appear linked. The second set of brackets displays a label used to point to the link you’re storing elsewhere in your document.
|
||||
|
||||
The second part of a reference-style link is formatted with the following attributes:
|
||||
1. The label, in brackets, followed immediately by a colon and at least one space (e.g., `[label]:` ).
|
||||
1. The label, in brackets, followed immediately by a colon and at least one space (e.g., `[label]:` ).
|
||||
2. The [URL](../internet/URL.md) for the link, which you can optionally enclose in angle brackets.
|
||||
3. The optional title for the link, which you can enclose in double quotes, single quotes, or parentheses.
|
||||
|
||||
|
@ -125,7 +125,7 @@ You can use a backslash to escape the following characters.
|
|||
| \| | pipe |
|
||||
|
||||
### HTML
|
||||
Many Markdown applications allow you to use [HTML](../internet/HTML.md) tags in Markdown-formatted text. This is helpful if you prefer certain [HTML](../internet/HTML.md) tags to Markdown syntax. For example, some people find it easier to use [HTML](../internet/HTML.md) tags for images. Using [HTML](../internet/HTML.md) is also helpful when you need to change the attributes of an element, like specifying the color of text or changing the width of an image.
|
||||
Many Markdown applications allow you to use [HTML](../internet/HTML.md) tags in Markdown-formatted text. This is helpful if you prefer certain [HTML](../internet/HTML.md) tags to Markdown syntax. For example, some people find it easier to use [HTML](../internet/HTML.md) tags for images. Using [HTML](../internet/HTML.md) is also helpful when you need to change the attributes of an element, like specifying the color of text or changing the width of an image.
|
||||
|
||||
## Extented Syntax
|
||||
### Tables
|
||||
|
@ -138,7 +138,7 @@ To add a table, use three or more hyphens (`---`) to create each column’s head
|
|||
```
|
||||
|
||||
### Fenced Code Blocks
|
||||
To create code blocks use three backticks at the start and end of the code block (` ``` ``` `).
|
||||
To create code blocks use three backticks at the start and end of the code block (` ``` ``` `).
|
||||
|
||||
Many Markdown processors support syntax highlighting for fenced code blocks. This feature allows you to add color highlighting for whatever language your code was written in. To add syntax highlighting, specify a language directly after the backticks on the first line of the fenced code block.
|
||||
|
||||
|
@ -174,10 +174,10 @@ You can link to headings with custom IDs in the file by creating a standard link
|
|||
| `[Heading IDs](#heading-ids)` | `<a href="#heading-ids">Heading IDs</a>` |
|
||||
|
||||
### Strikethrough
|
||||
You can strikethrough words by putting a horizontal line through the center of them. The result looks ~~like this~~. This feature allows you to indicate that certain words are a mistake not meant for inclusion in the document. To strikethrough words, use two tilde symbols (`~~`) before and after the words.
|
||||
You can strikethrough words by putting a horizontal line through the center of them. The result looks ~~like this~~. This feature allows you to indicate that certain words are a mistake not meant for inclusion in the document. To strikethrough words, use two tilde symbols (`~~`) before and after the words.
|
||||
|
||||
### Task Lists
|
||||
Task lists (also referred to as _checklists_ and _todo_ lists) allow you to create a list of items with checkboxes. In Markdown applications that support task lists, checkboxes will be displayed next to the content. To create a task list, add dashes (`-`) and brackets with a space (`[ ]`) in front of task list items. To select a checkbox, add an `x` in between the brackets (`[x]`).
|
||||
Task lists (also referred to as _checklists_ and _todo_ lists) allow you to create a list of items with checkboxes. In Markdown applications that support task lists, checkboxes will be displayed next to the content. To create a task list, add dashes (`-`) and brackets with a space (`[ ]`) in front of task list items. To select a checkbox, add an `x` in between the brackets (`[x]`).
|
||||
|
||||
```markdown
|
||||
- [x] Write the press release
|
||||
|
@ -186,7 +186,7 @@ Task lists (also referred to as _checklists_ and _todo_ lists) allow you to
|
|||
```
|
||||
|
||||
### Highlight
|
||||
This isn’t common, but some Markdown processors allow you to highlight text. The result looks ==like this==. To highlight words, use two equal signs (`==`) before and after the words.
|
||||
This isn’t common, but some Markdown processors allow you to highlight text. The result looks ==like this==. To highlight words, use two equal signs (`==`) before and after the words.
|
||||
```markdown
|
||||
I need to highlight these ==very important words==.
|
||||
```
|
||||
|
@ -205,9 +205,9 @@ Markdown doesn’t allow you to change the color of text, so again we need [HTML
|
|||
```
|
||||
|
||||
### Comments
|
||||
Some people need the ability to write sentences in their Markdown files that _will not_ appear in the rendered output. These comments are essentially hidden text. The text is viewable by the author of the document, but it’s not printed on the webpage or [PDF](PDF.md). Markdown doesn’t natively support comments, but several enterprising individuals have devised a solution.
|
||||
Some people need the ability to write sentences in their Markdown files that _will not_ appear in the rendered output. These comments are essentially hidden text. The text is viewable by the author of the document, but it’s not printed on the webpage or [PDF](PDF.md). Markdown doesn’t natively support comments, but several enterprising individuals have devised a solution.
|
||||
|
||||
To add a comment, place text inside brackets followed by a colon, a space, and a pound sign (e.g., `[comment]: #`). You should put blank lines before and after a comment.
|
||||
To add a comment, place text inside brackets followed by a colon, a space, and a pound sign (e.g., `[comment]: #`). You should put blank lines before and after a comment.
|
||||
|
||||
```markdown
|
||||
Here's a paragraph that will be visible.
|
||||
|
@ -218,7 +218,7 @@ And here's another paragraph that's visible.
|
|||
```
|
||||
|
||||
### Image Size
|
||||
The Markdown syntax for images doesn’t allow you to specify the width and height of images. If you need to resize an image and your Markdown processor supports [HTML](../internet/HTML.md), you can use the `img` [HTML](../internet/HTML.md) tag with the `width` and `height` attributes to set the dimensions of an image in pixels.
|
||||
The Markdown syntax for images doesn’t allow you to specify the width and height of images. If you need to resize an image and your Markdown processor supports [HTML](../internet/HTML.md), you can use the `img` [HTML](../internet/HTML.md) tag with the `width` and `height` attributes to set the dimensions of an image in pixels.
|
||||
```html
|
||||
<img src="image.png" width="200" height="100">
|
||||
```
|
||||
|
@ -226,22 +226,22 @@ The Markdown syntax for images doesn’t allow you to specify the width and he
|
|||
### Symbols
|
||||
Markdown doesn’t provide special syntax for symbols. However, in most cases, you can copy and paste whatever symbol you want to use into your Markdown document. For example, if you need to display Pi (π), just find the symbol on a webpage and copy and paste it into your document. The symbol should appear as expected in the rendered output.
|
||||
|
||||
Alternatively, if your Markdown application supports [HTML](../internet/HTML.md), you can use the [HTML](../internet/HTML.md) entity for whatever symbol you want to use. For example, if you want to display the copyright sign (©), you can copy and paste the [HTML](../internet/HTML.md) entity for copyright (`©`) into your Markdown document.
|
||||
Alternatively, if your Markdown application supports [HTML](../internet/HTML.md), you can use the [HTML](../internet/HTML.md) entity for whatever symbol you want to use. For example, if you want to display the copyright sign (©), you can copy and paste the [HTML](../internet/HTML.md) entity for copyright (`©`) into your Markdown document.
|
||||
|
||||
Here’s a partial list of [HTML](../internet/HTML.md) entities for symbols:
|
||||
- Copyright (©) — `©`
|
||||
- Registered trademark (®) — `®`
|
||||
- Trademark (™) — `™`
|
||||
- Euro (€) — `€`
|
||||
- Left arrow (←) — `←`
|
||||
- Up arrow (↑) — `↑`
|
||||
- Right arrow (→) — `→`
|
||||
- Down arrow (↓) — `↓`
|
||||
- Degree (°) — `°`
|
||||
- Pi (π) — `π`
|
||||
- Copyright (©) — `©`
|
||||
- Registered trademark (®) — `®`
|
||||
- Trademark (™) — `™`
|
||||
- Euro (€) — `€`
|
||||
- Left arrow (←) — `←`
|
||||
- Up arrow (↑) — `↑`
|
||||
- Right arrow (→) — `→`
|
||||
- Down arrow (↓) — `↓`
|
||||
- Degree (°) — `°`
|
||||
- Pi (π) — `π`
|
||||
|
||||
### Line Breaks Within Table Cells
|
||||
You can separate paragraphs within a table cell by using one or more `<br>` [HTML](../internet/HTML.md) tags.
|
||||
You can separate paragraphs within a table cell by using one or more `<br>` [HTML](../internet/HTML.md) tags.
|
||||
|
||||
## Frontmatter
|
||||
Frontmatter allows you to add structured metadata to your markdown files. Add a [YAML](YAML.md) document embedded in a three-dotted block at the top of your file.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue