cmark-lua - better error reporting, return error status.