math-api icon indicating copy to clipboard operation
math-api copied to clipboard

Adjustable text color

Open jemand771 opened this issue 3 years ago • 0 comments

Feature Request

I'm suggesting to add a parameter for changing the output text color (default: black). Maybe forcing a background color (instead of transparency) for png outputs could also be a useful option.

Reasoning

I mainly use a self-hosted math-api instance for quickly typing out formulas in chats that don't have native LaTeX rendering or a bot that can do that. Most online chat platforms render links to images directly as inline images in chat.

The discord mobile app offers a "super dark" oled theme with an all-black background. For users of the app, transparent PNGs with black text will just appear as an endless void.

Screenshots

Gallery

original image: render (I realize that using the github dark theme, you can barely see it)

"regular" (desktop) dark theme: image oled theme: image

jemand771 avatar Oct 29 '21 09:10 jemand771