Garklein <garklei...@gmail.com> writes:

> `org-edit-src-preserve-indentation' says "the minimum (across-lines)
> number of leading whitespace characters are removed from all lines,
> and the code block is uniformly indented according to the value of
> ‘org-edit-src-content-indentation'", but it doesn't seem to be
> removing the whitespace, only adding it.

It removes whitespace beyond `org-edit-src-content-indentation' (which
is 2 spaces by default).

> Is there a way to configure this?

You can try setting `org-edit-src-content-indentation' to 0.

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>

Reply via email to