Skip to content

fix: make code snippets TS-friendly in troubleshooting.mdx#14214

Merged
ArmandPhilippot merged 2 commits into
mainfrom
armand/fix-troubleshooting-snippets
Jul 10, 2026
Merged

fix: make code snippets TS-friendly in troubleshooting.mdx#14214
ArmandPhilippot merged 2 commits into
mainfrom
armand/fix-troubleshooting-snippets

Conversation

@ArmandPhilippot

Copy link
Copy Markdown
Member

Description (required)

Follow-up of #14089. TL;DR: Improve UX by preventing the appearance of red squiggles (TS) and visual changes (formatting with Astro extension) when the user copies and pastes a code snippet.

Formats and fixes to code snippets in troubleshooting.mdx. Without any, Typescript complains.

References

@ArmandPhilippot ArmandPhilippot added the code snippet update Updates a code sample: typo, outdated code etc. label Jul 10, 2026
@astrobot-houston

astrobot-houston commented Jul 10, 2026

Copy link
Copy Markdown
Contributor

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/troubleshooting.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.

@github-actions

github-actions Bot commented Jul 10, 2026

Copy link
Copy Markdown

Preview deployment

✅ Deployment complete!

@yanthomasdev yanthomasdev left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM! Good job!

@ArmandPhilippot ArmandPhilippot merged commit 5e96934 into main Jul 10, 2026
9 checks passed
@ArmandPhilippot ArmandPhilippot deleted the armand/fix-troubleshooting-snippets branch July 10, 2026 13:57
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