change markdown api from github to pagedown