Adding Markdown and Syntax Highlight to My Blog

Posted 8/3/2019 by JaseOwns
Tags:Programming
There are hundreds of different places and frameworks to create and manage blog posts. I am still dealing with my own system because I like to re-write the wheel - however, I do want to take advantage of some great things people have created like Markdown and Syntax highlighting.

Insert Markdown and PrismJS


I still need to learn how to fully take advantage of these items, but I've code the base examples working. I started with grabbing Parsedown. This allows me to use Markdown directly in my php code.

Source: [Parsedown](https://parsedown.org/)
```php
\$Parsedown = new Parsedown();\jasen
echo \$Parsedown->text('Jaseowns now has _Parsedown_!');
```
After I got that working, I was sad that the javascript was not highlighting automagically. The quickest fix was to just find a JS library that worked well with Parsedown out of the box. Insert PrismJS!

Source: [PrismJS](https://prismjs.com/)
```html
\jasen
\jaset\jasen
\jaset\jasen

```
If this in-fact worked correctly, the above items should be highlighted and the source links look like...
```markdown
Source: [PrismJS](https://prismjs.com/)
```
Bringing Jaseowns.com into the new age!

Work With Me

I'm Jason Ramsey — a full-stack engineer with 20 years of experience building and migrating large-scale platforms for brands like Match Group. I specialize in modernizing legacy systems and shipping polished, maintainable products quickly.

ColdFusion support & platform migration

Full-stack development (CF, .NET, SQL, React, Remix, Node, Tailwind)

Custom automation & developer tools

Streaming & gaming integrations (bots, APIs)

Why work with me

  • Proven migrations: led cross-functional teams to modernize platforms
  • Senior leadership: from Lead Engineer to Staff Engineer & Manager
  • Speed + clarity: fast iterations, proactive communication

Rates: Every project is unique. I offer both fixed-price packages and hourly consulting. Rates depend on project scope so we can match the engagement to your goals and timeline.

JaseOwns.com is the online dumping ground of Jason Ramsey and includes ramblings of an internet ⭐ star. He's a streamer, dreamer, developer, gamer, husband and father who has been a nerd owning people on the internet since dial up 🖥️☎️