# Kirbytext link tag to button

You can easily convert any link in the Kirbytext markdown field to a button.&#x20;

{% hint style="info" %}
If you are a Kirby beginner first check what is possible with the link tag <https://getkirby.com/docs/reference/text/kirbytags/link>.&#x20;
{% endhint %}

All you have to do is add button classes to the link tag. We listed them here <https://www.one.thezero.club/guide/theme-styling/helpful-classes#button>&#x20;

**Examples:**&#x20;

```markup
# Primary button standard size with link to absolute URL
(link: http://wikipedia.org text: Wikipedia class: uk-button uk-button-primary)

# Secondary button standard size with link to internal subpage
(link: some/page text: Link to page class: uk-button uk-button-secondary)

# Default button large size with link to internal page but opens in new tab
(link: mypage text: Learn more target: _blank class: uk-button uk-button-default uk-button-large)
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://www.one.thezero.club/guide/tricks/kirbytext-link-tag-to-button.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
