Webstuff.Inblighty.Com

Website DIY - tricks and solutions

Tag: highlight_string

PHP: highlight_file with line numbers and CSS classes

Include code listings in your posts: this tutorial shows how to trick highlight_file into using classes; add line numbers; and make them easily identifiable for copy and paste. Read More

Category: PHP    Tags:

3 easy ways to display source code listings for your tutorials and posts

The lazy bloggers guide to displaying syntax color highlighted PHP code for your articles, posts and tutorials. Line numbers optional! Covers display in both native php pages and CMS (e.g. Wordpress) posts. Read More

Category: PHP    Tags:

PHP: tricking highlight_file to use CSS classes instead of inline styles

How to get highlight_file and highlight_string to list your source code using CSS classes instead of inline styles; and reduce the size of your page. Read More

Category: PHP    Tags:
Copyright © 2024 Webstuff.Inblighty.Com
This site recommends and is hosted by: Kualo Web Hosting.    
Theme: hemingway
 

Blog home  |  ↑ Top of Page ↑