As Thox helpfully pointed out, it appears I originally had the code html tag set to display block and I had disabled pre (which should be used for long blocks of code). I've corrected the issue in the CSS and a couple posts. But if you have a post that you used code to display a block of code, you'll need to update it to pre. If there are other posts that need updating, post a link here and I'll fix em.
As an example... here's some code inline using the code tag
so it sits mid-sentence. And here's a:
pre example with different stuff on each line 20 goto 10
This should make posting code snippets a bit easier.
The Geshi Filter for Drupal might interest you. Might be a little more then what PortableApps need, but it definately is more powerful (Geshi is an amazing code highlighter).
Rob Loach [Website] [Projects]
I don't think we need it. But that is pretty cool indeed. And we'll have to bookmark that for the future. If it could be applied to forum posts only, that would be even better... except when a search engine is hammering the server (which is why forums are currently excluded in robots.txt... a carryover from the old overloaded server).
Sometimes, the impossible can become possible, if you're awesome!
Disallow: /forums
- that won't stop google indexing the forums, just the forum front page.Cheers John. Here's a quick test of a multiline pre tag with blank lines (for Drupal's sake). I know the previous code handling broke with something like this:
UPDATE - Good news, all fixed
https://portableapps.com/node/733
https://portableapps.com/node/707
----
R McCue
"If you're not part of the solution, you're part of the precipitate."
All set
Sometimes, the impossible can become possible, if you're awesome!
John got to them before I could .
Rob Loach [Website] [Projects]