I have troubles to export (or publish) some orgfiles, which contain
``src'' snippets intended for markdown. The (for me) unwelcome behavior
is the same for org-export and org-publish, I guess, since it has the
same core reason.
The problem currently for me is for the markdown format. I have seen
similar behavior for other exports, though did not care since it for
those situations, it was/is ``good enough''. Now, however, I do some
export to md, to be used for Jekyll webpages, and it's no longer good
enough.
For concreteness sake: I got some section
#+begin_src markdown
---
layout: default
title: Some Title
description: Some information
---
#+end_src
which is exported to md literally, but with 4 leading spaces as
indentation, like
---
layout: default
title: Some Title
description: Some information
---
That's insofar unwelcome, as Jekyll wants those pieces of information
without indentation.