Use marked (https://github.com/chjj/marked) for better markdown compatibility and performance.