markdown preparation