Markdown code style settings
Use this page to configure formatting 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. DataGrip 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 DataGrip performs reformatting.
Wrap long text
Enable hard wrapping.
Wrap text inside block quotes
Enable hard wrapping for block quotes.
Show an additional vertical line at the specified column.
Configure additional actions to perform during reformatting.
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.
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.
Specify the number of spaces to render in place of one tab character.
Specify the number of spaces used for each indentation level.
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 DataGrip removes all tabs and spaces if there is nothing else on that line.
Set the maximum and minimum number of blank lines to keep for various text elements.
Before and after chapter headings.
Around block elements
Before and after code blocks.
Between two adjacent paragraphs.
Specify which elements should have exactly one space.
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.