@marp-team/marp-core 2.3.0 → 3.0.2

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.
@@ -0,0 +1,312 @@
1
+ declare type Constructor<T = {}> = new (...args: any[]) => T;
2
+ export declare const createMarpCustomElement: <T extends Constructor<HTMLElement>>(Base: T, { attrs, style }: {
3
+ attrs?: Record<string, string> | undefined;
4
+ style?: string | undefined;
5
+ }) => {
6
+ new (...args: any[]): {
7
+ shadowRoot: ShadowRoot;
8
+ connectedCallback(): void;
9
+ attributeChangedCallback(): void;
10
+ _update(): void;
11
+ accessKey: string;
12
+ readonly accessKeyLabel: string;
13
+ autocapitalize: string;
14
+ dir: string;
15
+ draggable: boolean;
16
+ hidden: boolean;
17
+ innerText: string;
18
+ lang: string;
19
+ readonly offsetHeight: number;
20
+ readonly offsetLeft: number;
21
+ readonly offsetParent: Element | null;
22
+ readonly offsetTop: number;
23
+ readonly offsetWidth: number;
24
+ outerText: string;
25
+ spellcheck: boolean;
26
+ title: string;
27
+ translate: boolean;
28
+ attachInternals(): ElementInternals;
29
+ click(): void;
30
+ addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions | undefined): void;
31
+ addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions | undefined): void;
32
+ removeEventListener<K_1 extends keyof HTMLElementEventMap>(type: K_1, listener: (this: HTMLElement, ev: HTMLElementEventMap[K_1]) => any, options?: boolean | EventListenerOptions | undefined): void;
33
+ removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions | undefined): void;
34
+ readonly attributes: NamedNodeMap;
35
+ readonly classList: DOMTokenList;
36
+ className: string;
37
+ readonly clientHeight: number;
38
+ readonly clientLeft: number;
39
+ readonly clientTop: number;
40
+ readonly clientWidth: number;
41
+ id: string;
42
+ readonly localName: string;
43
+ readonly namespaceURI: string | null;
44
+ onfullscreenchange: ((this: Element, ev: Event) => any) | null;
45
+ onfullscreenerror: ((this: Element, ev: Event) => any) | null;
46
+ outerHTML: string;
47
+ readonly ownerDocument: Document;
48
+ readonly part: DOMTokenList;
49
+ readonly prefix: string | null;
50
+ readonly scrollHeight: number;
51
+ scrollLeft: number;
52
+ scrollTop: number;
53
+ readonly scrollWidth: number;
54
+ slot: string;
55
+ readonly tagName: string;
56
+ attachShadow(init: ShadowRootInit): ShadowRoot;
57
+ closest<K_2 extends keyof HTMLElementTagNameMap>(selector: K_2): HTMLElementTagNameMap[K_2] | null;
58
+ closest<K_3 extends keyof SVGElementTagNameMap>(selector: K_3): SVGElementTagNameMap[K_3] | null;
59
+ closest<E extends Element = Element>(selectors: string): E | null;
60
+ getAttribute(qualifiedName: string): string | null;
61
+ getAttributeNS(namespace: string | null, localName: string): string | null;
62
+ getAttributeNames(): string[];
63
+ getAttributeNode(qualifiedName: string): Attr | null;
64
+ getAttributeNodeNS(namespace: string | null, localName: string): Attr | null;
65
+ getBoundingClientRect(): DOMRect;
66
+ getClientRects(): DOMRectList;
67
+ getElementsByClassName(classNames: string): HTMLCollectionOf<Element>;
68
+ getElementsByTagName<K_4 extends keyof HTMLElementTagNameMap>(qualifiedName: K_4): HTMLCollectionOf<HTMLElementTagNameMap[K_4]>;
69
+ getElementsByTagName<K_5 extends keyof SVGElementTagNameMap>(qualifiedName: K_5): HTMLCollectionOf<SVGElementTagNameMap[K_5]>;
70
+ getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>;
71
+ getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;
72
+ getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;
73
+ getElementsByTagNameNS(namespace: string | null, localName: string): HTMLCollectionOf<Element>;
74
+ hasAttribute(qualifiedName: string): boolean;
75
+ hasAttributeNS(namespace: string | null, localName: string): boolean;
76
+ hasAttributes(): boolean;
77
+ hasPointerCapture(pointerId: number): boolean;
78
+ insertAdjacentElement(where: InsertPosition, element: Element): Element | null;
79
+ insertAdjacentHTML(position: InsertPosition, text: string): void;
80
+ insertAdjacentText(where: InsertPosition, data: string): void;
81
+ matches(selectors: string): boolean;
82
+ releasePointerCapture(pointerId: number): void;
83
+ removeAttribute(qualifiedName: string): void;
84
+ removeAttributeNS(namespace: string | null, localName: string): void;
85
+ removeAttributeNode(attr: Attr): Attr;
86
+ requestFullscreen(options?: FullscreenOptions | undefined): Promise<void>;
87
+ requestPointerLock(): void;
88
+ scroll(options?: ScrollToOptions | undefined): void;
89
+ scroll(x: number, y: number): void;
90
+ scrollBy(options?: ScrollToOptions | undefined): void;
91
+ scrollBy(x: number, y: number): void;
92
+ scrollIntoView(arg?: boolean | ScrollIntoViewOptions | undefined): void;
93
+ scrollTo(options?: ScrollToOptions | undefined): void;
94
+ scrollTo(x: number, y: number): void;
95
+ setAttribute(qualifiedName: string, value: string): void;
96
+ setAttributeNS(namespace: string | null, qualifiedName: string, value: string): void;
97
+ setAttributeNode(attr: Attr): Attr | null;
98
+ setAttributeNodeNS(attr: Attr): Attr | null;
99
+ setPointerCapture(pointerId: number): void;
100
+ toggleAttribute(qualifiedName: string, force?: boolean | undefined): boolean;
101
+ webkitMatchesSelector(selectors: string): boolean;
102
+ readonly baseURI: string;
103
+ readonly childNodes: NodeListOf<ChildNode>;
104
+ readonly firstChild: ChildNode | null;
105
+ readonly isConnected: boolean;
106
+ readonly lastChild: ChildNode | null;
107
+ readonly nextSibling: ChildNode | null;
108
+ readonly nodeName: string;
109
+ readonly nodeType: number;
110
+ nodeValue: string | null;
111
+ readonly parentElement: HTMLElement | null;
112
+ readonly parentNode: ParentNode | null;
113
+ readonly previousSibling: ChildNode | null;
114
+ textContent: string | null;
115
+ appendChild<T_1 extends Node>(node: T_1): T_1;
116
+ cloneNode(deep?: boolean | undefined): Node;
117
+ compareDocumentPosition(other: Node): number;
118
+ contains(other: Node | null): boolean;
119
+ getRootNode(options?: GetRootNodeOptions | undefined): Node;
120
+ hasChildNodes(): boolean;
121
+ insertBefore<T_2 extends Node>(node: T_2, child: Node | null): T_2;
122
+ isDefaultNamespace(namespace: string | null): boolean;
123
+ isEqualNode(otherNode: Node | null): boolean;
124
+ isSameNode(otherNode: Node | null): boolean;
125
+ lookupNamespaceURI(prefix: string | null): string | null;
126
+ lookupPrefix(namespace: string | null): string | null;
127
+ normalize(): void;
128
+ removeChild<T_3 extends Node>(child: T_3): T_3;
129
+ replaceChild<T_4 extends Node>(node: Node, child: T_4): T_4;
130
+ readonly ATTRIBUTE_NODE: number;
131
+ readonly CDATA_SECTION_NODE: number;
132
+ readonly COMMENT_NODE: number;
133
+ readonly DOCUMENT_FRAGMENT_NODE: number;
134
+ readonly DOCUMENT_NODE: number;
135
+ readonly DOCUMENT_POSITION_CONTAINED_BY: number;
136
+ readonly DOCUMENT_POSITION_CONTAINS: number;
137
+ readonly DOCUMENT_POSITION_DISCONNECTED: number;
138
+ readonly DOCUMENT_POSITION_FOLLOWING: number;
139
+ readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: number;
140
+ readonly DOCUMENT_POSITION_PRECEDING: number;
141
+ readonly DOCUMENT_TYPE_NODE: number;
142
+ readonly ELEMENT_NODE: number;
143
+ readonly ENTITY_NODE: number;
144
+ readonly ENTITY_REFERENCE_NODE: number;
145
+ readonly NOTATION_NODE: number;
146
+ readonly PROCESSING_INSTRUCTION_NODE: number;
147
+ readonly TEXT_NODE: number;
148
+ dispatchEvent(event: Event): boolean;
149
+ ariaAtomic: string;
150
+ ariaAutoComplete: string;
151
+ ariaBusy: string;
152
+ ariaChecked: string;
153
+ ariaColCount: string;
154
+ ariaColIndex: string;
155
+ ariaColSpan: string;
156
+ ariaCurrent: string;
157
+ ariaDisabled: string;
158
+ ariaExpanded: string;
159
+ ariaHasPopup: string;
160
+ ariaHidden: string;
161
+ ariaKeyShortcuts: string;
162
+ ariaLabel: string;
163
+ ariaLevel: string;
164
+ ariaLive: string;
165
+ ariaModal: string;
166
+ ariaMultiLine: string;
167
+ ariaMultiSelectable: string;
168
+ ariaOrientation: string;
169
+ ariaPlaceholder: string;
170
+ ariaPosInSet: string;
171
+ ariaPressed: string;
172
+ ariaReadOnly: string;
173
+ ariaRequired: string;
174
+ ariaRoleDescription: string;
175
+ ariaRowCount: string;
176
+ ariaRowIndex: string;
177
+ ariaRowSpan: string;
178
+ ariaSelected: string;
179
+ ariaSetSize: string;
180
+ ariaSort: string;
181
+ ariaValueMax: string;
182
+ ariaValueMin: string;
183
+ ariaValueNow: string;
184
+ ariaValueText: string;
185
+ animate(keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions | undefined): Animation;
186
+ getAnimations(options?: GetAnimationsOptions | undefined): Animation[];
187
+ after(...nodes: (string | Node)[]): void;
188
+ before(...nodes: (string | Node)[]): void;
189
+ remove(): void;
190
+ replaceWith(...nodes: (string | Node)[]): void;
191
+ innerHTML: string;
192
+ readonly nextElementSibling: Element | null;
193
+ readonly previousElementSibling: Element | null;
194
+ readonly childElementCount: number;
195
+ readonly children: HTMLCollection;
196
+ readonly firstElementChild: Element | null;
197
+ readonly lastElementChild: Element | null;
198
+ append(...nodes: (string | Node)[]): void;
199
+ prepend(...nodes: (string | Node)[]): void;
200
+ querySelector<K_6 extends keyof HTMLElementTagNameMap>(selectors: K_6): HTMLElementTagNameMap[K_6] | null;
201
+ querySelector<K_7 extends keyof SVGElementTagNameMap>(selectors: K_7): SVGElementTagNameMap[K_7] | null;
202
+ querySelector<E_1 extends Element = Element>(selectors: string): E_1 | null;
203
+ querySelectorAll<K_8 extends keyof HTMLElementTagNameMap>(selectors: K_8): NodeListOf<HTMLElementTagNameMap[K_8]>;
204
+ querySelectorAll<K_9 extends keyof SVGElementTagNameMap>(selectors: K_9): NodeListOf<SVGElementTagNameMap[K_9]>;
205
+ querySelectorAll<E_2 extends Element = Element>(selectors: string): NodeListOf<E_2>;
206
+ replaceChildren(...nodes: (string | Node)[]): void;
207
+ readonly assignedSlot: HTMLSlotElement | null;
208
+ oncopy: ((this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any) | null;
209
+ oncut: ((this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any) | null;
210
+ onpaste: ((this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any) | null;
211
+ readonly style: CSSStyleDeclaration;
212
+ contentEditable: string;
213
+ enterKeyHint: string;
214
+ inputMode: string;
215
+ readonly isContentEditable: boolean;
216
+ onabort: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;
217
+ onanimationcancel: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
218
+ onanimationend: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
219
+ onanimationiteration: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
220
+ onanimationstart: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
221
+ onauxclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
222
+ onblur: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
223
+ oncanplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
224
+ oncanplaythrough: ((this: GlobalEventHandlers, ev: Event) => any) | null;
225
+ onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
226
+ onclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
227
+ onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
228
+ oncontextmenu: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
229
+ oncuechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
230
+ ondblclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
231
+ ondrag: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
232
+ ondragend: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
233
+ ondragenter: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
234
+ ondragleave: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
235
+ ondragover: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
236
+ ondragstart: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
237
+ ondrop: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
238
+ ondurationchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
239
+ onemptied: ((this: GlobalEventHandlers, ev: Event) => any) | null;
240
+ onended: ((this: GlobalEventHandlers, ev: Event) => any) | null;
241
+ onerror: OnErrorEventHandler;
242
+ onfocus: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
243
+ onformdata: ((this: GlobalEventHandlers, ev: FormDataEvent) => any) | null;
244
+ ongotpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
245
+ oninput: ((this: GlobalEventHandlers, ev: Event) => any) | null;
246
+ oninvalid: ((this: GlobalEventHandlers, ev: Event) => any) | null;
247
+ onkeydown: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
248
+ onkeypress: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
249
+ onkeyup: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
250
+ onload: ((this: GlobalEventHandlers, ev: Event) => any) | null;
251
+ onloadeddata: ((this: GlobalEventHandlers, ev: Event) => any) | null;
252
+ onloadedmetadata: ((this: GlobalEventHandlers, ev: Event) => any) | null;
253
+ onloadstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
254
+ onlostpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
255
+ onmousedown: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
256
+ onmouseenter: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
257
+ onmouseleave: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
258
+ onmousemove: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
259
+ onmouseout: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
260
+ onmouseover: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
261
+ onmouseup: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
262
+ onpause: ((this: GlobalEventHandlers, ev: Event) => any) | null;
263
+ onplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
264
+ onplaying: ((this: GlobalEventHandlers, ev: Event) => any) | null;
265
+ onpointercancel: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
266
+ onpointerdown: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
267
+ onpointerenter: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
268
+ onpointerleave: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
269
+ onpointermove: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
270
+ onpointerout: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
271
+ onpointerover: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
272
+ onpointerup: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
273
+ onprogress: ((this: GlobalEventHandlers, ev: ProgressEvent<EventTarget>) => any) | null;
274
+ onratechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
275
+ onreset: ((this: GlobalEventHandlers, ev: Event) => any) | null;
276
+ onresize: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;
277
+ onscroll: ((this: GlobalEventHandlers, ev: Event) => any) | null;
278
+ onseeked: ((this: GlobalEventHandlers, ev: Event) => any) | null;
279
+ onseeking: ((this: GlobalEventHandlers, ev: Event) => any) | null;
280
+ onselect: ((this: GlobalEventHandlers, ev: Event) => any) | null;
281
+ onselectionchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
282
+ onselectstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
283
+ onstalled: ((this: GlobalEventHandlers, ev: Event) => any) | null;
284
+ onsubmit: ((this: GlobalEventHandlers, ev: SubmitEvent) => any) | null;
285
+ onsuspend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
286
+ ontimeupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
287
+ ontoggle: ((this: GlobalEventHandlers, ev: Event) => any) | null;
288
+ ontouchcancel?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
289
+ ontouchend?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
290
+ ontouchmove?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
291
+ ontouchstart?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
292
+ ontransitioncancel: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
293
+ ontransitionend: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
294
+ ontransitionrun: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
295
+ ontransitionstart: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
296
+ onvolumechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
297
+ onwaiting: ((this: GlobalEventHandlers, ev: Event) => any) | null;
298
+ onwebkitanimationend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
299
+ onwebkitanimationiteration: ((this: GlobalEventHandlers, ev: Event) => any) | null;
300
+ onwebkitanimationstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
301
+ onwebkittransitionend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
302
+ onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
303
+ autofocus: boolean;
304
+ readonly dataset: DOMStringMap;
305
+ nonce?: string | undefined;
306
+ tabIndex: number;
307
+ blur(): void;
308
+ focus(options?: FocusOptions | undefined): void;
309
+ };
310
+ readonly observedAttributes: string[];
311
+ } & T;
312
+ export {};
@@ -0,0 +1,81 @@
1
+ export declare const elements: {
2
+ readonly h1: {
3
+ readonly proto: () => {
4
+ new (): HTMLHeadingElement;
5
+ prototype: HTMLHeadingElement;
6
+ };
7
+ readonly attrs: {
8
+ readonly role: "heading";
9
+ readonly 'aria-level': "1";
10
+ };
11
+ readonly style: "display: block; font-size: 2em; margin-block-start: 0.67em; margin-block-end: 0.67em; margin-inline-start: 0px; margin-inline-end: 0px; font-weight: bold;";
12
+ };
13
+ readonly h2: {
14
+ readonly proto: () => {
15
+ new (): HTMLHeadingElement;
16
+ prototype: HTMLHeadingElement;
17
+ };
18
+ readonly attrs: {
19
+ readonly role: "heading";
20
+ readonly 'aria-level': "2";
21
+ };
22
+ readonly style: "display: block; font-size: 1.5em; margin-block-start: 0.83em; margin-block-end: 0.83em; margin-inline-start: 0px; margin-inline-end: 0px; font-weight: bold;";
23
+ };
24
+ readonly h3: {
25
+ readonly proto: () => {
26
+ new (): HTMLHeadingElement;
27
+ prototype: HTMLHeadingElement;
28
+ };
29
+ readonly attrs: {
30
+ readonly role: "heading";
31
+ readonly 'aria-level': "3";
32
+ };
33
+ readonly style: "display: block; font-size: 1.17em; margin-block-start: 1em; margin-block-end: 1em; margin-inline-start: 0px; margin-inline-end: 0px; font-weight: bold;";
34
+ };
35
+ readonly h4: {
36
+ readonly proto: () => {
37
+ new (): HTMLHeadingElement;
38
+ prototype: HTMLHeadingElement;
39
+ };
40
+ readonly attrs: {
41
+ readonly role: "heading";
42
+ readonly 'aria-level': "4";
43
+ };
44
+ readonly style: "display: block; margin-block-start: 1.33em; margin-block-end: 1.33em; margin-inline-start: 0px; margin-inline-end: 0px; font-weight: bold;";
45
+ };
46
+ readonly h5: {
47
+ readonly proto: () => {
48
+ new (): HTMLHeadingElement;
49
+ prototype: HTMLHeadingElement;
50
+ };
51
+ readonly attrs: {
52
+ readonly role: "heading";
53
+ readonly 'aria-level': "5";
54
+ };
55
+ readonly style: "display: block; font-size: 0.83em; margin-block-start: 1.67em; margin-block-end: 1.67em; margin-inline-start: 0px; margin-inline-end: 0px; font-weight: bold;";
56
+ };
57
+ readonly h6: {
58
+ readonly proto: () => {
59
+ new (): HTMLHeadingElement;
60
+ prototype: HTMLHeadingElement;
61
+ };
62
+ readonly attrs: {
63
+ readonly role: "heading";
64
+ readonly 'aria-level': "6";
65
+ };
66
+ readonly style: "display: block; font-size: 0.67em; margin-block-start: 2.33em; margin-block-end: 2.33em; margin-inline-start: 0px; margin-inline-end: 0px; font-weight: bold;";
67
+ };
68
+ readonly span: {
69
+ readonly proto: () => {
70
+ new (): HTMLSpanElement;
71
+ prototype: HTMLSpanElement;
72
+ };
73
+ };
74
+ readonly pre: {
75
+ readonly proto: () => {
76
+ new (): HTMLElement;
77
+ prototype: HTMLElement;
78
+ };
79
+ readonly style: "display: block; font-family: monospace; white-space: pre; margin: 1em 0; --marp-auto-scaling-white-space: pre;";
80
+ };
81
+ };
@@ -0,0 +1 @@
1
+ export { customElementsPostCSSPlugin as css } from './postcss-plugin';
@@ -0,0 +1,2 @@
1
+ import type { Root } from 'postcss';
2
+ export declare const customElementsPostCSSPlugin: (root: Root) => void;
@@ -1,4 +1,4 @@
1
- export declare type MathPreferredLibrary = 'katex' | 'mathjax';
1
+ export declare type MathPreferredLibrary = 'mathjax' | 'katex';
2
2
  export interface MathOptionsInterface {
3
3
  lib?: MathPreferredLibrary;
4
4
  katexOption?: Record<string, unknown>;
@@ -1,5 +0,0 @@
1
- export declare const attr = "data-marp-fitting";
2
- export declare const code = "data-marp-fitting-code";
3
- export declare const math = "data-marp-fitting-math";
4
- export declare const svgContentAttr = "data-marp-fitting-svg-content";
5
- export declare const svgContentWrapAttr = "data-marp-fitting-svg-content-wrap";
@@ -1 +0,0 @@
1
- export default function fittingObserver(target?: ParentNode): void;