-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
enhancementNew feature or requestNew feature or request
Description
The problem - if you are trying to help someone it can be helpful to link someone to a specific line of code in a web page. The browser based highlight feature is useful but not perfect for this use case.
Instead we may be able to leverage Prism's functionality. There may be some challenges though as the ids may not be unique for the code blocks given they live in the shadow DOM. There's also the problem that the page loads with the hash before prism has run. So it may take a moment to kick in.
https://prismjs.com/plugins/line-highlight/
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request