@prosemark/core 0.0.0 → 0.0.3
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/main.d.ts +94 -8
- package/dist/main.js +875 -0
- package/package.json +33 -29
- package/dist/basicSetup.d.ts +0 -9
- package/dist/classBasedEventHandler.d.ts +0 -1
- package/dist/clickLink.d.ts +0 -1
- package/dist/codeFenceExtension.d.ts +0 -3
- package/dist/fold/blockQuote.d.ts +0 -1
- package/dist/fold/bulletList.d.ts +0 -1
- package/dist/fold/core.d.ts +0 -14
- package/dist/fold/emoji.d.ts +0 -3
- package/dist/fold/horizontalRule.d.ts +0 -1
- package/dist/fold/image.d.ts +0 -1
- package/dist/fold/index.d.ts +0 -7
- package/dist/fold/task.d.ts +0 -1
- package/dist/hide/core.d.ts +0 -14
- package/dist/hide/index.d.ts +0 -3
- package/dist/main.mjs +0 -4209
- package/dist/main.mjs.map +0 -1
- package/dist/markdownTags.d.ts +0 -11
- package/dist/syntaxHighlighting.d.ts +0 -8
- package/dist/utils.d.ts +0 -15
package/dist/markdownTags.d.ts
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
export declare const additionalMarkdownSyntaxTags: {
|
|
2
|
-
defineNodes: never[];
|
|
3
|
-
props: import('@lezer/common').NodePropSource[];
|
|
4
|
-
};
|
|
5
|
-
export declare const baseSyntaxHighlights: import('@codemirror/state').Extension;
|
|
6
|
-
export declare const baseTheme: import('@codemirror/state').Extension;
|
|
7
|
-
export declare const generalSyntaxHighlights: import('@codemirror/state').Extension;
|
|
8
|
-
export declare const lightTheme: import('@codemirror/state').Extension;
|
package/dist/utils.d.ts
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { EditorState, SelectionRange } from '@codemirror/state';
|
|
2
|
-
import { DOMEventHandlers, DOMEventMap } from '@codemirror/view';
|
|
3
|
-
import { TreeCursor } from '@lezer/common';
|
|
4
|
-
export declare function stateWORDAt(state: EditorState, pos: number): SelectionRange | null;
|
|
5
|
-
export interface RangeLike {
|
|
6
|
-
from: number;
|
|
7
|
-
to: number;
|
|
8
|
-
}
|
|
9
|
-
export declare function rangeTouchesRange(a: RangeLike, b: RangeLike): boolean;
|
|
10
|
-
export declare function selectionTouchesRange(selection: readonly SelectionRange[], b: RangeLike): boolean;
|
|
11
|
-
export declare function iterChildren(cursor: TreeCursor, enter: (cursor: TreeCursor) => undefined | boolean): void;
|
|
12
|
-
export type ClassBasedEventHandlers<This> = {
|
|
13
|
-
[event in keyof DOMEventMap]?: Record<string, DOMEventHandlers<This>[event]>;
|
|
14
|
-
};
|
|
15
|
-
export declare function eventHandlersWithClass<This>(handlers: ClassBasedEventHandlers<This>): DOMEventHandlers<This>;
|