Skip to content
This repository has been archived by the owner on Aug 29, 2024. It is now read-only.

How to render these steps using Mathjax or something else? #256

Open
rohitcoder opened this issue Jun 6, 2020 · 1 comment
Open

How to render these steps using Mathjax or something else? #256

rohitcoder opened this issue Jun 6, 2020 · 1 comment

Comments

@rohitcoder
Copy link

Hi Team,

I am getting output like this one after solving one question.

But how to render these steps in web page without crafting these JSON keys/values manually?

Is there anyway to just pass steps in a function and it renders everything?

Screenshot 2020-06-07 at 12 25 44 AM

Thanks,
Rohit

@rohitcoder rohitcoder changed the title How to render these steps using MathJS? How to render these steps using Mathjax or something else? Jun 6, 2020
@cshaa
Copy link

cshaa commented Jun 8, 2020

Don't the equations have a toTex method? Or their left and right nodes? Since this project is based on math.js, this example code could be useful for you:
https://mathjs.org/examples/browser/pretty_printing_with_mathjax.html.html

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants