jekyll-crosspost-to-medium icon indicating copy to clipboard operation
jekyll-crosspost-to-medium copied to clipboard

Formulas typed in MathJax not visible.

Open dtransposed opened this issue 5 years ago • 5 comments

Hello!

Thank you for this wonderful tool. It works like a charm. The only thing which bothers me is the fact that once the article shows up in Medium, all my math formulas, which are there in the initial Jekyll post are not visible. Those are in MathJax setting so for example two to the power of three is: $2^{3}$ etc.

Am I missing something or is this styling not supported by your tool?

Cheers, Damian

dtransposed avatar Jan 11 '20 21:01 dtransposed

I’m not familiar with MathJax. Did you enable it via a plugin? I wonder if there might be a way to allow for plugins to be run against the contents before sending it to Medium. Currently I only parse Markdown.

aarongustafson avatar Jan 13 '20 18:01 aarongustafson

I think the way it works is: the *.md file on my blog is being parsed by kramdown. It supports TeX, so this way all the formulas written in the LateX style are being correctly displayed on my Jekyll blog. Sadly, they are being totally neglected when I try to cross-post to Medium. Do you know if your tool works for kramdown?

dtransposed avatar Jan 13 '20 18:01 dtransposed

I thought it was using whichever markdown parser you had specified, but I can take a look again shortly. I also use kramdown.

aarongustafson avatar Jan 13 '20 18:01 aarongustafson

Thank you a lot! If it helps I can provide a link to my github repo with Jekyll site. Maybe you will find some discrepancies: https://github.com/dtransposed/dtransposed.github.io

dtransposed avatar Jan 13 '20 18:01 dtransposed

I kept having Ruby/Jekyll issues when upgrading my Mac, so I have moved off of Jekyll and will not be working on this project anymore, going forward. I am going to flag this as won’t fix, but leave it open in case someone else wants to pick up the project from here.

aarongustafson avatar Jul 22 '21 21:07 aarongustafson