Text Styles

Created on Oct. 25, 2012, 10:21 p.m. by Hevok & updated by Hevok on May 2, 2013, 5:12 p.m.

Inline markup enable words and phrases within text bodies to have different character styles (italics, bold, etc.) and functionality (hyperlinks, references, etc.).

*italics* results into italics and **bold** becomes bold.

To force fixed-space literals (i.e. monospace), use quotes "``double back-quotes``": double back-quotes

reST is smart and in most cases knows when a special character is not special like in calculations: 5*5=25. Special characters like asterisks can be marked to be ignored by preceding them with backslash "*" or double back-quotes *.

Some demonstrations:

.. |substitution reference| image:: http://dgallery.s3.amazonaws.com/biohazard.png

*emphasis* -> emphasis
**strong emphasis** -> strong emphasis
`interpreted text` -> interpreted text
reference_ -> reference
`phrase reference`_ -> phrase reference
anonymous__ -> anonymous
|substitution reference| -> substitution reference
footnote reference [1]_ -> footnote reference [1]
citation reference [HEVOK2013]_ -> [Hevok2013]
http://denigma.de -> http://denigma.de

__ http://www.denigma.de/lifespan/

.. _reference: http://www.denigma.de/datasets/references/

.. _phrase reference: http://www.denigma.de/datasets/references/

_`inline internal target` -> inline internal target

[1]Hevok, 2012
[Hevok2013]A citation (as used in journals)

Tags: rest, styling, documetation
Categories: Tutorial
Parent: reStructuredText

Update entry (Admin) | See changes

Comment on This Data Unit