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
$
\[
\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 ,
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)
Hello,
I want to showcase math equations on the website. I want it to be written in Latex.
How can I render latex as maths?
Do I store the latex code as it is in my Xano database, and when that is pulled, have some WeWeb functionality render the code as maths?
I am currently trying to load latex from a database to an element. I am able to render the latex using mathjax however once a question is loaded, it doen’t change even when new data is loaded. i tried updating the DOM using " wwLib.getFrontWindow().MathJax.typeset() " in a custom javascrip function but this only works the first time and doesn’t updated when other data is loaded. I have to constantly restart the page to view new rendered information.
[image]
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 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?
feedback.weweb.io - but there is very low chance that it’ll get implemented within a reasonable time.
1 Like
Hi @Broberto @Agustin_Carozo
justed wanted to let you know that this is being implementend by Weweb as we speak and it should be released soon!
Not sure which approach they are going for, but yeah good news anyways!
3 Likes