trying to address markdown code sample parsing issues