Discourse Math

In the preview plane whilst drafting a post, when the SVG gets rendered the preview plane scrolls up. Is there a setting that can be changed so the scrolling returns to lowest position?

Having to scroll down every time i edit math annoys my lecturers, but i have been coping

I’ve notice a couple of “deprecate” in the activity.

If someone could please explain what this means for an instance with a large databases of math that renders ok

after a full update/rebuild, the math seems to be rendering fine

For those that haven’t heard, this plugin is now bundled with core. Please see rebuild/revision 2 of 3 of this post to show this.

In the deed! :+1: Sorry for causing concern. You should be good to go now.

:partying_face: This plugin is now bundled with Discourse core as part of Bundling more popular plugins with Discourse core. If you are self-hosting and use the plugin, you need to remove it from your app.yml before your next upgrade.

「いいね!」 3

I have a math character problem in the AI answers. It gives me answers in latex format even though I have typed the required prompt. This creates an image as if there are broken characters. Can you solve this problem. Example;

\( A = \begin{pmatrix} x & -1 \\ z & 2y \end{pmatrix} \)

\[
\boxed{
x = 0, \quad y = 4, \quad z = 4
}
\]

\[
\begin{cases}
A_{11} = B^T_{11} \Rightarrow x = y - z \\
A_{12} = B^T_{12} \Rightarrow -1 = -1 \quad (\text{benar otomatis}) \\
A_{21} = B^T_{21} \Rightarrow z = y \\
A_{22} = B^T_{22} \Rightarrow 2y = 8 \\
\end{cases}
\]

I have previously shared solutions from the openai community

Hi @ozkn

I too have this problem. My recommendation would be

  • sign up for an account with the AI provider
  • tell the AI account to

remember for future answers that Discourse is compatible with MathJax/Katex $…$ $$…$$ inline or multi-line centric formatting.

  • you should find your output more copy-paste’able when logged into your AI account
you may need to keep pushing for the best memory
「いいね!」 3

Just to add to the last point — if you’re mixing math and currency, remember:

  • $...$ = math
  • \$ = literal dollar sign

So:
$x+1$ costs \$5. → renders math for x+1 and shows the price as $5.

That’s really all you need: math with $, money with \$.

「いいね!」 2

another good one to encourage chatGPT to remember is that you can’t render math in details pane titles