@classic-homes/theme-docs 0.0.50 → 0.2.0
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/lib/components/Breadcrumbs.svelte +55 -0
- package/dist/lib/components/Breadcrumbs.svelte.d.ts +14 -0
- package/dist/lib/components/CategoryIndex.svelte +51 -0
- package/dist/lib/components/CategoryIndex.svelte.d.ts +13 -0
- package/dist/lib/components/DocPage.svelte +172 -0
- package/dist/lib/components/DocPage.svelte.d.ts +60 -0
- package/dist/lib/components/DocPager.svelte +49 -0
- package/dist/lib/components/DocPager.svelte.d.ts +12 -0
- package/dist/lib/components/MarkdownPage.svelte +3 -1
- package/dist/lib/components/MermaidDiagram.svelte +2 -0
- package/dist/lib/components/MermaidInit.svelte +2 -0
- package/dist/lib/components/TableOfContents.svelte +114 -125
- package/dist/lib/components/TableOfContents.svelte.d.ts +11 -4
- package/dist/lib/components/TagIndex.svelte +42 -0
- package/dist/lib/components/TagIndex.svelte.d.ts +14 -0
- package/dist/lib/components/TagList.svelte +45 -0
- package/dist/lib/components/TagList.svelte.d.ts +15 -0
- package/dist/lib/components/TocPanel.svelte +27 -9
- package/dist/lib/components/TocPanel.svelte.d.ts +10 -3
- package/dist/lib/components/enhance.d.ts +29 -0
- package/dist/lib/components/enhance.js +179 -0
- package/dist/lib/components/mount.d.ts +14 -0
- package/dist/lib/components/mount.js +36 -0
- package/dist/lib/components/sidebar.d.ts +33 -0
- package/dist/lib/components/sidebar.js +84 -0
- package/dist/lib/content/browser.d.ts +6 -0
- package/dist/lib/content/browser.js +5 -0
- package/dist/lib/content/index.d.ts +13 -0
- package/dist/lib/content/index.js +12 -0
- package/dist/lib/content/load.d.ts +77 -0
- package/dist/lib/content/load.js +366 -0
- package/dist/lib/content/nav.d.ts +36 -0
- package/dist/lib/content/nav.js +81 -0
- package/dist/lib/content/render.d.ts +38 -0
- package/dist/lib/content/render.js +84 -0
- package/dist/lib/content/types.d.ts +90 -0
- package/dist/lib/content/types.js +5 -0
- package/dist/lib/index.d.ts +16 -2
- package/dist/lib/index.js +16 -2
- package/dist/lib/parser/api.d.ts +12 -0
- package/dist/lib/parser/api.js +10 -0
- package/dist/lib/parser/extensions.d.ts +51 -17
- package/dist/lib/parser/extensions.js +133 -60
- package/dist/lib/parser/index.d.ts +9 -2
- package/dist/lib/parser/index.js +125 -35
- package/dist/lib/parser/slug.d.ts +19 -0
- package/dist/lib/parser/slug.js +55 -0
- package/dist/lib/sanitize/index.d.ts +11 -0
- package/dist/lib/sanitize/index.js +122 -0
- package/dist/lib/search/index.d.ts +57 -0
- package/dist/lib/search/index.js +82 -0
- package/dist/lib/styles/markdown.css +161 -1
- package/dist/lib/types/frontmatter.d.ts +32 -0
- package/dist/lib/vite/index.d.ts +17 -0
- package/dist/lib/vite/index.js +38 -0
- package/package.json +51 -4
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Shapes of the docs content model built by `loadDocs` and `renderDocs`.
|
|
3
|
+
* Plain data: safe to serialize into a bundle and to import from client code.
|
|
4
|
+
*/
|
|
5
|
+
import type { FrontmatterData } from '../types/frontmatter.js';
|
|
6
|
+
import type { TocEntry } from '../types/docs.js';
|
|
7
|
+
/** One sidebar entry. A category's `route` is its linked doc or generated-index page. */
|
|
8
|
+
export type NavItem = {
|
|
9
|
+
type: 'page';
|
|
10
|
+
title: string;
|
|
11
|
+
route: string;
|
|
12
|
+
} | {
|
|
13
|
+
type: 'category';
|
|
14
|
+
label: string;
|
|
15
|
+
route?: string;
|
|
16
|
+
/** From `_category_.json`. Undefined means the site's default. */
|
|
17
|
+
collapsible?: boolean;
|
|
18
|
+
collapsed?: boolean;
|
|
19
|
+
items: NavItem[];
|
|
20
|
+
};
|
|
21
|
+
/** A markdown file, with its links rewritten to site routes. */
|
|
22
|
+
export interface DocSource {
|
|
23
|
+
/** Site route, e.g. `/docs/it/network/vpn` (`index.md` maps to its folder) */
|
|
24
|
+
route: string;
|
|
25
|
+
/** Path under the docs directory, posix separators, e.g. `it/network/vpn/index.md` */
|
|
26
|
+
file: string;
|
|
27
|
+
/** ID of the sidebar the page belongs to, or null when it sits outside every sidebar root */
|
|
28
|
+
sidebar: string | null;
|
|
29
|
+
/** `title` front matter, else the first `# heading`, else the file name */
|
|
30
|
+
title: string;
|
|
31
|
+
/** `sidebar_label` front matter: the page's name in navigation (Docusaurus parity) */
|
|
32
|
+
sidebarLabel?: string;
|
|
33
|
+
description: string;
|
|
34
|
+
tags: string[];
|
|
35
|
+
/** `sidebar_position` front matter */
|
|
36
|
+
position?: number;
|
|
37
|
+
/** The page's full front matter, including fields this package doesn't know */
|
|
38
|
+
frontmatter: FrontmatterData;
|
|
39
|
+
/** Markdown body (no front matter), links resolved */
|
|
40
|
+
markdown: string;
|
|
41
|
+
}
|
|
42
|
+
/** A sidebar autogenerated from one directory, as Docusaurus `{type: 'autogenerated', dirName}` does. */
|
|
43
|
+
export interface Sidebar {
|
|
44
|
+
/** The directory it was generated from (relative to the docs dir), or `default` for the root */
|
|
45
|
+
id: string;
|
|
46
|
+
/** The directory, relative to the docs dir ('' for the root) */
|
|
47
|
+
dir: string;
|
|
48
|
+
/** `_category_.json` label of the directory, else its name */
|
|
49
|
+
label: string;
|
|
50
|
+
/** `_category_.json` position of the directory */
|
|
51
|
+
position?: number;
|
|
52
|
+
/** Route of the directory itself */
|
|
53
|
+
route: string;
|
|
54
|
+
/** The directory's index page if it has one, else its shallowest, lowest-positioned page */
|
|
55
|
+
landingRoute: string;
|
|
56
|
+
items: NavItem[];
|
|
57
|
+
}
|
|
58
|
+
/** A generated-index page (`_category_.json` `link: { type: 'generated-index' }`). */
|
|
59
|
+
export interface CategoryPage {
|
|
60
|
+
route: string;
|
|
61
|
+
sidebar: string;
|
|
62
|
+
title: string;
|
|
63
|
+
description: string;
|
|
64
|
+
/** The category's items, in sidebar order */
|
|
65
|
+
items: NavItem[];
|
|
66
|
+
}
|
|
67
|
+
export interface Tag {
|
|
68
|
+
id: string;
|
|
69
|
+
label: string;
|
|
70
|
+
description: string;
|
|
71
|
+
}
|
|
72
|
+
export interface DocsContent {
|
|
73
|
+
pages: DocSource[];
|
|
74
|
+
sidebars: Sidebar[];
|
|
75
|
+
categories: CategoryPage[];
|
|
76
|
+
/** The tag vocabulary when one was given, else every tag used, in first-use order */
|
|
77
|
+
tags: Tag[];
|
|
78
|
+
/** Non-fatal problems, e.g. broken links when `onBrokenLinks` is `'warn'` */
|
|
79
|
+
warnings: string[];
|
|
80
|
+
}
|
|
81
|
+
/** A page after `renderDocs`: HTML instead of markdown, plus what layouts and search need. */
|
|
82
|
+
export interface RenderedDoc extends Omit<DocSource, 'markdown'> {
|
|
83
|
+
html: string;
|
|
84
|
+
/** Headings with IDs, all levels */
|
|
85
|
+
toc: TocEntry[];
|
|
86
|
+
/** Whether the body has its own `<h1>`. When it doesn't, the layout shows `title`. */
|
|
87
|
+
hasH1: boolean;
|
|
88
|
+
/** Searchable plain text: the page without markup, code blocks or diagrams */
|
|
89
|
+
text: string;
|
|
90
|
+
}
|
package/dist/lib/index.d.ts
CHANGED
|
@@ -5,11 +5,15 @@
|
|
|
5
5
|
* with syntax highlighting, frontmatter support, and rich markdown extensions.
|
|
6
6
|
*
|
|
7
7
|
* Supported Markdown Extensions:
|
|
8
|
-
* - Admonitions/Callouts: :::note, :::tip, :::warning, :::important, :::caution
|
|
8
|
+
* - Admonitions/Callouts: :::note, :::info, :::tip, :::warning, :::important, :::caution, :::danger
|
|
9
9
|
* - Footnotes: [^1] references and [^1]: definitions
|
|
10
10
|
* - Definition Lists: Term followed by : Definition
|
|
11
11
|
* - Mermaid Diagrams: ```mermaid code blocks (rendered client-side)
|
|
12
12
|
*
|
|
13
|
+
* Node/server code (build scripts, loaders) should import the pipeline from
|
|
14
|
+
* `@classic-homes/theme-docs/parser`, which has no Svelte imports, and sanitize
|
|
15
|
+
* rendered HTML with `@classic-homes/theme-docs/sanitize`.
|
|
16
|
+
*
|
|
13
17
|
* @packageDocumentation
|
|
14
18
|
*/
|
|
15
19
|
export { default as MarkdownPage } from './components/MarkdownPage.svelte';
|
|
@@ -20,10 +24,20 @@ export { default as TableOfContents } from './components/TableOfContents.svelte'
|
|
|
20
24
|
export { default as TocPanel } from './components/TocPanel.svelte';
|
|
21
25
|
export { default as MermaidDiagram } from './components/MermaidDiagram.svelte';
|
|
22
26
|
export { default as MermaidInit } from './components/MermaidInit.svelte';
|
|
27
|
+
export { default as DocPage } from './components/DocPage.svelte';
|
|
28
|
+
export { default as CategoryIndex } from './components/CategoryIndex.svelte';
|
|
29
|
+
export { default as Breadcrumbs } from './components/Breadcrumbs.svelte';
|
|
30
|
+
export { default as DocPager } from './components/DocPager.svelte';
|
|
31
|
+
export { default as TagList } from './components/TagList.svelte';
|
|
32
|
+
export { default as TagIndex } from './components/TagIndex.svelte';
|
|
33
|
+
export { mountComponents } from './components/mount.js';
|
|
34
|
+
export { enhanceCodeBlocks, highlightTerms, labelDiagram } from './components/enhance.js';
|
|
35
|
+
export { toSidebarNav, revealActive, type ToSidebarNavOptions } from './components/sidebar.js';
|
|
23
36
|
export type { AuthorInfo, FrontmatterData, ParsedMarkdown, ParseOptions, MarkdownPageProps, } from './types/frontmatter.js';
|
|
24
37
|
export type { DocsItem, DocsSection, DocsHubConfig, DocsHubProps, DocsCardProps, TocEntry, TableOfContentsProps, } from './types/docs.js';
|
|
25
38
|
export { parseMarkdown, extractToc } from './parser/index.js';
|
|
39
|
+
export { createSlugger, type HeadingIdStyle } from './parser/slug.js';
|
|
26
40
|
export { highlightCode, getHighlighter, escapeHtml } from './highlighter/index.js';
|
|
27
41
|
export { cn } from './utils.js';
|
|
28
|
-
export { ADMONITION_TYPES, type AdmonitionType, admonitionExtension, footnoteExtension, definitionListExtension, mermaidExtension, getAllExtensions, resetFootnoteStore, renderFootnotes, } from './parser/extensions.js';
|
|
42
|
+
export { ADMONITION_TYPES, type AdmonitionType, admonitionExtension, footnoteExtension, definitionListExtension, mermaidExtension, componentExtension, getAllExtensions, createFootnoteStore, type FootnoteStore, resetFootnoteStore, renderFootnotes, renderMermaidPlaceholder, } from './parser/extensions.js';
|
|
29
43
|
export { tv, type VariantProps } from 'tailwind-variants';
|
package/dist/lib/index.js
CHANGED
|
@@ -5,11 +5,15 @@
|
|
|
5
5
|
* with syntax highlighting, frontmatter support, and rich markdown extensions.
|
|
6
6
|
*
|
|
7
7
|
* Supported Markdown Extensions:
|
|
8
|
-
* - Admonitions/Callouts: :::note, :::tip, :::warning, :::important, :::caution
|
|
8
|
+
* - Admonitions/Callouts: :::note, :::info, :::tip, :::warning, :::important, :::caution, :::danger
|
|
9
9
|
* - Footnotes: [^1] references and [^1]: definitions
|
|
10
10
|
* - Definition Lists: Term followed by : Definition
|
|
11
11
|
* - Mermaid Diagrams: ```mermaid code blocks (rendered client-side)
|
|
12
12
|
*
|
|
13
|
+
* Node/server code (build scripts, loaders) should import the pipeline from
|
|
14
|
+
* `@classic-homes/theme-docs/parser`, which has no Svelte imports, and sanitize
|
|
15
|
+
* rendered HTML with `@classic-homes/theme-docs/sanitize`.
|
|
16
|
+
*
|
|
13
17
|
* @packageDocumentation
|
|
14
18
|
*/
|
|
15
19
|
// Components
|
|
@@ -21,11 +25,21 @@ export { default as TableOfContents } from './components/TableOfContents.svelte'
|
|
|
21
25
|
export { default as TocPanel } from './components/TocPanel.svelte';
|
|
22
26
|
export { default as MermaidDiagram } from './components/MermaidDiagram.svelte';
|
|
23
27
|
export { default as MermaidInit } from './components/MermaidInit.svelte';
|
|
28
|
+
export { default as DocPage } from './components/DocPage.svelte';
|
|
29
|
+
export { default as CategoryIndex } from './components/CategoryIndex.svelte';
|
|
30
|
+
export { default as Breadcrumbs } from './components/Breadcrumbs.svelte';
|
|
31
|
+
export { default as DocPager } from './components/DocPager.svelte';
|
|
32
|
+
export { default as TagList } from './components/TagList.svelte';
|
|
33
|
+
export { default as TagIndex } from './components/TagIndex.svelte';
|
|
34
|
+
export { mountComponents } from './components/mount.js';
|
|
35
|
+
export { enhanceCodeBlocks, highlightTerms, labelDiagram } from './components/enhance.js';
|
|
36
|
+
export { toSidebarNav, revealActive } from './components/sidebar.js';
|
|
24
37
|
// Utilities
|
|
25
38
|
export { parseMarkdown, extractToc } from './parser/index.js';
|
|
39
|
+
export { createSlugger } from './parser/slug.js';
|
|
26
40
|
export { highlightCode, getHighlighter, escapeHtml } from './highlighter/index.js';
|
|
27
41
|
export { cn } from './utils.js';
|
|
28
42
|
// Markdown Extensions
|
|
29
|
-
export { ADMONITION_TYPES, admonitionExtension, footnoteExtension, definitionListExtension, mermaidExtension, getAllExtensions, resetFootnoteStore, renderFootnotes, } from './parser/extensions.js';
|
|
43
|
+
export { ADMONITION_TYPES, admonitionExtension, footnoteExtension, definitionListExtension, mermaidExtension, componentExtension, getAllExtensions, createFootnoteStore, resetFootnoteStore, renderFootnotes, renderMermaidPlaceholder, } from './parser/extensions.js';
|
|
30
44
|
// Re-export tailwind-variants types for consumer convenience
|
|
31
45
|
export { tv } from 'tailwind-variants';
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `@classic-homes/theme-docs/parser` — the markdown pipeline without any Svelte imports.
|
|
3
|
+
*
|
|
4
|
+
* Safe to load in Node (build scripts, server loaders, workers) and in non-Svelte bundles
|
|
5
|
+
* such as a CMS preview. The package root re-exports all of this alongside the components.
|
|
6
|
+
*/
|
|
7
|
+
export { parseMarkdown, extractToc } from './index.js';
|
|
8
|
+
export { createSlugger, type HeadingIdStyle } from './slug.js';
|
|
9
|
+
export { ADMONITION_TYPES, type AdmonitionType, admonitionExtension, footnoteExtension, definitionListExtension, mermaidExtension, componentExtension, getAllExtensions, createFootnoteStore, type FootnoteStore, resetFootnoteStore, renderFootnotes, renderMermaidPlaceholder, } from './extensions.js';
|
|
10
|
+
export { highlightCode, getHighlighter, escapeHtml } from '../highlighter/index.js';
|
|
11
|
+
export type { AuthorInfo, FrontmatterData, ParsedMarkdown, ParseOptions, } from '../types/frontmatter.js';
|
|
12
|
+
export type { TocEntry } from '../types/docs.js';
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `@classic-homes/theme-docs/parser` — the markdown pipeline without any Svelte imports.
|
|
3
|
+
*
|
|
4
|
+
* Safe to load in Node (build scripts, server loaders, workers) and in non-Svelte bundles
|
|
5
|
+
* such as a CMS preview. The package root re-exports all of this alongside the components.
|
|
6
|
+
*/
|
|
7
|
+
export { parseMarkdown, extractToc } from './index.js';
|
|
8
|
+
export { createSlugger } from './slug.js';
|
|
9
|
+
export { ADMONITION_TYPES, admonitionExtension, footnoteExtension, definitionListExtension, mermaidExtension, componentExtension, getAllExtensions, createFootnoteStore, resetFootnoteStore, renderFootnotes, renderMermaidPlaceholder, } from './extensions.js';
|
|
10
|
+
export { highlightCode, getHighlighter, escapeHtml } from '../highlighter/index.js';
|
|
@@ -2,16 +2,17 @@
|
|
|
2
2
|
* Marked Extensions for Enhanced Markdown Features
|
|
3
3
|
*
|
|
4
4
|
* Provides support for:
|
|
5
|
-
* - Admonitions/Callouts (note, tip, warning, important, caution)
|
|
5
|
+
* - Admonitions/Callouts (note, info, tip, warning, important, caution, danger)
|
|
6
6
|
* - Footnotes
|
|
7
7
|
* - Definition Lists
|
|
8
8
|
* - Mermaid diagram placeholders (rendered client-side)
|
|
9
|
+
* - Component placeholders for allowlisted `<Name prop="…" />` tags (mounted client-side)
|
|
9
10
|
*/
|
|
10
|
-
import type { MarkedExtension } from 'marked';
|
|
11
|
+
import type { MarkedExtension, Tokens } from 'marked';
|
|
11
12
|
/**
|
|
12
13
|
* Admonition types and their corresponding icons/classes
|
|
13
14
|
*/
|
|
14
|
-
export declare const ADMONITION_TYPES: readonly ["note", "tip", "warning", "important", "caution"];
|
|
15
|
+
export declare const ADMONITION_TYPES: readonly ["note", "info", "tip", "warning", "important", "caution", "danger"];
|
|
15
16
|
export type AdmonitionType = (typeof ADMONITION_TYPES)[number];
|
|
16
17
|
/**
|
|
17
18
|
* Admonition extension for marked
|
|
@@ -24,10 +25,33 @@ export type AdmonitionType = (typeof ADMONITION_TYPES)[number];
|
|
|
24
25
|
* :::warning Title Here
|
|
25
26
|
* This is a warning with a custom title
|
|
26
27
|
* :::
|
|
28
|
+
*
|
|
29
|
+
* :::tip[Title Here]
|
|
30
|
+
* The bracketed title form, as written for Docusaurus (remark-directive)
|
|
31
|
+
* :::
|
|
32
|
+
*
|
|
33
|
+
* Titles are inline markdown, so `code` and *emphasis* render.
|
|
27
34
|
*/
|
|
28
35
|
export declare function admonitionExtension(): MarkedExtension;
|
|
29
36
|
/**
|
|
30
|
-
*
|
|
37
|
+
* Footnotes collected while parsing one document.
|
|
38
|
+
*
|
|
39
|
+
* Each `parseMarkdown` call creates its own store, so concurrent parses (e.g. a server
|
|
40
|
+
* rendering many pages at once) never mix up each other's footnotes.
|
|
41
|
+
*/
|
|
42
|
+
export interface FootnoteStore {
|
|
43
|
+
definitions: Map<string, {
|
|
44
|
+
content: string;
|
|
45
|
+
tokens: Tokens.Generic[];
|
|
46
|
+
}>;
|
|
47
|
+
references: Set<string>;
|
|
48
|
+
}
|
|
49
|
+
export declare function createFootnoteStore(): FootnoteStore;
|
|
50
|
+
/**
|
|
51
|
+
* Reset the default footnote store.
|
|
52
|
+
*
|
|
53
|
+
* @deprecated `parseMarkdown` now keeps a store per call. Only needed if you build a
|
|
54
|
+
* `Marked` instance yourself from `footnoteExtension()` without passing a store.
|
|
31
55
|
*/
|
|
32
56
|
export declare function resetFootnoteStore(): void;
|
|
33
57
|
/**
|
|
@@ -38,23 +62,16 @@ export declare function resetFootnoteStore(): void;
|
|
|
38
62
|
*
|
|
39
63
|
* [^1]: This is the footnote content.
|
|
40
64
|
*/
|
|
41
|
-
export declare function footnoteExtension(): MarkedExtension;
|
|
65
|
+
export declare function footnoteExtension(store?: FootnoteStore): MarkedExtension;
|
|
42
66
|
/**
|
|
43
67
|
* Render collected footnotes as a section
|
|
44
68
|
* Call this after parsing to get the footnotes HTML
|
|
45
|
-
*/
|
|
46
|
-
export declare function renderFootnotes(): string;
|
|
47
|
-
/**
|
|
48
|
-
* Definition list extension for marked
|
|
49
69
|
*
|
|
50
|
-
*
|
|
51
|
-
*
|
|
52
|
-
*
|
|
53
|
-
*
|
|
54
|
-
* Term 2
|
|
55
|
-
* : Definition for term 2
|
|
56
|
-
* : Another definition for term 2
|
|
70
|
+
* @param store - The store the footnote extension wrote to (default: the shared store)
|
|
71
|
+
* @param renderInline - Renders a footnote's inline tokens to HTML. Without it the
|
|
72
|
+
* footnote text is escaped and shown as written.
|
|
57
73
|
*/
|
|
74
|
+
export declare function renderFootnotes(store?: FootnoteStore, renderInline?: (tokens: Tokens.Generic[]) => string): string;
|
|
58
75
|
export declare function definitionListExtension(): MarkedExtension;
|
|
59
76
|
/**
|
|
60
77
|
* Mermaid code block extension for marked
|
|
@@ -68,8 +85,25 @@ export declare function definitionListExtension(): MarkedExtension;
|
|
|
68
85
|
* A --> B
|
|
69
86
|
* ```
|
|
70
87
|
*/
|
|
88
|
+
export declare function renderMermaidPlaceholder(code: string): string;
|
|
71
89
|
export declare function mermaidExtension(): MarkedExtension;
|
|
90
|
+
/**
|
|
91
|
+
* Component placeholder extension for marked
|
|
92
|
+
*
|
|
93
|
+
* Syntax (on a line of its own, string props only):
|
|
94
|
+
* <RequestForm id="ai-use-request" />
|
|
95
|
+
*
|
|
96
|
+
* Renders an empty placeholder that `mountComponents` fills with the real component:
|
|
97
|
+
* <div data-component="RequestForm" data-props="{"id":"ai-use-request"}"></div>
|
|
98
|
+
*
|
|
99
|
+
* Only names in `names` are recognised, so any other tag stays ordinary HTML. This lets
|
|
100
|
+
* MDX-style pages render without an MDX compiler.
|
|
101
|
+
*/
|
|
102
|
+
export declare function componentExtension(names: readonly string[]): MarkedExtension;
|
|
72
103
|
/**
|
|
73
104
|
* Get all markdown extensions
|
|
105
|
+
*
|
|
106
|
+
* @param components - Names of components to render as placeholders (see `componentExtension`)
|
|
107
|
+
* @param footnotes - Store for this document's footnotes (default: the shared store)
|
|
74
108
|
*/
|
|
75
|
-
export declare function getAllExtensions(): MarkedExtension[];
|
|
109
|
+
export declare function getAllExtensions(components?: readonly string[], footnotes?: FootnoteStore): MarkedExtension[];
|