添加中文说明书
This commit is contained in:
parent
4ca99e2156
commit
a06585b9ce
6 changed files with 89 additions and 13 deletions
|
@ -8,6 +8,7 @@ categories: ["Markdown"]
|
|||
---
|
||||
|
||||
This article offers a sample of basic Markdown syntax that can be used in Hugo content files, also it shows whether basic HTML elements are decorated with CSS in a Hugo theme.
|
||||
|
||||
<!--more-->
|
||||
|
||||
## Headings
|
||||
|
@ -15,10 +16,15 @@ This article offers a sample of basic Markdown syntax that can be used in Hugo c
|
|||
The following HTML `<h1>`—`<h6>` elements represent six levels of section headings. `<h1>` is the highest section level while `<h6>` is the lowest.
|
||||
|
||||
# H1
|
||||
|
||||
## H2
|
||||
|
||||
### H3
|
||||
|
||||
#### H4
|
||||
|
||||
##### H5
|
||||
|
||||
###### H6
|
||||
|
||||
## Paragraph
|
||||
|
@ -47,15 +53,17 @@ The blockquote element represents content that is quoted from another source, op
|
|||
|
||||
Tables aren't part of the core Markdown spec, but Hugo supports supports them out-of-the-box.
|
||||
|
||||
Name | Age
|
||||
--------|------
|
||||
| Name | Age |
|
||||
| ---- | --- |
|
||||
|
||||
Bob | 27
|
||||
|
||||
Alice | 23
|
||||
|
||||
#### Inline Markdown within tables
|
||||
|
||||
| Italics | Bold | Code |
|
||||
| -------- | -------- | ------ |
|
||||
| --------- | -------- | ------ |
|
||||
| *italics* | **bold** | `code` |
|
||||
|
||||
## Code Blocks
|
||||
|
@ -89,8 +97,10 @@ Tables aren't part of the core Markdown spec, but Hugo supports supports them ou
|
|||
</html>
|
||||
|
||||
#### Code block with Hugo's internal highlight shortcode
|
||||
|
||||
{{< highlight html >}}
|
||||
<!doctype html>
|
||||
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
|
@ -109,7 +119,6 @@ Tables aren't part of the core Markdown spec, but Hugo supports supports them ou
|
|||
1. First item
|
||||
2. Second item
|
||||
3. Third item
|
||||
|
||||
- [x] checked
|
||||
- [ ] not checked
|
||||
|
||||
|
@ -128,4 +137,3 @@ Tables aren't part of the core Markdown spec, but Hugo supports supports them ou
|
|||
* Dairy
|
||||
* Milk
|
||||
* Cheese
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue