rendering equations as images for Microsoft output?

from the top thread, I think this will get me there:

By the way the website I just sent doesn't seem to work with github but from @daattali's site you can define a function like

latexImg = function(latex){

    link = paste0('http://latex.codecogs.com/gif.latex?',
           gsub('\\=','%3D',URLencode(latex)))

    link = gsub("(%..)","\\U\\1",link,perl=TRUE)
    return(paste0('![](',link,')'))
}

in any inline location you can do r latexImg('a = \\frac{b}{c}') to place the image you want. note that this has to be Rmarkdown