Skip to content

feat: add remark plugin to rewrite localized links in Markdown content#2193

Draft
bjohansebas wants to merge 1 commit intoredesignfrom
link-improve
Draft

feat: add remark plugin to rewrite localized links in Markdown content#2193
bjohansebas wants to merge 1 commit intoredesignfrom
link-improve

Conversation

@bjohansebas
Copy link
Member

@bjohansebas bjohansebas commented Feb 22, 2026

A remark plugin to make it easier to reference links that are versioned and obviously have i18n. This will also greatly help prevent links from breaking when content is translated in Crowdin.

TODOs:

  • Update the content to remove the 5x or 4x prefixes and remove {page.lang} (after this PR, we can start better localizing our content).
  • Add unit tests for this.
  • Add references in the contributing guide explaining this and how it works.

Also, it would be great to have #2192 merged first to ensure that links are always working properly.

This was generated with GitHub Copilot and reviewed by me.

@netlify
Copy link

netlify bot commented Feb 22, 2026

Deploy Preview for expressjscom-preview ready!

Name Link
🔨 Latest commit cb43817
🔍 Latest deploy log https://app.netlify.com/projects/expressjscom-preview/deploys/699a51a82e595e0008291fbc
😎 Deploy Preview https://deploy-preview-2193--expressjscom-preview.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 100 (🟢 up 4 from production)
Accessibility: 100 (🟢 up 13 from production)
Best Practices: 100 (no change from production)
SEO: 100 (🟢 up 6 from production)
PWA: 80 (🟢 up 50 from production)
View the detailed breakdown and full score reports

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

Copy link
Member Author

Choose a reason for hiding this comment

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

This is completely temporary, just to test that it’s working for i18n.

@ShubhamOulkar
Copy link
Member

This is a useful plugin. I’ll start looking into it once we reach a solid stage in the redesign. I just don’t want to overload myself right now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants