#4243·vitepress

Import code snippet from lines

Author: LombraCreated Oct 1, 2024Updated Sep 15, 2026
Labelsbuild

Is your feature request related to a problem? Please describe.

I have some sources file from which I would like to include a few snippets. Currently you can selectively import code snippets only using regions, as I understand it. I don't have or want regions, nor does my language support it.

Describe the solution you'd like

I would like to select line start[-end] for inclusion, similar to how highlighting works. I don't know what an appropriate syntax for this would be.

Describe alternatives you've considered

No response

Additional context

No response

Validations