Templates

Built-in meme templates available by name with the @ prefix.

Built-in Templates

TemplateDescriptionText Slots
blankWhite canvastop, bottom, center
darkDark/black canvastop, bottom, center
two_panelTwo-panel vertical splittop, bottom
three_panelThree-panel verticaltop, center, bottom
four_panel2x2 grid(4 entries)
bottom_textImage with bottom captionbottom
caption_barWhite bar caption above imagetop, bottom
wideWide aspect ratio canvastop, bottom, center
tallTall aspect ratio canvastop, bottom, center
squareSquare canvastop, bottom, center

Usage

@blank "Hello World";
@two_panel "Expectation" "Reality";
@four_panel "A" "B" "C" "D";

Custom Templates

Use a file path to any image as a template:

@"photos/cat.jpg" "Caption";
@"assets/background.png" { top: "Title" bottom: "Subtitle" }

String template paths resolve relative to the script's directory.

Meme Templates (assets)

Additional templates from assets/templates/meme/ are available with the meme. prefix:

@meme.shrek_smirk "When the code compiles";
@meme.kid_crying "Production is down";
@meme.distracted_boyfriend "The old plan";
@meme.cat_explosion "Deploying on Friday";

Bundled meme templates include the original reaction pack plus additional templates such as distracted_boyfriend, will_smith_presenting, thousand_yard_stare, cat_explosion, drake_reaction_grid, cow_dolphin_jump, evil_cat_throne, shaq_timeout, this_is_fine_empty_room, stonks_arrow, and empty_oval_office, plus newer additions such as windows_xp_bliss, spongebob_group_stare, squidward_window_stare, rock_bliss_peek, mona_lisa_side_eye, krusty_krab_kitchen, doge_windows_hill, and tube_dogs_hill. Available templates depend on the installed asset pack.

See Also