feat: add custom code tag to markdown

This commit is contained in:
Stevan Freeborn
2023-04-09 14:50:50 -05:00
parent ae44fe7e07
commit 4c6257012d
12 changed files with 189 additions and 115 deletions
+13 -1
View File
@@ -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;
};