-
-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
docs: clean up .js-with-links #6459
docs: clean up .js-with-links #6459
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
src/content/api/node.mdx
Outdated
if (err || stats.hasErrors()) { | ||
// [Handle errors here](#error-handling) | ||
// |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
// |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just wondering if these empty comments were intentional
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's a placeholder, guess it makes more sense to use // ...
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Makes sense to move away from this 👍🏻
We have this
.js-with-links
from remark-refractor which would generates links inside code block.Unfortunately it's totally broken at the moment:
I have no idea when and how we broke it, and I have no interest to fix it for two reasons:
it's hard to maintain.
Editors like VSCode won't apply syntax highlighting to such a code block, which means we are on our own when editing the code block.
Hence I would like to take this opportunity to clean up them.