feat: add custom code tag to markdown
This commit is contained in:
+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