chore: wiki: add API component and add test

This commit is contained in:
robin committed 2026-08-06 15:02:10 +02:00
1 parent 91dafe6a06
commit 3c3a4e309a
3 files changed
+62 -2

No files matched your search

+2 -1
View File
@@ -4,7 +4,7 @@ import { MDXRemote } from 'next-mdx-remote/rsc';
import rehypePrettyCode from 'rehype-pretty-code';
import rehypeSlug from 'rehype-slug';
import rehypeAutolinkHeadings from 'rehype-autolink-headings';
import { Callout, Grid, Card, Steps, Step, InlineCode, CodeBlockContainer } from '@/components/mdx-components';
import { Callout, Grid, Card, Steps, Step, InlineCode, CodeBlockContainer, API } from '@/components/mdx-components';
const mdxOptions = {
mdxOptions: {
@@ -43,6 +43,7 @@ const mdxComponents = {
Card,
Steps,
Step,
API,
// Custom Typography Überschreibungen
code: InlineCode,
pre: CodeBlockContainer,