====== symbols ====== ===== special symbols ===== ==== unicode symbol ==== For example, how to insert "tick" symbol. Find code of symbol here: [[https://www.compart.com/en/unicode/search?q=check+mark#characters|Unicode Characters]] unicode:: U+2714 ====
new line symbol ==== To insert new line: ==== use substition ==== [[https://www.sphinx-doc.org/en/master/usage/restructuredtext/basics.html#substitutions|substitutions]] |tick| My table cell test |br| continues in new line. .. |br| raw:: html
.. |tick| unicode:: U+2714
Conditional substitution: .. only:: html .. raw:: html google .. only:: latex latex specific Workaround for different conditionals for ''html'' and ''latex'' .. |br| replace:: |br_html| |br_latex| .. |br_html| raw:: html
.. |br_latex| raw:: latex \newline
Or Sphinx project wide: rst_prolog = r""" .. |br| replace:: |br_html| |br_latex| .. |br_html| raw:: html
.. |br_latex| raw:: latex \newline """