3 KiB
3 KiB
plaintext\nsrc: ./sections/01-intro.md\n\n\nEn lugar de incluir el contenido de la sección.\n\n## Root Cause\n\nLa sintaxis src: en Slidev debe estar en el frontmatter YAML (entre ---), no en el contenido markdown.\n\n## Solution Applied\n\n### slides.md (Master File)\n\nmarkdown\n---\nsrc: ./sections/01-intro.md\n---\n\n---\nsrc: ./sections/02-solution.md\n---\n\n\nEl src: ahora está en el frontmatter correcto.\n\n### sections/*.md (Section Files)\n\nCada archivo de sección comienza con frontmatter YAML:\n\nmarkdown\n---\nlayout: center # (o vacío)\n---\n\n# Content starts here\n\n\nEn lugar de:\n\nmarkdown\n# Section X: Title\n\n---\n# Content starts here\n\n\n## Changes Made\n\n| File | Before | After |\n|------|--------|-------|\n| slides.md | src: in content | src: in YAML frontmatter |\n| sections/01-intro.md | # Section 1: ... → --- | --- → # Infrastructure... |\n| sections/02-solution.md | # Section 2: ... → --- | --- → ## Introducing... |\n| sections/03-features.md | # Section 3: ... → --- | --- → ## Feature 1... |\n| sections/04-security.md | # Section 4: ... → --- | --- → ## Security Deep... |\n| sections/05-usecase.md | # Section 5: ... → --- | --- → ## Use Case... |\n| sections/06-demos.md | # Section 6: ... → --- | --- → ## Demo 1... |\n| sections/07-conclusion.md | # Section 7: ... → --- | --- → ## Getting Started... |\n| sections/08-appendix.md | # Section 8: ... → --- | --- → ## Appendix A... |\n\n## How It Works Now\n\n1. slides.md references section files using src: in YAML frontmatter\n2. Each section file is a valid Slidev document with proper markdown slide separators (---)\n3. When Slidev loads slides.md, it includes all slides from referenced section files\n4. All slides appear seamlessly in the presentation\n\n## Testing\n\nbash\n# View the corrected presentation\nnu run.nu # Choose from menu\nnpm run dev slides.md # Or direct launch\n\n# Open at http://localhost:3030\n\n\nYou should now see all slides properly rendered with content, not literal src: text.\n\n## Slidev Syntax Reference\n\nmarkdown\n---\n# Slide 1 with optional frontmatter\nsrc: ./path/to/file.md\n---\n\n# This slide will be replaced with content from file.md\n\n---\n# Slide 2\nContent here...\n---\n\n\nKey Points:\n\n- src: must be in YAML frontmatter (between ---)\n- The referenced file must contain valid Slidev markdown\n- Each file should start with --- for proper parsing\n\n## Files Modified\n\n- ✅ slides.md\n- ✅ sections/01-intro.md\n- ✅ sections/02-solution.md\n- ✅ sections/03-features.md\n- ✅ sections/04-security.md\n- ✅ sections/05-usecase.md\n- ✅ sections/06-demos.md\n- ✅ sections/07-conclusion.md\n- ✅ sections/08-appendix.md\n\n---\n\nStatus: ✅ All slides now render correctly\nLast Updated: 2025-11-14