simonlou/auto-mailto

Automatically add mailto links to all email addresses in Kirby

dev-main 2024-04-25 08:31 UTC

This package is auto-updated.

Last update: 2024-10-25 09:38:47 UTC


README

Automatically inserted mailto links

“Auto Mailto” is a Kirby plugin that automatically inserts a mailto link for each email address found in the specified text — especially useful for client-added content.

Installation

First option is to drag the auto-mailto folder in your site/plugins folder.

The second option is to install this plugin via Composer:

composer require simonlou/auto-mailto

How to Use

Add a ->automailto() or ->mailto() to the chain, which will insert the text containing your email addresses.

For example:

$page->text()->kt()->automailto()

or

$page->text()->kt()->mailto()

Credits

“Auto Mailto” is created by Simon Lou (@simonlou@typo.social).

License

The “Auto Mailto” source code is released under the MIT License. Please view the LICENSE file for details.