Welcome to Geeklog, Anonymous Wednesday, November 27 2024 @ 02:51 pm EST
Geeklog Forums
Displaying formatted code
Jameson
Anonymous
I've noticed that on some sites they display their code in a nicely formatted layout. (i.e., PHP Kitchen Example)
How do they do that? I think that it would be a great addition to this site so that people can display properly formatted code. I would also like to use it on my site.
Thanks!
: DB :
8
7
Quote
Status: offline
Dirk
Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Just save your code with the extension .phps (note the 's') and you'll get the same. It's a PHP feature that has nothing to do with Geeklog.
As of Geeklog 1.3.6, you can use the pseudo tags to produce formatted listings within Geeklog (no colors though). It doesn't work properly in 1.3.6rc1 yet, though ...
bye, Dirk
Text Formatted Code
...
4
6
Quote
All times are EST. The time is now 02:51 pm.
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content