1 |
|
2 | # CardHome
|
3 | ---
|
4 |
|
5 | A Smartdown Stack can have its cards in separate files, or they have their content within a single file, called a *multicard document*.
|
6 |
|
7 | To author such a document, precede each logical card by a header identifying the card's *key*, which may then be used for hyperlinking within the multicard document.
|
8 |
|
9 | For example, the `Card2` in this example multicard stack has its content preceded by the following syntax:
|
10 |
|
11 | ```markdown
|
12 | # Card2
|
13 | ---
|
14 | ```
|
15 |
|
16 | Card1: Hello World
|
17 |
|
18 | [What is your name?](:?NAME)
|
19 | Hello [](:!NAME)
|
20 |
|
21 | ---
|
22 |
|
23 | [Next](:@Card1)
|
24 | [Home](:@Home)
|
25 |
|
26 |
|
27 | # Card1
|
28 | ---
|
29 |
|
30 | Card1: Hello World
|
31 |
|
32 | Hello [](:!NAME)
|
33 |
|
34 | [Prev](:@CardHome)
|
35 | [Next](:@Card2)
|
36 |
|
37 |
|
38 | # Card2
|
39 | ---
|
40 |
|
41 | Card2: Hello World
|
42 |
|
43 | [Prev](:@Card1)
|
44 | [Next](:@CardHome)
|
45 |
|