feat: add custom code tag to markdown
This commit is contained in:
1 parent
ae44fe7e07
commit
4c6257012d
12 files changed
+189
-115
No files matched your search
+13
-1
@@ -1,7 +1,19 @@
|
||||
import { ReactNode } from 'react';
|
||||
export type DocsStructure = {
|
||||
version: string;
|
||||
docs: Doc[];
|
||||
};
|
||||
|
||||
export type Doc = {
|
||||
title: string;
|
||||
folder: string;
|
||||
copy?: string;
|
||||
example?: string;
|
||||
children?: DocsStructure[];
|
||||
children?: Doc[];
|
||||
};
|
||||
|
||||
export type Section = {
|
||||
title: string;
|
||||
copy: ReactNode;
|
||||
example: ReactNode;
|
||||
};
|
||||
Reference in new issue
Block a user