set markdown to rdiscount; change path of figures