Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 64 lines (37 sloc) 1.588 kB
fb13ed5 @jgm Revert "Removed markup.* files, no longer used."
authored
1 # Markup
2
3 This wiki's pages are written in (a subset of) [LaTeX].
4
5 [LaTeX]: http://www.latex-project.org/
6
7 The following commands and environments are recognized:
8
9 - `\emph{emphasis}`
10
11 - `\textbf{bold}`
12
13 - `verb!verbatim@@\#!`
14
15 - `\textsubscr{2}`
16
17 - `\sout{strikeout}`
18
19 - `\textsuperscript{2}`
20
21 - `$e = mc^2$`
22
23 - `$$e = mc^2$$`
24
25 - `\footnote{a footnote}`
26
27 - `\section{section}`, `\subsection{subsection}`, etc.
28
29 - `\begin{quote} . . . \end{quote}`
30
31 - `\begin{verbatim} . . . \end{verbatim}`
32
33 - `\begin{itemize} . . . \end{itemize}`
34
35 - `\begin{enumerate} . . . \end{enumerate}`
36
37 ## Wiki links
38
39 Links to other wiki pages are formed this way: `\href{}{Page Name}`.
40 (Gitit converts markdown links with empty targets into wikilinks.)
41
42 To link to a wiki page using something else as the link text:
43 `\href{Page Name}{Something else}`.
44
45 Note that page names may contain spaces and some special
46 characters. They need not be CamelCase. CamelCase words are *not*
47 automatically converted to wiki links.
48
49 Wiki pages may be organized into directories. So, if you have
50 several pages on wine, you may wish to organize them like so:
51
52 Wine/Pinot Noir
53 Wine/Burgundy
54 Wine/Cabernet Sauvignon
55
56 Note that a wiki link `\href{}{Burgundy}` that occurs inside the `Wine`
57 directory will link to `Wine/Burgundy`, and not to `Burgundy`. To
58 link to a top-level page called `Burgundy`, you'd have to use
59 `\href{/Burgundy}{Burgundy}`.
60
61 To link to a directory listing for a subdirectory, use a trailing
62 slash: `\href{}{Wine/}` will link to a listing of the `Wine` subdirectory.
63
Something went wrong with that request. Please try again.