65 lines
1.7 KiB
Markdown
65 lines
1.7 KiB
Markdown
# Initial commit
|
|
|
|
_2023-09-15_
|
|
|
|
I've been thinking a long time about having a place to publicly publish things.
|
|
I'm not really into doing that on social media since it would lock my content in their format and make it hard to move anywhere else so i thought i would just write my "things" in plain markdown and then find a way of hosting them online.
|
|
|
|
Sure there's a lot of static site generators out there and a couple of them could probably be configured to work the way i want it to. However to me there is a joy in using things that I have built on my own so first i will try building something from scratch.
|
|
|
|
It will be very simple, atleast in the beginning.
|
|
A list of directories will represent individual posts.
|
|
Each directory will have a markdown file, asset directory and if needed some picture inside of there as well.
|
|
|
|
A node script will traverse the directories, keeping track of the name of the post, its markdown content and the assets referenced.
|
|
Then the markdown will be converted into html and placed in a post html template that i can use to have common layouts and styling between each every post.
|
|
All posts will be copied to an output directory together with an index file that has links to all my posts.
|
|
|
|
Will it be pretty?
|
|
Probably not.
|
|
But it's a start!
|
|
|
|
Oh and I need some test markdown symbols to practice on..
|
|
|
|
# H1
|
|
|
|
## H2
|
|
|
|
### H3
|
|
|
|
#### H4
|
|
|
|
##### H5
|
|
|
|
###### H6
|
|
|
|
_Italics_
|
|
|
|
**Bold**
|
|
|
|
`Single line of code`
|
|
|
|
```
|
|
Multi
|
|
Line
|
|
Of
|
|
Code
|
|
```
|
|
|
|
```typescript
|
|
// Multi line code snippet with typescript syntax highlighting
|
|
const x: string = "arst";
|
|
```
|
|
|
|
- bullet
|
|
- bullet
|
|
- bullet
|
|
|
|
1. ordered list item
|
|
1. ordered list item
|
|
1. ordered list item
|
|
|
|
[link to the index](https://blog.zacke.dev)
|
|
|
|

|