I want to use some symbols in restructuredText; how can I do this? (e.g. →
in Markdown yields the "→" symbol as defined in the list of standard HTML character entities -- see also w3c reference)
Note: I don't want to require math formula support as a dependency.
For comments, add 2 periods .. followed by a newline and then your comment indented.
RST is a powerful and straightforward markup language that, in combination with Sphinx, provides a wide range of facilities for intelligent and appealing documentation creation. It uses simple and implicit syntax to introduce a variety of content elements such as titles, code blocks, vertical lists, and many others.
You have a large number of defined symbols via the "substitution" operator.
You have to include the definitions via .. include:: <isonum.txt>
or something similar.
Most of them have the form |larr|
or |rarr|
.
They are defined in the docutils.parsers.rst.include
installation directory. There are dozens of files which define numerous Unicode characters.
It was my impression that rst supported Unicode; can you just type in the raw character and let docutils
handle encoding for HTML?
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With