Switch to kramdown parser and fix image alignment