markup.RST 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. # Markup
  2. This wiki's pages are written in [reStructuredText]. If you're
  3. not familiar with reStructuredText, you should start by looking at
  4. the [primer] and the [quick reference guide]. Note that not all
  5. reStructuredText constructs are currently supported. Use the
  6. preview button if you're in doubt.
  7. [reStructuredText]: http://docutils.sourceforge.net/rst.html
  8. [primer]: http://docutils.sourceforge.net/docs/user/rst/quickstart.html
  9. [quick reference guide]: http://docutils.sourceforge.net/docs/user/rst/quickref.html
  10. ## Wiki links
  11. Links to other wiki pages are formed this way: `` `Page Name <>`_ ``.
  12. (Gitit converts markdown links with empty targets into wikilinks.)
  13. To link to a wiki page using something else as the link text:
  14. either `` `something else <Page+Name>`_ `` or
  15. `something else`_
  16. .. _`something else`: Page Name
  17. Note that page names may contain spaces and some special
  18. characters. They need not be CamelCase. CamelCase words are *not*
  19. automatically converted to wiki links.
  20. Wiki pages may be organized into directories. So, if you have
  21. several pages on wine, you may wish to organize them like so:
  22. Wine/Pinot Noir
  23. Wine/Burgundy
  24. Wine/Cabernet Sauvignon
  25. Note that a wiki link `` `Burgundy <>`_ `` that occurs inside the `Wine`
  26. directory will link to `Wine/Burgundy`, and not to `Burgundy`. To
  27. link to a top-level page called `Burgundy`, you'd have to use
  28. `` `Burgundy </Burgundy>`_ ``.
  29. To link to a directory listing for a subdirectory, use a trailing
  30. slash: `` `Wine/ <>`_ `` will link to a listing of the `Wine` subdirectory.