Overview

The Code Snippets module allows you to store and display code snippets on Drupal sites. The module implements a "Code snippet" content type for storing snippets and uses GeSHi to highlight the code.

Upgrades during alpha releases

While this module is in development, there will be no database upgrade support.

Features

  • Store code in a "Code snippet" content type
  • Highlights code using GeSHi

Instructions

  1. Download and install required modules
  2. Go to Content -> "Add content" and click on "Code Snippet".

Requirements

Optional

Drush:
drush dl snippets geshifilter libraries views ctools

Supporting organizations: 
Drupal 9 & 10 release

Project information

Releases