# Programmable button issue

**URL:** <https://forums.ankiweb.net/t/programmable-button-issue/69845>\
**Category:** Help\
**Created:** [May 23, 2026, 11:23am UTC](https://forums.ankiweb.net/t/programmable-button-issue/69845 "2026-05-23T11:23:31Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![gokayburuc](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/gokayburuc/32/33882_2.png) [@gokayburuc](https://forums.ankiweb.net/u/gokayburuc)\
**Post date:** [May 23, 2026, 11:23am UTC](https://forums.ankiweb.net/t/programmable-button-issue/69845/1 "2026-05-23T11:23:31Z")

</div>

I’ve been using Anki for a long time. The mobile version of Anki has programmable buttons. With these, I can instantly perform actions like coloring, changing the background color, and changing the font style using CSS and style formatters, all with a single button press.

However, I haven’t seen this feature in the web or desktop versions. Do I need to use an external plugin for this?

 ![image](https://us1.discourse-cdn.com/flex002/uploads/anki2/original/3X/9/9/99d1d1648d1bc62dec4cb1d1fbaa2800d5b1b374.png)

For example, I’ve included an example for German below. Here, I want to assign text highlighting, italics, and color structures to a single key, allowing me to highlight in both the answer and the question with just one press of that key.

 ![image](https://us1.discourse-cdn.com/flex002/uploads/anki2/original/3X/e/4/e4f6e34dd75b704b60745e2bb1f4866f22ab4762.png)

So I want to make an assignment in the following way:

```auto
<span style="color: rgb(0, 0, 0); background-color: rgb(170, 255, 127);"><i>myword-will-be-here</i></span>

```

Is there a practical way I can do this?

---

<div class="post-metadata">

**Author:** ![ZornHadNoChoice](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/zornhadnochoice/32/28874_2.png) [@ZornHadNoChoice](https://forums.ankiweb.net/u/ZornHadNoChoice)\
**Post date:** [May 23, 2026, 1:16pm UTC](https://forums.ankiweb.net/t/programmable-button-issue/69845/2 "2026-05-23T13:16:23Z")

</div>

> [@Looking for an add-on that inserts user defined HTML into a field in the add card dialog](https://forums.ankiweb.net/t/looking-for-an-add-on-that-inserts-user-defined-html-into-a-field-in-the-add-card-dialog/68572):
>
> Feature Description In the add card dialog, there are buttons that you can use to e.g. make the text bold. It works by enclosing the highlighted text in \<b\> \</b\>. I am looking for an addon that adds such a button to the add card dialog. But instead of enclosing the text with \<b\> \</b\>, it should provide a drop down of user defined HTML. Here are a few examples of HTML that I’d like to insert: \<span class="lang-marker"\> \</span\> \<code class="code-inline"\> \</code\> \<span class="file-marker"\> \</span\>…

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex002/uploads/anki2/original/1X/8f1279ababc5879d54e4838989f606cfe55af8c7.jpeg) [@system](https://forums.ankiweb.net/u/system)\
**Post date:** [June 22, 2026, 1:16pm UTC](https://forums.ankiweb.net/t/programmable-button-issue/69845/3 "2026-06-22T13:16:57Z")

</div>

Closed on June 22, 2026, 1:16pm UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
