Skip to content

Commit ebc03c8

Browse files
authored
Merge branch 'main' into repo-sync
2 parents a8b8e1a + 2e02cbc commit ebc03c8

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed
-14.4 KB
Loading

content/github/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -270,12 +270,27 @@ You can add footnotes to your content by using this bracket syntax:
270270
```
271271
Here is a simple footnote[^1].
272272
273+
A footnote can also have multiple lines[^2].
274+
275+
You can also use words, to fit your writing style more closely[^note].
276+
273277
[^1]: My reference.
278+
[^2]: Every new line should be prefixed with 2 spaces.
279+
This allows you to have a footnote with multiple lines.
280+
[^note]:
281+
Named footnotes will still render with numbers instead of the text but allow easier identification and linking.
282+
This footnote also has been made with a different syntax using 4 spaces for new lines.
274283
```
275284

276285
The footnote will render like this:
277286

278287
![Rendered footnote](/assets/images/site/rendered-footnote.png)
288+
289+
{% tip %}
290+
291+
**Note**: The position of a footnote in your Markdown does not influence where the footnote will be rendered. You can write a footnote right after your reference to the footnote, and the footnote will still render at the bottom of the Markdown.
292+
293+
{% endtip %}
279294
{% endif %}
280295

281296
## Hiding content with comments

0 commit comments

Comments
 (0)