codex - 💡(How to fix) Fix Codex App: inline LaTeX using `$...$` does not render in conversations or Markdown preview [2 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
openai/codex#23402Fetched 2026-05-20 03:50:43
View on GitHub
Comments
2
Participants
2
Timeline
8
Reactions
1
Timeline (top)
commented ×2labeled ×2closed ×1mentioned ×1

Root Cause

Many existing Markdown notes, course materials, technical documents, and generated homework/report files use $...$ for inline math and $$...$$ for display math. Requiring \(...\) only for Codex App compatibility makes these documents less portable and creates friction when working with math-heavy projects.

The current workaround is to write inline math as \(...\), but that requires changing existing Markdown conventions or project instructions even though $...$ is widely used.

Fix Action

Fix / Workaround

The current workaround is to write inline math as \(...\), but that requires changing existing Markdown conventions or project instructions even though $...$ is widely used.

Code Example

$x+1=2$

---

\(x+1=2\)

---

$$
\int_0^1 x^2\,dx = \frac{1}{3}
$$

---

\[
\int_0^1 x^2\,dx = \frac{1}{3}
\]

---

Inline dollar: $x+1=2$
Inline parens: \(x+1=2\)

$$
\int_0^1 x^2\,dx = \frac{1}{3}
$$
RAW_BUFFERClick to expand / collapse

What version of the Codex App are you using?

Observed on Windows with:

  • App package: OpenAI.Codex_26.513.4821.0_x64__2p2nqsd0c76g0
  • Codex App product version shown by the running process: 26.513.40821
  • bundled codex.exe: 0.131.0-alpha.9

What platform is your computer?

Windows x64.

What issue are you seeing?

Inline LaTeX written with single-dollar delimiters does not render in the Codex App UI.

This appears in at least two places:

  1. Assistant conversation output in the Codex App.
  2. Markdown files opened/previewed inside the Codex App.

For example, this remains raw text instead of rendering as inline math:

$x+1=2$

However, the parenthesized LaTeX delimiter does render correctly:

\(x+1=2\)

Display math appears to render correctly in the same environment:

$$
\int_0^1 x^2\,dx = \frac{1}{3}
$$

and:

\[
\int_0^1 x^2\,dx = \frac{1}{3}
\]

Steps to reproduce

  1. Open Codex App.
  2. Ask the assistant to output the following Markdown:
Inline dollar: $x+1=2$
Inline parens: \(x+1=2\)

$$
\int_0^1 x^2\,dx = \frac{1}{3}
$$
  1. Observe that \(x+1=2\) renders as inline math, while $x+1=2$ remains unrendered/raw.
  2. Open or preview a Markdown file in Codex App containing $x+1=2$ and observe the same incompatibility.

Expected behavior

Codex App should either:

  • render $...$ as inline math by default, matching common Markdown math behavior in tools such as ChatGPT, GitHub-flavored math Markdown, Typora, Obsidian, and many documentation workflows; or
  • provide a compatibility setting to enable single-dollar inline math rendering.

Why this matters

Many existing Markdown notes, course materials, technical documents, and generated homework/report files use $...$ for inline math and $$...$$ for display math. Requiring \(...\) only for Codex App compatibility makes these documents less portable and creates friction when working with math-heavy projects.

The current workaround is to write inline math as \(...\), but that requires changing existing Markdown conventions or project instructions even though $...$ is widely used.

Related issues

  • #10715 requested rendered LaTeX support in Codex App and was marked completed.
  • #22821 reports a related but different block-math parsing issue with \[...\] after normal text.

This issue is specifically about single-dollar inline math $...$ not rendering in Codex App conversations and Markdown preview/opened files.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

FAQ

Expected behavior

Codex App should either:

  • render $...$ as inline math by default, matching common Markdown math behavior in tools such as ChatGPT, GitHub-flavored math Markdown, Typora, Obsidian, and many documentation workflows; or
  • provide a compatibility setting to enable single-dollar inline math rendering.

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

codex - 💡(How to fix) Fix Codex App: inline LaTeX using `$...$` does not render in conversations or Markdown preview [2 comments, 2 participants]