Headless Server Developer Manual / Version 2506.0
Table Of ContentsThe PassStyles attribute transformer filters the styles contained in the class attribute. In YAML it is introduced by:
!PassStyles
| Property | Description |
|---|---|
| styles | List of style classes to be passed through to delivery. |
Table 5.8. Available properties for !PassStyles.
Example: Passing only the declared styles of the class attribute to the output.
...
outputHandler:
!ElementWriter
attributeTransformers:
!PassStyles
styles:
*float_styles


