Register
Login
Resources
Docs Blog Datasets Glossary Case Studies Tutorials & Webinars
Product
Data Engine LLMs Platform Enterprise
Pricing Explore
Connect to our Discord channel

rst-cheatsheet.rst 974 B

You have to be logged in to leave a comment. Sign In
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
  1. reStructuredText Cheatsheet
  2. ###########################
  3. The GMT documentations are written in `reStructureText (ReST) <https://docutils.sourceforge.io/rst.html>`_
  4. and built by `Sphinx <https://www.sphinx-doc.org/>`_.
  5. Here is a quick and dirty cheat sheet for some common ReST stuff used in GMT documentations.
  6. You can see the literal source code of the ReST file on the right,
  7. and the rendered web page on the left.
  8. .. note::
  9. Try a online reStructuredText editor (e.g. http://rst.ninjs.org/),
  10. if you want to preview texts written in ReST.
  11. For a more complete description of ReST syntax, please visit
  12. `the Sphinx documentation <http://www.sphinx-doc.org/en/master/usage/restructuredtext/index.html>`_.
  13. .. raw:: html
  14. <div style="float: left; width:49%">
  15. .. include:: rst-cheatsheet.rst_
  16. .. raw:: html
  17. </div>
  18. </div>
  19. <div style="float: right; width:49%">
  20. .. literalinclude:: rst-cheatsheet.rst_
  21. :language: none
  22. .. raw:: html
  23. </div>
Tip!

Press p or to see the previous file or, n or to see the next file

Comments

Loading...