2
0

correct dev port to 8080, update theme examples and file structure

This commit is contained in:
2025-09-13 19:17:07 +02:00
parent ecdfac802c
commit 029d54eecb

View File

@@ -28,7 +28,7 @@ Start the development server for live preview:
```bash ```bash
npm run dev npm run dev
``` ```
This starts a server at `http://localhost:8000` showing your presentation. This starts a server at `http://localhost:8080` showing your presentation.
### Build Slides ### Build Slides
@@ -65,7 +65,7 @@ npm run watch
malta-slides-marp/ malta-slides-marp/
├── slides/ # Markdown slide files ├── slides/ # Markdown slide files
│ ├── index.md # Main presentation file (served at root) │ ├── index.md # Main presentation file (served at root)
── 01-intro.md # Additional slide files ── index.md # Main slide file
│ └── ... │ └── ...
├── assets/ # Images and media files ├── assets/ # Images and media files
├── themes/ # Custom CSS themes ├── themes/ # Custom CSS themes
@@ -88,7 +88,7 @@ Slides are written in Markdown and separated by `---`:
```markdown ```markdown
--- ---
marp: true marp: true
theme: gaia theme: uncover
paginate: true paginate: true
--- ---
@@ -110,7 +110,7 @@ Configure slide settings at the top:
```yaml ```yaml
--- ---
marp: true marp: true
theme: gaia theme: uncover
paginate: true paginate: true
backgroundColor: #fff backgroundColor: #fff
title: My Presentation title: My Presentation
@@ -192,7 +192,7 @@ make clean # Remove generated files
## Troubleshooting ## Troubleshooting
- **PDF export fails**: Ensure Chrome/Chromium is installed - **PDF export fails**: Ensure Chrome/Chromium is installed
- **Server not starting**: Check if port 8000 is available - **Server not starting**: Check if port 8080 is available
- **Styles not applying**: Verify theme file paths - **Styles not applying**: Verify theme file paths
- **Images not loading**: Check relative paths from slides directory - **Images not loading**: Check relative paths from slides directory