generated from fastn-stack/fastn-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
the-end.ftd
191 lines (101 loc) · 2.48 KB
/
the-end.ftd
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
-- import: fifthtry.github.io/bling/assets
-- import: fifthtry.github.io/package-doc/doc as pd
-- bling.page: `the-end` and it's Usage
`-- the-end` can be used as part of blog posts, books, section OR chapter end
etc.
-- pd.package: `the-end` and it's Usage
name: fifthtry.github.io/bling
To use `the-end` on your web package, add below into `FASTN.ftd` file:
-- cb.code:
lang: ftd
\-- fastn.dependency: fifthtry.github.io/bling
\-- fastn.auto-import: bling/the-end as the-end
-- tf.markdown:
Once you add above lines into your web package, add `the-end` into your `.ftd`
files:
-- tf.h3: List of end-marks we designed for you:
-- tf.h3: 1: `-- marker`
-- cb.code: Example code for `-- marker`
lang: ftd
\-- the-end.marker:
-- tf.markdown:
Output of above:
-- marker:
-- tf.h3: 2: `-- pen`
-- cb.code: Example code for `-- pen`
lang: ftd
\-- the-end.pen:
-- tf.markdown:
Output of above:
-- pen:
-- tf.h3: 3: `-- ballet`
-- cb.code: Example code for `-- ballet`
lang: ftd
\-- the-end.ballet:
-- tf.markdown:
Output of above:
-- ballet:
-- tf.h3: 4: `-- brush`
-- cb.code: Example code for `-- brush`
lang: ftd
\-- the-end.brush:
-- tf.markdown:
Output of above:
-- brush:
-- end: bling.page
-- component marker:
ftd.image-src the-end: $assets.files.static.the-end-0.png
-- ftd.column:
margin-top.px: 24
margin-bottom.px: 24
width: auto
align-self: center
-- ftd.image:
src: $marker.the-end
width.fixed.px: 200
width.fixed.px if { ftd.device == "mobile" }: 150
height: auto
-- end: ftd.column
-- end: marker
-- component pen:
ftd.image-src the-end: $assets.files.static.the-end-1.png
-- ftd.column:
margin-top.px: 24
margin-bottom.px: 24
width: auto
align-self: center
-- ftd.image:
src: $pen.the-end
width.fixed.px: 200
width.fixed.px if { ftd.device == "mobile" }: 150
height: auto
-- end: ftd.column
-- end: pen
-- component ballet:
ftd.image-src the-end: $assets.files.static.the-end-3.png
-- ftd.column:
margin-top.px: 24
margin-bottom.px: 24
width: auto
align-self: center
-- ftd.image:
src: $ballet.the-end
width.fixed.px: 200
width.fixed.px if { ftd.device == "mobile" }: 150
height: auto
-- end: ftd.column
-- end: ballet
-- component brush:
ftd.image-src the-end: $assets.files.static.the-end-4.png
-- ftd.column:
margin-top.px: 24
margin-bottom.px: 24
width: auto
align-self: center
-- ftd.image:
src: $brush.the-end
width.fixed.px: 200
width.fixed.px if { ftd.device == "mobile" }: 150
height: auto
-- end: ftd.column
-- end: brush