@slidev/parser 52.16.0 → 52.17.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/core.d.mts CHANGED
@@ -1,6 +1,5 @@
1
1
  import { a as TimesplitOutput, i as TimesplitInput, n as parseRangeString, o as parseTimesplits, r as parseTimeString, t as parseAspectRatio } from "./utils-DpcPp-I0.mjs";
2
2
  import { FontOptions, ResolvedFontOptions, SlidevConfig, SlidevDetectedFeatures, SlidevMarkdown, SlidevPreparserExtension, SlidevThemeMeta, SourceSlideInfo } from "@slidev/types";
3
-
4
3
  //#region src/config.d.ts
5
4
  declare function getDefaultConfig(): SlidevConfig;
6
5
  declare function resolveConfig(headmatter: any, themeMeta?: SlidevThemeMeta, filepath?: string, verify?: boolean): SlidevConfig;
package/dist/core.mjs CHANGED
@@ -44,8 +44,10 @@ function getDefaultConfig() {
44
44
  htmlAttrs: {},
45
45
  transition: null,
46
46
  editor: true,
47
+ mcp: true,
47
48
  contextMenu: null,
48
49
  wakeLock: true,
50
+ pwa: false,
49
51
  remote: false,
50
52
  mdc: false,
51
53
  comark: false,
package/dist/fs.d.mts CHANGED
@@ -1,7 +1,6 @@
1
1
  import { a as TimesplitOutput, i as TimesplitInput, n as parseRangeString, o as parseTimesplits, r as parseTimeString, t as parseAspectRatio } from "./utils-DpcPp-I0.mjs";
2
2
  import { SlidevParserOptions, detectFeatures, extractImagesUsage, getDefaultConfig, parse, parseSlide, parseSync, prettify, prettifySlide, resolveConfig, resolveFonts, stringify, stringifySlide, verifyConfig } from "./core.mjs";
3
3
  import { PreparserExtensionLoader, SlidevData, SlidevMarkdown } from "@slidev/types";
4
-
5
4
  //#region src/fs.d.ts
6
5
  declare function injectPreparserExtensionLoader(fn: PreparserExtensionLoader): void;
7
6
  interface LoadRootsInfo {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@slidev/parser",
3
- "version": "52.16.0",
3
+ "version": "52.17.0",
4
4
  "description": "Markdown parser for Slidev",
5
5
  "author": "Anthony Fu <anthonyfu117@hotmail.com>",
6
6
  "license": "MIT",
@@ -31,7 +31,7 @@
31
31
  "dependencies": {
32
32
  "@antfu/utils": "^9.3.0",
33
33
  "yaml": "^2.9.0",
34
- "@slidev/types": "52.16.0"
34
+ "@slidev/types": "52.17.0"
35
35
  },
36
36
  "devDependencies": {
37
37
  "tsdown-stale-guard": "^0.1.2"