UNPKG

722 BMarkdownView Raw
1
2# CardHome
3---
4
5A Smartdown Stack can have its cards in separate files, or they have their content within a single file, called a *multicard document*.
6
7To 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
9For example, the `Card2` in this example multicard stack has its content preceded by the following syntax:
10
11```markdown
12 # Card2
13 ---
14```
15
16Card1: Hello World
17
18[What is your name?](:?NAME)
19Hello [](:!NAME)
20
21---
22
23[Next](:@Card1)
24[Home](:@Home)
25
26
27# Card1
28---
29
30Card1: Hello World
31
32Hello [](:!NAME)
33
34[Prev](:@CardHome)
35[Next](:@Card2)
36
37
38# Card2
39---
40
41Card2: Hello World
42
43[Prev](:@Card1)
44[Next](:@CardHome)
45