1. Welcome to LilyPad. Download the project, explore the forums, and create your own LilyPad network.


    If you use the software and enjoy it or have a question, or would like to contribute to the future of the software directly or through resources, please sign up and join our little community.

Completed Website feature: Code Syntax Highlighter

Discussion in 'Feature Requests' started by Matt, Dec 15, 2013.

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

    Matt Forum Moderator & Contributor Staff Member Moderator Contributor

    Hello,

    It would be cool if this feature could be add:http://xenforo.com/community/resources/geshi-syntax-highlighter.89/

    Well, what does it do?
    If you add a [.CODE]if (var == true)[.CODE] (Without ".") on your post, then it results in black. With this resource you can add the color's . And that will result in:
    [​IMG]
    You can get the color's if you do this:
    [.code=javascript]if (var == true)[/code.] (Without ".")

    Hopefully you will add this @Coelho :)
    • Like Like x 1
    • Agree Agree x 1
  2. The_Zip

    The_Zip Active Member Resource Contributor

    I like it, would be a cool feature to have added to these forums. Especially because most of the talk is about java.
    • Agree Agree x 2
  3. Matt

    Matt Forum Moderator & Contributor Staff Member Moderator Contributor

    And tutorials will have more overview :)
  4. TakeMeNL

    TakeMeNL Member Resource Contributor

    Yes love this feature, hopefully will be added.
    Makes things allot easier to read.
  5. Matt

    Matt Forum Moderator & Contributor Staff Member Moderator Contributor

    @Coelho Can you please implement this??
  6. Coelho

    Coelho Software Engineer Staff Member Administrator Maintainer

    Code (javascript):
    if (var == true)
    Seems to be working.
    • Like Like x 2
  7. Matt

    Matt Forum Moderator & Contributor Staff Member Moderator Contributor

    Thanks @Coelho !

    Also a test from me:
    Code (javascript):
    public class Main extends JavaPlugin implements Listener {

        public void onEnable() {
            getServer().getPluginManager().registerEvents(this, this);
        }
    }
  8. Matt

    Matt Forum Moderator & Contributor Staff Member Moderator Contributor

    @Coelho I've updated all the documtentations / Tutorials with the right syntax

    Correct me if I forgot something :)
Thread Status:
Not open for further replies.

Share This Page