Skip to content

Cannot override config of extensions appended in techdocs-core #220

@kunickiaj

Description

@kunickiaj

For example, if one wants to enable slugify on content tabs, they cant because the extension is always appended even if already configured in the user's mkdocs.yml

I saw #214 which i think intended to address this issue, but i still cant get configuration to get merged with the default atechdocs one.

config["markdown_extensions"].append("pymdownx.tabbed")

Have also tried

plugins:
  - techdocs-core
markdown_extensions:
  - pymdownx.extra:
      pymdownx.tabbed:
        slugify: !!python/object/apply:pymdownx.slugs.slugify
          kwds:
            case: lower

I suspect the issue is that while #214 removed the superfences plugin from the list of appended, it did not remove the others provided by pymdownx.extra still resulting in impossible configuration for those.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions