> For the complete documentation index, see [llms.txt](https://docs.laws.africa/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.laws.africa/how-tos/mark-up/work-with-links.md).

# Working with links

## How to manually insert a link

See [Marking up links](/markup-guide/marking-up-links.md).

## How to manually remove a link

The aim is to delete the link markup as well as the link itself, while keeping the linked text.

1. Enter Edit mode.
2. Delete the opening `{{>` and the closing `}}` around the linked text (the markup).
3. Delete the link itself.

{% hint style="warning" %}
Don't delete the text immediately after the link.
{% endhint %}

### Example

```
Please visit {{>https://laws.africa our website}} for more information.
```

To unlink the text 'our website', delete `{{>https://laws.africa`  and `}}`, leaving you with:

```
Please visit our website for more information.
```

{% hint style="info" %}
Make sure to get the space immediately after the link, as it's part of the markup.
{% endhint %}

## How to insert an email address link

1. Enter Edit mode.
2. Insert `{{>mailto:info@laws.africa` before the text you want to link.
3. Insert `}}` after the text you want to link.

### Examples

#### Text differs from link

> Please write us at [this address](mailto:info@laws.africa) for more information.

Looks like this in Edit mode:

```
Please write us at {{>mailto:info@laws.africa this address}} for more information.
```

#### Text and link are the same

> Please write us at <info@laws.africa> for more information.

Looks like this in Edit mode:

```
Please write us at {{>mailto:info@laws.africa info@laws.africa}} for more information.
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.laws.africa/how-tos/mark-up/work-with-links.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
