Skip to content

Deprecation warning with Sätteri + Container API + MDX #17206

Description

@HiDeoo

Astro Info

Astro                    v7.0.3
Node                     v26.4.0
System                   macOS (arm64)
Package Manager          pnpm
Output                   static
Adapter                  none
Integrations             @astrojs/mdx

If this issue only occurs in one browser, which browser is a problem?

No response

Describe the Bug

When using the Container API with Sätteri and the MDX integration, deprecations warnings are logged to the console:

[astro] `markdown.gfm` and `markdown.smartypants` are deprecated. Move them onto your processor instead (e.g. `satteri({ features: { gfm: false, smartPunctuation: false } })`, or `unified({ gfm: false, smartypants: false })` from `@astrojs/markdown-remark`). Will be removed in a future major.

I have not yet investigated if the warning is incorrectly logged or if the warning is correct but there is somehow a configuration error when using the Container API with Sätteri and MDX.

What's the expected result?

I don't expect to see any deprecation warning.

Link to Minimal Reproducible Example

https://github.com/HiDeoo/astro-v7-mdx-container-api-warning

Participation

  • I am willing to submit a pull request for this issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    - P3: minor bugAn edge case that only affects very specific usage (priority)pkg: astroRelated to the core `astro` package (scope)triage: fix verifiedReporter confirmed the triage bot fix works

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions