Fixed formatting in README

This commit is contained in:
Nat Pryce
2013-07-22 22:46:29 +01:00
parent 30907579eb
commit 0797c89c38
+7 -7
View File
@@ -240,13 +240,13 @@ You can change the escaping behavior when obtaining a compiler, to support file
Implement the Escaping interface. If you only need to replace fixed strings in the text, you can subclass SimpleEscaping:
public class StrangeFormatEscaping extends SimpleEscaping {
public StrangeFormatEscaping() {
super(new String[][] {
{"[", "[["},
{"]", "]]"}
});
}
public class StrangeFormatEscaping extends SimpleEscaping {
public StrangeFormatEscaping() {
super(new String[][] {
{"[", "[["},
{"]", "]]"}
});
}
Pass an instance of your Escaping implementation when obtaining a compiler: