Does the Rich Text Editor (with Markdown) support math equations?

Hi everyone,

I’m using the Rich Text Editor (with Markdown) in WeWeb and I’m wondering if it currently supports rendering math equations using LaTeX or MathJax/Katex syntax or any other syntax?

I’ve tried a few standard formats, including:

  • Inline math: $a^2 + b^2 = c^2$
  • Block math:
$
E = mc^2
$
  • Bracketed blocks:
\[
\frac{1}{2}mv^2
\]
  • Markdown code blocks with math:
```math
\frac{1}{2}mv^2

But none of them seem to render as equations, just plain text. Does the WeWeb Rich Text Editor currently support math rendering?

Hi Erik :waving_hand:,

I don’t think our rich text editor has this functionality (at least without forking it and modifying it extensively)

Here’s how some other members have tried solving this:
(they embed Latex directly)

Let me know if these help.

2 Likes

Hi, you could use the Mathematics extension | Tiptap Editor Docs but as Augustin mentioned, it would require the fork of the current editor.

1 Like

@Broberto @Agustin_Carozo Thanks to both :slight_smile: Would be great to get this on the roadmap, so it can be suppoorted in the rich text field in the future.

Where can I submit feature requests again? :sweat_smile:

feedback.weweb.io - but there is very low chance that it’ll get implemented within a reasonable time.

1 Like