Syntax Highlight

Syntax Highlight for Drupal with Built-in highlight.js on CKEditor

  • Posted on: 24 July 2014
  • By: oon
Highlight.js Syntax Highlighting for the Web

It's almost 2 years since I wrote about Highlight.js on this blog.

And suddenly few days ago after I update to latest version of CKEditor, the syntax highlighting process on this blog got problem.

I decide to re-install HighlightJS and also the CKEditor (now with CDN data).

Since CKEditor 4.4, it has new feature, syntax highlighting, and the default mechanism using Highlight.JS [1].

Here's few steps on my Highlight.js updates:

Migrate from Google Code Prettify to Highlight.js in Drupal 7

  • Posted on: 8 February 2013
  • By: oon

Sebulan sudah merasakan membuat artikel-artikel penuh #kode dengan dipercantik (syntax highlighting) menggunakan Google Code Prettify.

Hari ini mencoba migrasi ke Highlight.js [1] sambil mempelajari sejumlah hal yang menjadi masalah penyajian kode.