Use fancyvrb the right way, to show specified blocks of codes.