JustinM01 Posted February 25, 2009 Share Posted February 25, 2009 Basically I would like to create something like what PHPFreaks and other sites have. When you post something here your can include a code snippet in a code block within your topic content. I was wondering how to do that as I would like to include such a feature in my blog. I want to create something like the following: some code If anyone know's of a site that already explains how to do this, than I would certainly take a link as help! Thanks in advance. Link to comment https://forums.phpfreaks.com/topic/146883-solved-question-about-formatting-a-code-block-in-a-blog-post/ Share on other sites More sharing options...
premiso Posted February 25, 2009 Share Posted February 25, 2009 You want to look into BBCode. http://www.sitepoint.com/article/bb-code-php-application/ For a tutorial on BBCode. Google PHP BBCode for other examples. Link to comment https://forums.phpfreaks.com/topic/146883-solved-question-about-formatting-a-code-block-in-a-blog-post/#findComment-771162 Share on other sites More sharing options...
JustinM01 Posted February 25, 2009 Author Share Posted February 25, 2009 Thanks, I appreciate it! Link to comment https://forums.phpfreaks.com/topic/146883-solved-question-about-formatting-a-code-block-in-a-blog-post/#findComment-771168 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.