chore: wiki: add API component and add test
This commit is contained in:
1 parent
91dafe6a06
commit
3c3a4e309a
3 files changed
+62
-2
No files matched your search
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user