@slidev/parser 0.48.8 → 0.48.9

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.
@@ -313,7 +313,7 @@ function matter(code) {
313
313
  }
314
314
  function detectFeatures(code) {
315
315
  return {
316
- katex: !!code.match(/\$.*?\$/) || !!code.match(/$\$\$/),
316
+ katex: !!code.match(/\$.*?\$/) || !!code.match(/\$\$/),
317
317
  monaco: !!code.match(/{monaco.*}/),
318
318
  tweet: !!code.match(/<Tweet\b/),
319
319
  mermaid: !!code.match(/^```mermaid/m)
package/dist/core.mjs CHANGED
@@ -13,7 +13,7 @@ import {
13
13
  stringify,
14
14
  stringifySlide,
15
15
  verifyConfig
16
- } from "./chunk-YNRNLEBD.mjs";
16
+ } from "./chunk-RGJSOXI6.mjs";
17
17
  export {
18
18
  detectFeatures,
19
19
  getDefaultConfig,
package/dist/fs.mjs CHANGED
@@ -14,7 +14,7 @@ import {
14
14
  stringify,
15
15
  stringifySlide,
16
16
  verifyConfig
17
- } from "./chunk-YNRNLEBD.mjs";
17
+ } from "./chunk-RGJSOXI6.mjs";
18
18
 
19
19
  // src/fs.ts
20
20
  import { promises as fs } from "node:fs";
package/dist/index.mjs CHANGED
@@ -13,7 +13,7 @@ import {
13
13
  stringify,
14
14
  stringifySlide,
15
15
  verifyConfig
16
- } from "./chunk-YNRNLEBD.mjs";
16
+ } from "./chunk-RGJSOXI6.mjs";
17
17
  export {
18
18
  detectFeatures,
19
19
  getDefaultConfig,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@slidev/parser",
3
- "version": "0.48.8",
3
+ "version": "0.48.9",
4
4
  "description": "Markdown parser for Slidev",
5
5
  "author": "antfu <anthonyfu117@hotmail.com>",
6
6
  "license": "MIT",
@@ -40,7 +40,7 @@
40
40
  },
41
41
  "dependencies": {
42
42
  "js-yaml": "^4.1.0",
43
- "@slidev/types": "0.48.8"
43
+ "@slidev/types": "0.48.9"
44
44
  },
45
45
  "scripts": {
46
46
  "build": "rimraf dist && tsup src/index.ts src/core.ts src/fs.ts",