close

Filter

loading table of contents...

Headless Server Developer Manual / Version 2506.0

Table Of Contents
PassStyles Attribute Transformer

The PassStyles attribute transformer filters the styles contained in the class attribute. In YAML it is introduced by:

          !PassStyles
        
PropertyDescription
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
        

Search Results

Table Of Contents
warning

Your Internet Explorer is no longer supported.

Please use Mozilla Firefox, Google Chrome, or Microsoft Edge.