Create scope for templating by providing callback hooks allowing markdown (and html) content to be pre-processed before being converted to PDF.