handle markdown code block