I've created a basic example for how to get Pagedown and MathJax working together using a slight modification of Stack Exchange's mathjax-editing.js.
Stack Exchange's code is based on Davide Cervone's, see his comment on another answer.
The code for the example can be viewed on github.