├── .changeset ├── README.md └── config.json ├── .claude └── settings.local.json ├── .codecov.yml ├── .github ├── ISSUE_TEMPLATE │ ├── bug_report.yml │ ├── config.yml │ └── feature_request.yml ├── pull_request_template.md └── workflows │ ├── ci.yml │ ├── release.yml │ ├── size.yml │ └── test-coverage.yml ├── .gitignore ├── .husky └── pre-commit ├── .lintstagedrc.json ├── .npmrc ├── .prettierignore ├── .prettierrc.json ├── .vscode └── settings.json ├── CLAUDE.md ├── CONTRIBUTING.md ├── LICENSE ├── README.md ├── SECURITY.md ├── apps └── playground │ ├── .gitignore │ ├── CHANGELOG.md │ ├── README.md │ ├── app │ ├── favicon.ico │ ├── globals.css │ ├── layout.tsx │ └── page.tsx │ ├── components.json │ ├── components │ ├── layout │ │ ├── EditorContainer.tsx │ │ ├── ExampleSheet.tsx │ │ ├── Footer.tsx │ │ ├── Header.tsx │ │ ├── PreviewContainer.tsx │ │ └── config.ts │ ├── shared │ │ ├── RefreshButton.tsx │ │ └── ToggleMode.tsx │ └── ui │ │ ├── button.tsx │ │ ├── resizable.tsx │ │ ├── select.tsx │ │ └── sheet.tsx │ ├── data │ ├── 1-introduction.ts │ ├── 2-basic-markdown.ts │ ├── 3-code-blocks.ts │ ├── 4-components.ts │ ├── 5-tables-lists.ts │ └── index.ts │ ├── lib │ └── utils.ts │ ├── next.config.ts │ ├── package.json │ ├── postcss.config.mjs │ ├── public │ ├── file.svg │ ├── globe.svg │ ├── next.svg │ ├── vercel.svg │ └── window.svg │ ├── store │ └── editorStore.ts │ └── tsconfig.json ├── eslint.config.js ├── jest.config.js ├── package.json ├── packages ├── eslint-config │ ├── README.md │ ├── base.js │ ├── next.js │ ├── package.json │ └── react-internal.js ├── mdx-craft │ ├── .size-limit.json │ ├── CHANGELOG.md │ ├── CONTRIBUTING.md │ ├── README.md │ ├── eslint.config.js │ ├── jest.config.mjs │ ├── package.json │ ├── src │ │ ├── MDXViewer.tsx │ │ ├── components │ │ │ ├── common │ │ │ │ ├── Badge.tsx │ │ │ │ ├── CopyButton.tsx │ │ │ │ ├── LanguageBadge.tsx │ │ │ │ └── WindowControlDecoration.tsx │ │ │ ├── icons │ │ │ │ ├── CheckIcon.tsx │ │ │ │ ├── ChevronIcon.tsx │ │ │ │ ├── CopyIcon.tsx │ │ │ │ ├── CrossIcon.tsx │ │ │ │ ├── ExternalLinkIcon.tsx │ │ │ │ ├── ImageIcon.tsx │ │ │ │ ├── KanbanIcon.tsx │ │ │ │ ├── LinkIcon.tsx │ │ │ │ └── index.ts │ │ │ ├── index.ts │ │ │ └── viewer │ │ │ │ ├── core │ │ │ │ ├── Accordion.tsx │ │ │ │ ├── Callouts.tsx │ │ │ │ ├── Card.tsx │ │ │ │ ├── CodeBlock.tsx │ │ │ │ ├── CodeBlockGroup.tsx │ │ │ │ ├── Expandable.tsx │ │ │ │ ├── Frame.tsx │ │ │ │ ├── Space.tsx │ │ │ │ ├── Stack.tsx │ │ │ │ ├── Steps.tsx │ │ │ │ ├── Tabs.tsx │ │ │ │ └── index.ts │ │ │ │ ├── html │ │ │ │ ├── Code.tsx │ │ │ │ ├── Heading.tsx │ │ │ │ ├── HorizontalLine.tsx │ │ │ │ ├── Image.tsx │ │ │ │ ├── Link.tsx │ │ │ │ ├── Lists.tsx │ │ │ │ ├── Paragraph.tsx │ │ │ │ ├── Table.tsx │ │ │ │ └── index.ts │ │ │ │ ├── index.ts │ │ │ │ └── navigation │ │ │ │ ├── TOC.tsx │ │ │ │ └── index.ts │ │ ├── hooks │ │ │ ├── index.ts │ │ │ ├── useCodeHighlighting.ts │ │ │ ├── useComponentRegistry.ts │ │ │ ├── useLinkPreview.ts │ │ │ ├── useMDXCompilation.ts │ │ │ ├── useMDXViewer.ts │ │ │ └── useTOC.ts │ │ ├── index.ts │ │ ├── plugins │ │ │ ├── rehypePlugins.ts │ │ │ ├── remarkPlugins.ts │ │ │ └── shiki-highlighter.ts │ │ ├── processor │ │ │ ├── ComponentRegistry.ts │ │ │ ├── MDXProcessor.ts │ │ │ ├── __tests__ │ │ │ │ ├── MDXProcessor.test.ts │ │ │ │ └── cache.test.ts │ │ │ ├── cache.ts │ │ │ ├── index.ts │ │ │ └── preprocessor.ts │ │ ├── provider │ │ │ ├── MDXViewerProvider.tsx │ │ │ └── context.ts │ │ ├── test-setup.ts │ │ ├── types │ │ │ ├── index.ts │ │ │ ├── processor.ts │ │ │ ├── provider.ts │ │ │ ├── registry.ts │ │ │ ├── toc.ts │ │ │ └── viewer.ts │ │ └── utils │ │ │ └── index.ts │ ├── tsconfig.json │ └── tsup.config.ts └── typescript-config │ ├── base.json │ ├── nextjs.json │ ├── package.json │ └── react-library.json ├── pnpm-lock.yaml ├── pnpm-workspace.yaml ├── scripts └── test-ci.sh ├── tsconfig.json └── turbo.json /.changeset/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrhm-dev/mdx-craft/HEAD/.changeset/README.md -------------------------------------------------------------------------------- /.changeset/config.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrhm-dev/mdx-craft/HEAD/.changeset/config.json -------------------------------------------------------------------------------- /.claude/settings.local.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrhm-dev/mdx-craft/HEAD/.claude/settings.local.json -------------------------------------------------------------------------------- /.codecov.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrhm-dev/mdx-craft/HEAD/.codecov.yml -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/bug_report.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrhm-dev/mdx-craft/HEAD/.github/ISSUE_TEMPLATE/bug_report.yml -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/config.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrhm-dev/mdx-craft/HEAD/.github/ISSUE_TEMPLATE/config.yml -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/feature_request.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrhm-dev/mdx-craft/HEAD/.github/ISSUE_TEMPLATE/feature_request.yml -------------------------------------------------------------------------------- /.github/pull_request_template.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrhm-dev/mdx-craft/HEAD/.github/pull_request_template.md -------------------------------------------------------------------------------- /.github/workflows/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrhm-dev/mdx-craft/HEAD/.github/workflows/ci.yml -------------------------------------------------------------------------------- /.github/workflows/release.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrhm-dev/mdx-craft/HEAD/.github/workflows/release.yml -------------------------------------------------------------------------------- /.github/workflows/size.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrhm-dev/mdx-craft/HEAD/.github/workflows/size.yml -------------------------------------------------------------------------------- /.github/workflows/test-coverage.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrhm-dev/mdx-craft/HEAD/.github/workflows/test-coverage.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrhm-dev/mdx-craft/HEAD/.gitignore -------------------------------------------------------------------------------- /.husky/pre-commit: -------------------------------------------------------------------------------- 1 | npx lint-staged 2 | -------------------------------------------------------------------------------- /.lintstagedrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrhm-dev/mdx-craft/HEAD/.lintstagedrc.json -------------------------------------------------------------------------------- /.npmrc: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /.prettierignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrhm-dev/mdx-craft/HEAD/.prettierignore -------------------------------------------------------------------------------- /.prettierrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrhm-dev/mdx-craft/HEAD/.prettierrc.json -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrhm-dev/mdx-craft/HEAD/.vscode/settings.json -------------------------------------------------------------------------------- /CLAUDE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrhm-dev/mdx-craft/HEAD/CLAUDE.md -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrhm-dev/mdx-craft/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrhm-dev/mdx-craft/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrhm-dev/mdx-craft/HEAD/README.md -------------------------------------------------------------------------------- /SECURITY.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrhm-dev/mdx-craft/HEAD/SECURITY.md -------------------------------------------------------------------------------- /apps/playground/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrhm-dev/mdx-craft/HEAD/apps/playground/.gitignore -------------------------------------------------------------------------------- /apps/playground/CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrhm-dev/mdx-craft/HEAD/apps/playground/CHANGELOG.md -------------------------------------------------------------------------------- /apps/playground/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrhm-dev/mdx-craft/HEAD/apps/playground/README.md -------------------------------------------------------------------------------- /apps/playground/app/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrhm-dev/mdx-craft/HEAD/apps/playground/app/favicon.ico -------------------------------------------------------------------------------- /apps/playground/app/globals.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrhm-dev/mdx-craft/HEAD/apps/playground/app/globals.css -------------------------------------------------------------------------------- /apps/playground/app/layout.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrhm-dev/mdx-craft/HEAD/apps/playground/app/layout.tsx -------------------------------------------------------------------------------- /apps/playground/app/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrhm-dev/mdx-craft/HEAD/apps/playground/app/page.tsx -------------------------------------------------------------------------------- /apps/playground/components.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrhm-dev/mdx-craft/HEAD/apps/playground/components.json -------------------------------------------------------------------------------- /apps/playground/components/layout/EditorContainer.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrhm-dev/mdx-craft/HEAD/apps/playground/components/layout/EditorContainer.tsx -------------------------------------------------------------------------------- /apps/playground/components/layout/ExampleSheet.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrhm-dev/mdx-craft/HEAD/apps/playground/components/layout/ExampleSheet.tsx -------------------------------------------------------------------------------- /apps/playground/components/layout/Footer.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrhm-dev/mdx-craft/HEAD/apps/playground/components/layout/Footer.tsx -------------------------------------------------------------------------------- /apps/playground/components/layout/Header.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrhm-dev/mdx-craft/HEAD/apps/playground/components/layout/Header.tsx -------------------------------------------------------------------------------- /apps/playground/components/layout/PreviewContainer.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrhm-dev/mdx-craft/HEAD/apps/playground/components/layout/PreviewContainer.tsx -------------------------------------------------------------------------------- /apps/playground/components/layout/config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrhm-dev/mdx-craft/HEAD/apps/playground/components/layout/config.ts -------------------------------------------------------------------------------- /apps/playground/components/shared/RefreshButton.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrhm-dev/mdx-craft/HEAD/apps/playground/components/shared/RefreshButton.tsx -------------------------------------------------------------------------------- /apps/playground/components/shared/ToggleMode.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrhm-dev/mdx-craft/HEAD/apps/playground/components/shared/ToggleMode.tsx -------------------------------------------------------------------------------- /apps/playground/components/ui/button.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrhm-dev/mdx-craft/HEAD/apps/playground/components/ui/button.tsx -------------------------------------------------------------------------------- /apps/playground/components/ui/resizable.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrhm-dev/mdx-craft/HEAD/apps/playground/components/ui/resizable.tsx -------------------------------------------------------------------------------- /apps/playground/components/ui/select.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrhm-dev/mdx-craft/HEAD/apps/playground/components/ui/select.tsx -------------------------------------------------------------------------------- /apps/playground/components/ui/sheet.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrhm-dev/mdx-craft/HEAD/apps/playground/components/ui/sheet.tsx -------------------------------------------------------------------------------- /apps/playground/data/1-introduction.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrhm-dev/mdx-craft/HEAD/apps/playground/data/1-introduction.ts -------------------------------------------------------------------------------- /apps/playground/data/2-basic-markdown.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrhm-dev/mdx-craft/HEAD/apps/playground/data/2-basic-markdown.ts -------------------------------------------------------------------------------- /apps/playground/data/3-code-blocks.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrhm-dev/mdx-craft/HEAD/apps/playground/data/3-code-blocks.ts -------------------------------------------------------------------------------- /apps/playground/data/4-components.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrhm-dev/mdx-craft/HEAD/apps/playground/data/4-components.ts -------------------------------------------------------------------------------- /apps/playground/data/5-tables-lists.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrhm-dev/mdx-craft/HEAD/apps/playground/data/5-tables-lists.ts -------------------------------------------------------------------------------- /apps/playground/data/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrhm-dev/mdx-craft/HEAD/apps/playground/data/index.ts -------------------------------------------------------------------------------- /apps/playground/lib/utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrhm-dev/mdx-craft/HEAD/apps/playground/lib/utils.ts -------------------------------------------------------------------------------- /apps/playground/next.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrhm-dev/mdx-craft/HEAD/apps/playground/next.config.ts -------------------------------------------------------------------------------- /apps/playground/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrhm-dev/mdx-craft/HEAD/apps/playground/package.json -------------------------------------------------------------------------------- /apps/playground/postcss.config.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrhm-dev/mdx-craft/HEAD/apps/playground/postcss.config.mjs -------------------------------------------------------------------------------- /apps/playground/public/file.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrhm-dev/mdx-craft/HEAD/apps/playground/public/file.svg -------------------------------------------------------------------------------- /apps/playground/public/globe.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrhm-dev/mdx-craft/HEAD/apps/playground/public/globe.svg -------------------------------------------------------------------------------- /apps/playground/public/next.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrhm-dev/mdx-craft/HEAD/apps/playground/public/next.svg -------------------------------------------------------------------------------- /apps/playground/public/vercel.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrhm-dev/mdx-craft/HEAD/apps/playground/public/vercel.svg -------------------------------------------------------------------------------- /apps/playground/public/window.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrhm-dev/mdx-craft/HEAD/apps/playground/public/window.svg -------------------------------------------------------------------------------- /apps/playground/store/editorStore.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrhm-dev/mdx-craft/HEAD/apps/playground/store/editorStore.ts -------------------------------------------------------------------------------- /apps/playground/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrhm-dev/mdx-craft/HEAD/apps/playground/tsconfig.json -------------------------------------------------------------------------------- /eslint.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrhm-dev/mdx-craft/HEAD/eslint.config.js -------------------------------------------------------------------------------- /jest.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrhm-dev/mdx-craft/HEAD/jest.config.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrhm-dev/mdx-craft/HEAD/package.json -------------------------------------------------------------------------------- /packages/eslint-config/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrhm-dev/mdx-craft/HEAD/packages/eslint-config/README.md -------------------------------------------------------------------------------- /packages/eslint-config/base.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrhm-dev/mdx-craft/HEAD/packages/eslint-config/base.js -------------------------------------------------------------------------------- /packages/eslint-config/next.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrhm-dev/mdx-craft/HEAD/packages/eslint-config/next.js -------------------------------------------------------------------------------- /packages/eslint-config/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrhm-dev/mdx-craft/HEAD/packages/eslint-config/package.json -------------------------------------------------------------------------------- /packages/eslint-config/react-internal.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrhm-dev/mdx-craft/HEAD/packages/eslint-config/react-internal.js -------------------------------------------------------------------------------- /packages/mdx-craft/.size-limit.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrhm-dev/mdx-craft/HEAD/packages/mdx-craft/.size-limit.json -------------------------------------------------------------------------------- /packages/mdx-craft/CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrhm-dev/mdx-craft/HEAD/packages/mdx-craft/CHANGELOG.md -------------------------------------------------------------------------------- /packages/mdx-craft/CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrhm-dev/mdx-craft/HEAD/packages/mdx-craft/CONTRIBUTING.md -------------------------------------------------------------------------------- /packages/mdx-craft/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrhm-dev/mdx-craft/HEAD/packages/mdx-craft/README.md -------------------------------------------------------------------------------- /packages/mdx-craft/eslint.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrhm-dev/mdx-craft/HEAD/packages/mdx-craft/eslint.config.js -------------------------------------------------------------------------------- /packages/mdx-craft/jest.config.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrhm-dev/mdx-craft/HEAD/packages/mdx-craft/jest.config.mjs -------------------------------------------------------------------------------- /packages/mdx-craft/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrhm-dev/mdx-craft/HEAD/packages/mdx-craft/package.json -------------------------------------------------------------------------------- /packages/mdx-craft/src/MDXViewer.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrhm-dev/mdx-craft/HEAD/packages/mdx-craft/src/MDXViewer.tsx -------------------------------------------------------------------------------- /packages/mdx-craft/src/components/common/Badge.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrhm-dev/mdx-craft/HEAD/packages/mdx-craft/src/components/common/Badge.tsx -------------------------------------------------------------------------------- /packages/mdx-craft/src/components/common/CopyButton.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrhm-dev/mdx-craft/HEAD/packages/mdx-craft/src/components/common/CopyButton.tsx -------------------------------------------------------------------------------- /packages/mdx-craft/src/components/common/LanguageBadge.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrhm-dev/mdx-craft/HEAD/packages/mdx-craft/src/components/common/LanguageBadge.tsx -------------------------------------------------------------------------------- /packages/mdx-craft/src/components/common/WindowControlDecoration.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrhm-dev/mdx-craft/HEAD/packages/mdx-craft/src/components/common/WindowControlDecoration.tsx -------------------------------------------------------------------------------- /packages/mdx-craft/src/components/icons/CheckIcon.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrhm-dev/mdx-craft/HEAD/packages/mdx-craft/src/components/icons/CheckIcon.tsx -------------------------------------------------------------------------------- /packages/mdx-craft/src/components/icons/ChevronIcon.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrhm-dev/mdx-craft/HEAD/packages/mdx-craft/src/components/icons/ChevronIcon.tsx -------------------------------------------------------------------------------- /packages/mdx-craft/src/components/icons/CopyIcon.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrhm-dev/mdx-craft/HEAD/packages/mdx-craft/src/components/icons/CopyIcon.tsx -------------------------------------------------------------------------------- /packages/mdx-craft/src/components/icons/CrossIcon.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrhm-dev/mdx-craft/HEAD/packages/mdx-craft/src/components/icons/CrossIcon.tsx -------------------------------------------------------------------------------- /packages/mdx-craft/src/components/icons/ExternalLinkIcon.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrhm-dev/mdx-craft/HEAD/packages/mdx-craft/src/components/icons/ExternalLinkIcon.tsx -------------------------------------------------------------------------------- /packages/mdx-craft/src/components/icons/ImageIcon.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrhm-dev/mdx-craft/HEAD/packages/mdx-craft/src/components/icons/ImageIcon.tsx -------------------------------------------------------------------------------- /packages/mdx-craft/src/components/icons/KanbanIcon.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrhm-dev/mdx-craft/HEAD/packages/mdx-craft/src/components/icons/KanbanIcon.tsx -------------------------------------------------------------------------------- /packages/mdx-craft/src/components/icons/LinkIcon.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrhm-dev/mdx-craft/HEAD/packages/mdx-craft/src/components/icons/LinkIcon.tsx -------------------------------------------------------------------------------- /packages/mdx-craft/src/components/icons/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrhm-dev/mdx-craft/HEAD/packages/mdx-craft/src/components/icons/index.ts -------------------------------------------------------------------------------- /packages/mdx-craft/src/components/index.ts: -------------------------------------------------------------------------------- 1 | export * from './viewer/index.js' 2 | -------------------------------------------------------------------------------- /packages/mdx-craft/src/components/viewer/core/Accordion.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrhm-dev/mdx-craft/HEAD/packages/mdx-craft/src/components/viewer/core/Accordion.tsx -------------------------------------------------------------------------------- /packages/mdx-craft/src/components/viewer/core/Callouts.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrhm-dev/mdx-craft/HEAD/packages/mdx-craft/src/components/viewer/core/Callouts.tsx -------------------------------------------------------------------------------- /packages/mdx-craft/src/components/viewer/core/Card.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrhm-dev/mdx-craft/HEAD/packages/mdx-craft/src/components/viewer/core/Card.tsx -------------------------------------------------------------------------------- /packages/mdx-craft/src/components/viewer/core/CodeBlock.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrhm-dev/mdx-craft/HEAD/packages/mdx-craft/src/components/viewer/core/CodeBlock.tsx -------------------------------------------------------------------------------- /packages/mdx-craft/src/components/viewer/core/CodeBlockGroup.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrhm-dev/mdx-craft/HEAD/packages/mdx-craft/src/components/viewer/core/CodeBlockGroup.tsx -------------------------------------------------------------------------------- /packages/mdx-craft/src/components/viewer/core/Expandable.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrhm-dev/mdx-craft/HEAD/packages/mdx-craft/src/components/viewer/core/Expandable.tsx -------------------------------------------------------------------------------- /packages/mdx-craft/src/components/viewer/core/Frame.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrhm-dev/mdx-craft/HEAD/packages/mdx-craft/src/components/viewer/core/Frame.tsx -------------------------------------------------------------------------------- /packages/mdx-craft/src/components/viewer/core/Space.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrhm-dev/mdx-craft/HEAD/packages/mdx-craft/src/components/viewer/core/Space.tsx -------------------------------------------------------------------------------- /packages/mdx-craft/src/components/viewer/core/Stack.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrhm-dev/mdx-craft/HEAD/packages/mdx-craft/src/components/viewer/core/Stack.tsx -------------------------------------------------------------------------------- /packages/mdx-craft/src/components/viewer/core/Steps.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrhm-dev/mdx-craft/HEAD/packages/mdx-craft/src/components/viewer/core/Steps.tsx -------------------------------------------------------------------------------- /packages/mdx-craft/src/components/viewer/core/Tabs.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrhm-dev/mdx-craft/HEAD/packages/mdx-craft/src/components/viewer/core/Tabs.tsx -------------------------------------------------------------------------------- /packages/mdx-craft/src/components/viewer/core/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrhm-dev/mdx-craft/HEAD/packages/mdx-craft/src/components/viewer/core/index.ts -------------------------------------------------------------------------------- /packages/mdx-craft/src/components/viewer/html/Code.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrhm-dev/mdx-craft/HEAD/packages/mdx-craft/src/components/viewer/html/Code.tsx -------------------------------------------------------------------------------- /packages/mdx-craft/src/components/viewer/html/Heading.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrhm-dev/mdx-craft/HEAD/packages/mdx-craft/src/components/viewer/html/Heading.tsx -------------------------------------------------------------------------------- /packages/mdx-craft/src/components/viewer/html/HorizontalLine.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrhm-dev/mdx-craft/HEAD/packages/mdx-craft/src/components/viewer/html/HorizontalLine.tsx -------------------------------------------------------------------------------- /packages/mdx-craft/src/components/viewer/html/Image.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrhm-dev/mdx-craft/HEAD/packages/mdx-craft/src/components/viewer/html/Image.tsx -------------------------------------------------------------------------------- /packages/mdx-craft/src/components/viewer/html/Link.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrhm-dev/mdx-craft/HEAD/packages/mdx-craft/src/components/viewer/html/Link.tsx -------------------------------------------------------------------------------- /packages/mdx-craft/src/components/viewer/html/Lists.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrhm-dev/mdx-craft/HEAD/packages/mdx-craft/src/components/viewer/html/Lists.tsx -------------------------------------------------------------------------------- /packages/mdx-craft/src/components/viewer/html/Paragraph.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrhm-dev/mdx-craft/HEAD/packages/mdx-craft/src/components/viewer/html/Paragraph.tsx -------------------------------------------------------------------------------- /packages/mdx-craft/src/components/viewer/html/Table.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrhm-dev/mdx-craft/HEAD/packages/mdx-craft/src/components/viewer/html/Table.tsx -------------------------------------------------------------------------------- /packages/mdx-craft/src/components/viewer/html/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrhm-dev/mdx-craft/HEAD/packages/mdx-craft/src/components/viewer/html/index.ts -------------------------------------------------------------------------------- /packages/mdx-craft/src/components/viewer/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrhm-dev/mdx-craft/HEAD/packages/mdx-craft/src/components/viewer/index.ts -------------------------------------------------------------------------------- /packages/mdx-craft/src/components/viewer/navigation/TOC.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrhm-dev/mdx-craft/HEAD/packages/mdx-craft/src/components/viewer/navigation/TOC.tsx -------------------------------------------------------------------------------- /packages/mdx-craft/src/components/viewer/navigation/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrhm-dev/mdx-craft/HEAD/packages/mdx-craft/src/components/viewer/navigation/index.ts -------------------------------------------------------------------------------- /packages/mdx-craft/src/hooks/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrhm-dev/mdx-craft/HEAD/packages/mdx-craft/src/hooks/index.ts -------------------------------------------------------------------------------- /packages/mdx-craft/src/hooks/useCodeHighlighting.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrhm-dev/mdx-craft/HEAD/packages/mdx-craft/src/hooks/useCodeHighlighting.ts -------------------------------------------------------------------------------- /packages/mdx-craft/src/hooks/useComponentRegistry.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrhm-dev/mdx-craft/HEAD/packages/mdx-craft/src/hooks/useComponentRegistry.ts -------------------------------------------------------------------------------- /packages/mdx-craft/src/hooks/useLinkPreview.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrhm-dev/mdx-craft/HEAD/packages/mdx-craft/src/hooks/useLinkPreview.ts -------------------------------------------------------------------------------- /packages/mdx-craft/src/hooks/useMDXCompilation.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrhm-dev/mdx-craft/HEAD/packages/mdx-craft/src/hooks/useMDXCompilation.ts -------------------------------------------------------------------------------- /packages/mdx-craft/src/hooks/useMDXViewer.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrhm-dev/mdx-craft/HEAD/packages/mdx-craft/src/hooks/useMDXViewer.ts -------------------------------------------------------------------------------- /packages/mdx-craft/src/hooks/useTOC.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrhm-dev/mdx-craft/HEAD/packages/mdx-craft/src/hooks/useTOC.ts -------------------------------------------------------------------------------- /packages/mdx-craft/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrhm-dev/mdx-craft/HEAD/packages/mdx-craft/src/index.ts -------------------------------------------------------------------------------- /packages/mdx-craft/src/plugins/rehypePlugins.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrhm-dev/mdx-craft/HEAD/packages/mdx-craft/src/plugins/rehypePlugins.ts -------------------------------------------------------------------------------- /packages/mdx-craft/src/plugins/remarkPlugins.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrhm-dev/mdx-craft/HEAD/packages/mdx-craft/src/plugins/remarkPlugins.ts -------------------------------------------------------------------------------- /packages/mdx-craft/src/plugins/shiki-highlighter.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrhm-dev/mdx-craft/HEAD/packages/mdx-craft/src/plugins/shiki-highlighter.ts -------------------------------------------------------------------------------- /packages/mdx-craft/src/processor/ComponentRegistry.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrhm-dev/mdx-craft/HEAD/packages/mdx-craft/src/processor/ComponentRegistry.ts -------------------------------------------------------------------------------- /packages/mdx-craft/src/processor/MDXProcessor.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrhm-dev/mdx-craft/HEAD/packages/mdx-craft/src/processor/MDXProcessor.ts -------------------------------------------------------------------------------- /packages/mdx-craft/src/processor/__tests__/MDXProcessor.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrhm-dev/mdx-craft/HEAD/packages/mdx-craft/src/processor/__tests__/MDXProcessor.test.ts -------------------------------------------------------------------------------- /packages/mdx-craft/src/processor/__tests__/cache.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrhm-dev/mdx-craft/HEAD/packages/mdx-craft/src/processor/__tests__/cache.test.ts -------------------------------------------------------------------------------- /packages/mdx-craft/src/processor/cache.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrhm-dev/mdx-craft/HEAD/packages/mdx-craft/src/processor/cache.ts -------------------------------------------------------------------------------- /packages/mdx-craft/src/processor/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrhm-dev/mdx-craft/HEAD/packages/mdx-craft/src/processor/index.ts -------------------------------------------------------------------------------- /packages/mdx-craft/src/processor/preprocessor.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrhm-dev/mdx-craft/HEAD/packages/mdx-craft/src/processor/preprocessor.ts -------------------------------------------------------------------------------- /packages/mdx-craft/src/provider/MDXViewerProvider.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrhm-dev/mdx-craft/HEAD/packages/mdx-craft/src/provider/MDXViewerProvider.tsx -------------------------------------------------------------------------------- /packages/mdx-craft/src/provider/context.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrhm-dev/mdx-craft/HEAD/packages/mdx-craft/src/provider/context.ts -------------------------------------------------------------------------------- /packages/mdx-craft/src/test-setup.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrhm-dev/mdx-craft/HEAD/packages/mdx-craft/src/test-setup.ts -------------------------------------------------------------------------------- /packages/mdx-craft/src/types/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrhm-dev/mdx-craft/HEAD/packages/mdx-craft/src/types/index.ts -------------------------------------------------------------------------------- /packages/mdx-craft/src/types/processor.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrhm-dev/mdx-craft/HEAD/packages/mdx-craft/src/types/processor.ts -------------------------------------------------------------------------------- /packages/mdx-craft/src/types/provider.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrhm-dev/mdx-craft/HEAD/packages/mdx-craft/src/types/provider.ts -------------------------------------------------------------------------------- /packages/mdx-craft/src/types/registry.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrhm-dev/mdx-craft/HEAD/packages/mdx-craft/src/types/registry.ts -------------------------------------------------------------------------------- /packages/mdx-craft/src/types/toc.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrhm-dev/mdx-craft/HEAD/packages/mdx-craft/src/types/toc.ts -------------------------------------------------------------------------------- /packages/mdx-craft/src/types/viewer.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrhm-dev/mdx-craft/HEAD/packages/mdx-craft/src/types/viewer.ts -------------------------------------------------------------------------------- /packages/mdx-craft/src/utils/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrhm-dev/mdx-craft/HEAD/packages/mdx-craft/src/utils/index.ts -------------------------------------------------------------------------------- /packages/mdx-craft/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrhm-dev/mdx-craft/HEAD/packages/mdx-craft/tsconfig.json -------------------------------------------------------------------------------- /packages/mdx-craft/tsup.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrhm-dev/mdx-craft/HEAD/packages/mdx-craft/tsup.config.ts -------------------------------------------------------------------------------- /packages/typescript-config/base.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrhm-dev/mdx-craft/HEAD/packages/typescript-config/base.json -------------------------------------------------------------------------------- /packages/typescript-config/nextjs.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrhm-dev/mdx-craft/HEAD/packages/typescript-config/nextjs.json -------------------------------------------------------------------------------- /packages/typescript-config/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrhm-dev/mdx-craft/HEAD/packages/typescript-config/package.json -------------------------------------------------------------------------------- /packages/typescript-config/react-library.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrhm-dev/mdx-craft/HEAD/packages/typescript-config/react-library.json -------------------------------------------------------------------------------- /pnpm-lock.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrhm-dev/mdx-craft/HEAD/pnpm-lock.yaml -------------------------------------------------------------------------------- /pnpm-workspace.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrhm-dev/mdx-craft/HEAD/pnpm-workspace.yaml -------------------------------------------------------------------------------- /scripts/test-ci.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrhm-dev/mdx-craft/HEAD/scripts/test-ci.sh -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrhm-dev/mdx-craft/HEAD/tsconfig.json -------------------------------------------------------------------------------- /turbo.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mrhm-dev/mdx-craft/HEAD/turbo.json --------------------------------------------------------------------------------