matdoes.dev markdown

2021-03-24

This article is outdated.A couple years ago when I was creating the matdoes.dev blog I wrote a somewhat powerful markdown system with Regex to allow me to more easily write blog posts. Although I’ve barely written any posts, I’m still proud of it. Also this post is mostly just reference for myself, lol.

I present: matdown™

Relative anchor: `[matdoesdev](/blog)` matdoesdev

matdoesdev

External anchor: `[matdoesdev](https://matdoes.dev)` matdoesdev

(External anchors have target=_blank so they open in new pages)

matdoesdev

Normal links: `https://matdoes.dev` https://matdoes.dev

https://matdoes.dev

Code block: ```py

print(‘code’)


print('code')printprint(('code''code'))

Inline code: ``code`` `code`

Block quote: `> text`

> texttext
Italic: *text* *text*
Bold: **text** **text**
Italic & bold: ***text*** **texttext**

Horizontal center: `||text||`
||text||

Titles:
# h2
## h3
### h4
#### h5
##### h6
###### h6

# h2
## h3
### h4
h5h6h6## Horizontal rule: ---
Image:
![description](https://image)

=> /blog ⬅ Back