---
metadata:
  - name: generator
    content: Diplodoc Platform v5.50.6
alternate:
  - https://yandex.ru/support/wiki/en/static-markup/formatting.md
  - https://yandex.ru/support/wiki/ru/static-markup/formatting.md
title: "How to work with text layout in Yandex\_Wiki"
description: In this tutorial, you will learn about using text layout in Wiki.
---
> **Documentation Index:** Fetch the complete configuration index at https://yandex.ru/support/wiki/en/llms.txt




# Text formatting in the old editor

{% note info "" %}

For information on how to format text in the new editor, see [Formatting text](https://yandex.ru/support/wiki/en/wysiwyg/text-format.md#format-wysiwyg).

{% endnote %}

## Highlighting text {#inline}

Highlighting only works correctly if the markup characters are adjacent to the text.

#|
|| **Markup** | **Result** ||
||
`_Italic_`
`*Italic*`
`//Italic//`
|
_Italic_
||
|| `**Bold**` | **Bold** ||
|| `__Bold__` | <u>Underlined</u>  ||
||
`~~Strikethrough~~`
`--Strikethrough--`
|
~~Strikethrough~~
||
|| `##Monospace##` | ##Monospace## ||
|| `??Highlighted??` | <p style="background-color: #ffff00">Highlighted text</p> ||
|| `++Small font++` | <small>Small font</small> ||
|| `!!Red text!!` | <span style="color: red">Red text</span> ||
|| `!!(blue)Colored text!!`

{% cut "Supported colors:" %}

`red`/`крас`/`красный` — <span style="color: red">Red</span>

`green`/ `зел`/`зеленый` — <span style="color: green">Green</span>

`blue`/`син`/`синий` — <span style="color: blue">Blue</span>

`cyan`/`голуб`/`голубой` — <span style="color: cyan">Cyan</span>

`grey`/`gray`/`сер` /`серый` — <span style="color: gray">Gray</span>

`yellow`/`жел`/`желтый` — <span style="color: yellow">Yellow</span>

`orange`/`оранж`/`оранжевый` — <span style="color: orange">Orange</span>

`violet`/`фиолет`/`фиолетовый` — <span style="color: violet">Violet</span>

{% endcut %}

| <span style="color: blue">Colored text</span> ||
|| Superscript text: `E=mc^^2^^` | E=mc^2^ ||
|| Subscript text: `Hvv2vvO` | H<sub>2</sub>O ||
|#

## Combining formatting types {#sec_combine}

When formatting text, you can combine markup elements in any order:

| Markup | Result |
--- | ---
| `**[Bold link](http://example.com)**` | **[Bold link](#)** |
| `>Quote with *italic text*` | >Quote with _italic text_ |


## Other markup {#other-formatting}

#|
|| **Element** | **Markup** | **Result** ||
||
Line break | `first line---second line` |
first line

second line
||
|| Pop-up |`(?Term Term definition?)` | [Term](*проб) ||
|| Pop-up (term with spaces)|`(?Term with spaces==Term definition?)` | [Term with spaces](*проб) ||
|| Color code (long) | `#ff0000` | > ||
|| Color code (short) | `#F00` | > ||
|| Hidden comment | `%%(comments) Hidden text%% ` |   ||
|#

[*проб]: Term definition
