Version
1.23.1
What happened?
When a slide template has an image placeholder, images referenced via  syntax are correctly placed into the image placeholder position.
However, when a code block (e.g. mermaid) is converted to an image via codeBlockToImageCommand, the resulting image is not placed into the template's image placeholder. Instead, it appears to be inserted as part of the body content.
This causes a discrepancy in the presentation output between:
- Slides using
 image references (correctly placed in image placeholder)
- Slides using code blocks converted to images via
codeBlockToImageCommand (not placed in image placeholder)
Expected behavior:
Images converted from code blocks via codeBlockToImageCommand should be placed into the template's image placeholder, the same way as  image references.
Workaround:
- Manually fix the image position in Google Slides after
deck apply.
- Pre-render the code block to an image file manually, then reference it via
 syntax.
Version
1.23.1
What happened?
When a slide template has an image placeholder, images referenced via
syntax are correctly placed into the image placeholder position.However, when a code block (e.g. mermaid) is converted to an image via
codeBlockToImageCommand, the resulting image is not placed into the template's image placeholder. Instead, it appears to be inserted as part of the body content.This causes a discrepancy in the presentation output between:
image references (correctly placed in image placeholder)codeBlockToImageCommand(not placed in image placeholder)Expected behavior:
Images converted from code blocks via
codeBlockToImageCommandshould be placed into the template's image placeholder, the same way asimage references.Workaround:
deck apply.syntax.