use marked to format the sample