Add check for style in markdown snipped generator method