correct dev port to 8080, update theme examples and file structure
This commit is contained in:
10
README.md
10
README.md
@@ -28,7 +28,7 @@ Start the development server for live preview:
|
||||
```bash
|
||||
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
|
||||
|
||||
@@ -65,7 +65,7 @@ npm run watch
|
||||
malta-slides-marp/
|
||||
├── slides/ # Markdown slide files
|
||||
│ ├── index.md # Main presentation file (served at root)
|
||||
│ ├── 01-intro.md # Additional slide files
|
||||
│ └── index.md # Main slide file
|
||||
│ └── ...
|
||||
├── assets/ # Images and media files
|
||||
├── themes/ # Custom CSS themes
|
||||
@@ -88,7 +88,7 @@ Slides are written in Markdown and separated by `---`:
|
||||
```markdown
|
||||
---
|
||||
marp: true
|
||||
theme: gaia
|
||||
theme: uncover
|
||||
paginate: true
|
||||
---
|
||||
|
||||
@@ -110,7 +110,7 @@ Configure slide settings at the top:
|
||||
```yaml
|
||||
---
|
||||
marp: true
|
||||
theme: gaia
|
||||
theme: uncover
|
||||
paginate: true
|
||||
backgroundColor: #fff
|
||||
title: My Presentation
|
||||
@@ -192,7 +192,7 @@ make clean # Remove generated files
|
||||
## Troubleshooting
|
||||
|
||||
- **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
|
||||
- **Images not loading**: Check relative paths from slides directory
|
||||
|
||||
|
||||
Reference in New Issue
Block a user