move emacs log statement
add markdown mode support