Skip to content

Make it possible to put links in code comments #574

@phillipskevin

Description

@phillipskevin

For code like this:

<!-- Adds the custom element to the page -->
<my-counter></my-counter>

<script type="module">



// The name of the custom element
customElements.define("my-counter", Counter);
</script>

...it would be really useful to be able to link to https://developer.mozilla.org/en-US/docs/Web/API/CustomElementRegistry/define in the comment above the last line of the script and make it possible for users to click them.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions