Skip to content

Commit 2aba0cf

Browse files
authored
fix: hide option in frontmatter (#1314)
1 parent 8f1053b commit 2aba0cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/parser/src/fs.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ export async function load(userRoot: string, filepath: string, themeMeta?: Slide
5151
}
5252

5353
async function loadSlide(slide: SourceSlideInfo, frontmatterOverride?: Record<string, unknown>) {
54-
if (slide.frontmatter.disabled)
54+
if (slide.frontmatter.disabled || slide.frontmatter.hide)
5555
return
5656
if (slide.frontmatter.src) {
5757
const [rawPath, rangeRaw] = slide.frontmatter.src.split('#')

0 commit comments

Comments
 (0)