emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [FEATURE] On line-numbers inside Org Babel Source Blocks.


From: Divya
Subject: Re: [FEATURE] On line-numbers inside Org Babel Source Blocks.
Date: Fri, 09 Aug 2024 21:30:54 +0000
User-agent: K-9 Mail for Android

On 7 August 2024 13:59:16 GMT, divya@subvertising.org wrote:
Hello, Org Mode!

I've been using Org Mode for literate programming purposes, and would like to have line-numbers within `src` blocks. I am able to export the Org buffer and get the line-numbers, but I am unable to do the same with regards to just in Org buffers. I am aware of `org-edit-special`, but I would rather appreciate if I can just look at a piece of code and know how long it is. I believe a header argument can be useful in toggling this.

Since the source blocks can already implement syntax highlighting, font and other means of interacting with displaying Babel source blocks, theoretically this shouldn't be that difficult to implement? I'd be glad to help implementing this feature, if I can be slightly guided on where to refer to look for in the codebase.

Regards,

Divya Ranjan


Any suggestions, Ihor?

reply via email to

[Prev in Thread] Current Thread [Next in Thread]