From f0fb0015547b00d0ed85464f62f98c3363223b92 Mon Sep 17 00:00:00 2001 From: daudix-UFO Date: Sun, 15 Oct 2023 17:32:16 +0000 Subject: [PATCH] chore: Tweak demo formatting --- content/demo/index.md | 45 ++++++++++++++++++++++--------------------- 1 file changed, 23 insertions(+), 22 deletions(-) diff --git a/content/demo/index.md b/content/demo/index.md index 7a3e059..8d4743c 100644 --- a/content/demo/index.md +++ b/content/demo/index.md @@ -68,25 +68,25 @@ end | ok | good `oreos` | hmm | | ok | good `zoute` drop | yumm | -### There's a horizontal rule below this. +## There's a horizontal rule below this. --- -### Here is an unordered list: +## Here is an unordered list: - Item foo - Item bar - Item baz - Item zip -### And an ordered list: +## And an ordered list: 1. Item one 1. Item two 1. Item three 1. Item four -### And a nested list: +## And a nested list: - level 1 item - level 2 item @@ -102,22 +102,23 @@ end - level 2 item - level 1 item -### Here is a checkboxes: +## Here is a checkboxes: - [ ] Milk - [x] Eggs - [x] Flour - [ ] Coffee +- [x] Combustible lemons -### Small image +## Small image {{ image(url="https://codeberg.org/Codeberg/Design/raw/branch/main/logo/icon/png/codeberg-logo_icon_blue-64x64.png", alt="Codeberg icon", transparent=true, no_hover=true) }} -### Large image +## Large image {{ image(url="https://codeberg.org/Codeberg/Design/raw/branch/main/logo/horizontal/png/codeberg-logo_horizontal_blue-850x250.png", alt="Codeberg horizontal", transparent=true, no_hover=true) }} -### Definition lists can be used with HTML syntax. +## Definition lists can be used with HTML syntax.
Name
@@ -138,15 +139,15 @@ Long, single-line code blocks should not wrap. They should horizontally scroll i The final element. ``` -### Extra +## Extra Alright now that the generic (slightly extended) ~~Jekyll~~ Zola demo page have ended, we can get to the custom stuff, which believe me, are neat. -#### Shortcodes +### Shortcodes Duckquill provides a few useful [shortcodes](https://www.getzola.org/documentation/content/shortcodes/) that simplify some tasks. -##### Image +#### Image By default images come with styling, such as round corners and shadow. To fine-tune these, you can use shortcodes with different variable combinations. @@ -168,7 +169,7 @@ Variables should be comma-separated and be inside the brackets. {{ image(url="https://i.imgur.com/Fr1ImW9.png", alt="Portal Gun blueprint", no_hover=true) }} -##### Video +#### Video Same as images, but with a few differences: `no_hover` and `url_min` are not available. @@ -178,7 +179,7 @@ Same as images, but with a few differences: `no_hover` and `url_min` are not ava {{ video(url="https://interactive-examples.mdn.mozilla.net/media/cc0-videos/flower.webm", alt="Red flower wakes up") }} -##### CRT +#### CRT Alright, this one doesn't simplify anything, it just adds a CRT-like effect around Markdown code blocks. @@ -213,7 +214,7 @@ Alright, this one doesn't simplify anything, it just adds a CRT-like effect arou ``` {% end %} -### Captions +## Captions Media can have additional text description using the `
` HTML tag. @@ -225,7 +226,7 @@ Media can have additional text description using the `
` HTML tag. ![The Office](https://i.imgur.com/ImMAXM3.png)
The Office where Stanley works, it has yellow floor and beige walls
-### Accordion +## Accordion
I can be a spoiler, I can be a long text, I could be anything. @@ -236,15 +237,15 @@ _Quack-quack!_
-### Small +## Small Small, cute text that doesn't catch attention. -### Abbreviation +## Abbreviation The ASCII art are awesome! -### Keyboard shortcut +## Keyboard shortcut ``` ⌘ Super + Space @@ -252,11 +253,11 @@ The ASCII⌘ Super + Space -### Highlighted +## Highlighted You know what? I'm gonna say some very important stuff, so important that even **bold** is not enough. -### Link to page (rightwards arrow) +## Link to page (rightwards arrow) ``` Link to page @@ -264,7 +265,7 @@ You know what? I'm gonna say some very important stuff, so im Link to page -### Link to site (up-rightwards arrow) +## Link to site (up-rightwards arrow) ``` Link to site @@ -272,7 +273,7 @@ You know what? I'm gonna say some very important stuff, so im Link to site -### Buttons +## Buttons ```