markdown option for creating new comics

This commit is contained in:
mi
2025-11-12 11:23:05 +10:00
parent 8abb185c02
commit bf8ed23bc4
2 changed files with 48 additions and 1 deletions

View File

@@ -99,9 +99,13 @@ Comics are stored in the `COMICS` list in `comics_data.py`. Each comic entry:
**Option 1: Use the script (recommended)**
```bash
# Add comic entry only
python scripts/add_comic.py
# Add comic entry AND create markdown file for author notes
python scripts/add_comic.py -m
```
This will automatically add a new entry with defaults. Then edit `comics_data.py` to customize.
This will automatically add a new entry with defaults. The `-m` flag creates a markdown file in `content/author_notes/{date}.md` with a template. Then edit `comics_data.py` to customize.
**Option 2: Manual**
1. Save your comic image in `static/images/comics/` (e.g., `comic-001.png`)