Skip to content

Commit

Permalink
Document emoji support
Browse files Browse the repository at this point in the history
  • Loading branch information
jacebrowning committed Nov 24, 2024
1 parent 2cdc8c7 commit fd2c6b2
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
1 change: 1 addition & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@
"textbbox",
"textsize",
"thiiiiiiiiiiiiiiiiiiiiis",
"thumbsup",
"Titillium",
"titilliumweb",
"toohigh",
Expand Down
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Revision History

## 11.1b1
## 11.1

- Added emoji support.

Expand Down
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,11 @@ Reserved URL characters can be included using escape patterns:
- tilde + G (`~g`) → greater-than sign (`>`)
- 2 single quotes (`''`) → double quote (`"`)

For example, <https://api.memegen.link/images/ugandanknuck/~hspecial_characters~q/underscore__-dash--.png> produces:
Emojis are also supported, both as characters (👍) and aliases (`:thumbsup:`).

![Escaped Characters](https://api.memegen.link/images/ugandanknuck/~hspecial_characters~q/underscore__-dash--.png?width=800&token=g1oow9vw3dw5l1iy7a9q)
For example, <https://api.memegen.link/images/ugandanknuck/~hspecial_characters~q/underscore__-dash--_:thubsup:.png> produces:

![Escaped Characters](https://api.memegen.link/images/ugandanknuck/~hspecial_characters~q/underscore__-dash-- :thumbsup:.png?width=800&token=offeqniqbh09p5m2bedu)

All of the `POST` endpoints will return image URLs with special characters replaced with these alternatives.

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[tool.poetry]

name = "memegen"
version = "11.1b1"
version = "11.1"
description = "The free and open source API to generate memes."
authors = ["Jace Browning <[email protected]>"]
license = "MIT"
Expand Down

0 comments on commit fd2c6b2

Please sign in to comment.