Textarea buttons on the front end?

Is there an easy way to add Kirby textarea buttons on the front end? Just like in the Panel, bold, italic, link…

The use case is user comments, I’d like to offer buttons because very few of them can/will enter html.

No, but there are several JS Markdown editors with button support, e.g. SimpleMDE. If that’s too big for you, you could implement buttons like in this example (random example found via Google).

I indeed wanted to avoid an additional JS editor, but your example shows it can be done in a very light way. I’ll try to find something that suits the project. Thank you!

An alternative is to display a little Markdown cheatsheet underneath the textarea, a bit like in Slack, and output the field with the kirbytext() method. This way links are automatic, which is nice.