add preview markdown handler #39
preview finished. #39