Compare commits

..

No commits in common. "f4e5f96f4960c9a76722e8c7a15be5a193c51117" and "7807fee775e5a6a3d722f327c909324a3d5ba7f9" have entirely different histories.

View File

@ -1,15 +1,10 @@
import type { RenderableTreeNode } from "@markdoc/markdoc";
import type { ReactNode } from "react";
import Markdoc from "@markdoc/markdoc";
import { Tag as MarkdocTag } from "@markdoc/markdoc";
type TagAttributesValue = string | number | boolean | null | undefined | object | unknown;
// Workaround for Markdoc, that's not exporting the type
// in production build (Vite issue).
// See: https://stackoverflow.com/questions/76191154/the-requested-module-does-not-provide-an-export-named-default
const { Tag: MarkdocTag } = Markdoc;
export class Tag extends MarkdocTag {
constructor(
name: string | ReactNode,