fumadocs-maven
v1.0.1
Published
Generate code blocks for maven/gradle installing packages
Downloads
3
Readme
Fumadocs Maven
Generate code blocks for maven/gradle installing packages
To install dependencies:
npm install fumadocs-maven
pnpm install fumadocs-maven
yarn add fumadocs-maven
bun add fumadocs-maven
Usage
Add the remark plugin to your next.config.mjs
:
import { remarkMaven } from 'fumadocs-maven';
const config = {
remarkPlugins: [
[remarkMaven, { ... }]
],
}
Define the Tab component in mdx-components.tsx
:
import { Tab, Tabs } from "fumadocs-ui/components/tabs";
export function useMDXComponents(components: MDXComponents) {
return {
...components,
Tab,
Tabs,
};
}
Create code blocks with package-maven as language.
org.springframework.boot:spring-boot-starter-web:3.0.0