# Marking up formatting

After working through this section, you should be able to:

* Mark up superscripts
* Mark up subscripts
* Mark up bold
* Mark up italics.

## Marking up superscripts

The pattern for marking up superscripts is as follows:

* Before the superscripted text, the opening `{{^`
* The text to be superscripted
* The closing `}}`.

{% hint style="warning" %}
Spaces and any punctuation that are included between `{{^` and `}}` will also be superscripted.
{% endhint %}

### Example

```
On the 15{{^th}} of July 2020 …
```

will look like this in View mode:

![](/files/-MIZs0Yb12GZ39itt80q)

## Marking up subscripts <a href="#marking-up-subscripts" id="marking-up-subscripts"></a>

The pattern for marking up subscripts is as follows:

* Before the subscripted text, the opening `{{_`
* The text to be subscripted
* The closing `}}`.

{% hint style="warning" %}
Spaces and any punctuation that are included between `{{_` and `}}` will also be subscripted.
{% endhint %}

### Example

```
The amount of CO{{_2}} in the atmosphere …
```

will look like this in View mode:

![](/files/-MIZsNnWU21GiPZ96-Ey)

## Marking up bold text <a href="#marking-up-subscripts" id="marking-up-subscripts"></a>

The pattern for marking up bold text is as follows:

* Before the bold text, the opening `**`
* The text to be bolded
* The closing `**`.

{% hint style="warning" %}
Spaces and any punctuation that are included between the `**`s will also be bolded.
{% endhint %}

### Example

```
**This whole sentence is bold.**
```

will look like this in View mode:

![](/files/-MIZtQYPX2JSnltT1yPi)

## Marking up italics text <a href="#marking-up-subscripts" id="marking-up-subscripts"></a>

The pattern for marking up italics text is as follows:

* Before the italics text, the opening `//`
* The text to be italicised
* The closing `//`.

{% hint style="warning" %}
Spaces and any punctuation that are included between the `//`s will also be italicised.
{% endhint %}

### Example

```
Just //this text// is in italics.
```

will look like this in View mode:

![](/files/-MIZtgQSRd498OR51KTx)

## Exercise

Copy the text below and paste it into a practise document, then see the instructions that follow.

```
PARA 12.
  
    On the 12th of July 2020, the amount of CO2 in the atmosphere was bold.
    
    Later that same month is was italics.
    
```

1. Mark up the `th` in the 'the 12th of July' as superscripted.
2. Mark up the `2` in 'CO2' as subscripted.
3. Mark up the word `bold` as bold.
4. Mark up the word `italics` as italics.

When you're done, it should look like this in View mode:

![](/files/-MIZuL_7TUjgUNQpiAp9)

and like this in Edit mode:

![](/files/-MIZuQSpdOXQSlcME14U)


---

# 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://docs.laws.africa/markup-guide/marking-up-formatting.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.
