# Fields - Markdown Support

You need to add an "!" in front of your field name The final syntax should be: **{!fieldName}**

```
{description} - Regular Field that supports only text and newline character
{!description} - Special field that supports Markdown as input
```

#### Supported Markdown Elements

We support all basic markdown elements and syntax. Please check one of the Markdown Guides:\
<https://www.markdownguide.org/basic-syntax/>

<pre><code># Markdown Cheatsheet

## Headings
# Heading 1
## Heading 2
### Heading 3

## Emphasis
*italic* or _italic_  
**bold** or __bold__  
***bold italic***  
~~strikethrough~~

## Links &#x26; Images
[link text](https://documentero.com)  
![alt text](https://documentero.com/custom/landing4.png)

## Lists
Unordered:
- Item A
- Item B
<strong>- Item C
</strong>
Ordered:
1. First
2. Second

Nested:
- Parent
  - Child

## Tables
| Name  | Age |
|-------|-----|
| Alice |  24 |
| Bob   |  30 |

</code></pre>

#### **Links**

If you pass link elements they will be added as clickable hyperlinks to your document

```
[link text](https://documentero.com) 
```

#### **Images**

If you pass image elements with a public url they will be downloaded and added to output document

```
![alt text](https://documentero.com/custom/landing4.png)
```

#### **Mermaid Diagrams**

You can pass mermaid charts, and diagrams using the syntax below. Read more about mermaid syntax: <https://mermaid.js.org/intro/>

````
```mermaid
  graph TD;
      A-->B;
      A-->C;
      B-->D;
      C-->D;
```
````

#### Hints

* Font settings for text in Markdowncontent will be inherited from your template's Regular Text Styling Settings. You can change them in your document template styling unless they are explicitly defined with styling properties.
* HTML tags cannot be used inline with other text or bindings. Use them in a separate paragraph:

```
Some text {!description} rest of text ====> INCORRECT

{#section}  {!description} {/section} ====> INCORRECT

Some text:
{!description} 
rest of text ====> CORRECT

{#section}
{!description}
{/section} ====> CORRECT
```


---

# 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.documentero.com/documentation/templates/fields-markdown-support.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.
