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

Markdown alerts trigger "Found reference to undefined definition" #189

Open
asmaier opened this issue Mar 18, 2024 · 2 comments
Open

Markdown alerts trigger "Found reference to undefined definition" #189

asmaier opened this issue Mar 18, 2024 · 2 comments

Comments

@asmaier
Copy link

asmaier commented Mar 18, 2024

When using the Markdown extension for alerts, e.g.

> [!NOTE]
> Some awesome note

as described at https://docs.github.com/en/get-started/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax#alerts the awesome linter will throw an error

Found reference to undefined definition      remark-lint:no-undefined-references
@tomodachi94
Copy link

I can reproduce here.

Log

README.md:138:3
✖ 138:3 Found reference to undefined definition remark-lint:no-undefined-references
✖ 148:3 Found reference to undefined definition remark-lint:no-undefined-references
✖ 153:3 Found reference to undefined definition remark-lint:no-undefined-references

3 errors

Error: Process completed with exit code 1.

@tomodachi94
Copy link

It looks like a workaround is available with the allow option in the relevant remark-lint rule. I'll submit a patch sometime tomorrow.

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

2 participants