Support code blocks; Fixes #122

Fixes #122

Added support for code blocks when multiple lines are selected. Otherwise revert back to normal code.