markup.HTML 1.1 KB

123456789101112131415161718192021222324252627282930313233
  1. # Markup
  2. The syntax for wiki pages is standard XHTML. All tags must be
  3. properly closed.
  4. ## Wiki links
  5. Links to other wiki pages are formed this way:
  6. `<a href="">Page Name</a>`. (Gitit converts links with empty
  7. targets into wikilinks.)
  8. To link to a wiki page using something else as the link text:
  9. `<a href="Page+Name">something else</a>`.
  10. Note that page names may contain spaces and some special
  11. characters. They need not be CamelCase. CamelCase words are *not*
  12. automatically converted to wiki links.
  13. Wiki pages may be organized into directories. So, if you have
  14. several pages on wine, you may wish to organize them like so:
  15. Wine/Pinot Noir
  16. Wine/Burgundy
  17. Wine/Cabernet Sauvignon
  18. Note that a wiki link `<a href="">Burgundy</a>` that occurs inside
  19. the `Wine` directory will link to `Wine/Burgundy`, and not to
  20. `Burgundy`. To link to a top-level page called `Burgundy`, you'd
  21. have to use `<a href="/Burgundy">Burgundy</a>`.
  22. To link to a directory listing for a subdirectory, use a trailing
  23. slash: `<a href="">Wine/</a>` will link to a listing of the `Wine` subdirectory.