Using Markdown in CakePHP

Posted May 15th, 2021 • 1 min read

Markdown rocks. I lately fell in love with it when I was setting up this very blog. You can just write easy-to-read and easy-to-write plain text files, and Markdown takes care of the rest.

For this blog I had used a Markdown script I found that parses plain text and outputs it as HTML. It allows me to write posts in a simple/plain format and just pump it into the database as is. For a while I wanted to make it into a more solid CakePHP Helper. And today I did. Setting it up couldn't be simpler, and using it is a matter of adding it as a call in your views.

I put it on Github @ Markdown for CakePHP along with the necessary instructions and usage example.

Hope you enjoy it, and if you have any suggestions or tips, don't hesitate to leave a comment or Fork it.

More posts

May 15th, 2021 • 3 min read
I heard a lot about SASS, mostly a lot of people raving about how it was the best thing since chocolate.
May 15th, 2021 • 2 min read
We usually focus on getting the homepage Pagespeed to 90+, but what about the rest of the pages? I made a tool to help with this.
May 15th, 2021 • 1 min read
Curl on steroids with an easy interface and syntax highlighted output.