Skip to content

Commit 93e0f66

Browse files
author
Thomas Phipps
committed
Merge branch 'footnotes-guide' into 'master'
Footnotes guide See merge request saltstack/open/docs/salt-user-guide!79
2 parents 8f1cb43 + ed5acc8 commit 93e0f66

File tree

1 file changed

+25
-1
lines changed

1 file changed

+25
-1
lines changed

docs/topics/writing-salt-docs.rst

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -332,4 +332,28 @@ The syntax for images is as follows::
332332
Always assign an alternate image name to improve accessibility.
333333

334334

335-
Tabs
335+
Footnotes
336+
=========
337+
Sphinx provides the ability to add footnotes to a section of text.
338+
339+
In the body of your text where you want the footnote to appear, use this syntax::
340+
341+
Text preceding first footnote. [#f1]_
342+
Text preceding second footnote. [#f2]_
343+
344+
Then place this reference in the text where you want the footnote reference to
345+
appear::
346+
347+
.. [#f1] Text of the first footnote.
348+
349+
.. [#f2] Text of the second footnote.
350+
351+
These footnotes render as:
352+
353+
Text preceding first footnote. [#f1]_
354+
355+
Text preceding second footnote. [#f2]_
356+
357+
.. [#f1] Text of the first footnote.
358+
359+
.. [#f2] Text of the second footnote.

0 commit comments

Comments
 (0)