_settingsUtility->displayCheckbox( __('EnlighterJS library', 'enlighter'), 'enlighterjs-assets-js', array( 'label' => 'Include', 'description' => __('Add the EnlighterJS javascript library to your site.', 'enlighter') )); ?> _settingsUtility->displayCheckbox( __('EnlighterJS themes', 'enlighter'), 'enlighterjs-assets-themes', array( 'label' => 'Include', 'description' => __('Add the EnlighterJS stylesheet including all themes to your site.', 'enlighter') )); ?> _settingsUtility->displayCheckbox( __('External themes', 'enlighter'), 'enlighterjs-assets-themes-external', array( 'label' => 'Include', 'description' => __('Custom/external themes located into your themes directory can be automatically loaded.', 'enlighter') )); ?>

In case you're using optimization plugins which are invoking scripts via defer or async, you have to use the single file mode - otherwise is initialization is triggered before the library has been loaded.
As a disadvantage, by changing the Enlighter settings the external javascript file needs to be regenerated which forces the web-browser to reload the whole file (caching). This shouldn't have any impact to normal websites.

This option has no effect when Dynamic-Resource-Invocation has been enabled!

_settingsUtility->displaySelect( __('Initialization code', 'enlighter'), 'enlighterjs-init', array( 'inline' => __('Add inline code to wp_footer (default)', 'enlighter'), 'merged' => __('Add code to the library (single file)', 'enlighter'), 'disabled' => __('Do not include (for manual usage only)', 'enlighter') ), array( 'description' => __('EnlighterJS requires to be initialized by a small code snippet which will be added as inline code after the EnlighterJS library.', 'enlighter') ) ); ?>

The Dynamic-Resource-Invocation features adds a small javascript observer (~1KB) to your website which invokes the EnlighterJS assets loading (styles+scripts) automatically when codeblocks with matching CSS selectors have been found. It also works with the dynamic content extension as well as with third party optimization plugins.

_settingsUtility->displayCheckbox( __('Dynamic Resource Invocation (DRI)', 'enlighter'), 'dynamic-resource-invocation', array( 'label' => 'Enable', 'description' => __('To optimize your website load-time it`s possible to load the EnlighterJS library only if codeblocks are used on the current page. In case it`s enable, the plugin will observer it`s invocation (visual editor, shortcodes, markdown).', 'enlighter') )); ?>