@slidev/parser 0.36.5 → 0.36.6
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/fs.js +2 -0
- package/dist/fs.mjs +2 -0
- package/package.json +2 -2
package/dist/fs.js
CHANGED
|
@@ -33,6 +33,8 @@ async function load(filepath, themeMeta, content) {
|
|
|
33
33
|
continue;
|
|
34
34
|
}
|
|
35
35
|
data.slides.splice(iSlide, 1);
|
|
36
|
+
if (baseSlide.frontmatter.hide)
|
|
37
|
+
continue;
|
|
36
38
|
const srcExpression = baseSlide.frontmatter.src;
|
|
37
39
|
const path = _path.resolve.call(void 0, dir, srcExpression);
|
|
38
40
|
const raw = await _fs.promises.readFile(path, "utf-8");
|
package/dist/fs.mjs
CHANGED
|
@@ -33,6 +33,8 @@ async function load(filepath, themeMeta, content) {
|
|
|
33
33
|
continue;
|
|
34
34
|
}
|
|
35
35
|
data.slides.splice(iSlide, 1);
|
|
36
|
+
if (baseSlide.frontmatter.hide)
|
|
37
|
+
continue;
|
|
36
38
|
const srcExpression = baseSlide.frontmatter.src;
|
|
37
39
|
const path = resolve(dir, srcExpression);
|
|
38
40
|
const raw = await fs.readFile(path, "utf-8");
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@slidev/parser",
|
|
3
|
-
"version": "0.36.
|
|
3
|
+
"version": "0.36.6",
|
|
4
4
|
"description": "Markdown parser for Slidev",
|
|
5
5
|
"author": "antfu <anthonyfu117@hotmail.com>",
|
|
6
6
|
"license": "MIT",
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"node": ">=14.0.0"
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@slidev/types": "0.36.
|
|
42
|
+
"@slidev/types": "0.36.6",
|
|
43
43
|
"js-yaml": "^4.1.0"
|
|
44
44
|
},
|
|
45
45
|
"scripts": {
|