This merge adds a chunk of classes that are equal to the names of LaTeX Font Size modifying environments to the default css ruleset. These shrink or enlarge the font size of the object they are attached to:
[Large Text]{.large}
::: LARGE
Larger Text
:::
In addition it adds a mechanism that allows a user to "scale" any DOM element:
::: {scale=2}
Content
:::
Because in HTML, using the transform scale mechanism does not scale the DOM element's bounding box, a wrapping mechanism is used to put a DOM element in place that has the exact size of the inner, scaled element. Thus the rest of the page's content is adjusted in a similar way LaTeX's scalebox does its thing.
Please review if the later mechanism is even desirable. Documentation about the mechanism is in the new test-deck.
This merge adds a chunk of classes that are equal to the names of LaTeX Font Size modifying environments to the default css ruleset. These shrink or enlarge the font size of the object they are attached to:
In addition it adds a mechanism that allows a user to "scale" any DOM element:
Because in HTML, using the transform scale mechanism does not scale the DOM element's bounding box, a wrapping mechanism is used to put a DOM element in place that has the exact size of the inner, scaled element. Thus the rest of the page's content is adjusted in a similar way LaTeX's scalebox does its thing.
Please review if the later mechanism is even desirable. Documentation about the mechanism is in the new test-deck.