src/content/post/hello-world.mdx 1.5 K raw
1
---
2
title: "Testing testing 123!"
3
publishDate: "13 May 2022"
4
description: "Hello world!!! This is an example blog post showcasing some of the cool stuff Astro Cactus theme can do."
5
tags: ["example", "blog", "cool"]
6
---
7
8
import { Image } from "@astrojs/image/components";
9
10
## Hello World
11
12
Following is an example blog post written in an mdx file. You can find me @ src/content/post/hello-world.mdx. Here you can add/update/delete details and watch the changes live when running in develop mode.
13
14
<Image
15
	src="https://picsum.photos/id/1025/550/460"
16
	alt="A covered up pug in the woods"
17
	width={550}
18
	height={460}
19
/>
20
21
## Using some markdown elements
22
23
Here we have a simple js code block.
24
25
```js
26
let string = "JavaScript syntax highlighting";
27
```
28
29
This is styled by Shiki, set via the [config](https://docs.astro.build/en/guides/markdown-content/#syntax-highlighting) for Astro.
30
31
You can choose your own theme from this [library](https://github.com/shikijs/shiki/blob/main/docs/themes.md#all-themes), which is currently set to Dracula, in the file `astro.config.mjs`.
32
33
Here is a horizontal rule.
34
35
---
36
37
Here is a list:
38
39
- Item number 1
40
- Item number 2
41
- Item number 3
42
43
And an ordered list:
44
45
1. James Madison
46
2. James Monroe
47
3. John Quincy Adams
48
49
Here is a table:
50
51
| Item         | Price | # In stock |
52
| ------------ | :---: | ---------: |
53
| Juicy Apples | 1.99  |        739 |
54
| Bananas      | 1.89  |          6 |
55
56
## Tailwind CSS Prose styling
57
58
> I'm a simple blockquote.
59
> I'm styled by Tailwind CSS prose plugin