Prepare mkdoc’s parser infrastructure