[Regression] Auto-scaling for KaTeX block is always enable regardless of @auto-scaling
theme metadata
#353
Labels
bug
Something isn't working
Version of Marp Tool
Marp Core v3.8.0
Operating System
Other (fill out in the environment field)
Environment
How to reproduce
Put the theme and Markdown into
sandbox
directory in Marp Core repository:And run
yarn sandbox
.Expected behavior
Math block should not scale down to fit the slide, because the custom theme is not defined
@auto-scaling
metadata.Actual behavior
Math block is scaling down to fit the slide.
Additional information
Reported in https://github.com/orgs/marp-team/discussions/159#discussioncomment-6955411.
This regression has been present since v3.0.0. In that version, the new auto-scaling component was produced, but the auto-scaling metadata was not taken into account.
Other scaling elements such as
<!--fit-->
are still following@auto-scaling
correctly. In above example,<!--fit-->
in the heading is just ignored by the theme.The text was updated successfully, but these errors were encountered: