UTF8-BOM breaks markdown parsing for statements on first line
Some editors add a magic byte to mark a document as UTF-8, the UTF8-BOM. This stops the markdown interpreter we use from correctly interpreting statements in the beginning of the first line, like a headline (# headline
) in line 1. In Java the program has to take care of handling BOMs. We could use BOMInputStream from commons-io to take care of this.