• Dear Cerberus X User!

    As we prepare to transition the forum ownership from Mike to Phil (TripleHead GmbH), we need your explicit consent to transfer your user data in accordance with our amended Terms and Rules in order to be compliant with data protection laws.

    Important: If you accept the amended Terms and Rules, you agree to the transfer of your user data to the future forum owner!

    Please read the new Terms and Rules below, check the box to agree, and click "Accept" to continue enjoying your Cerberus X Forum experience. The deadline for consent is April 5, 2024.

    Do not accept the amended Terms and Rules if you do not wish your personal data to be transferred to the future forum owner!

    Accepting ensures:

    - Continued access to your account with a short break for the actual transfer.

    - Retention of your data under the same terms.

    Without consent:

    - You don't have further access to your forum user account.

    - Your account and personal data will be deleted after April 5, 2024.

    - Public posts remain, but usernames indicating real identity will be anonymized. If you disagree with a fictitious name you have the option to contact us so we can find a name that is acceptable to you.

    We hope to keep you in our community and see you on the forum soon!

    All the best

    Your Cerberus X Team

[HowTo] Usage of CODE tag in forum posts

MikeHart

Administrator
Joined
Jun 19, 2017
Messages
3,597
Some where wondering, how to use the CODE tag inside your posts, when you want to display source code. To get an overview of the BBcode tags available, have a look at the help page first:

https://www.cerberus-x.com/community/help/bb-codes

You can reach it via the menu

upload_2017-7-17_9-51-19.png


or through the link on the bottom of the page

upload_2017-7-17_9-51-57.png


So how do you post source code? With the use of the CODE tag.

Basically you do this:

[code] '.... you code goes here [/code]

By default it uses the Cerberus language and would look like this:

Code:
'.... you code goes here

We use the GesHI plugin to display syntax highlighted code which supports over 200 programming languages.

Here are a few which you mostly will use:


[code=cpp] // you C++ code goes here [/code]
[code=text] you plain text goes here [/code]
[code=java] '.... you JAVA code goes here [/code]
[code=JavaScript] '.... you JavaScript code goes here [/code]
[code=powershell] '.... you Powershell script goes here [/code]
[php] '.... you JAVA code goes here [/php]
[html] '.... you JAVA code goes here [/html]
[CSS] /*.... you CSS code goes here */ [/CSS]


Or you can use this helper inside the post editor:

upload_2017-7-17_10-3-26.png


upload_2017-7-17_10-4-32.png



Ok, I hope this will help you a little. If you have any questions, please ask.
 
Last edited:
Back
Top Bottom