added function "md2beamer"