Migration Guide
This guide helps you migrate presentations from other formats to ZiraDocs. Whether you’re coming from PowerPoint, Markdown, or other tools, this guide will help you make the transition smoothly.
🎯 Quick Reference
Section titled “🎯 Quick Reference”| Coming from… | Best Strategy | Time Estimate |
|---|---|---|
| Markdown files | Direct conversion with minimal changes | 15-30 minutes |
| PowerPoint/Keynote/Google Slides | Manual reconstruction | 1-3 hours |
| Other text formats | Copy-paste and restructure | 30-60 minutes |
| Between ZiraDocs modes | See Choosing Your Syntax Mode | 15 minutes |
📝 Migrating from Markdown
Section titled “📝 Migrating from Markdown”If you have existing presentations in standard Markdown, migration to ZiraDocs Flex Mode is usually straightforward.
Step-by-Step Process
Section titled “Step-by-Step Process”1. Add FrontMatter Configuration
Section titled “1. Add FrontMatter Configuration”Add ZiraDocs metadata at the beginning of your file:
---mode: flextitle: My Migrated Presentationauthor: Your Nametheme: default---2. Review Slide Separators
Section titled “2. Review Slide Separators”- Standard Markdown:
---creates horizontal rules - ZiraDocs:
---on its own line separates slides
Before (Markdown):
# Slide 1Content here---More content on same slideAfter (ZiraDocs):
# Slide 1Content here
---
# Slide 2More content on new slide3. Validate Heading Structure
Section titled “3. Validate Heading Structure”Check how your headings will be interpreted:
| Markdown | ZiraDocs Flex Interpretation |
|---|---|
# Title |
Slide title (prominent) |
## Subtitle |
Content heading or subtitle |
### Section |
Section heading within slide |
4. Enhance with ZiraDocs Features
Section titled “4. Enhance with ZiraDocs Features”Add ZiraDocs-specific elements for better presentations:
# Welcome Slide
@notes:Remember to introduce yourself and thank the audience.
## Content Slide
::: leftLeft column content:::
::: rightRight column content:::
---
# Charts & Diagrams
<<chart: bar>>{ "title": "Quarterly Results", "data": { "labels": ["Q1", "Q2", "Q3", "Q4"], "datasets": [{ "label": "Revenue", "data": [100, 150, 180, 220] }] }}Common Compatibility Issues
Section titled “Common Compatibility Issues”| Element | Markdown | ZiraDocs Solution |
|---|---|---|
| Horizontal rules within slides | --- |
Use ___ or *** instead |
| Multiple headings per slide | Multiple # |
Use ## or ### for subsections |
| Speaker notes | Not supported | Add @notes: directives |
| Columns | Not supported | Use ::: left and ::: right |
🖼️ Migrating from PowerPoint/Keynote/Google Slides
Section titled “🖼️ Migrating from PowerPoint/Keynote/Google Slides”Automated migration from proprietary formats is complex, but manual reconstruction is highly effective.
Recommended Strategy: Structured Reconstruction
Section titled “Recommended Strategy: Structured Reconstruction”Phase 1: Planning (15 minutes)
Section titled “Phase 1: Planning (15 minutes)”- Choose your mode: Strict or Flex
- Count slides: Plan your slide structure
- Identify special elements: Charts, images, animations
- Select theme: Browse available themes
Phase 2: Content Extraction (30-60 minutes)
Section titled “Phase 2: Content Extraction (30-60 minutes)”- Text content: Copy slide titles and bullet points
- Images: Export and save to
assets/images/ - Charts: Note data for recreation with ZiraDocs charts
- Layouts: Identify which ZiraDocs layouts match your needs
Phase 3: Recreation (60-120 minutes)
Section titled “Phase 3: Recreation (60-120 minutes)”Basic slide structure:
---mode: flextitle: My Presentationauthor: John Doetheme: corporate---
# Title Slide## Subtitle
@notes:Opening remarks and agenda overview.
---
# Agenda- Introduction- Main topics- Q&A session
---
# Key Points
::: highlightImportant takeaway message:::
<<chart: pie>>{ "title": "Market Share", "data": { "labels": ["Product A", "Product B", "Product C"], "datasets": [{ "data": [45, 30, 25] }] }}Handling Complex Elements
Section titled “Handling Complex Elements”| PowerPoint Feature | ZiraDocs Equivalent | Notes |
|---|---|---|
| Bullet animations | Use @reveal: directive |
See directives guide |
| Master slides | Use themes and layouts | See themes guide |
| Complex charts | <<chart>> blocks |
See charts guide |
| Speaker notes | @notes: directive |
Automatically appear in presenter mode |
| Slide transitions | @transition: directive |
Fade, slide, zoom effects |
| Multiple columns | ::: left / ::: right |
Or use specialized layouts |
Visual Fidelity Tips
Section titled “Visual Fidelity Tips”- Colors: Choose themes that match your brand colors
- Fonts: Use CSS customization for specific typography
- Spacing: Leverage ZiraDocs’s automatic spacing or add custom CSS
- Images: Optimize for web and use consistent sizing
🔄 Version Migration (Future-Proofing)
Section titled “🔄 Version Migration (Future-Proofing)”Note: This section is preparatory for future ZiraDocs versions.
When ZiraDocs undergoes major updates, migration will be supported through:
Built-in Migration Tools
Section titled “Built-in Migration Tools”# Check compatibilityslidelang check --version-compat presentation.slidelang
# Automatic migration (when available)slidelang migrate presentation.slidelang --to-version 2.0
# Backup before migrationslidelang migrate presentation.slidelang --backup --to-version 2.0Version Indicators
Section titled “Version Indicators”---version: "1.0" # Parser version compatibilitymode: flextitle: My Presentation---🛠️ Migration Tools & Helpers
Section titled “🛠️ Migration Tools & Helpers”Community Tools
Section titled “Community Tools”- markdown-to-slidelang: Basic Markdown converter (coming soon)
- pptx-extractor: PowerPoint content extraction utility (community)
Manual Helpers
Section titled “Manual Helpers”# Validate migrated contentslidelang build presentation.slidelang --lint-only
# Quick theme previewslidelang build presentation.slidelang --theme dark --preview
# Check for common issuesslidelang build presentation.slidelang --verbose✅ Migration Checklist
Section titled “✅ Migration Checklist”Before Starting
Section titled “Before Starting”- Backup original files
- Choose ZiraDocs mode (Strict vs Flex)
- Install ZiraDocs CLI (Installation guide)
- Select target theme
During Migration
Section titled “During Migration”- Add proper frontmatter
- Test slide separators
- Validate heading structure
- Add speaker notes
- Recreate special elements
- Test build process
After Migration
Section titled “After Migration”- Build and preview presentation
- Check responsive design
- Test presenter mode
- Validate all links and media
- Archive original files
💡 Migration Best Practices
Section titled “💡 Migration Best Practices”Start Small
Section titled “Start Small”- Single slide: Test with one slide first
- Simple presentation: Migrate a basic presentation before complex ones
- Feature by feature: Add advanced features gradually
Focus on Content First
Section titled “Focus on Content First”- Get structure right: Slides and content organization
- Add basic styling: Choose appropriate theme
- Enhance gradually: Add charts, interactions, animations
Leverage ZiraDocs Strengths
Section titled “Leverage ZiraDocs Strengths”- Version control: Keep presentation in Git
- Modularity: Break large presentations into sections
- Reusability: Create template slides for common patterns
- Automation: Use variables and templates for repeated content
Quality Assurance
Section titled “Quality Assurance”- Test on multiple devices: Desktop, tablet, mobile
- Check accessibility: Screen readers, keyboard navigation
- Validate performance: Large presentations and media
- Get feedback: Test with actual audience
🆘 Common Migration Issues
Section titled “🆘 Common Migration Issues”Issue: Slides Not Separating Properly
Section titled “Issue: Slides Not Separating Properly”Problem: Content appearing on wrong slides
# Slide 1Content--- (this creates a horizontal rule, not slide separator)More content (still on slide 1)Solution: Use --- on its own line
# Slide 1Content
---
# Slide 2More contentIssue: Charts Not Displaying
Section titled “Issue: Charts Not Displaying”Problem: Chart syntax errors or missing data
Solution: Validate JSON syntax
# Check syntaxslidelang build presentation.slidelang --lint-only
# Use online JSON validator for chart dataIssue: Images Not Loading
Section titled “Issue: Images Not Loading”Problem: Incorrect paths or missing files
Solution: Use relative paths and verify files exist
# Correct
# IncorrectIssue: Theme Not Applied
Section titled “Issue: Theme Not Applied”Problem: Frontmatter syntax errors
Solution: Validate YAML frontmatter
---mode: flex # ✅ Correcttitle: My Presentation # ✅ Quoted strings optional for simple titlestheme: "corporate" # ✅ Quotes recommended for safety---🔗 Next Steps After Migration
Section titled “🔗 Next Steps After Migration”Immediate Actions
Section titled “Immediate Actions”- Build and test: Ensure presentation works correctly
- Share preview: Get feedback from colleagues
- Version control: Commit to Git repository
Optimization
Section titled “Optimization”- Performance: Optimize images and media
- Accessibility: Add alt text and proper headings
- Mobile: Test responsive design
- SEO: Add proper metadata for web sharing
Advanced Features
Section titled “Advanced Features”- Interactive elements: Add polls, Q&A, navigation
- Custom styling: Create custom CSS themes
- Integration: Connect with external tools and APIs
- Automation: Set up CI/CD for presentation deployment
🚀 Ready to migrate? Start with our Quickstart Guide to set up your environment, then return here for specific migration steps.