b.smd (9327B)
1 --- 2 .title = "Testing page", 3 .date = @date("2025-01-14T16:38:35+08:00"), 4 .author = "Grace Tan", 5 .description = "For testing", 6 .layout = "post.shtml", 7 .alternatives = [{ 8 .name = "raw", 9 .layout = "post.raw.shtml", 10 .output = "index.raw.html", 11 }], 12 .draft = true, 13 --- 14 15 # Testing page 16 17 Paragraph. Paragraph. Paragraph. Paragraph. Paragraph. Paragraph. Paragraph. Paragraph. Paragraph. Paragraph. Paragraph. Paragraph. Paragraph. Paragraph. Paragraph. Paragraph. Paragraph. Paragraph. Paragraph. Paragraph. Paragraph. Paragraph. 18 19 Paragraph. Paragraph. Paragraph. Paragraph. Paragraph. Paragraph. Paragraph. Paragraph. Paragraph. Paragraph. Paragraph. Paragraph. Paragraph. Paragraph. Paragraph. Paragraph. Paragraph. Paragraph. Paragraph. Paragraph. Paragraph. Paragraph. 20 21 > []($block.attrs('wide-content')) 22 > 23 > Wide paragraph. Wide paragraph. Wide paragraph. Wide paragraph. Wide paragraph. Wide paragraph. Wide paragraph. Wide paragraph. Wide paragraph. Wide paragraph. Wide paragraph. Wide paragraph. 24 25 > []($block.attrs('full-bleed-content')) 26 > 27 > Full bleed paragraph. Full bleed paragraph. Full bleed paragraph. Full bleed paragraph. Full bleed paragraph. Full bleed paragraph. Full bleed paragraph. Full bleed paragraph. Full bleed paragraph. Full bleed paragraph. Full bleed paragraph. Full bleed paragraph. 28 29 Paragraph with `code`. Paragraph with `code`. Paragraph with `code`. Paragraph with `code`. Paragraph with `code`. Paragraph with `code`. Paragraph with `code`. Paragraph with `code`. Paragraph with `code`. Paragraph with `code`. 30 31 Paragraph with [`enum`]($text.attrs('zig')). Paragraph with [`enum`]($text.attrs('zig')). Paragraph with [`enum`]($text.attrs('zig')). Paragraph with [`enum`]($text.attrs('zig')). Paragraph with [`enum`]($text.attrs('zig')). Paragraph with [`enum`]($text.attrs('zig')). Paragraph with [`enum`]($text.attrs('zig')). Paragraph with [`enum`]($text.attrs('zig')). Paragraph with [`enum`]($text.attrs('zig')). Paragraph with [`enum`]($text.attrs('zig')). 32 33 ``` 34 code 35 ``` 36 37 > []($block.attrs('wide-content')) 38 > 39 > ```zig 40 > pub const BuildAsset = struct { 41 > /// Name of this asset 42 > name: []const u8, 43 > /// LazyPath of the generated asset. 44 > /// 45 > /// The LazyPath cannot be generated by calling `b.path`. 46 > /// Use the 'assets' directory for non-buildtime assets. 47 > lp: std.Build.LazyPath, 48 > /// Installation path relative to the website's asset output path prefix. 49 > /// 50 > /// It is recommended to give the file an appropriate file extension. 51 > /// No need to specify this value if the asset is not meant to be 52 > /// `link()`ed 53 > install_path: ?[]const u8 = null, 54 > /// Installs the asset unconditionally when set to true. 55 > /// 56 > /// When set to false, the asset will be installed only if `link()`ed 57 > /// in a content file or layout (requires `install_path` to be set). 58 > /// 59 > /// Note that even when this property is set to false the asset will be 60 > /// generated by the Zig build system regardless. 61 > install_always: bool = false, 62 > }; 63 > 64 > /// aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa 65 > ``` 66 67 ```=html 68 <textarea></textarea> 69 ``` 70 71 > quote 72 > 73 > another quote 74 75 [This is the caption]($image.siteAsset('icons/favicon-16x16.png').size(160,0)) 76 77 ```=html 78 <style> 79 .grid { 80 display: grid; 81 gap: 10px; 82 grid-template-columns: 1fr 1fr; 83 } 84 .cell { 85 margin: 0 !important; 86 width: 100%; 87 height: 100%; 88 background: rgba(128, 0, 0, 2%); 89 border-radius: calc(10px / 0.4142135623730951); 90 padding: 10px; 91 } 92 .hide { 93 display: none; 94 } 95 </style> 96 ``` 97 98 > []($block.attrs('grid')) 99 > 100 > > []($block.attrs('cell')) 101 > > 102 > > - tight tight tight 103 > > - tight tight tight 104 > > - tight tight tight 105 > > - tight tight tight 106 > > - tight tight tight 107 > > - tight tight tight 108 > 109 > > []($block.attrs('cell')) 110 > > 111 > > - loose loose loose 112 > > 113 > > - tight tight tight 114 > > - tight tight tight 115 > > - tight tight tight 116 > > 117 > > loose loose loose 118 > > 119 > > - loose loose loose 120 > > 121 > > - loose loose loose 122 > 123 > > []($block.attrs('cell')) 124 > > 125 > > - tight tight tight 126 > > - loose loose loose 127 > > 128 > > - loose loose loose 129 > > 130 > > - loose loose loose 131 > > - tight tight tight 132 > > - tight tight tight 133 > 134 > > []($block.attrs('cell')) 135 > > 136 > > - loose loose loose 137 > > 138 > > - loose loose loose 139 > > 140 > > - loose loose loose 141 > > 142 > > - loose loose loose 143 > > 144 > > loose loose loose 145 > > 146 > > - loose loose loose 147 > > 148 > > - loose loose loose 149 150 ---- 151 152 > []($block.attrs('grid','non-hierarchical','hide')) 153 > 154 > > []($block.attrs('cell')) 155 > > 156 > > - tight tight tight 157 > > - tight tight tight 158 > > - tight tight tight 159 > > - tight tight tight 160 > > - tight tight tight 161 > > - tight tight tight 162 > 163 > > []($block.attrs('cell')) 164 > > 165 > > - loose loose loose 166 > > 167 > > - tight tight tight 168 > > - tight tight tight 169 > > - tight tight tight 170 > > 171 > > loose loose loose 172 > > 173 > > - loose loose loose 174 > > 175 > > - loose loose loose 176 > 177 > > []($block.attrs('cell')) 178 > > 179 > > - tight tight tight 180 > > - loose loose loose 181 > > 182 > > - loose loose loose 183 > > 184 > > - loose loose loose 185 > > - tight tight tight 186 > > - tight tight tight 187 > 188 > > []($block.attrs('cell')) 189 > > 190 > > - loose loose loose 191 > > 192 > > - loose loose loose 193 > > 194 > > - loose loose loose 195 > > 196 > > - loose loose loose 197 > > 198 > > loose loose loose 199 > > 200 > > - loose loose loose 201 > > 202 > > - loose loose loose 203 204 | simple | table | 205 | ------ | ----- | 206 | row | blah | 207 | row | wew | 208 209 Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of "de Finibus Bonorum et Malorum" (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, "Lorem ipsum dolor sit amet..", comes from a line in section 1.10.32. 210 211 > []($block) 212 > 213 > test 214 215 # Heading 1 Heading 1 216 217 ## Heading 2 Heading 2 218 219 ### Heading 3 Heading 3 220 221 #### Heading 4 Heading 4 222 223 ##### Heading 5 Heading 5 224 225 ###### Heading 6 Heading 6 226 227 # Heading 1 Heading 1 228 229 ## Heading 2 Heading 2 230 231 ### Heading 3 Heading 3 232 233 #### Heading 4 Heading 4 234 235 ##### Heading 5 Heading 5 236 237 ###### Heading 6 Heading 6 238 239 The standard chunk of Lorem Ipsum used since the 1500s is reproduced below for those interested. Sections 1.10.32 and 1.10.33 from "de Finibus Bonorum et Malorum" by Cicero are also reproduced in their exact original form, accompanied by English versions from the 1914 translation by H. Rackham. 240 241 # Heading 1 Heading 1 242 243 The standard chunk of Lorem Ipsum used since the 1500s is reproduced below for those interested. Sections 1.10.32 and 1.10.33 from "de Finibus Bonorum et Malorum" by Cicero are also reproduced in their exact original form, accompanied by English versions from the 1914 translation by H. Rackham. 244 245 ## Heading 2 Heading 2 246 247 The standard chunk of Lorem Ipsum used since the 1500s is reproduced below for those interested. Sections 1.10.32 and 1.10.33 from "de Finibus Bonorum et Malorum" by Cicero are also reproduced in their exact original form, accompanied by English versions from the 1914 translation by H. Rackham. 248 249 ### Heading 3 Heading 3 250 251 The standard chunk of Lorem Ipsum used since the 1500s is reproduced below for those interested. Sections 1.10.32 and 1.10.33 from "de Finibus Bonorum et Malorum" by Cicero are also reproduced in their exact original form, accompanied by English versions from the 1914 translation by H. Rackham. 252 253 #### Heading 4 Heading 4 254 255 The standard chunk of Lorem Ipsum used since the 1500s is reproduced below for those interested. Sections 1.10.32 and 1.10.33 from "de Finibus Bonorum et Malorum" by Cicero are also reproduced in their exact original form, accompanied by English versions from the 1914 translation by H. Rackham. 256 257 ##### Heading 5 Heading 5 258 259 The standard chunk of Lorem Ipsum used since the 1500s is reproduced below for those interested. Sections 1.10.32 and 1.10.33 from "de Finibus Bonorum et Malorum" by Cicero are also reproduced in their exact original form, accompanied by English versions from the 1914 translation by H. Rackham. 260 261 ###### Heading 6 Heading 6 262 263 The standard chunk of Lorem Ipsum used since the 1500s is reproduced below for those interested. Sections 1.10.32 and 1.10.33 from "de Finibus Bonorum et Malorum" by Cicero are also reproduced in their exact original form, accompanied by English versions from the 1914 translation by H. Rackham. 264 265 # Heading 1 Heading 1 266 267 - list list list 268 - list list list 269 - list list list 270 271 ## Heading 2 Heading 2 272 273 - list list list 274 - list list list 275 - list list list 276 277 ### Heading 3 Heading 3 278 279 - list list list 280 - list list list 281 - list list list 282 283 #### Heading 4 Heading 4 284 285 - list list list 286 - list list list 287 - list list list 288 289 ##### Heading 5 Heading 5 290 291 - list list list 292 - list list list 293 - list list list 294 295 ###### Heading 6 Heading 6 296 297 - list list list 298 - list list list 299 - list list list