gitbook-plugin-image-captions icon indicating copy to clipboard operation
gitbook-plugin-image-captions copied to clipboard

Question: Chapter number always starts with 1

Open erikvullings opened this issue 7 years ago • 1 comments

The default caption uses something like "caption": "Image _PAGE_LEVEL_._PAGE_IMAGE_NUMBER_ - _CAPTION_". In my case, when I do not use different parts in my SUMMARY.md file, the chapter number is always 1 (probably reflecting part 1), so all my figure numbers have a leading 1, e.g. Fig 1.1.1 is the first image in chapter 1. I would have preferred to have Fig 1.1 instead. Is this possible?

erikvullings avatar Mar 23 '18 22:03 erikvullings

Wouldnt this work:

"Image PAGE_IMAGE_NUMBER - CAPTION"

markomanninen avatar Apr 03 '18 14:04 markomanninen