> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.carbone.io/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# Why conditional formatters are adding empty lines? (showBegin/hideBegin)

# Why conditional formatters are adding empty lines? (showBegin/hideBegin)

## First Solution

When using conditional formatters `showBegin/showEnd` or `hideBegin/hideEnd`, insert only Break-lines (`shift` + `Enter`).

It exist 2 ways to create a line:
* **Break-line** : The new line is part of the current paragraph by hitting `shift` + `Enter`. Behind the scenes, Carbone don't have to reorder the XML because everything is in the same paragraph.
* **New-line** : Close the current paragraph and open a new one, the standard "command" is the `Enter` key. Creating a new paragraph insert automatically a new line. The XML designing the document is getting complex and Carbone has to move and reorder XML parts, which may leave newlines on the final report.

## Second solution

Use the [drop](https://carbone.io/documentation.html#drop-element-) formatter if you are deleting conditionally paragraphs, table rows, images, charts or shapes. You won't have to deal with new-lines/break-lines.