Doerthous <doerth...@gmail.com> writes: > Ihor Radchenko <yanta...@posteo.net> writes: > >> I think that a more general approach could be allowing :noweb-prefix to >> have a value of string that will be appended to each line on the >> expansion. > > With the use case discussed before, is allowing :noweb-prefix to have a > value of string means I need to provide a string with 5 space > characters to :noweb-ref like this?
> #+begin_src elisp :noweb yes :noweb-prefix " " > (let (<<varable-bindings>>) > <<do-something>>) > #+end_src Yes. I still feel that what you are really looking for is major-mode-specific indentation, not a prefix. Because indentation may require tabs, not spaces. Or may interfere with programming language. -- 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>