Date Published: 22 October, 2017

Code Highlighting in HTML

alt text

I've been wanting to start blogging for quite some time now, and I figured there is no time like the present. I am familiar with both WordPress and Drupal, but I wanted to "roll my own" both for flexibility and as a learning experience. Since this blog is going to be code heavy, one thing that was really important to me was code highlighting in the display. I really like the code highlighting on the Symfony documentation pages, and I've used that in some of my own documentation pages, however, that is using Sphinx and .rst files, which requires a compilation step. I was looking for a way to have markdown files parsed by a real-time HTML converter to give me syntax highlighted code in HTML. That's how I discovered highlightjs.

Read More

About Todd

Full stack application developer. Life-long learner. Pragmatic programmer. Believer in clean coding. Proponent for extensible and reusable code. Hobbies include (very) amateur photography, collecting old jazz records and going to live music performances.

North Central Ohio, US

Obligatory Disclaimer

All opinions are my own, probably wrong, and subject to change without notice.

© 2017-2019 Todd Eidson. All content is licensed under the Creative Commons Attribution-ShareAlike 4.0 International License.

Hosted on linode