@datapos/datapos-shared 0.3.200 → 0.3.202
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.
|
@@ -1,13 +1,15 @@
|
|
|
1
1
|
import { micromark } from 'micromark';
|
|
2
2
|
import { gfm, gfmHtml } from 'micromark-extension-gfm';
|
|
3
3
|
import { math, mathHtml } from 'micromark-extension-math';
|
|
4
|
+
type MicromarkTools = {
|
|
5
|
+
gfmExtension: typeof gfm;
|
|
6
|
+
gfmHtmlExtension: typeof gfmHtml;
|
|
7
|
+
mathExtension: typeof math;
|
|
8
|
+
mathHtmlExtension: typeof mathHtml;
|
|
9
|
+
micromark: typeof micromark;
|
|
10
|
+
};
|
|
4
11
|
export declare function useMicromark(): {
|
|
5
|
-
getStuff: () => Promise<
|
|
6
|
-
gfmExtension: typeof gfm;
|
|
7
|
-
gfmHtmlExtension: typeof gfmHtml;
|
|
8
|
-
mathExtension: typeof math;
|
|
9
|
-
mathHtmlExtension: typeof mathHtml;
|
|
10
|
-
micromark: typeof micromark;
|
|
11
|
-
}>;
|
|
12
|
+
getStuff: () => Promise<MicromarkTools>;
|
|
12
13
|
render: () => Promise<void>;
|
|
13
14
|
};
|
|
15
|
+
export {};
|
package/package.json
CHANGED