Attempt at Markdown page rendering

Syntax highlighting doesn't work yet.
This commit is contained in:
Riyyi
2025-03-29 18:10:33 +01:00
parent 95204ef335
commit 6be7a20098
10 changed files with 798 additions and 339 deletions
+45
View File
@@ -0,0 +1,45 @@
---
title: "My First Blog Post"
description: "This is a test article."
---
# Hello World
This is a test article.
## Component Rendering
::ExampleComponent
#namedslot
This is a Named Slot
#default
This is the Default Slot
::
### Testing Some Markdown Features
A link: [website-vue](https://github.com/riyyi/website-vue)
A codeblock:
```js [file.js]{2} meta-info=val
export default () => {
console.log('Code block')
}
```
```cpp
int i = 0;
```
```php
protected static $router;
$path = parse_url($_SERVER['REQUEST_URI'])['path'];
```
Inline `hightlight`.
`const code: string = 'highlighted code inline'`{lang="ts"}
- An
- Unordered
- List
+8
View File
@@ -0,0 +1,8 @@
---
title: "My Second Blog Post"
description: "This is another article."
---
# Test!
This is another article.