benches/markdown: introduces engine txtmark
[nit.git] / benchmarks / markdown / engines / txtmark / Txtmark.java
1 import com.github.rjeschke.txtmark.Processor;
2 import java.io.File;
3 import java.io.IOException;
4
5 public class Txtmark {
6 public static void main(String[] args) throws IOException {
7 int n = Integer.parseInt(args[1]);
8 for(int i = 0; i < n; i++) {
9 System.out.println(Processor.process(new File(args[0])));
10 }
11 }
12 }