Create a .json manifest with a name, icon, action, and value.
Introducing
Mods
Mods let people extend Loaf with small UI add-ons, shortcuts, snippets, links, and workflow buttons. Download a mod manifest from someone you trust, place the JSON file inside the app's Mods folder, then restart Loaf to import it into the rail.
Send the JSON file to other users or post it for download.
Drop it into the Mods folder and restart the app.
{
"name": "Quick Print",
"icon": "\\uE8A5",
"action": "insertText",
"value": "print(\\"Hello from a Loaf mod\\")"
}