math-api
math-api copied to clipboard
Adjustable text color
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:
(I realize that using the github dark theme, you can barely see it)
"regular" (desktop) dark theme:
oled theme: