I would really appreciate if Memex could support LaTeX/Mathjax (wrap math equations in dollar signs). It is going to be extremely significant for users in the academia (including STEM students). I wish the feature exists everytime I want to clip some equations or even just inline math symbols from websites like Wikipedia and Stackoverflow, but I have to clear the mess these symbols cause and mannually type the equation myself.
I’m aware of one and a half webpage to md extensions that support this, one being Maoxian web clipper, the other one half being a fork of Markdownload (see its active pull requests), but as far as I know, there is no web highlighter that supports LaTeX well. It would a great addition to Memex since almost all PKM tools on the market support rendering LaTeX expressions wrapped in dollar signs, and it’s almost a common practice for modern markdown editors too.
For implementing this, I suggest looking into Mathjax, the aforementioned extensions, and open-source markdown editors and PKM tools like Logseq.
We just released our updated editor based on Tiptap.dev.
It allows now to easily add these additions. If anyone wants to help implementing it, there are a few people who did id with that editor, but for vue, not react.
Get in touch if you’re interested: support@memex.garden
Thanks for the response! I was actually more refering to correctly highlighting math equations on the web page and converting them to proper LaTeX code, while what you suggested seems to be for the note editor. Nonetheless, it would still be good news for academic users if the latter is implemented. For the former, I guess some sort of wrapper needs to be added to the highlighting or annotation components in Memex to generate code from matching HTML elements. If anyone wants to do it, I suggest ckecking out Roam Highlighter. Although it also doesn’t correctly recognize LaTeX, it recognizes many other rich-text formats like bold or links and converts them into Markdown. That would also be an additional benefit for any user who wants rich-text formats in their highlights.