Closed mojavelinux closed 6 years ago
In fact, the documentation clearly states:
Passing options to activate is preferred to setting global or singleton variables.
These global settings exist for legacy reasons. The AsciiDoc support use to be part of Middleman core, so the only way to configure it was through global settings. Now that it's a proper extension, we can rely on configuration via the activate function.
Drop support for the global config key
:asciidoc_attributes
. For example:This was the pre-Middleman 4 way of configuring an extension. The modern way of configuring an extension is to pass a key (
attributes
) to the activate function, which is already supported by this extension.