UNPKG

smartdown

Version:

A library for translating, rendering and interacting with Smartdown documents. Smartdown is an extension of Markdown that provides richer media support and reactive programming capability.

46 lines (26 loc) 722 B
# CardHome --- A Smartdown Stack can have its cards in separate files, or they have their content within a single file, called a *multicard document*. 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. For example, the `Card2` in this example multicard stack has its content preceded by the following syntax: ```markdown # Card2 --- ``` Card1: Hello World [What is your name?](:?NAME) Hello [](:!NAME) --- [Next](:@Card1) [Home](:@Home) # Card1 --- Card1: Hello World Hello [](:!NAME) [Prev](:@CardHome) [Next](:@Card2) # Card2 --- Card2: Hello World [Prev](:@Card1) [Next](:@CardHome)