Hello,

dmg <d...@turingmachine.org> writes:

> I was playing with org-coderef-label-format to reference lines of code
> in blocks.
>
> I created a small example that overrides the default value:
>
> #+BEGIN_SRC C++ :main no :flags -std=c++14 -Wall --pedantic -Werror
> :results output :exports both -r -l "//(ref:%s)" +n

Switches are to be located before Babel parameters:

  #+begin_src C++ -r -l "//(ref:%s)" +n :main no ..

Regards,

-- 
Nicolas Goaziou

Reply via email to