fix example code markdown formatting in dosctrings