forked from grzegorzbalcerek/elm-by-example.0.14.1
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtoc.elm
31 lines (24 loc) · 1.02 KB
/
toc.elm
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
-- -*- coding: utf-8; -*-
import Lib (..)
import Window
import Signal
import Markdown
main = Signal.map (pageTemplate [content] "index" "index" "Introduction") Window.width
content = Markdown.toElement """
# Table of contents
#### [Introduction](Introduction.html)
#### [Chapter 1 Hello World](Chapter1HelloWorld.html)
#### [Chapter 2 Fibonacci Bars](Chapter2FibonacciBars.html)
#### [Chapter 3 Mouse Signals](Chapter3MouseSignals.html)
#### [Chapter 4 Window Signals](Chapter4WindowSignals.html)
#### [Chapter 5 Eyes](Chapter5Eyes.html)
#### [Chapter 6 Time Signals](Chapter6TimeSignals.html)
#### [Chapter 7 Delayed Circles](Chapter7DelayedCircles.html)
#### [Chapter 8 Circles](Chapter8Circles.html)
#### [Chapter 9 Calculator](Chapter9Calculator.html)
#### [Chapter 10 Keyboard Signals](Chapter10KeyboardSignals.html)
#### [Chapter 11 Paddle](Chapter11Paddle.html)
#### [Chapter 12 Tic Tac Toe](Chapter12TicTacToe.html)
#### [Chapter 13 Snake](Chapter13Snake.html)
#### [Chapter 14 Snake Revisited](Chapter14SnakeRevisited.html)
"""