idea-multimarkdown icon indicating copy to clipboard operation
idea-multimarkdown copied to clipboard

Reformat Document margin

Open bstout opened this issue 9 years ago • 1 comments

Perhaps I'm missing the setting - the nice feature I just discovered to reformat the .md doc looks to wrap the text at column 73. I see in IJ for code style the margin I have set to 120 so it must be pulling this value of 73 from somewhere else.

I'd like to reformat the doc, but not have the lines chopped too narrow.

bstout avatar Mar 02 '17 14:03 bstout

@bstout, Format documentation is found in Document-Format-Options

Markdown has its own margin by default since it is highly likely that you do not want the same margin setting for documentation as code. If you want the IDE right margin to apply to Markdown documents select default under Right margin:

Another thing to consider is what wrap on typing and text wrap should do when soft wraps are enabled in the document. For that you have disabled if soft wraps for Wrap on typing and the selection under Text for When soft wrap is enabled.

Screenshot_CodeStyle

You also have the option of Soft wraps wrapping at the right margin instead of the right edge of the editor window by selecting Soft wrap at right margin:

Screenshot_Main_licensed

vsch avatar Mar 02 '17 14:03 vsch