Extracts source code from markdown.