core icon indicating copy to clipboard operation
core copied to clipboard

[Feature request] Code Import single lines

Open vordimous opened this issue 1 year ago • 11 comments

Clear and concise description of the problem

Allow the same code line selection for imports as for highlighting. This will make adding instructions from runnable files easier since there may be many different lines in a bash script, for instance, that are needed to run a test but not needed to be displayed to the user.

Will render: @[code{1-1}](../foo.js) Doesn't render: @[code{1}](../foo.js) Doesn't render: @[code{2,4}](../foo.js)

Suggested solution

You could add the same code line selection for highlighting lines as for imported code blocks.

Alternative

No response

Additional context

No response

vordimous avatar Jun 08 '23 15:06 vordimous