Code Beauty
[ bob ] 06:18, Tuesday, 23 December 2003

For Vincent, I've now correctly installed the CodeBeautifier plugin for MT. To use it, encase your code in a <code> block, toss in a language="java" type of attribute, and away you go. You'll have to turn Text Formatting to None instead of Convert Line Breaks. For example, typing this...

<code language="java">
public class VincentMassol 
  extends Hausmate
{
  public String cheese = "gouda";
}
</code>

will yield this:

public class VincentMassol 
  extends Hausmate
{
   public String cheese = "gouda";
}