diff --git a/src/content/pages/test.mdx b/src/content/pages/test.mdx new file mode 100644 index 000000000..8a6fcc845 --- /dev/null +++ b/src/content/pages/test.mdx @@ -0,0 +1,272 @@ +--- +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. +--- + +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 +