Convert markdown files to annotations.js for use in Pattern Lab