fumadocs-maven
v1.0.1
Published
Generate code blocks for maven/gradle installing packages
Readme
Fumadocs Maven
Generate code blocks for maven/gradle installing packages
To install dependencies:
npm install fumadocs-mavenpnpm install fumadocs-mavenyarn add fumadocs-mavenbun add fumadocs-mavenUsage
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