LaTeX maths ($…$ or $$…$$) renders as literal dollar signs

What you are seeing

Your LaTeX maths, written as $…$ or $$…$$, shows up as literal dollar signs and plain text.


#Why it happens

Markdown has no maths or LaTeX support, so the dollar signs are treated as ordinary text.


#What to do

Use a tikz diagram fence to typeset maths. That is a fenced code block with the language set to tikz.


#Limits that apply here

Limit

Value

What happens

Large-document scroll mode

500,000 characters

Past this, the document shows "⚠️ Large content detected. Rendering in scrollable mode." and sits in a scrolling box 1,200 pixels high instead of showing inline.


#A few things that catch people out

  • The link icon in the bordered header never appears.

  • There is no maths or LaTeX support anywhere in Markdown.



Found it? Good.