# \#math

**URL:** https://meta.discourse.org/tag/math/265.md

[Latest](https://meta.discourse.org/latest.md) · [Categories](https://meta.discourse.org/categories.md) · [Tags](https://meta.discourse.org/tags.md)

---

## [Discourse Math](https://meta.discourse.org/t/discourse-math/65770)

<div class="topic-metadata">

**Author:** [@Discourse](https://meta.discourse.org/u/Discourse)\
**Replies:** 9\
**Last updated:** [July 11, 2026, 9:27am UTC](https://meta.discourse.org/t/discourse-math/65770 "2026-07-11T09:27:43Z")

</div>

:discourse2: Summary Discourse Math uses MathJax (default) or KaTeX to render maths in your Discourse forum. :open\_book: Install Guide This plugin is bundled with Discourse core. There is no need to insta…

---

## [Occasional cropped delimiters on iOS portrait after recent rebuild](https://meta.discourse.org/t/occasional-cropped-delimiters-on-ios-portrait-after-recent-rebuild/404148)

<div class="topic-metadata">

**Author:** [@Ethsim2](https://meta.discourse.org/u/Ethsim2)\
**Replies:** 0\
**Last updated:** [May 31, 2026, 7:59am UTC](https://meta.discourse.org/t/occasional-cropped-delimiters-on-ios-portrait-after-recent-rebuild/404148 "2026-05-31T07:59:11Z")

</div>

Hello, I rebuilt my self-hosted instance of Discourse to 2026.6.0-latest (2c5974a4bc) yesterday evening, the time of last rebuild is in this post - Apologies i’m not sure of the previous version. I’m a heavy maths-user…

---

## [Undefined control sequence \\textcolor](https://meta.discourse.org/t/undefined-control-sequence-textcolor/372840)

<div class="topic-metadata">

**Author:** [@Ethsim2](https://meta.discourse.org/u/Ethsim2)\
**Replies:** 2\
**Last updated:** [May 31, 2026, 7:58am UTC](https://meta.discourse.org/t/undefined-control-sequence-textcolor/372840 "2026-05-31T07:58:54Z")

</div>

Hi, my instance has been using MathJax for a while. Oftentimes when there are many $…$ or $$…$$ trying to render at once they all abort with undefined control sequence \\textcolor This has been happening for years, and…

---

## [Rich text editor converts bbcode into display math](https://meta.discourse.org/t/rich-text-editor-converts-bbcode-into-display-math/396463)

<div class="topic-metadata">

**Author:** [@panic](https://meta.discourse.org/u/panic)\
**Replies:** 6\
**Last updated:** [February 20, 2026, 3:44am UTC](https://meta.discourse.org/t/rich-text-editor-converts-bbcode-into-display-math/396463 "2026-02-20T03:44:48Z")

</div>

Description When pasting bbcode into rich text editor, brackets are escaped as \\\[ and \\\]. However, this makes it a valid display math block, so it is erroneously rendered as math. Reproduction Copy the following text …

---

## [Ability to customize init config for MathJax in Discourse Math plugin](https://meta.discourse.org/t/ability-to-customize-init-config-for-mathjax-in-discourse-math-plugin/396121)

<div class="topic-metadata">

**Author:** [@fangjue](https://meta.discourse.org/u/fangjue)\
**Replies:** 0\
**Last updated:** [February 15, 2026, 4:15am UTC](https://meta.discourse.org/t/ability-to-customize-init-config-for-mathjax-in-discourse-math-plugin/396121 "2026-02-15T04:15:58Z")

</div>

There are some predefined configuration for MathJax in discourse/plugins/discourse-math/assets/javascripts/lib/math-renderer.js at main · discourse/discourse but there are only a few settings available to modify this con…

---

## [A new release of Discourse Math](https://meta.discourse.org/t/a-new-release-of-discourse-math/393633)

<div class="topic-metadata">

**Author:** [@sam](https://meta.discourse.org/u/sam)\
**Replies:** 2\
**Last updated:** [January 18, 2026, 11:30pm UTC](https://meta.discourse.org/t/a-new-release-of-discourse-math/393633 "2026-01-18T23:30:07Z")

</div>

I am very happy to announce a major upgrade to our Discourse Math plugin! Special thanks goes to @mcmcclur who helped test and build much of the new and upgraded discourse-math. This is a very significant change – we u…

---

## [Missing Discourse Math plugin for translating?](https://meta.discourse.org/t/missing-discourse-math-plugin-for-translating/393436)

<div class="topic-metadata">

**Author:** [@duy](https://meta.discourse.org/u/duy)\
**Replies:** 15\
**Last updated:** [January 16, 2026, 8:20pm UTC](https://meta.discourse.org/t/missing-discourse-math-plugin-for-translating/393436 "2026-01-16T20:20:59Z")

</div>

I saw this option in Meta Discourse’s rich text editor. I guess it’s Discourse Math, but I can’t find this plugin on Crowdin for translation. Is this plugin missing on Crowdin? P/S: And may I ask what plugin the sma…

---

## [Equations do not render properly in blocks](https://meta.discourse.org/t/equations-do-not-render-properly-in-blocks/393640)

<div class="topic-metadata">

**Author:** [@KickaStone](https://meta.discourse.org/u/KickaStone)\
**Replies:** 6\
**Last updated:** [January 16, 2026, 9:08am UTC](https://meta.discourse.org/t/equations-do-not-render-properly-in-blocks/393640 "2026-01-16T09:08:14Z")

</div>

Hi, equations cannot be rendered inside the “details” tag when using the MathJax engine. Like this \[details="Summary"\] $a \\times b = c$ \[/details\] Could you take a look at this problem?

---

## [Math and AI workarounds](https://meta.discourse.org/t/math-and-ai-workarounds/393642)

<div class="topic-metadata">

**Author:** [@ozkn](https://meta.discourse.org/u/ozkn)\
**Replies:** 15\
**Last updated:** [January 16, 2026, 5:55am UTC](https://meta.discourse.org/t/math-and-ai-workarounds/393642 "2026-01-16T05:55:13Z")

</div>

There are new suggestions from the openai community regarding the problems I am experiencing. Are you planning to make an update about this? suggestions are as follows. Suggestion 1; def parse\_stream\_to\_katex(stream: …

---

## [Math not rendering in Preview](https://meta.discourse.org/t/math-not-rendering-in-preview/393641)

<div class="topic-metadata">

**Author:** [@simon](https://meta.discourse.org/u/simon)\
**Replies:** 1\
**Last updated:** [January 16, 2026, 5:52am UTC](https://meta.discourse.org/t/math-not-rendering-in-preview/393641 "2026-01-16T05:52:29Z")

</div>

I’ve noticed that on Meta, math doesn’t get rendered in the preview window, but it does (I think) get rendered in posts. I’ll test that out here: 1 - a = 1 - \\frac{1}{1 + e^{-z}} In the preview window I’m seeing 1 - a…

---

## [Add support for Latex style blocks and inlines for Math](https://meta.discourse.org/t/add-support-for-latex-style-blocks-and-inlines-for-math/393638)

<div class="topic-metadata">

**Author:** [@ozkn](https://meta.discourse.org/u/ozkn)\
**Replies:** 6\
**Last updated:** [January 16, 2026, 5:47am UTC](https://meta.discourse.org/t/add-support-for-latex-style-blocks-and-inlines-for-math/393638 "2026-01-16T05:47:23Z")

</div>

artificial intelligence gives answers in latex format. I wrote a prompt to convert this latex format to mathjax format, but the prompt is not always implemented and responds in latex format. When I wrote my problem to th…

---

## [Can Mathjax be upgraded to Version 3?](https://meta.discourse.org/t/can-mathjax-be-upgraded-to-version-3/393637)

<div class="topic-metadata">

**Author:** [@Marius\_Ciepluch](https://meta.discourse.org/u/Marius_Ciepluch)\
**Replies:** 2\
**Last updated:** [January 16, 2026, 5:45am UTC](https://meta.discourse.org/t/can-mathjax-be-upgraded-to-version-3/393637 "2026-01-16T05:45:15Z")

</div>

Is there a way to use MathJax 3 instead? It’s much smaller and can therefore reduce load times and improve page speed. What’s New in MathJax v3.0 — MathJax 3.2 documentation I tried switching the URL, but I don’t know …

---

## [Add support for email formatting of mathjax](https://meta.discourse.org/t/add-support-for-email-formatting-of-mathjax/393636)

<div class="topic-metadata">

**Author:** [@Lhc\_fl](https://meta.discourse.org/u/Lhc_fl)\
**Replies:** 1\
**Last updated:** [May 16, 2023, 8:29am UTC](https://meta.discourse.org/t/add-support-for-email-formatting-of-mathjax/393636 "2023-05-16T08:29:44Z")

</div>

Hi, the Math plugin seems to rely on the frontend for rendering. Therefore, our email users cannot receive the rendered math formula. Is there any way to solve this problem?

---

## [Composer: click/selection in preview should reveal/select corresponding Markdown source (especially math)](https://meta.discourse.org/t/composer-click-selection-in-preview-should-reveal-select-corresponding-markdown-source-especially-math/393376)

<div class="topic-metadata">

**Author:** [@Ethsim2](https://meta.discourse.org/u/Ethsim2)\
**Replies:** 0\
**Last updated:** [January 13, 2026, 8:49pm UTC](https://meta.discourse.org/t/composer-click-selection-in-preview-should-reveal-select-corresponding-markdown-source-especially-math/393376 "2026-01-13T20:49:55Z")

</div>

Problem / motivation When editing math-heavy posts, it’s often difficult to locate the exact source of a rendered equation in the Markdown composer. In long posts with many inline $…$ expressions or multiple $$…$$ displ…

---

## [Upgrading Mathjax to version 4](https://meta.discourse.org/t/upgrading-mathjax-to-version-4/392669)

<div class="topic-metadata">

**Author:** [@mcmcclur](https://meta.discourse.org/u/mcmcclur)\
**Replies:** 32\
**Last updated:** [January 13, 2026, 10:55am UTC](https://meta.discourse.org/t/upgrading-mathjax-to-version-4/392669 "2026-01-13T10:55:25Z")

</div>

@sam and all interested in typing math in Discourse. I’ve updated the discourse-math plugin so that it uses MathJax V3, rather than the much slower and very outdated V2. As expected, the result is a much snappier user ex…

---

## [Include cooked Discourse-math in print view and emails](https://meta.discourse.org/t/include-cooked-discourse-math-in-print-view-and-emails/384092)

<div class="topic-metadata">

**Author:** [@Ethsim2](https://meta.discourse.org/u/Ethsim2)\
**Replies:** 1\
**Last updated:** [January 11, 2026, 9:05pm UTC](https://meta.discourse.org/t/include-cooked-discourse-math-in-print-view-and-emails/384092 "2026-01-11T21:05:16Z")

</div>

Problem Discourse-math renders beautifully in the browser, but in contexts where JavaScript can’t run, math falls back to raw LaTeX source. Two high-impact cases: Print view (/print or browser print-to-PDF): math show…

---

## [Math mode hard to use with rich text editor](https://meta.discourse.org/t/math-mode-hard-to-use-with-rich-text-editor/378089)

<div class="topic-metadata">

**Author:** [@lspector](https://meta.discourse.org/u/lspector)\
**Replies:** 16\
**Last updated:** [August 11, 2025, 9:50pm UTC](https://meta.discourse.org/t/math-mode-hard-to-use-with-rich-text-editor/378089 "2025-08-11T21:50:24Z")

</div>

I think that some basic math formatting that used to work no longer is on my site. For example, Greek characters \\\\alpha, \\\\Alpha, \\\\beta, \\\\Beta, \\\\delta, \\\\Delta, \\\\epsilon. I tried enabling asciimath and using percent…

---

## [Support BBCode/KaTeX or MathJax/HTML rendering in \[details=...\] titles when relevant plugins are installed](https://meta.discourse.org/t/support-bbcode-katex-or-mathjax-html-rendering-in-details-titles-when-relevant-plugins-are-installed/372813)

<div class="topic-metadata">

**Author:** [@Ethsim2](https://meta.discourse.org/u/Ethsim2)\
**Replies:** 2\
**Last updated:** [July 26, 2025, 4:01pm UTC](https://meta.discourse.org/t/support-bbcode-katex-or-mathjax-html-rendering-in-details-titles-when-relevant-plugins-are-installed/372813 "2025-07-26T16:01:48Z")

</div>

I’m using both the Discourse Math and Discourse BBCode plugins on my instance. I’d like to request support for rendering inline BBCode and KaTeX (if using \\color) or MathJax (if using \\textcolor) (via $...$) inside \[deta…

---

## [MathJax Not Rendering Inside \<details\> Without Newline After \<summary\>](https://meta.discourse.org/t/mathjax-not-rendering-inside-details-without-newline-after-summary/375414)

<div class="topic-metadata">

**Author:** [@Ethsim2](https://meta.discourse.org/u/Ethsim2)\
**Replies:** 3\
**Last updated:** [July 23, 2025, 11:38pm UTC](https://meta.discourse.org/t/mathjax-not-rendering-inside-details-without-newline-after-summary/375414 "2025-07-23T23:38:37Z")

</div>

Hi — this is a follow-up to my earlier post: I’ve identified that MathJax expressions inside \<details\> blocks do not render unless a newline is inserted immediately after the \<summary\> tag. Minimal reproduction: Thi…

---

## [MathJax fails to render inline math when followed by curly apostrophe (U+2019) but works with straight apostrophe (U+0027)](https://meta.discourse.org/t/mathjax-fails-to-render-inline-math-when-followed-by-curly-apostrophe-u-2019-but-works-with-straight-apostrophe-u-0027/375416)

<div class="topic-metadata">

**Author:** [@Ethsim2](https://meta.discourse.org/u/Ethsim2)\
**Replies:** 3\
**Last updated:** [July 23, 2025, 4:23pm UTC](https://meta.discourse.org/t/mathjax-fails-to-render-inline-math-when-followed-by-curly-apostrophe-u-2019-but-works-with-straight-apostrophe-u-0027/375416 "2025-07-23T16:23:39Z")

</div>

I’m encountering a rendering issue with inline MathJax in Discourse when the math expression is followed by a curly apostrophe (U+2019), which is commonly substituted by smart quotes in some browsers or editors. …

---

## [Feature Request: Support for \\nicefrac in Discourse Math (\\KaTeX/\\MathJax)](https://meta.discourse.org/t/feature-request-support-for-nicefrac-in-discourse-math-katex-mathjax/372841)

<div class="topic-metadata">

**Author:** [@Ethsim2](https://meta.discourse.org/u/Ethsim2)\
**Replies:** 0\
**Last updated:** [July 3, 2025, 9:27pm UTC](https://meta.discourse.org/t/feature-request-support-for-nicefrac-in-discourse-math-katex-mathjax/372841 "2025-07-03T21:27:58Z")

</div>

:puzzle\_piece: Feature Request: Add Support for \\nicefrac in Discourse Math Rendering Summary Please add support for the \\nicefrac{a}{b} command in Discourse math rendering. This diagonal-style fraction is compact and id…

---

## [⚠️ Inline KaTeX/MathJax $...$ inside \[grid\] can leak BBCode when used with \[details\]](https://meta.discourse.org/t/inline-katex-mathjax-inside-grid-can-leak-bbcode-when-used-with-details/372802)

<div class="topic-metadata">

**Author:** [@Ethsim2](https://meta.discourse.org/u/Ethsim2)\
**Replies:** 2\
**Last updated:** [July 3, 2025, 6:17pm UTC](https://meta.discourse.org/t/inline-katex-mathjax-inside-grid-can-leak-bbcode-when-used-with-details/372802 "2025-07-03T18:17:43Z")

</div>

BBCode and LaTeX Rendering in \[grid\] and \[details\]: Unexpected Behavior Explained I’ve been experimenting with how Discourse handles LaTeX inside \[grid\] and \[details\] and wanted to document the behavior and workaround he…

---

## [MathJax not working inside details sections](https://meta.discourse.org/t/mathjax-not-working-inside-details-sections/372218)

<div class="topic-metadata">

**Author:** [@Ethsim2](https://meta.discourse.org/u/Ethsim2)\
**Replies:** 3\
**Last updated:** [June 30, 2025, 8:52pm UTC](https://meta.discourse.org/t/mathjax-not-working-inside-details-sections/372218 "2025-06-30T20:52:10Z")

</div>

it would be nice if we allow discourse math to work in hidden details panes aswell?

---

## [MathJax not working in poll options](https://meta.discourse.org/t/mathjax-not-working-in-poll-options/370632)

<div class="topic-metadata">

**Author:** [@ascension.forum](https://meta.discourse.org/u/ascension.forum)\
**Replies:** 6\
**Last updated:** [June 26, 2025, 6:03am UTC](https://meta.discourse.org/t/mathjax-not-working-in-poll-options/370632 "2025-06-26T06:03:45Z")

</div>

Not sure if this should be a bug for the MathJax plugin, but when you add a MathJax expression to a poll, it won’t be rendered correctly (MathJax renders properly in topics body and it also works in the poll preview pane…

---

## [Rendering math inside polls](https://meta.discourse.org/t/rendering-math-inside-polls/185009)

<div class="topic-metadata">

**Author:** [@merry](https://meta.discourse.org/u/merry)\
**Replies:** 4\
**Last updated:** [June 23, 2025, 7:43am UTC](https://meta.discourse.org/t/rendering-math-inside-polls/185009 "2025-06-23T07:43:42Z")

</div>

Similar issue to this post. Math does not render inside a poll. It renders in the compose post screen but not in the poll itself: Inspect element reveals \<span class="math"\> … \</span\>. Can someone point me in th…

---

## [Heuristic for dollar amounts doesn't work](https://meta.discourse.org/t/heuristic-for-dollar-amounts-doesnt-work/361468)

<div class="topic-metadata">

**Author:** [@Roymond](https://meta.discourse.org/u/Roymond)\
**Replies:** 3\
**Last updated:** [April 14, 2025, 2:45pm UTC](https://meta.discourse.org/t/heuristic-for-dollar-amounts-doesnt-work/361468 "2025-04-14T14:45:50Z")

</div>

The site says: “Discourse Math uses a heuristic to ensure that sentences such as: “I spent 20$ and another 100$” do not get converted.” I am writing a discussion that involves dollar amounts. In one paragraph there is…

---

## [Math formula in post not display after save](https://meta.discourse.org/t/math-formula-in-post-not-display-after-save/360312)

<div class="topic-metadata">

**Author:** [@dryitdry](https://meta.discourse.org/u/dryitdry)\
**Replies:** 3\
**Last updated:** [April 3, 2025, 10:50pm UTC](https://meta.discourse.org/t/math-formula-in-post-not-display-after-save/360312 "2025-04-03T22:50:42Z")

</div>

I am running discourse(3.4.1) in the cosmos cloud When editing the post the preview can show the formula properly. But after I saved the post it shows text only. Actually sometimes it shows the formula briefly and reve…

---

## [Adding Maths support for Chat](https://meta.discourse.org/t/adding-maths-support-for-chat/252018)

<div class="topic-metadata">

**Author:** [@Anton\_Akhmerov](https://meta.discourse.org/u/Anton_Akhmerov)\
**Replies:** 6\
**Last updated:** [August 10, 2024, 5:29pm UTC](https://meta.discourse.org/t/adding-maths-support-for-chat/252018 "2024-08-10T17:29:20Z")

</div>

I have a recently upgraded discourse instance (discourse 92bb728fe5, discourse-math f9cf94d2). I have configured discourse-math to use katex, but the problem appears with mathjax too. I observe that math is rendered corr…

---

## [Mathjax does not work with chinese punctuation](https://meta.discourse.org/t/mathjax-does-not-work-with-chinese-punctuation/310744)

<div class="topic-metadata">

**Author:** [@Yunpeng\_Tai](https://meta.discourse.org/u/Yunpeng_Tai)\
**Replies:** 9\
**Last updated:** [June 13, 2024, 7:27am UTC](https://meta.discourse.org/t/mathjax-does-not-work-with-chinese-punctuation/310744 "2024-06-13T07:27:30Z")

</div>

Hi. The current Mathjax plugin can be quite annoying, for it only supports English punctuation. For instance, 1+1 is ok However，1+1 fails. This really misses the point of rendering Mathjax. This only renders Mathjax fo…

---

## [Mathjax on the same line causes period breaks to a new line](https://meta.discourse.org/t/mathjax-on-the-same-line-causes-period-breaks-to-a-new-line/137771)

<div class="topic-metadata">

**Author:** [@verilog15](https://meta.discourse.org/u/verilog15)\
**Replies:** 10\
**Last updated:** [January 31, 2020, 1:06am UTC](https://meta.discourse.org/t/mathjax-on-the-same-line-causes-period-breaks-to-a-new-line/137771 "2020-01-31T01:06:52Z")

</div>

Hi guys, I noticed that sometimes if the line in a post has reached some length X and has a comma or period, the comma/period will break to a new line. For example if the long line is Discourse had a great website. T…

[Next page](https://meta.discourse.org/tag/math/265.md?match_all_tags=true&page=1&tags%5B%5D=math)
