| Home | Reviews | Tools | Forums | FAQs | Find Service | News | Maps | About |
|
how-to block ads |
Posting material that would otherwise be translated is now easier, using code blocks: ![]() UPDATE: New inline code blocks are quite useful for explaining things code or config related since they can contain < and > and other dangerous characters without worry. You can use them like this: please use [blockquote=..] or include someones username by [user=fatness]Use them like <code> .. </code> anywhere. (Note: This is different from the code tag enclosed in braces, below) Email headers, often pasted in the stopping spam forums, often contain html-like stuff that would otherwise be stripped. You can now just put that stuff inside a code block, and it will be left alone. ![]() will look like this: Return-Path: <xxxx@yahoo.com> X-Original-To: yyy@dslr.net
Delivered-To: yyyy@dslr.net
Received: from localhost (localhost [127.0.0.1])
by mail.dslr.net (Postfix) with ESMTP id 0793E1CB25
for <yyyy@dslr.net>; Mon, 3 Nov 2003 09:45:58 -0500 (EST)
Received: from mail.dslr.net ([127.0.0.1])
by localhost (gold [127.0.0.1:10024]) (amavisd-new) with ESMTP id 30156-08
for <yyyy@dslr.net>; Mon, 3 Nov 2003 09:45:57 -0500 (EST)
Programming code or javascript type code also looks best if formatting is preserved, and the font is mono-spaced. Code blocks do that as well. This: ![]() Will show up looking like this: for($x=0; $x<=10; $x++) { # My code goes here }
URLs within code blocks: ![]() will look like this: http://www.cnn.com https://www.cnn.com ftp://ftp.cnn.com If it does not preview the way you want, it won't post, so there is no point posting hoping it will somehow magically fix itself. When you preview your code you may see extraneous HTML breaks in the code lines, but in the final form, they will not appear. Syntax Colored Code: See these two FAQ entries: »/dev/null forum FAQ »How do I post syntax-colored CODE »/dev/null forum FAQ »What languages are supported in syntax blocks by KeysCapt
| |||||