apply markdown notation