-
-
Notifications
You must be signed in to change notification settings - Fork 8.7k
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
Feed generation warns: "Received true
for a non-boolean attribute" when using {2,3} highlighting
#6195
Comments
true
for a non-boolean attribute
I do remember seeing the warning some time back in our production builds, but at some point they are gone. Could you delete node_modules and lock file, re-install, run |
😅 never seen this warning before, weird |
Just realized I saw it not on the Docusaurus site build, but on my site... In the "Deploy to GitHub Pages" step, the build emits warning. I know what's the issue: this is thrown from |
Oh I see Agree, I don't like too much the |
I get something similar, where I have a custom remark plugin preprocessing my code snippets to feed them to a testing framework. Some code blocks have an skip-testing annotation like:
and this warns with a similar error. |
@dsmmcken This basically happens with any codeblock meta that's not |
true
for a non-boolean attributetrue
for a non-boolean attribute" when using {2,3} highlighting
Have you read the Contributing Guidelines on issues?
Prerequisites
npm run clear
oryarn clear
command.rm -rf node_modules yarn.lock package-lock.json
and re-installing packages.Description
the new version is 2.0.0-beta.14
Steps to reproduce
when use highlight code,eg: {2, 3}
npm run build,throw warning
Expected behavior
No warning show
Actual behavior
Warning: Received
true
for a non-boolean attribute{2,3}
.Your environment
Reproducible demo
No response
Self-service
The text was updated successfully, but these errors were encountered: