Skip to content

Comments

fix(integrations-guide/markdoc): add missing import in code snippets#12893

Merged
ArmandPhilippot merged 2 commits intowithastro:mainfrom
ArmandPhilippot:fix/markdoc-code-snippets
Dec 15, 2025
Merged

fix(integrations-guide/markdoc): add missing import in code snippets#12893
ArmandPhilippot merged 2 commits intowithastro:mainfrom
ArmandPhilippot:fix/markdoc-code-snippets

Conversation

@ArmandPhilippot
Copy link
Member

Description (required)

We use the ImageMetadata type in 3 code snippets but we never import it; we should to make the code valid.

Related issues & labels (optional)

  • Suggested label: code snippet update

@ArmandPhilippot ArmandPhilippot added the code snippet update Updates a code sample: typo, outdated code etc. label Dec 13, 2025
@netlify
Copy link

netlify bot commented Dec 13, 2025

Deploy Preview for astro-docs-2 ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit 2f531bf
🔍 Latest deploy log https://app.netlify.com/projects/astro-docs-2/deploys/694020b4a56e240008222ccc
😎 Deploy Preview https://deploy-preview-12893--astro-docs-2.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@astrobot-houston
Copy link
Contributor

astrobot-houston commented Dec 13, 2025

Lunaria Status Overview

🌕 This pull request will trigger status changes.

Learn more

By default, every PR changing files present in the Lunaria configuration's files property will be considered and trigger status changes accordingly.

You can change this by adding one of the keywords present in the ignoreKeywords property in your Lunaria configuration file in the PR's title (ignoring all files) or by including a tracker directive in the merged commit's description.

Tracked Files

File Note
en/guides/integrations-guide/markdoc.mdx Source changed, localizations will be marked as outdated.
Warnings reference
Icon Description
🔄️ The source for this localization has been updated since the creation of this pull request, make sure all changes in the source have been applied.

Copy link
Member

@sarah11918 sarah11918 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

@ArmandPhilippot ArmandPhilippot merged commit bb9bae5 into withastro:main Dec 15, 2025
10 checks passed
@ArmandPhilippot ArmandPhilippot deleted the fix/markdoc-code-snippets branch December 15, 2025 15:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

code snippet update Updates a code sample: typo, outdated code etc.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants