File: markup.LaTeX

package info (click to toggle)
gitit 0.15.1.0%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 1,060 kB
  • sloc: haskell: 4,757; javascript: 710; xml: 245; sh: 65; makefile: 16
file content (63 lines) | stat: -rw-r--r-- 1,588 bytes parent folder | download | duplicates (8)
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
# Markup

This wiki's pages are written in (a subset of) [LaTeX].

  [LaTeX]: http://www.latex-project.org/

The following commands and environments are recognized:

-   `\emph{emphasis}`

-   `\textbf{bold}`

-   `verb!verbatim@@\#!`

-   `\textsubscr{2}`

-   `\sout{strikeout}`

-   `\textsuperscript{2}`

-   `$e = mc^2$`

-   `$$e = mc^2$$`

-   `\footnote{a footnote}`

-   `\section{section}`, `\subsection{subsection}`, etc.

-   `\begin{quote} . . . \end{quote}`

-   `\begin{verbatim} . . . \end{verbatim}`

-   `\begin{itemize} . . . \end{itemize}`

-   `\begin{enumerate} . . . \end{enumerate}`

## Wiki links

Links to other wiki pages are formed this way: `\href{}{Page Name}`.
(Gitit converts markdown links with empty targets into wikilinks.)

To link to a wiki page using something else as the link text:
`\href{Page Name}{Something else}`.

Note that page names may contain spaces and some special
characters. They need not be CamelCase. CamelCase words are *not*
automatically converted to wiki links.

Wiki pages may be organized into directories. So, if you have
several pages on wine, you may wish to organize them like so:

    Wine/Pinot Noir
    Wine/Burgundy
    Wine/Cabernet Sauvignon

Note that a wiki link `\href{}{Burgundy}` that occurs inside the `Wine`
directory will link to `Wine/Burgundy`, and not to `Burgundy`. To
link to a top-level page called `Burgundy`, you'd have to use
`\href{/Burgundy}{Burgundy}`.

To link to a directory listing for a subdirectory, use a trailing
slash:  `\href{}{Wine/}` will link to a listing of the `Wine` subdirectory.