-
-
Notifications
You must be signed in to change notification settings - Fork 13
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
Fails on Live URL #24
Comments
Ahh, sorry, just realized that this is an incompatibility between Markdown and MDX. Markdown does not allow for that syntax (at least on https://markdownlivepreview.com/): I guess that it wouldn't make sense for I will see what I can do with Closing. |
Ah yeah, HTML like this is not supported by Markdown. See CommonMark. So the URL, in GFM, is seen as an actual URL. If you want to ignore MDX, you can use the |
Right, thanks for the explanation 👍 I'm looking to lint all of my Hm, maybe Edit: ah, maybe not: mdx-js/eslint-mdx#203 |
Hmm... I guess I'll use |
why not use remark-mdx? |
Hm, maybe I misunderstood your comment above:
I don't want to ignore MDX - I want to check it :) |
Looking at Edit: I guess it does - my {
"remarkConfig": {
"plugins": [
"remark-mdx",
"remark-lint-no-dead-urls"
]
}
} |
Well, this plugin works on markdown syntax. remark-mdx makes sure MDX is understood, but it’s still a different syntax that isn’t markdown. I don’t think there exists a project like remark-lint-no-dead-links for MDX. Would |
Ah, understood. So the links in format of |
That is correct, remark/markdown does not understand HTML. And while MDX understands JSX, it does not map JSX to “equivalents” in Markdown. |
Hi @davidtheclark, thanks for this library!
When I run this with the following MDX content...
...it fails as in the error message below:
remark-lint-no-dead-urls
appears to be taking the"
at the end along with the link.cc @wooorm
The text was updated successfully, but these errors were encountered: