Use markdown in the default slot of the badge component to display a Badge in your content.
::badge
**v4.0.0**
::
| Slot | Type |
|---|
Below is the theme configuration skeleton for the ProseBadge. Since the component is provided unstyled by default, you will need to fill in these values to apply your own custom look and feel. If you prefer to use our pre-built, opinionated styling, you can instead use our UnoCSS preset, this docs is using it as well.
export default defineAppConfig({
pohon: {
prose: {
badge: {
base: ''
}
}
}
};
import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
import pohon from 'pohon-ui/vite'
export default defineAppConfig({
pohon: {
prose: {
badge: {
base: ''
}
}
}
};