Edit online

Styling Through Custom Parameters

You can activate parts of your CSS by using custom transformation parameters that start with the args.css.param. prefix.

These parameters are recognized by the publishing pipeline and are forwarded as synthetic attributes on the root element of the merged map. The last part of the parameter name will become the attribute name, while the value of the parameter will become the attribute value. The namespace of these synthetic attributes is: http://www.oxygenxml.com/extensions/publishing/dita/css/params.

When using the or the transformations, the generated attribute will be in no namespace.

Notes:
  • Make sure the name of your custom parameter does not conflict with an attribute name that may already exist on the root element.
  • Use only Latin alphanumeric characters for parameter names.
  • You can set multiple styling parameters at the same time.