attempt at processing code blocks delimited with ~~~