completes markdown code formatting