Welcome to mirror list, hosted at ThFree Co, Russian Federation.

markdown-syntax.md « sample « content « exampleSite - github.com/thingsym/hugo-theme-techdoc.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: a16f4edffcaeb4021b2eec8640d421bf92f3e3e3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
---
title: "Markdown Syntax"
date: 2020-11-17T15:26:15Z
draft: false
weight: 10
description: "calling custom Shortcodes into your content files."
---

## Headings

```markdown
# Heading level 1
## Heading level 2
### Heading level 3
#### Heading level 4
##### Heading level 5
###### Heading level 6
```

## Emphasis

```markdown
*Italic*  
**Bold**  
~~Strikethrough~~
```

## Horizontal Rule

```markdown
---
```

## Lists

### Unordered Lists

```markdown
- First item
- Second item
- Third item
- Fourth item
```

or

```markdown
* First item
* Second item
* Third item
* Fourth item
```

### Ordered Lists

```markdown
1. First item
2. Second item
3. Third item
4. Fourth item
```

## Code

````markdown
```ruby
puts 'The best way to log and share programmers knowledge.'
puts 'The best way to log and share programmers knowledge.'
```
````

## Inline code

```markdown
`#ffce44`
```

## Blockquote

```markdown
> this is a blockquote. this is a blockquote. this is a blockquote. this is a blockquote. this is a blockquote. this is a blockquote.
>
> this is a blockquote.
>
> this is a blockquote.
>
> this is a blockquote
```

## Links

```markdown
[Hugo Techdoc Theme demo](https://themes.gohugo.io/theme/hugo-theme-techdoc/)
```

## Table

```markdown
| header | header | header |
|------------|-------------|--------------|
| Lorem      | Lorem       | Lorem        |
| ipsum      | ipsum       | ipsum        |
| dolor      | dolor       | dolor        |
| sit        | sit         | sit          |
| amet       | amet        | amet         |
```

## Images

```markdown
![2 People Sitting With View of Yellow Flowers during Daytime](../images/pexels-photo-196666.jpeg "sample")
```


## Image with link

```markdown
[![2 People Sitting With View of Yellow Flowers during Daytime](../images/pexels-photo-196666.jpeg)](https://www.pexels.com/photo/2-people-sitting-with-view-of-yellow-flowers-during-daytime-196666/)
```

## Definition Lists

```markdown
First Term
: This is the definition.

Second Term
: This is the definition.
: This is the definition.
```

## Task Lists

```markdown
- [x] to do task 1
- [ ] to do task 2
- [ ] to do task 3
```

## Footnotes

```markdown
this is a footnote,[^1] and this is the second footnote.[^2]

[^1]: This is the first footnote.
[^2]: This is the second footnote.
```