Callback for removing markers from the output.
typedef MarkerRemover = void Function(int start, int end);