dendron icon indicating copy to clipboard operation
dendron copied to clipboard

I need reference to (also wish it can be preview) specific lines in a code block

Open swithun-liu opened this issue 3 years ago • 1 comments

Please select if your request is either something new or an enhancement

  • [ ] Enhancement of an existing Feature.
  • [x] Request of a new feature.

Please select the area your request applies to. (Multiple selections are Possible. You can leave blank if you're not sure.)

  • [ ] Workspace - VSCode workspace, vaults, Intellisense/autocomplete, Dendron settings
  • [ ] Lookup - Dendron's Lookup Command
  • [ ] Views - Dendron Preview, Tree View, Side Panels in the UI
  • [ ] Schema - Dendron Schemas
  • [ ] Pod - Data import from / export to Dendron
  • [ ] Publish - External Site Publish
  • [x] Markdown - Markdown features, such as syntax support and features

Is your feature request related to a problem? Please describe

I have a code block with a long function in it, and I want to explain each section of code,I don not want to copy the same code by lines again and again,

Describe the solution you'd like

I wish it can do something like ![[which-code#Lhash1:#Lhash2]], it is some problem like dics 38,but not the same, I can not add a hash tag to index.js,but a code block in note.md, I can accept adding a hash tag to mark a line

Describe alternatives you've considered

Additional context

swithun-liu avatar Sep 03 '22 14:09 swithun-liu

thanks for the feature request. we'll update this ticket if we start working on it

kevinslin avatar Sep 06 '22 15:09 kevinslin