Skip to content

Commit

Permalink
Add background to latex images
Browse files Browse the repository at this point in the history
Changed background of latex images from transparent to white so that they can be viewed on dark mode
  • Loading branch information
jsutton101 authored Nov 14, 2019
1 parent c612a00 commit e6d14a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion uqcsbot/scripts/latex.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@


def handle_latex_internal(channel, data):
url = f"http://latex.codecogs.com/gif.latex?{quote(data)}"
url = f"http://latex.codecogs.com/gif.latex?\\bg_white&space;{quote(data)}"
bot.post_message(
channel,
text=f"LaTeX render for \"{data}\"",
Expand Down

0 comments on commit e6d14a9

Please sign in to comment.