@readme/markdown 7.10.4 → 7.12.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/exports.d.ts +2 -0
- package/dist/lib/index.d.ts +2 -1
- package/dist/lib/run.d.ts +1 -7
- package/dist/main.js +270 -186
- package/dist/main.node.js +270 -186
- package/dist/processor/transform/index.d.ts +5 -4
- package/dist/processor/transform/mdx-to-hast.d.ts +3 -0
- package/dist/processor/utils.d.ts +9 -2
- package/dist/utils/user.d.ts +10 -0
- package/package.json +1 -1
package/dist/lib/index.d.ts
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
export type { MdastOpts } from './ast-processor';
|
|
2
2
|
export { default as astProcessor, remarkPlugins } from './ast-processor';
|
|
3
3
|
export { default as compile } from './compile';
|
|
4
|
+
export { default as exports } from './exports';
|
|
4
5
|
export { default as hast } from './hast';
|
|
5
6
|
export { default as mdast } from './mdast';
|
|
6
7
|
export { default as mdastV6 } from './mdastV6';
|
|
7
8
|
export { default as mdx } from './mdx';
|
|
9
|
+
export { default as migrate } from './migrate';
|
|
8
10
|
export { default as plain } from './plain';
|
|
9
11
|
export { default as run } from './run';
|
|
10
12
|
export { default as tags } from './tags';
|
|
11
|
-
export { default as migrate } from './migrate';
|
package/dist/lib/run.d.ts
CHANGED
|
@@ -2,13 +2,7 @@ import React from 'react';
|
|
|
2
2
|
import { RunOptions } from '@mdx-js/mdx';
|
|
3
3
|
import { GlossaryTerm } from '../contexts/GlossaryTerms';
|
|
4
4
|
import { CustomComponents } from '../types';
|
|
5
|
-
|
|
6
|
-
user: Record<string, string>;
|
|
7
|
-
defaults: {
|
|
8
|
-
name: string;
|
|
9
|
-
default: string;
|
|
10
|
-
}[];
|
|
11
|
-
}
|
|
5
|
+
import { Variables } from '../utils/user';
|
|
12
6
|
export type RunOpts = Omit<RunOptions, 'Fragment'> & {
|
|
13
7
|
components?: CustomComponents;
|
|
14
8
|
imports?: Record<string, unknown>;
|