This scenario walks through the process of creating a very simple plug-in
(
The transformation includes a custom CSS file and sets three parameters to integrate the custom stylesheet in the generated HTML5 output. These parameter settings make the following changes:
Specify the name of the custom .css file with
The value of this parameter tells DITA-OT to use the custom .css file provided by the plug-in.
Ensure that the custom .css file is copied to the output directory by setting
Set the relative path for .css files in the output folder with
CSS files are copied to the root level of the output folder by default. Setting this parameter places CSS files in a dedicated subfolder.
All three parameters are set in the Ant script (
The new plug-in directory has the following layout and files: