WYSIWYG CodeSnippet Languages

Component ID

2643164

Component name

WYSIWYG CodeSnippet Languages

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Component created

Component changed

Component body

Extends WYSIWYG CodeSnippet to provide support for extra languages (from default highlighter, highlighter.js).

Instructions

  1. Ensure that you have wysiwyg_codesnippet installed.
  2. Download and select languages from highlight.js
  3. Replace highlight.js library, eg: sites/all/libraries/ckeditor/plugins/codesnippet/lib/highlight
  4. Edit WYSIWYG profile and include extra languages under CodeSnippet Languages, eg: admin/config/content/wysiwyg/profile/<profile>/edit