Drupal 9

Code highlighting in Drupal 9

Submitted by Rork on Mon, 12/07/2020 - 18:08

The next step will be to add some coding stuff to this website. It would be nice to add code highlighting first for better readability. Drupal 9 currently has three modules that offer code highlighting: CKEditor CodeSnippet, Server-sided code highlighting and GeSHi Filter for syntax highlighting. GeSHi filter seems to lack support for two languages I need. Therefore, I went for CKEditor CodeSnippet.