Control linebreak in code
-
Hi,
I’m trying to controll the linebreak in a code, I make an example:
[code language='java']
public class Hello{
public met1() {
do something 1
do something 2
}
}
[/code]I really need to align the ‘do something’ someway but cannot find how.
Any Ideas?
The blog I need help with is: (visible only to logged in users)
-
may be I add some comment here.
The code above is all left aligned.
Actually the code inserted hat some spaces indending the line. These spaces are gone.
So for example the “do something” need to be indended 4 spaces.
- The topic ‘Control linebreak in code’ is closed to new replies.