replaces yfm with gray-matter (drop-in replacement)