diff options
| author | John MacFarlane <jgm@berkeley.edu> | 2010-03-24 10:51:38 -0700 |
|---|---|---|
| committer | John MacFarlane <jgm@berkeley.edu> | 2010-03-27 10:24:18 -0700 |
| commit | 6972c0b5b040f3de998d936e6ddf8580ecfa7b30 (patch) | |
| tree | b0f8228f7d5bb0a2704dc00122ce98f30607db7e /README | |
| parent | db31e066932461b0d1a86921ebf08c55c48a3f81 (diff) | |
| download | pandoc-6972c0b5b040f3de998d936e6ddf8580ecfa7b30.tar.gz | |
Implemented @ for sequentially numbered examples.
Also implemented (@label) for example labels and references.
Diffstat (limited to 'README')
| -rw-r--r-- | README | 28 |
1 files changed, 27 insertions, 1 deletions
@@ -667,12 +667,38 @@ So, the following yields a list numbered sequentially starting from 2: 1. Four * Five -If default list markers are desired, use '`#.`': +If default list markers are desired, use `#.`: #. one #. two #. three +Numbered examples +----------------- + +The special list marker `@` can be used for sequentially numbered +examples. The first list item with a `@` marker will be numbered '1', +the next '2', and so on, throughout the document. The numbered examples +need not occur in a single list; each new list using `@` will take up +where the last stopped. So, for example: + + (@) My first example will be numbered (1). + (@) My second example will be numbered (2). + + Explanation of examples. + + (@) My third example will be numbered (3). + +Numbered examples can be labeled and referred to later in the +document: + + (@good) This is a good example. + + As (@good) illustrates, ... + +The label can be any string of alphanumeric characters, underscores, +or hyphens. The example must occur before the reference. + Definition lists ---------------- |
