# 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
5 years, 10 months ago

This discussion board is a place to discuss our Daily Challenges and the math and science related to those challenges. Explanations are more than just a solution — they should explain the steps and thinking strategies that you used to obtain the solution. Comments should further the discussion of math and science.

When posting on Brilliant:

• Use the emojis to react to an explanation, whether you're congratulating a job well done , or just really confused .
• Ask specific questions about the challenge or the steps in somebody's explanation. Well-posed questions can add a lot to the discussion, but posting "I don't understand!" doesn't help anyone.
• Try to contribute something new to the discussion, whether it is an extension, generalization or other idea related to the challenge.

MarkdownAppears as
*italics* or _italics_ italics
**bold** or __bold__ bold
- bulleted- list
• bulleted
• list
1. numbered2. list
1. numbered
2. list
Note: you must add a full line of space before and after lists for them to show up correctly
paragraph 1paragraph 2

paragraph 1

paragraph 2

[example link](https://brilliant.org)example link
> This is a quote
This is a quote
    # I indented these lines
# 4 spaces, and now they show
# up as a code block.

print "hello world"
# I indented these lines
# 4 spaces, and now they show
# up as a code block.

print "hello world"
MathAppears as
Remember to wrap math in $$ ... $$ or $ ... $ to ensure proper formatting.
2 \times 3 $2 \times 3$
2^{34} $2^{34}$
a_{i-1} $a_{i-1}$
\frac{2}{3} $\frac{2}{3}$
\sqrt{2} $\sqrt{2}$
\sum_{i=1}^3 $\sum_{i=1}^3$
\sin \theta $\sin \theta$
\boxed{123} $\boxed{123}$

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 - 5 years, 10 months ago

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

- 5 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 - 5 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.

- 5 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 - 5 years, 10 months ago

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

Staff - 4 years, 10 months ago