You can add 10 new custom buttons to the Wordpress Richtext Editor (TinyMCE) manually and bloat your functions.php – or you use this dynamic batch-like approach.