@slidev/types 0.38.4 → 0.38.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +18 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -178,6 +178,12 @@ interface SlidevConfig {
|
|
|
178
178
|
* @default true
|
|
179
179
|
*/
|
|
180
180
|
presenter: boolean | 'dev' | 'build';
|
|
181
|
+
/**
|
|
182
|
+
* Attributes to apply to the HTML element
|
|
183
|
+
*
|
|
184
|
+
* @default {}
|
|
185
|
+
*/
|
|
186
|
+
htmlAttrs: Record<string, string>;
|
|
181
187
|
}
|
|
182
188
|
interface FontOptions {
|
|
183
189
|
/**
|
|
@@ -384,4 +390,15 @@ declare function defineKatexSetup(fn: KatexSetup): KatexSetup;
|
|
|
384
390
|
declare function defineShortcutsSetup(fn: ShortcutsSetup): ShortcutsSetup;
|
|
385
391
|
declare function definePreparserSetup(fn: PreparserSetup): PreparserSetup;
|
|
386
392
|
|
|
387
|
-
|
|
393
|
+
interface TocItem {
|
|
394
|
+
active?: boolean;
|
|
395
|
+
activeParent?: boolean;
|
|
396
|
+
children: TocItem[];
|
|
397
|
+
hasActiveParent?: boolean;
|
|
398
|
+
level: number;
|
|
399
|
+
path: string;
|
|
400
|
+
hideInToc?: boolean;
|
|
401
|
+
title?: string;
|
|
402
|
+
}
|
|
403
|
+
|
|
404
|
+
export { AppContext, AppSetup, DrawingsOptions, FontOptions, KatexSetup, MermaidOptions, MermaidSetup, MonacoSetup, MonacoSetupReturn, NavOperations, PreparserExtensionFromHeadmatter, PreparserExtensionLoader, PreparserSetup, RenderContext, ResolvedDrawingsOptions, ResolvedFontOptions, ShikiDarkModeThemes, ShikiOptions, ShikiSetup, ShortcutOptions, ShortcutsSetup, SlideInfo, SlideInfoBase, SlideInfoExtended, SlideInfoWithPath, SlidevConfig, SlidevFeatureFlags, SlidevMarkdown, SlidevPreparserExtension, SlidevThemeConfig, SlidevThemeMeta, TocItem, UnoSetup, WindiSetup, defineAppSetup, defineKatexSetup, defineMermaidSetup, defineMonacoSetup, definePreparserSetup, defineShikiSetup, defineShortcutsSetup, defineUnoSetup, defineWindiSetup };
|