Fixed formatting in README
This commit is contained in:
@@ -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:
|
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 class StrangeFormatEscaping extends SimpleEscaping {
|
||||||
public StrangeFormatEscaping() {
|
public StrangeFormatEscaping() {
|
||||||
super(new String[][] {
|
super(new String[][] {
|
||||||
{"[", "[["},
|
{"[", "[["},
|
||||||
{"]", "]]"}
|
{"]", "]]"}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
Pass an instance of your Escaping implementation when obtaining a compiler:
|
Pass an instance of your Escaping implementation when obtaining a compiler:
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user