Ihor Radchenko writes: > #+name: documentation > This is a sample function documentation. > Because there are "quotes", it must be escaped and cannot be directly > used as noweb-reference. > > #+name: doc-escape > #+begin_src emacs-lisp :var str="" :tangle no > (prin1-to-string (string-trim-right str)) > #+end_src > > #+begin_src emacs-lisp :tangle yes > (defun test () > <> > t) > #+end_src Nice ! Quite obscure and brittle (doesn't work if documentation is a text src block) but I can use it nonetheless. > Other than :noweb-trans, the patch looks good for me. Here's a patch with only the :noweb-prefix part. If applied, we can mark this thread resolved. Thanks, -- Sébastien Miquel