@readme/markdown 6.75.0-beta.53 → 6.75.0-beta.54
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/index.d.ts +2 -3
- package/dist/lib/hast.d.ts +1 -0
- package/dist/lib/index.d.ts +2 -2
- package/dist/main.js +53291 -53224
- package/dist/main.node.js +55467 -55400
- package/package.json +2 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import * as Components from './components';
|
|
2
|
-
import { compile, hast, run, mdast, mdx, plain } from './lib';
|
|
3
2
|
import './styles/main.scss';
|
|
4
3
|
declare const utils: {
|
|
5
4
|
readonly options: any;
|
|
6
5
|
getHref: any;
|
|
7
6
|
calloutIcons: {};
|
|
8
7
|
};
|
|
9
|
-
export declare const reactProcessor: (opts?: {}) => import("unified").Processor<import("mdast").Root, import("estree").Program, import("estree").Program, import("estree").Program, string>;
|
|
10
8
|
export declare const html: (text: string, opts?: {}) => void;
|
|
11
9
|
export declare const esast: (text: string, opts?: {}) => void;
|
|
12
|
-
export { compile, hast, run, mdast, mdx, plain,
|
|
10
|
+
export { compile, hast, hastFromHtml, run, mdast, mdx, plain, remarkPlugins } from './lib';
|
|
11
|
+
export { Components, utils };
|
package/dist/lib/hast.d.ts
CHANGED
package/dist/lib/index.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import astProcessor, { MdastOpts, remarkPlugins } from './ast-processor';
|
|
2
2
|
import compile from './compile';
|
|
3
|
-
import hast from './hast';
|
|
3
|
+
import hast, { hastFromHtml } from './hast';
|
|
4
4
|
import mdast from './mdast';
|
|
5
5
|
import mdx from './mdx';
|
|
6
6
|
import plain from './plain';
|
|
7
7
|
import run from './run';
|
|
8
8
|
export type { MdastOpts };
|
|
9
|
-
export { astProcessor, compile, hast, mdast, mdx, plain, run, remarkPlugins };
|
|
9
|
+
export { astProcessor, compile, hast, hastFromHtml, mdast, mdx, plain, run, remarkPlugins };
|