Powershell highlight
-
I’m trying to highlight powershell and have added:
function my_custom_languages( $languages ) {
$languages[] = array(‘slug’ => ‘powershell, ‘mode’ => ‘PowerShell’, ‘label’ => ‘Powershell’) ;return $languages;
}
add_filter( ‘advanced_gutenberg_blocks_code_languages’, ‘my_custom_languages’ );While the block is displayed as it should, there is no markup for the code.
What can be done?
- The topic ‘Powershell highlight’ is closed to new replies.