dslreports logo

    All FAQs Site FAQ DSL FAQ Cable Tech About DSL Distance DSL Hurdles »»


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=..]


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:

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.

Will show up looking like this:

URLs within code blocks:

will look like this:

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:

Expand got feedback?

by KeysCapt See Profile
last modified: 2010-11-15 07:02:43