Email
Share

We Rock Your Web Forum » Forums

Posting code in bbPress?

(2 posts)
  1. obelix

    member
    Joined: Jul '09
    Posts: 15

    How do I go about posting code in bbPress? I have the bb code bar installed, and am able to use the "code" button to wrap code in code tags, but certain elements get escaped and the result is a mess.

    Is there another way to code code in bbPress?

    Posted 1 year ago #

  2. Posted 1 year ago
  3. cwd

    senior admin
    Joined: Jul '09
    Posts: 225

    Yes, you can use the backtick ( ` ) characters. Simply surround your code segment with them, and code and pre (pre-formatting) tags will be applied. The pre tag will keep tags from being escaped inadvertently and place the code in a nice box. You should have this description listed below your comment box as well, btw.

    Posted 1 year ago #

RSS feed for this topic

Reply

(required)

Allowed markup: BBcode blockquote code em strong ul ol li font strike center u hr.
You can also put code in between backtick ( ` ) characters.