×

Viewing the "source code" (e.g the LaTeX code) of replies, solutions, posts, etc.!

I definitely think Brilliant should allow users to be able to see the "source code" (the Markdown, text and most importantly the $$\LaTeX{}$$ code) of solutions and other posts!

I've encountered times where I've seen a solution so elegantly rendered and put that I was curious how they did it. Unfortunately, I wasn't able to view the source code to see the different commands they used, how they marked it up, etc.. I wasn't able to learn directly how they markedup the solution.

Allowing users to view the source code would definitely help the newer ones to LaTeX by seeing how others do it. I feel that seeing how others do it would allow them to remember bits and pieces of commands, bits and pieces of how to markup certain formulas/things, etc.

I can't seem to think of a down side of allowing us to view the source code of others. I feel that it might contribute to the progress of everyone's solution making skills and LaTeX skills.

Note by Kim Laberinto
3 years, 11 months ago

Sort by:

Hey Kim -- We've been planning a feature like this for a while. I personally want to use this feature all the time. It is definitely coming...

In the meantime, I recommend this useful extension (for Google Chrome only) that allows you to visually create the expressions that you want, and it will show you the corresponding LaTeX code for you to copy and paste into Brilliant.

Staff - 3 years, 11 months ago

I wonder why this useful information about the extension is not mentioned under Formatting Guide.

- 3 years, 10 months ago

It is coming! We need to add it in a way that isn't confusing to people who don't know about Google Chrome or who don't understand extensions.

Staff - 3 years, 10 months ago

Update: You can now view Latex codes by hovering over the equation. Read Seeing actual $$\LaTeX$$ for more details

Staff - 2 years, 10 months ago

Why do you have showMathMenu set to false? in the MathJax configuration. If that was on, one could see the latex code.

- 3 years, 10 months ago

Almost all users do not see math rendered with MathJax in the browser. It is rendered on our server and served via inline SVG for speed.

Staff - 3 years, 10 months ago