# Treść przy pomocy Wiki Markup

## Standardowy Confluence Wiki Markup

W artefaktach **Treść (TextContent)** można wykorzystać Wiki Markup. W kwestii formatowania tekstu zawartego w danej **Treści** należy się odnieść do dokumentacji:

* <https://confluence.atlassian.com/display/DOC/Confluence+Wiki+Markup>
* <https://en.wikipedia.org/wiki/Help:Wiki_markup#Special_characters>

### Przykładowe formatowanie w **Treści** i wygląd na wniosku

<table><thead><tr><th>Treść (Text content)</th><th>wniosek</th></tr></thead><tbody><tr><td><pre class="language-markup"><code class="lang-markup">*pogrubienie*
+podkreślenie+
-przekreślenie-
_kursywa_
??cytat??
Tekst z ^indeksem górnym^
Tekst z ~indeksem dolnym~
\
\
Nowa linia po większym odstępie
</code></pre></td><td><img src="/files/nVPHhCBZGXZHdPFaHGsc" alt="" data-size="original"></td></tr><tr><td><pre class="language-markup"><code class="lang-markup">h1. Nagłówek H1
h3. Nagłówek H3
h5. Nagłówek H5
linia: ----
{color:red}Tekst w kolorze czerwonym{color}
Tekst {{jednakowej szerokości}}
hiperlink: [Przejdź do strony firmy Consdata|http://consdata.pl]
Obrazek: !biz/logo_firmy.png!
</code></pre></td><td><img src="/files/6e3ba78f4d24ddb2732275a9da119f81872f2ed1" alt=""></td></tr><tr><td><pre class="language-markup"><code class="lang-markup"><strong>Tabela:
</strong>
||nagłówek 1||nagłówek 2||nagłówek 3||
|dłuuuuuuuuuuuuuuuuuuuuuuuga komórka|komórka A2|komórka A3|
|komórka B1|komórka B2|komórka B3|
</code></pre></td><td><img src="/files/mBO9ZhIjG5A8MxxBUSAi" alt="" data-size="original"></td></tr><tr><td><pre class="language-markup"><code class="lang-markup">Wypunktowanie:

pozycja 1
pozycja 2
\*\* pozycja 2a
\*\*\* pozycja 2b
\*\*\*\* pozycja 2c
\*\*\*\*\* pozycja 2d
\*\*\*\*\*\* pozycja 2e
pozycja 3 </code></pre></td><td><img src="/files/b85fc0f972e1a447ba2022bd10ecc61262fd250a" alt=""></td></tr><tr><td><pre class="language-markup"><code class="lang-markup">Numerowanie:

pozycja 1
pozycja 2
\*\* pozycja 2a
\*\*\* pozycja 2b
\*\*\*\* pozycja 2c
\*\*\*\*\* pozycja 2d
\*\*\*\*\*\* pozycja 2e
pozycja 3 </code></pre></td><td><img src="/files/8aef0f0d1ab668ca6787df7e7ce35953865f26f5" alt=""></td></tr></tbody></table>

### Obrazki

Aby wstawić obrazek w **Treści** należy umieścić ścieżkę do obrazka pomiędzy wykrzyknikami. Jeżeli chcemy do obrazka dodać jakieś atrybuty (np. treść alternatywną) należy skorzystać ze znacznika `{img}`, który ma następującą składnię:

`{img:nazwa_atrybutu1=wartość_atrybutu1:nazwa_atrybutu2=wartość_atrybutu2...}ścieżka_do_obrazka{img}`

Atrybutem może być dowolny atrybut wspierany przez HTML-owy tag poza `src` (<https://www.w3schools.com/tags/tag_img.asp>).

#### Przykłady

| Opis                                   | WikiMarkup                                               | Wyjście                                                          |
| -------------------------------------- | -------------------------------------------------------- | ---------------------------------------------------------------- |
| Obrazek                                | `!biz/1.png!`                                            |                                                                  |
| Obrazek z treścią alternatywną         | `{img:alt=Treść alternatywna}biz/1.png{img}`             | `<img src='biz/1.png' alt='Treść alternatywna' />`               |
| Obrazek z treścią alternatywną i klasą | `{img:alt=Treść alternatywna:class=klasa}biz/1.png{img}` | `<img src='biz/1.png' alt='Treść alternatywna' class='klasa' />` |

#### Rozszerzenia Confluence Wiki Markup

Oprócz standardowego Confluence Wiki Markup możemy używać dodatkowych rozszerzeń:

`{span:class1}...{span}` -> zostaje zamienione na `<span class="class1">...</span>`

{% hint style="info" %}
Wniosek demo: demoTextContentWikiMarkup
{% endhint %}


---

# 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.eximee.com/budowanie-aplikacji/interfejs-uzytkownika/formularze/biblioteka-komponentow-bazowych/4-tresci/tresc-textcontent/tresc-przy-pomocy-wiki-markup.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.
