Question Add Java code into forum

Discussion in 'Bukkit Help' started by RcExtract, May 28, 2017.

Thread Status:
Not open for further replies.
  1. Offline


    Idk if this is the correct forum, but how do I insert Java codes into a post?
  2. Offline

    timtower Moderator Moderator

  3. Offline


    @timtower's way does work, but tends to ruin spacing. If you want to keep the spacing, do this:

    Click the insert button on the toolbar when writing a post, and choose "code". Paste the code into the box, and hit Insert. Then you'll see that your code has been put into code blocks, but the spacing is still intact! If you want a little highlighting to your code, then you can change [code]...[/code] to [code=java]...[/code] (this one's currently broken). You can also replace it for [syntax=java]...[/syntax]
    RcExtract likes this.
  4. Offline

    timtower Moderator Moderator

    AlvinB likes this.
  5. Offline


    Or even better then it has java syntax and also easier to read :)

    Sent from my SM-G900F using Tapatalk
  6. Offline

    timtower Moderator Moderator

    Now you are entering the area of personal preferences.
Thread Status:
Not open for further replies.

Share This Page