obsidian-advanced-codeblock icon indicating copy to clipboard operation
obsidian-advanced-codeblock copied to clipboard

Feature Request: line number start

Open samuelcomeau6 opened this issue 5 months ago • 0 comments

Can you add a line number start parameter, please? This would allow you to add an optional argument to start the line numbering at a number that is not 1. Example syntax might be ```c nums=20I would use this in combination with a title to add snippets from a file. This is super useful for being able to find your spot later in time or communicating where a potential bug is located. Imagine:

main.c

20| int print_values(int p){
21|     printf("%d\n",p);
22| }

samuelcomeau6 avatar Sep 26 '24 15:09 samuelcomeau6