lib/shared
Esta página aún no está disponible en tu idioma.
Variables
Section titled “Variables”shared
Section titled “shared”const shared: { astroMDRemark: AstroConfig["markdown"]; mdConfig: MarkdownSchemaOptions;};
Defined in: studiocms/packages/@studiocms/md/src/lib/shared.ts:15^
A shared object that is either retrieved from the global scope using a symbol or
initialized as a new object with a mdxConfig
property.
Type declaration
Section titled “Type declaration”astroMDRemark?
Section titled “astroMDRemark?”optional astroMDRemark: AstroConfig["markdown"];
mdConfig?
Section titled “mdConfig?”optional mdConfig: MarkdownSchemaOptions;
Remarks
Section titled “Remarks”The @ts-ignore
comments are used to suppress TypeScript errors related to the use of
the global scope and assignment within expressions. The biome-ignore
comment is used
to suppress linting errors for the same reason.
symbol
Section titled “symbol”const symbol: symbol;
Defined in: studiocms/packages/@studiocms/md/src/lib/shared.ts:4^