Hello !
you can add your own language support by following theses steps: https://advanced-gutenberg-blocks.com/block/code-block/
<?php
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’ );
If other people ask for it, I’ll add it in the default list!
Thread Starter
Camilo
(@camilo517)
It would be great to add it, powershell and sql 😉