Doerthous <doerth...@gmail.com> writes: > Can we add a support for whitespace prefix such that the prefix of a > noweb-ref replaced by whitespace characters? > > ... > #+name: a-fragment > #+begin_src elisp :noweb yes :noweb-prefix whitespace > (let (<<varable-bindings>>) > <<do-something>>) > #+end_src > > using whitespace :noweb-prefix, the above code will expand to > > #+begin_src elisp > (let ((a 0) > (b 1)) > `(,a ,b)) > #+end_src
Do you mean that you want the code to be indented according to the major mode rules? -- 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>