jsr icon indicating copy to clipboard operation
jsr copied to clipboard

Idea: function/class names in example code blocks as clickable links

Open phaux opened this issue 7 months ago • 0 comments

Function/class names in examples and other code blocks could be links that point to their documentation page.

Ideally, it would require parsing every code block with TypeScript and extracting information about all the symbols, but maybe a simpler algorithm could be invented?

Example: At https://jsr.io/@std/[email protected]/doc/~/abortable in the example, the delay function should be a clickable link and point to https://jsr.io/@std/[email protected]/doc/~/delay

phaux avatar Jul 01 '24 20:07 phaux