astro-smart-links
Style internal, external and broken links in your Markdown, and get a broken link report at the end of the build — no second build and no routes file.
InstallationInstall and enable the smartLinks() integration
Broken linksBuild reports, CLI and failOnBroken
Basic demoDefault internal, external and broken styles
Advanced featureswrapperTemplate and custom transforms
Tailwind stylesStyle links with Tailwind utilities
DaisyUI componentsBadges, buttons and card links
Install
Section titled “Install”npm install astro-smart-linksimport { defineConfig } from 'astro/config';import { smartLinks } from 'astro-smart-links';
export default defineConfig({ integrations: [smartLinks()],});