jsr
jsr copied to clipboard
Idea: function/class names in example code blocks as clickable links
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