Democratic Underground Latest Greatest Lobby Journals Search Options Help Login
Google

question about DU's BBCode implementation

Printer-friendly format Printer-friendly format
Printer-friendly format Email this thread to a friend
Printer-friendly format Bookmark this thread
Home » Discuss » DU Groups » Computers & Internet » Website, DB, & Software Developers Group Donate to DU
 
TheBaldyMan Donating Member (1000+ posts) Send PM | Profile | Ignore Fri Apr-27-07 05:42 AM
Original message
question about DU's BBCode implementation
Does anyone know how to display stuff literally, I've tried using <code></code> tags but it doesn't seem to suppress formatting and other BBCode.

I'm asking because it is a bit of a bind when I try to give an example of code that won't show as intended, I can use chevrons instead of square brackets, as shown above, but this isn't an ideal solution.
Refresh | 0 Recommendations Printer Friendly | Permalink | Reply | Top
charlie Donating Member (1000+ posts) Send PM | Profile | Ignore Fri Apr-27-07 03:59 PM
Response to Original message
1. Tick the "Message Format" box for plain text
and then wrap it in <code> tags, like this:

[code][abc][def][/code]
Printer Friendly | Permalink | Reply | Top
 
charlie Donating Member (1000+ posts) Send PM | Profile | Ignore Fri Apr-27-07 04:02 PM
Response to Reply #1
2. ...and the result from above will look like this:
[abc][def]

or this:

[h1][/h1]

or this:

[div][p][em]hello world[/em][/p][/div]
Printer Friendly | Permalink | Reply | Top
 
TheBaldyMan Donating Member (1000+ posts) Send PM | Profile | Ignore Fri Apr-27-07 08:16 PM
Response to Reply #2
3. many thanks charlie
 :thumbsup: :) 
It works like a charm.
Printer Friendly | Permalink | Reply | Top
 
DU AdBot (1000+ posts) Click to send private message to this author Click to view 
this author's profile Click to add 
this author to your buddy list Click to add 
this author to your Ignore list Tue May 07th 2024, 12:53 PM
Response to Original message
Advertisements [?]
 Top

Home » Discuss » DU Groups » Computers & Internet » Website, DB, & Software Developers Group Donate to DU

Powered by DCForum+ Version 1.1 Copyright 1997-2002 DCScripts.com
Software has been extensively modified by the DU administrators


Important Notices: By participating on this discussion board, visitors agree to abide by the rules outlined on our Rules page. Messages posted on the Democratic Underground Discussion Forums are the opinions of the individuals who post them, and do not necessarily represent the opinions of Democratic Underground, LLC.

Home  |  Discussion Forums  |  Journals |  Store  |  Donate

About DU  |  Contact Us  |  Privacy Policy

Got a message for Democratic Underground? Click here to send us a message.

© 2001 - 2011 Democratic Underground, LLC