@xyd-js/content 0.1.0-xyd.10
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/CHANGELOG.md +49 -0
- package/README.md +3 -0
- package/dist/index.d.ts +8 -0
- package/dist/index.js +22004 -0
- package/dist/index.js.map +1 -0
- package/dist/md.d.ts +14 -0
- package/dist/md.js +20410 -0
- package/dist/md.js.map +1 -0
- package/dist/mdToc-CYxzibVZ.d.ts +11 -0
- package/dist/vite.d.ts +987 -0
- package/dist/vite.js +20420 -0
- package/dist/vite.js.map +1 -0
- package/package.json +45 -0
- package/packages/md/index.ts +13 -0
- package/packages/md/plugins/index.ts +26 -0
- package/packages/md/plugins/mdCode.ts +19 -0
- package/packages/md/plugins/mdCodeGroup.ts +40 -0
- package/packages/md/plugins/mdComponentDirective.ts +141 -0
- package/packages/md/plugins/mdPage.ts +32 -0
- package/packages/md/plugins/mdThemeSettings.ts +30 -0
- package/packages/md/plugins/mdToc.ts +133 -0
- package/packages/vite/index.ts +14 -0
- package/src/fs.ts +43 -0
- package/src/index.ts +8 -0
- package/src/navigation.ts +172 -0
- package/tsconfig.json +26 -0
- package/tsup.config.ts +29 -0
package/dist/md.d.ts
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import * as unist from 'unist';
|
|
2
|
+
import * as remark_gfm from 'remark-gfm';
|
|
3
|
+
import * as unified from 'unified';
|
|
4
|
+
import * as mdast from 'mdast';
|
|
5
|
+
import * as remark_mdx_frontmatter from 'remark-mdx-frontmatter';
|
|
6
|
+
import * as remark_frontmatter from 'remark-frontmatter';
|
|
7
|
+
import { R as RemarkMdxTocOptions } from './mdToc-CYxzibVZ.js';
|
|
8
|
+
|
|
9
|
+
declare function mdOptions(toc: RemarkMdxTocOptions): {
|
|
10
|
+
remarkPlugins: (typeof remark_frontmatter.default | unified.Plugin<[(remark_mdx_frontmatter.RemarkMdxFrontmatterOptions | undefined)?], mdast.Root, mdast.Root> | typeof remark_gfm.default | unified.Plugin<[], unist.Node, unist.Node>)[];
|
|
11
|
+
rehypePlugins: never[];
|
|
12
|
+
};
|
|
13
|
+
|
|
14
|
+
export { RemarkMdxTocOptions, mdOptions };
|