_settingsUtility->displayCheckbox(
__('Markdown support (GFM)', 'enlighter'),
'gfm-enabled',
array(
'label' => __('Enable', 'enlighter'),
'readmore' => 'https://help.github.com/articles/creating-and-highlighting-code-blocks/',
'description' => __('Markdown Fanatic ? Enlighter also supports GFM style fenced code blocks.', 'enlighter')
));
?>
_settingsUtility->displayCheckbox(
__('Inline code', 'enlighter'),
'gfm-inline',
array(
'label' => __('Enable', 'enlighter'),
'description' => __('Handle code within single backticks as inline code. Trailing language attributes are supported.', 'enlighter')
));
?>
_settingsUtility->displaySelect(
__('Generic codeblocks', 'enlighter'),
'gfm-language',
array(
'raw' => __('No highlighting (lang=raw)', 'enlighter'),
'generic' => __('Generic Highlighting (lang=generic)', 'enlighter')
),
array(
'description' => __('In case no language identifier is given, choose the default behaviour.', 'enlighter')
)
);
?>
_settingsUtility->displayCheckbox(
__('the_content', 'enlighter'),
'gfm-filter-content',
array(
'label' => __('Enable', 'enlighter'),
'description' => __('x', 'enlighter'),
'readmore' => 'https://codex.wordpress.org/Function_Reference/get_the_content'
));
?>
_settingsUtility->displayCheckbox(
__('the_excerpt', 'enlighter'),
'gfm-filter-excerpt',
array(
'label' => __('Enable', 'enlighter'),
'description' => __('x', 'enlighter'),
'readmore' => 'https://developer.wordpress.org/reference/functions/the_excerpt/'
));
?>
_settingsUtility->displayCheckbox(
__('widget_text', 'enlighter'),
'gfm-filter-widget',
array(
'label' => __('Enable', 'enlighter'),
'description' => __('x', 'enlighter'),
'readmore' => 'https://codex.wordpress.org/Plugin_API/Filter_Reference/widget_text'
));
?>
_settingsUtility->displayCheckbox(
__('comment_text', 'enlighter'),
'gfm-filter-comment',
array(
'label' => __('Enable', 'enlighter'),
'description' => __('x', 'enlighter'),
'readmore' => 'https://codex.wordpress.org/Function_Reference/comment_text'
));
?>
_settingsUtility->displayCheckbox(
__('comment_excerpt', 'enlighter'),
'gfm-filter-commentexcerpt',
array(
'label' => __('Enable', 'enlighter'),
'description' => __('x', 'enlighter'),
'readmore' => 'https://codex.wordpress.org/Function_Reference/comment_excerpt'
));
?>