These are some simple rules to apply to have a correct and quick reply to your question.
Before posting, please :
- be sure you are the first asking the question, look at the FAQ and search on older posts,
- read the documentation,
If you didn't find any satisfied answers, please:
- choose expressive title,
- define clearly the problem and your questions,
- as much as possible, provide code, trace, … everything that can clarify your words,
- use tags,
- precise the version of the choco.jar,
- avoid multiple posts or posts without relevant information,
- be kind / polite with other forum users.
Thank you for your understanding.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
To avoid surprises in rendering codify text, keep in mind that BBCode tags are "inclusive". So, for example, italic tags inside code tags … makes the code text to be in italic!
As a short example is better than long explanations:
You want to codify the following text:
int array = new int;
for(int i = 0; i < 10; i++){
array = i;
}
i is not the best choice for index name as (without spaces) is also the italic BBCode tag, you will get that:
int[ ] array = new int[ ];
for(int i = 0; i < 10; i++){
array[i] = i;
}
These are some simple rules to apply to have a correct and quick reply to your question.
Before posting, please :
- be sure you are the first asking the question, look at the FAQ and search on older posts,
- read the documentation,
If you didn't find any satisfied answers, please:
- choose expressive title,
- define clearly the problem and your questions,
- as much as possible, provide code, trace, … everything that can clarify your words,
- use tags,
- precise the version of the choco.jar,
- avoid multiple posts or posts without relevant information,
- be kind / polite with other forum users.
Thank you for your understanding.
To avoid surprises in rendering codify text, keep in mind that BBCode tags are "inclusive". So, for example, italic tags inside code tags … makes the code text to be in italic!
As a short example is better than long explanations:
You want to codify the following text:
int array = new int;
for(int i = 0; i < 10; i++){
array = i;
}
i is not the best choice for index name as (without spaces) is also the italic BBCode tag, you will get that:
instead of the expected:
Please, check your codified text one more time before posting ;)
documentation link requires update…
Any useful links can be found on the website: website of choco
Hope it helsp,
CP