Add script for extracting code blocks from content