D web site facelift

Walter Bright newshound2 at digitalmars.com
Sat Jul 3 11:06:26 PDT 2010


Walter Bright wrote:
> Michel Fortin wrote:
>> On a side note, I've noticed on other websites that Google Translation 
>> doesn't attempt to translate code inside a <code> element. So I would 
>> suggest the website uses <pre><code> ... </code></pre> for its code 
>> blocks, and <code>...</code> for keywords and other code-related terms 
>> in the text. That could actually make the translation useful.
> 
> This must be new, it didn't use to do that. I'll take advantage of it!

Sadly, it doesn't work, as it strips all the newlines out, putting your code all 
on one line. Bah :-(


More information about the Digitalmars-d-announce mailing list