It would be nice to allow arbitrary options to be passed to #show-module that are available to themes in #style-args.options. This would allow themes to define custom options beyond the ones Tidy offers for further customization of the output. For example, a theme could allow users to pass in a primary color, that changes the style of the output.
I see two possible implementations:
#show-module collects any unknown named arguments into #style-args.options.
#show-module accepts a new parameter theme-options.
It would be nice to allow arbitrary options to be passed to
#show-modulethat are available to themes in#style-args.options. This would allow themes to define custom options beyond the ones Tidy offers for further customization of the output. For example, a theme could allow users to pass in aprimarycolor, that changes the style of the output.I see two possible implementations:
#show-modulecollects any unknown named arguments into#style-args.options.#show-moduleaccepts a new parametertheme-options.