From c211e71f6c546e00214e7b56e34b6158db4e42d0 Mon Sep 17 00:00:00 2001 From: hypha Date: Tue, 4 Mar 2025 15:58:26 +0000 Subject: [PATCH 1/3] Add test page --- src/content/pages/test.mdx | 272 +++++++++++++++++++++++++++++++++++++ 1 file changed, 272 insertions(+) create mode 100644 src/content/pages/test.mdx diff --git a/src/content/pages/test.mdx b/src/content/pages/test.mdx new file mode 100644 index 000000000..413bae7e1 --- /dev/null +++ b/src/content/pages/test.mdx @@ -0,0 +1,272 @@ +--- +title: test +subtitle: this is a non-exhaustive page to demonstrate the use of some components and styling. It is recommended that when new components are introduced, how they are used gets added to the test page. +--- + +import { Image } from 'astro:assets'; +import pragueImage from './images/prague.jpg'; + + + + + +# h1 Heading +

HTML h1 heading

+ +## h2 Heading +

HTML h2 heading

+ +### h3 Heading +

HTML h3 heading

+ +#### h4 Heading +

HTML h4 heading

+ +##### h5 Heading +
HTML h5 heading
+ +###### h6 Heading +
HTML h6 heading
+ +## Horizontal Rules +--- +*** +___ + +## Typographic Replacements +(c) (C) (r) (R) (tm) (TM) (p) (P) +- + +test.. test... test..... test?..... test!.... + +!!!!!! ???? ,, -- --- + +"Smartypants, double quotes" and 'single quotes' + +## Emphasis +**This is bold text** + +_This is italic text_ + +This is underlined text + +~~Strikethrough~~ + +The text becomes bigger and centred for immediate attention. + +### Note + You could also use the Note component to call for attention. + + +## Blockquotes +> Blockquotes can also be nested... +> +> > ...by using additional greater-than signs right next to each other... +> > +> > > ...or with spaces between arrows. + +## Lists + +### Unordered +- Create a list by starting a line with `+`, `-`, or `*` +- Sub-lists are made by indenting 2 spaces: + - Marker character change forces new list start: + + Ac tristique libero volutpat at + * Facilisis in pretium nisl aliquet + - Nulla volutpat aliquam velit +- Very easy! + +### Ordered +1. Cocker Spaniels +2. Greyhounds +3. Cairn Terriers +4. You can use sequential numbers... +5. ...or keep all the numbers as `1.` + +Start numbering with offset: +57. Westies +1. Scotties + +### Task Lists +- [x] Adopt a dog +- [ ] Walk the dog +- [ ] Achieve happiness + + +## Code + +### Inline code +Inline `code` doesn't currently work as intended. + +### Block code + +``` +Sample text here... +``` + +Syntax highlighting + +```python +def bark(): + return "Woof!" + +def main(): + print("What does the dogs say?") + print("Dogs: ", bark()) + +main() + +``` + +## Subscript / Superscript + +- 19th +- H2O + +## Keyboard +CTRL + ALT + Delete + +## Abbreviate +GIF + +## Highlight +All your dogs are belong to us! + +## Footnotes + +Footnote 1 link[^first]. + +Footnote 2 link[^second]. + +Duplicated footnote reference[^second]. + +[^first]: Footnote **can have markup** + + and multiple paragraphs. + +[^second]: Footnote text. + +## Tables + +{/*Simple tables*/} + + +Centre aligned columns +| Info | Description | +| :-------: | :---------------:| +| Breed | Cocker Spaniels | +| Size | medium | +| Character | velco | + +Right aligned columns + +| Info | Description | +| --------: | --------------------: | +| Breed | Beagles | +| Size | medium | +| Character | hunger strikes always | + +Left aligned columns + +| Info | Description | +| :-------- | :-------------------: | +| Breed | Deerhounds | +| Size | Large | +| Character | gentle giant | + +{/*Tables with more styling options*/} + + + + + + + + + + + + + + + + + + +
BreedDescription
Cocker SpanielLoves cuddles, snacks, and shedding
BeagleExpert in food, and not anything else
+ + + + + + + + + + + + + + + + + + + + + + + + +
BreedDescription
Deerhoundwhile not zoomies: a couch potato
Golden RetrieverFluffball of joy and fluff
French BulldogSnorts, snores, and snores
+ +## Links + +[link text](https://random.dog/) + +## Email + +Auto converted mailto: info@europython.eu + +## Comments +You will not see the following because they are in comments: +{/* + +Barking up the right tree +*/} + +## Images + + + This image is public, stored in /public, so no import is needed + Logo of the EuroPython Society + + + + This image is internal, in /src, so import is needed + A bird sitting on a nest of eggs. + + +## Caption + +lalo, remote image +
Hear from our CHO at EuroPython 2023
+ +## ButtonLinks +
+ JOIN THE REVIEWER TEAM! +
+ +
+ + Signup closed, no URL present +
+ +Go to the community voting + +## YouTube + From ea1e426cef1b5901fd8e072e72f470063af32a6e Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 4 Mar 2025 16:00:19 +0000 Subject: [PATCH 2/3] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- src/content/pages/test.mdx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/content/pages/test.mdx b/src/content/pages/test.mdx index 413bae7e1..f94bfb6d4 100644 --- a/src/content/pages/test.mdx +++ b/src/content/pages/test.mdx @@ -1,6 +1,6 @@ --- title: test -subtitle: this is a non-exhaustive page to demonstrate the use of some components and styling. It is recommended that when new components are introduced, how they are used gets added to the test page. +subtitle: this is a non-exhaustive page to demonstrate the use of some components and styling. It is recommended that when new components are introduced, how they are used gets added to the test page. --- import { Image } from 'astro:assets'; @@ -112,7 +112,7 @@ def bark(): def main(): print("What does the dogs say?") print("Dogs: ", bark()) - + main() ``` @@ -265,7 +265,7 @@ Barking up the right tree Signup closed, no URL present - + Go to the community voting ## YouTube From 1860cff0d7a7e7a36438d1669cb26e0b80d572ee Mon Sep 17 00:00:00 2001 From: hypha Date: Sun, 9 Mar 2025 20:31:49 +0000 Subject: [PATCH 3/3] Update src/content/pages/test.mdx Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> --- src/content/pages/test.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/content/pages/test.mdx b/src/content/pages/test.mdx index f94bfb6d4..8a6fcc845 100644 --- a/src/content/pages/test.mdx +++ b/src/content/pages/test.mdx @@ -1,5 +1,5 @@ --- -title: test +title: Kitchen Sink subtitle: this is a non-exhaustive page to demonstrate the use of some components and styling. It is recommended that when new components are introduced, how they are used gets added to the test page. ---