render as markdown (fixes #18)