Getting Started
A Starlight plugin to easily add badges to your Markdown and MDX headings that are also visible in the table of contents. Check out the demo for a preview of the plugin in action.
Prerequisites
You will need to have a Starlight website set up. If you don’t have one yet, you can follow the “Getting Started” guide in the Starlight docs to create one.
Installation
-
Starlight Heading Badges is a Starlight plugin that you can install using your favorite package manager:
-
Configure the plugin in your Starlight configuration in the
astro.config.mjs
file. -
Add a badge to a heading in one of your Markdown or MDX files:
-
Start the development server to see the plugin in action.
Check out the “Usage” guide to learn more about how to use the plugin.