Plugins. Everybody loves plugins. These tiny little things, which... Oops, I'm wrong, sorry.
Ok, I'll start again.

A plug-in (or plugin, add-in, addin, add-on, addon, or extension) is a software component that adds a specific feature to an existing computer program

 Sounds like a real cool thing, doesn't it? It would be great, if Leafpub would support plugins, so you could add one or more features to it. 

Plugin Section

Because this would be such a big thing, we started, right after the stable release of Leafpub, with Leafpub v1.1.0. At the moment of writing, you'll find Leafpub v1.1.0-beta on Github.

We also created an example plugin. You'll find it also on Github.

In Leafpub, a plugin can listen to any events or can be a Middleware or you can define routes in the plugin.json file and create new endpoints.

I'm looking forward to your feedback!