@vuepress/markdown 2.0.0-rc.30 → 2.0.0-rc.31

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.
Files changed (2) hide show
  1. package/dist/index.d.ts +2 -19
  2. package/package.json +7 -10
package/dist/index.d.ts CHANGED
@@ -9,7 +9,6 @@ import anchorPlugin from "markdown-it-anchor";
9
9
  import { Options as Options$1, full as emojiPlugin } from "markdown-it-emoji";
10
10
  import { PageFrontmatter, PageHeader } from "@vuepress/shared";
11
11
  import { MarkdownItEnv } from "@mdit-vue/types";
12
-
13
12
  //#region src/plugins/anchorPlugin.d.ts
14
13
  type AnchorPluginOptions = anchorPlugin.AnchorOptions;
15
14
  //#endregion
@@ -181,22 +180,6 @@ type MarkdownSlugifyFunction = (str: string) => string;
181
180
  /**
182
181
  * Create vuepress customized markdown-it instance
183
182
  */
184
- declare const createMarkdown: ({
185
- anchor,
186
- assets,
187
- code,
188
- vPre,
189
- component,
190
- emoji,
191
- frontmatter,
192
- headers,
193
- title,
194
- importCode,
195
- links,
196
- sfc,
197
- slugify,
198
- toc,
199
- ...markdownItOptions
200
- }?: MarkdownOptions) => Markdown;
183
+ declare const createMarkdown: ({ anchor, assets, code, vPre, component, emoji, frontmatter, headers, title, importCode, links, sfc, slugify, toc, ...markdownItOptions }?: MarkdownOptions) => Markdown;
201
184
  //#endregion
202
- export { type AnchorPluginOptions, type AssetsPluginOptions, type ComponentPluginOptions, type EmojiPluginOptions, type FrontmatterPluginOptions, type HeadersPluginOptions, type ImportCodePluginOptions, type LinksPluginOptions, Markdown, MarkdownEnv, MarkdownHeader, MarkdownLink, MarkdownOptions, type MarkdownSfcBlocks, MarkdownSlugifyFunction, type SfcPluginOptions, type TocPluginOptions, type VPrePluginOptions, anchorPlugin, assetsPlugin, componentPlugin, createMarkdown, emojiPlugin, frontmatterPlugin, headersPlugin, importCodePlugin, linksPlugin, sfcPlugin, titlePlugin, tocPlugin, vPrePlugin };
185
+ export { type AnchorPluginOptions, type AssetsPluginOptions, type ComponentPluginOptions, type EmojiPluginOptions, type FrontmatterPluginOptions, type HeadersPluginOptions, type ImportCodePluginOptions, type LinksPluginOptions, type Markdown, type MarkdownEnv, type MarkdownHeader, type MarkdownLink, type MarkdownOptions, type MarkdownSfcBlocks, type MarkdownSlugifyFunction, type SfcPluginOptions, type TocPluginOptions, type VPrePluginOptions, anchorPlugin, assetsPlugin, componentPlugin, createMarkdown, emojiPlugin, frontmatterPlugin, headersPlugin, importCodePlugin, linksPlugin, sfcPlugin, titlePlugin, tocPlugin, vPrePlugin };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vuepress/markdown",
3
- "version": "2.0.0-rc.30",
3
+ "version": "2.0.0-rc.31",
4
4
  "description": "Markdown package of VuePress",
5
5
  "keywords": [
6
6
  "markdown",
@@ -41,15 +41,12 @@
41
41
  "@mdit-vue/types": "^3.0.2",
42
42
  "@types/markdown-it": "^14.1.2",
43
43
  "@types/markdown-it-emoji": "^3.0.1",
44
- "markdown-it": "^14.1.1",
45
- "markdown-it-anchor": "^9.2.0",
46
- "markdown-it-emoji": "^3.0.0",
47
- "mdurl": "^2.0.0",
48
- "@vuepress/shared": "2.0.0-rc.30",
49
- "@vuepress/utils": "2.0.0-rc.30"
50
- },
51
- "devDependencies": {
52
- "@types/mdurl": "^2.0.0"
44
+ "markdown-it": "^14.3.0",
45
+ "markdown-it-anchor": "^9.2.1",
46
+ "markdown-it-emoji": "^3.1.0",
47
+ "mdurl": "^2.1.0",
48
+ "@vuepress/shared": "2.0.0-rc.31",
49
+ "@vuepress/utils": "2.0.0-rc.31"
53
50
  },
54
51
  "tsdown": {
55
52
  "dts": true,