Comment #⁨1⁩

Toby Toby Waterhole Founder Dec 13, 2024

Hi @Gabriel Silva, welcome to the community and thanks for your question!

Waterhole's server-side text formatting is powered by the s9e\TextFormatter library and there doesn't seem to be a LaTeX plugin available out of the box unfortunately!

In theory, you probably need to implement your own TextFormatter plugin to recognise LaTeX between certain delimiters, and either parse it on the server-side with something like php-latex, or output it in a certain tag that can then be rendered on the client-side by something like KaTeX.

The Formatting docs contain more information about how to interact with Waterhole's instance of TextFormatter.

  1. In reply to Toby Toby

    Hello @Toby, thanks for the welcome and your reply.

    I'll try the front-end approach with the delimiters that you mentioned.

    I come back here when I have more info.

    Best!!