Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make it possible to put links in code comments #574

Open
phillipskevin opened this issue Sep 23, 2019 · 0 comments
Open

Make it possible to put links in code comments #574

phillipskevin opened this issue Sep 23, 2019 · 0 comments

Comments

@phillipskevin
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant