@readme/markdown 6.75.0-beta.71 → 6.75.0-beta.73
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/components/Table/index.tsx +1 -0
- package/dist/components/Table/index.d.ts +1 -0
- package/dist/enums.d.ts +1 -0
- package/dist/index.d.ts +1 -3
- package/dist/lib/ast-processor.d.ts +2 -0
- package/dist/lib/hast.d.ts +2 -5
- package/dist/lib/index.d.ts +2 -2
- package/dist/main.js +14126 -14900
- package/dist/main.node.js +14098 -15338
- package/dist/processor/transform/readme-components.d.ts +1 -0
- package/package.json +1 -2
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
interface Props extends JSX.IntrinsicAttributes {
|
|
3
|
+
align: ('left' | 'center' | 'right')[];
|
|
3
4
|
children: [React.ReactElement<HTMLTableCaptionElement | HTMLTableSectionElement | HTMLTableRowElement>];
|
|
4
5
|
}
|
|
5
6
|
declare const Table: (props: Props) => React.JSX.Element;
|
package/dist/enums.d.ts
CHANGED
package/dist/index.d.ts
CHANGED
|
@@ -5,7 +5,5 @@ declare const utils: {
|
|
|
5
5
|
getHref: any;
|
|
6
6
|
calloutIcons: {};
|
|
7
7
|
};
|
|
8
|
-
export
|
|
9
|
-
export declare const esast: (text: string, opts?: {}) => void;
|
|
10
|
-
export { compile, hast, hastFromHtml, run, mdast, mdx, plain, remarkPlugins } from './lib';
|
|
8
|
+
export { compile, hast, run, mdast, mdx, plain, remarkPlugins } from './lib';
|
|
11
9
|
export { Components, utils };
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import remarkFrontmatter from 'remark-frontmatter';
|
|
2
2
|
import remarkGfm from 'remark-gfm';
|
|
3
3
|
import rehypeSlug from 'rehype-slug';
|
|
4
|
+
import { PluggableList } from 'unified';
|
|
4
5
|
export type MdastOpts = {
|
|
5
6
|
components?: Record<string, string>;
|
|
7
|
+
remarkPlugins?: PluggableList;
|
|
6
8
|
};
|
|
7
9
|
export declare const remarkPlugins: ((() => (tree: any) => void) | typeof remarkFrontmatter | typeof remarkGfm)[];
|
|
8
10
|
export declare const rehypePlugins: (typeof rehypeSlug)[];
|
package/dist/lib/hast.d.ts
CHANGED
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
}
|
|
4
|
-
declare const hast: (text: string, opts?: Options) => import("hast").Root;
|
|
5
|
-
export declare const hastFromHtml: (html: string) => import("hast").Root;
|
|
1
|
+
import { MdastOpts } from './ast-processor';
|
|
2
|
+
declare const hast: (text: string, opts?: MdastOpts) => import("hast").Root;
|
|
6
3
|
export default hast;
|
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
|
|
3
|
+
import hast 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,
|
|
9
|
+
export { astProcessor, compile, hast, mdast, mdx, plain, run, remarkPlugins };
|