Installer le module :
composer require drupal/highlightjs_input_filter
Activer highlight.js Input Filter
Configuration > Content authoring > Text formats and editors
Configuration > Content authoring > highlight.js Input Filter settings