The Creation Of MDBlog

home next >
approximate reading time: 3 minutes
created by pur on 0000/00/00 - last changed on 2023/03/21

The Idea

I wanted to have a lightweight blog system which is based on markdown.

Dependencies

History

I started writing HTML code and noticed how cumbersome it was. At work I use a lot of markdown language and remembered that I once saw a video about a markdown blog. So I duckduckwent "markdown server" or what ever - I can't remember and found two potential repositories: this github repo and this github repo. Unfortunately, I didn't get neither running so I got my own running. At first it was just a quick fix, but now MDPHP is growing more and more usable.

If you ever look for another markdown solution for your website, I advise you to search for "php markdown" (parsedown looks pretty neat).

How To Use It

git clone https://github.com/pur80a/MDBlog.git /var/www/html/blog 
cd /var/www/html/blog 
vim res/config.php
./res/mkpost.sh My First Post#follow directions

All you will have to do is change into the newly created directory and Now you can happily edit the index.md file.

heading with link can be created by using

## heading {#link}

test

Test Area

indented code test

test pic

| this | is | a | | --- | --- | --- | | test | table | yes |

TODOs

And here is an example for some blockquote:

I do know that blockquotes can be created with > at the beginning of a line

BTC: 1WLANzCKEuo8Zvssi84cyqTFePvQ8f8tW