move citations into code blocks