YAML schema is complaining about `pymdownx.magiclink`
Fullchee opened this issue · comments
Fullchee Zhang commented
Contribution guidelines
- I've read the contribution guidelines and wholeheartedly agree
I've found a bug and checked that ...
- ... the problem doesn't occur with the
mkdocs
orreadthedocs
themes - ... the problem persists when all overrides are removed, i.e.
custom_dir
,extra_javascript
andextra_css
- ... the documentation does not mention anything about my problem
- ... there are no open or closed issues that are related to my problem
Description
In mkdocs.yml
markdown_extensions -> pymdownx.magiclink
is showing an error highlight in VSCode
I'm not sure why, given that it's in in the schema
https://squidfunk.github.io/mkdocs-material/schema/extensions/pymdownx.json
Expected behaviour
It shouldn't be underlined with an error
Actual behaviour
It is underlined with an error
Steps to reproduce
- Install VSCode
- Install the YAML extension (by RedHat)
- Add
pymdownx.magiclink
undermarkdown_extensions
inmkdocs.yml
Package versions
- Python 3.9.13
- mkdocs, version 1.3.0
- Name: mkdocs-material Version: 8.3.8
Configuration
markdown_extensions:
- pymdownx.magiclink
### System information
OS: macOS Monterey 12.1 (M1)
VSCode: 1.68.1
Martin Donath commented
Thanks for reporting. We have the definitions for pymdowx.magiclink
here:
Works on my machine, i.e. cannot reproduce:
Martin Donath commented
I now see where this is coming from – we didn't include the attribute-less version of this extension. Fixed in adabdd0.