meta data for this page
symbols
special symbols
unicode symbol
For example, how to insert “tick” symbol. Find code of symbol here: Unicode Characters
unicode:: U+2714
<br /> new line symbol
To insert new line:
use substition
|tick| My table cell test |br| continues in new line. .. |br| raw:: html <br /> .. |tick| unicode:: U+2714
Conditional substitution:
.. only:: html .. raw:: html <a href="http://www.google.com">google</a> .. only:: latex latex specific
Workaround for different conditionals for html
and latex
.. |br| replace:: |br_html| |br_latex| .. |br_html| raw:: html <br> .. |br_latex| raw:: latex \newline
Or Sphinx project wide:
- conf.py
rst_prolog = r""" .. |br| replace:: |br_html| |br_latex| .. |br_html| raw:: html <br /> .. |br_latex| raw:: latex \newline """