npm i markdown-it-mathjax3
and use it in your markdown-it setup like:
var md = require('markdown-it')(),
mathjax3 = require('markdown-it-mathjax3');
You can then write in your Markdown MatJax Tex syntax
to get the SVG:
That output as you see it is not accessible. markdown-it-mathjax3 can consume the MathJax configuration object but my takes of configuring accessibility support were not successful so far.