I meant in the org-file buffer. The numbers in export are pretty
straightforward.
I made a partial solution here:
http://kitchingroup.cheme.cmu.edu/blog/2015/10/13/Line-numbers-in-org-mode-code-blocks/
It works pretty well I think.
Nick Dokos writes:
> John Kitchin andrew.cmu.edu> writes:
>
John Kitchin andrew.cmu.edu> writes:
>
> Does anyone know if it is possible to get line numbering only in code
> blocks in an org-file?
>
When exporting? Or in the buffer? If the latter, I don't know. If the
former, -n does that but it is position-sensitive I think:
--8<---cut her
I would also love something like that
best
Z
On Mon, Oct 12, 2015 at 11:25 PM, John Kitchin
wrote:
> Does anyone know if it is possible to get line numbering only in code
> blocks in an org-file?
>
> --
> Professor John Kitchin
> Doherty Hall A207F
> Department of Chemical Engineering
> Carneg
Does anyone know if it is possible to get line numbering only in code
blocks in an org-file?
--
Professor John Kitchin
Doherty Hall A207F
Department of Chemical Engineering
Carnegie Mellon University
Pittsburgh, PA 15213
412-268-7803
@johnkitchin
http://kitchingroup.cheme.cmu.edu