Erudika / scoold-pro

Cloud-ready Q&A platform for the enterprise (self-hosted, on premise)
https://scoold.com
Other
7 stars 0 forks source link

Preview button (Ctrl+P) should render LaTeX equations using MathJax #41

Closed couviphi closed 4 years ago

couviphi commented 4 years ago

When entering a LaTeX equation like $E = \gamma m c^2$, the preview button (Ctrl+P) should use MathJax and render the LaTeX equation using MathJax exactly the same as it will appear once the question is saved, that is the same as in the image shown below: image

albogdano commented 4 years ago

Fixed! Thanks for reporting!

couviphi commented 4 years ago

Thank you for your quick reply. That was really fast!

As of tonight (Aug 4, 10pm Pacific Time), I am not seeing the fix yet in action on the live Pro Demo site https://pro.scoold.com/

The image below shows what I am seeing during Preview when replying to a question: image

My expectation is the following: image

I still see the same problem when asking a new question: the Preview button does not render LaTeX as MathJax.

albogdano commented 4 years ago

I've updated the demo site with the latest fixes.

couviphi commented 4 years ago

I have tested the Preview button works fine for both Question and Answer. LaTeX is now properly formatted during Preview. This enhancement/fix makes it much easier to enter LaTeX equations without having to leave the Scoold user-interface to check if the LaTeX equations are correct/valid. Thank you very much for your quick turnaround! Case closed.