# Markdown code style settings

> **TL;DR**
> `File | Settings | Editor | Code Style | Markdown` for Windows and Linux
>
>
>
> `CLion | Settings | Editor | Code Style | Markdown` for macOS
>
>
>
> `Ctrl+Alt+S` (Windows), `⌘ Comma` (macOS), `⌘ Comma` (IntelliJ IDEA Classic (macOS)), `⌘ Comma` (macOS System Shortcuts), `Ctrl+Alt+S` (XWin), `Ctrl+Alt+S` (GNOME), `Ctrl+Alt+S` (KDE), `Ctrl+Alt+S` (Emacs), `Ctrl+Alt+S` (Sublime Text), `⌘ Comma` (Sublime Text (macOS)), `⌘ Comma` (Xcode), `Ctrl+Alt+S` (Visual Studio), `⌘ Comma` (Visual Studio (macOS)), `Ctrl+Alt+S` (ReSharper), `⌘ Comma` (ReSharper (macOS)), `Ctrl+Alt+S` (QtCreator), `⌘ Comma` (QtCreator (macOS)), `Ctrl+Alt+S` (NetBeans), `Ctrl+Alt+S` (Eclipse), `⌘ Comma` (Eclipse (macOS)) ![the Settings icon](https://resources.jetbrains.com.cn/help/img/idea/2026.2/app.expui.general.settings.svg)

Use this page to configure  [code style](configuring-code-style.html) options for Markdown files. When you change these settings, the Preview pane shows how this will affect your code.

## Wrapping and Braces

Configure the options for breaking lines.

| Hard wrap at |  Specify at which column to put a line break. CLion shows a vertical line at the specified column and breaks lines between words, not within words.  |
| Wrap on typing |  Add line breaks as you type. Disable this option to add line breaks only when CLion performs [reformatting](reformat-and-rearrange-code.html).  |
| Wrap long text | Enable hard wrapping. |
| Wrap text inside block quotes | Enable hard wrapping for block quotes. |
| Visual guides | Show an additional vertical line at the specified column. |
| When reformatting |     Configure additional actions to perform during [reformatting](reformat-and-rearrange-code.html).                             * Keep line breaks inside text blocks: Do not remove line breaks within paragraphs.    * Insert block quote arrows: Add the block quote marker (the "greater than" character `>`) at the beginning of each line in a block quote.    * Format tables: Reformat tables to align all the cells and properly fit all the content. For information about reformatting tables as you type, see [Smart Keys: Markdown](settings-smart-keys-markdown.html).    |

## Tabs and Indents

Configure the options for nesting text blocks and alignment within a block.

| Use tab character |  Use the tab character for indentation. Disable this option to use spaces for indentation.  |
| Smart tabs |  Nest blocks with tabs and align with spaces. Disable this option to use only tabs and replace spaces that fit the specified tab size with tabs.  |
| Tab size | Specify the number of spaces to render in place of one tab character. |
| Indent | Specify the number of spaces used for each indentation level. |
| Continuation indent | Specify the number of spaces used for continuing the same text block. |
| Keep indents on empty lines |  Retain tabs and spaces on empty lines. By default, this option is disabled and CLion removes all tabs and spaces if there is nothing else on that line.  |

## Blank Lines

Set the maximum and minimum number of blank lines to keep for various text elements.

| Around header | Before and after chapter headings. |
| Around block elements | Before and after code blocks. |
| Between paragraphs | Between two adjacent paragraphs. |

## Spaces

Specify which elements should have exactly one space.

| Between words | Remove extra spaces between words. |
| After header symbol | Remove extra spaces or add a missing space between the heading symbol and the heading title. |
| After list marker | Remove extra spaces or add a missing space between the list item marker and the list item text. |
| After blockquote marker | Remove extra spaces or add a missing space between the block quote marker and the text of the block quote. |

## See also

### How tos

[Markdown](markdown.html)

