Starlight Page Actions v0.4.0 is here
In this release, the main focus was on removing or replacing components used in MDX files to achieve cleaner generated Markdown.
These are the most important changes.
Internationalization for plugin UI texts
Now available in Spanish, English, Portuguese, French, Italian, and German.
Remove Steps component from Markdown content
What you write:
<Steps>
1. This is step 1.
2. This is step 2.
</Steps>
Generated Markdown:
1. This is step 1.
2. This is step 2.
Replace LinkCard component with Markdown links
What you write:
<LinkCard
title="genPageMetadata"
description="API Reference for the genPageMetadata function"
href="/docs/reference/gen-page-metadata"
/>
Generated Markdown:
[genPageMetadata](https://seo-in-nextjs.dlcastillop.com/docs/reference/gen-page-metadata)
Apply baseUrl to internal links in Markdown
What you write:
Ready to dive in? Head over to the [Getting Started](/docs/getting-started) guide.
Generated Markdown:
Ready to dive in? Head over to the [Getting Started](https://seo-in-nextjs.dlcastillop.com/docs/getting-started) guide.
Fix multi-line imports not being fully removed from Markdown content
What you write:
import {
Steps,
Tabs,
TabItem,
Aside,
LinkCard,
} from "@astrojs/starlight/components";
`seo-in-nextjs` can generate the `llms.txt` file for your Next.js site with automatic route detection.
Generated Markdown:
`seo-in-nextjs` can generate the `llms.txt` file for your Next.js site with automatic route detection.
Try it out and let me know what you think!