This commit is contained in:
julius 2024-08-14 15:28:49 +02:00
parent 06cf912490
commit 93e4e9453f
No known key found for this signature in database
GPG Key ID: C80A63E6A5FD7092

35
main.py
View File

@ -65,22 +65,25 @@ Marker = Literal[
"_", "_",
] ]
marker_subs = {"=": "$=$", "/": "$/$", marker_subs = {
"\\": "$\\setminus$", "=": "$=$",
"«": "$«$", "/": "$/$",
"»": "$»$", "\\": "$\\setminus$",
"~": "$\\sim$", "«": "$«$",
"": "$♪$", "»": "$»$",
"": "$♫$", "~": "$\\sim$",
"": "$\\infty$", "": "$♪$",
"": "$♡$", "": "$♫$",
"o": "$\\bigcirc$", "": "$\\infty$",
"": "$♠$", "": "$♡$",
"": "$♣$", "o": "$\\bigcirc$",
"": "$♥$", "": "$♠$",
"": "$♦$", "": "$♣$",
"🥑": "$🥑$" "": "$♥$",
} "": "$♦$",
"🥑": "$🥑$",
}
@app.get("/speckles/") @app.get("/speckles/")
def make_wallpaper( def make_wallpaper(