View difference between Paste ID: DQk9uukM and HiVi5cYS
SHOW: | | - or go back to the newest paste.
1
# **For everyone #newhere #neuhier #nouveauici #nouvelleici (please add more translated tags as comments for the next time!;))**
2
3-
There are some fun things you can do with Markdown formatting.
3+
## via [this post](https://joindiaspora.com/posts/54c680b0b40801366b870218b798024d) from @{dredmorbius@joindiaspora.com}
4
5
### _This reference is available as [**pastebin**](https://pastebin.com/DQk9uukM) too._ **;)**
6
7
***
8
9
## Contents:
10
# 1. Diaspora* #Markdown #Quick #Reference
11
# 2. Advanced Markdown #Tips and #Tricks
12
# 3. Version log. ;)
13
14
***
15
16
# Markdown Quick Reference
17
18
### There are some fun things you can do with Markdown formatting.
19
20
|Feature|Markdown|Example|
21
|:- |:- |:- |
22
|italic| `_italic_`| _italic_ |
23
|bold| `**bold**` | **bold** |
24
|strikethrough| `~~strikethrough~~` | ~~strikethrough~~ |
25
|superscript| `^superscript^`| ^superscript^ |
26
|subscript|`~subscript~`|~subscript~|
27
|links| `[Description](https://example.com/)`|[Description](https://example.com/)|
28
|bare links|`<https://www.example.com>`|<https://www.example.com>|
29
|code|\``code`\`|`code`|
30
|escape|`\*escape\*`|\*escape\*|
31
32
***
33
34
There are also:
35
36
Unordered lists:
37
38
* Foo
39
* Bar
40
  * Baz
41
    * Quz
42
43
```
44
* Foo
45
* Bar
46
  * Baz
47
    * Quz
48
```
49
50
Ordered lists:
51
52
1. Foo
53
1. Bar
54
   1. Baz
55
      1. Quz
56
57
```
58
1. Foo
59
1. Bar
60
   1. Baz
61
      1. Quz
62
```
63
64
***
65
66
Headers:
67
68
# Header 1
69
## Header 2
70
### Header 3
71
#### Header 4
72
##### Header 5
73
###### Header 6
74
75
```
76
# Header 1
77
## Header 2
78
### Header 3
79
#### Header 4
80
##### Header 5
81
###### Header 6
82
```
83
84
Headers also:
85
86
Header 1
87
==========
88
89
Header 2
90
---------
91
92
```
93
Header 1
94
==========
95
96
Header 2
97
---------
98
```
99
100
***
101
102
Blockquote:
103
104
> This is a blockquoted text passage.
105
>> You can nest your blockquotes.
106
>
107
> Or unnest them again.
108
109
```
110
> This is a blockquoted text passage.
111
>> You can nest your blockquotes.
112
>
113
> Or unnest them again.
114
```
115
116
To product a code block, as above:
117
118
    ```
119
    > This is a blockquoted text passage.
120
    >> You can nest your blockquotes.
121
    >
122
    > Or unnest them again.
123
    ```
124
125-
![Dummy text](https://joindiaspora.s3.amazonaws.com/uploads/images/thumb_small_3059c10576ae28ec722a.jpg)
125+
126
127
Normal text
128-
![Dummy text](https://joindiaspora.s3.amazonaws.com/uploads/images/thumb_small_3059c10576ae28ec722a.jpg)
128+
129
    Code block
130
131-
Tables:
131+
132
Normal text
133
134
    Code block
135
```
136
137
Horizontal rule:
138
139
----
140
141
    ----
142
143
Image
144
145-
#markdown #quickGuide #tips #googleplus #newhere #formatting
145+
![Image Description](https://upload.wikimedia.org/wikipedia/commons/thumb/4/48/Markdown-mark.svg/320px-Markdown-mark.svg.png "Image Title")
146
147
```
148
![Image Description](https://upload.wikimedia.org/wikipedia/commons/thumb/4/48/Markdown-mark.svg/320px-Markdown-mark.svg.png "Image Title")
149
```
150
151
@{zebulon_1er@diasp.org} said; You can nest an Image into a Link like
152
153
[![Image Description](https://upload.wikimedia.org/wikipedia/commons/thumb/4/48/Markdown-mark.svg/320px-Markdown-mark.svg.png "Image Title")](https://en.wikipedia.org/wiki/Markdown)
154
155
```
156
[![Image Description](https://upload.wikimedia.org/wikipedia/commons/thumb/4/48/Markdown-mark.svg/320px-Markdown-mark.svg.png "Image Title")](https://en.wikipedia.org/wiki/Markdown)
157
```
158
159
160
161
***
162
163
164
## How to create the table from the top of this #quick #reference
165
```
166
|Feature|Markdown|Example|
167
|:- |:- |:- |
168
|italic| `_italic_`| _italic_ |
169
|bold| `**bold**` | **bold** |
170
|strikethrough| `~~strikethrough~~` | ~~strikethrough~~ |
171
|superscript| `^superscript^`| ^superscript^ |
172
|links| `[Description](https://example.com/)`|[Description](https://example.com/)|
173
|code|\``code`\`|`code`|
174
|escape|`\*escape\*`|\*escape\*|
175
```
176
177
# #markdown #quick #reference #quickGuide #tips #googleplus #newhere #neuhier #nouveauici #nouvelleici #diaspora #formatting #fediverse
178
179
***
180
181
## Advanced Markdown tricks:
182
183
From...
184
185
> After the first three backticks which start a code block you can define for which language the syntax highlighting shall work
186
> ``` python
187
> for i in range(10):
188
>     print(i)
189
> ```
190
191
From...
192
193
> For tables, there is a useful generator: https://www.tablesgenerator.com/markdown_tables
194
195
196
197
198
***
199
200
## Version log:
201
|Version|Date|Comment|
202
|:- |:- |:- |
203
|[Original Post from Doc Edward Morbius](/posts/54c680b0b40801366b870218b798024d) |2018-10-17| |
204
|[First repost](/posts/610cd9d0461e01385006005056264835) |2020-03-04| |
205
|[Second Repost](/posts/610cd9d0461e01385006005056264835) |2020-03-12| Image link fixed|
206