squidfunk / mkdocs-material

Documentation that simply works
https://squidfunk.github.io/mkdocs-material/
MIT License
19.09k stars 3.39k forks source link

Group plugin, but for markdown extensions #7040

Closed jonaharagon closed 2 months ago

jonaharagon commented 2 months ago

Context

No response

Description

Because there are insider specific markdown extensions now (material.extensions.preview), it would be nice if they could be enabled/disabled by an environment variable the same way plugins can.

Related links

Use Cases

I'd like to be able to control all insiders features with a BUILD_INSIDERS environment variable, so that outside contributors can build the site locally more easily.

Visuals

No response

Before submitting

squidfunk commented 2 months ago

Thanks for suggesting. Since there's some movement over at MkDocs regarding maintainership and the direction of the project, I would kindly ask you to take this upstream. There's a discussion on inheritance in https://github.com/mkdocs/mkdocs/issues/3216.

I'm closing this as out of scope for now. If the maintainers of MkDocs decide that they are considering this reasonable feature request out of scope as well, we can reconsider and reopen this issue ☺️