mirror of
https://github.com/litruv/lit.ruv.wtf.git
synced 2026-07-24 10:46:03 +10:00
blog post editor
This commit is contained in:
@@ -1,11 +1,10 @@
|
||||
---
|
||||
title: Markdown Formatting Test
|
||||
date: 2026-04-20
|
||||
date: 2026-09-11
|
||||
author: Test Author
|
||||
tags: test, formatting, markdown
|
||||
---
|
||||
|
||||
# Heading 1
|
||||
# Heading 1 test 123
|
||||
|
||||
## Heading 2
|
||||
|
||||
@@ -30,11 +29,15 @@ Here's a [regular link](https://example.com) and here's a [YouTube link](https:/
|
||||
## Lists
|
||||
|
||||
Unordered list:
|
||||
- First item
|
||||
- Second item
|
||||
- Third item
|
||||
|
||||
* First item
|
||||
|
||||
* Second item
|
||||
|
||||
* Third item
|
||||
|
||||
Ordered list:
|
||||
|
||||
1. First step
|
||||
2. Second step
|
||||
3. Third step
|
||||
@@ -42,6 +45,7 @@ Ordered list:
|
||||
## Code Blocks
|
||||
|
||||
Standard JavaScript:
|
||||
|
||||
```javascript
|
||||
const hello = "world";
|
||||
console.log(hello);
|
||||
@@ -52,6 +56,7 @@ function test() {
|
||||
```
|
||||
|
||||
Python with syntax highlighting:
|
||||
|
||||
```python
|
||||
def hello_world():
|
||||
print("Hello, World!")
|
||||
@@ -59,7 +64,8 @@ def hello_world():
|
||||
```
|
||||
|
||||
Code with max height (200px):
|
||||
```javascript {maxHeight: 200}
|
||||
|
||||
```javascript
|
||||
// This is a long code block that will scroll
|
||||
const data = [1, 2, 3, 4, 5];
|
||||
|
||||
@@ -92,31 +98,36 @@ const obj = {
|
||||
|
||||
## Horizontal Rule
|
||||
|
||||
---
|
||||
***
|
||||
|
||||
## Images
|
||||
|
||||

|
||||

|
||||
|
||||
## Mixed Content
|
||||
|
||||
You can mix **bold**, *italic*, and `code` in the same paragraph. Here's a [link with **bold** text](https://example.com) too.
|
||||
You can mix **bold**, *italic*, and `code` in the same paragraph. Here's a [link with](https://example.com) **[bold](https://example.com)** [text](https://example.com) too.
|
||||
|
||||
### Nested Lists
|
||||
|
||||
- Top level item
|
||||
- Another top level
|
||||
- Nested item (if supported)
|
||||
- Another nested
|
||||
* Top level itemsss
|
||||
|
||||
* Another top level
|
||||
|
||||
* Nested item (if supported)
|
||||
|
||||
* Another nested
|
||||
|
||||
1. Numbered item
|
||||
2. Another numbered
|
||||
- Mixed with bullets
|
||||
- More bullets
|
||||
|
||||
* Mixed with bullets
|
||||
|
||||
* More bullets
|
||||
|
||||
## Special Characters
|
||||
|
||||
Testing special chars: < > & " '
|
||||
Testing special chars: < > & " '
|
||||
|
||||
## Long Paragraph
|
||||
|
||||
|
||||
BIN
website/data/blog/media/paste-1778401785819-7erqa.png
Normal file
BIN
website/data/blog/media/paste-1778401785819-7erqa.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.0 MiB |
BIN
website/data/blog/media/test.gif
Normal file
BIN
website/data/blog/media/test.gif
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 33 KiB |
15
website/data/blog/testddd.md
Normal file
15
website/data/blog/testddd.md
Normal file
@@ -0,0 +1,15 @@
|
||||
---
|
||||
title: test d d d d
|
||||
date: 2026-05-10
|
||||
author: it me
|
||||
---
|
||||
asdffdsaasdffdsa
|
||||
|
||||
| <br /> | <br /> | <br /> | <br /> |
|
||||
| :----- | :----- | :----- | -----: |
|
||||
| <br /> | <br /> | <br /> | <br /> |
|
||||
| <br /> | <br /> | <br /> | <br /> |
|
||||
|
||||
<br />
|
||||
|
||||
this is a test post, should't publish i guess, but who's reading lmao
|
||||
@@ -1,10 +1,9 @@
|
||||
---
|
||||
title: Welcome to My Blog
|
||||
date: 2026-04-19
|
||||
date: 2026-05-10
|
||||
author: Max Litruv Boonzaayer
|
||||
tags: welcome, meta, introduction
|
||||
---
|
||||
|
||||
# Welcome to My Blog
|
||||
|
||||
This is my first blog post! I'm excited to share my thoughts and experiences with you.
|
||||
@@ -15,15 +14,20 @@ This blog is built using a **custom node-based graph system** where each blog po
|
||||
|
||||
### Features
|
||||
|
||||
- 📝 Markdown support with YAML front matter
|
||||
- 📅 Date-based organization
|
||||
- 🏷️ Tag system for categorization
|
||||
- 🎨 Interactive node-based visualization
|
||||
- 📁 Media support in `data/blog/media/`
|
||||
* 📝 Markdown support with YAML front matter
|
||||
|
||||
* 📅 Date-based organization
|
||||
|
||||
* 🏷️ Tag system for categorization
|
||||
|
||||
* 🎨 Interactive node-based visualization
|
||||
|
||||
* 📁 Media support in `data/blog/media/`
|
||||
|
||||
## Technical Details
|
||||
|
||||
The build system automatically:
|
||||
|
||||
1. Scans the `data/blog/` directory for `.md` files
|
||||
2. Parses YAML front matter for metadata
|
||||
3. Generates a `blogs.json` file
|
||||
|
||||
Reference in New Issue
Block a user