Installing geshi filter

Submitted by Tha-Fox on 2013-10-14

I have many posts that include lines from configuration files. I have previously used custom CSS to make those lines more readable. Now as I migrated to Drupal I wanted more generally used solution. I found some discussion around this theme from here: After taking some time to familiarize myself with the matter it was an easy decision to choose GeSHi. It is perhaps a bit of an overkill for my needs but I have some spare CPU cycles and hard disk megabytes so why not.

Add new comment

Restricted HTML

  • Allowed HTML tags: <a href hreflang> <em> <strong> <cite> <blockquote cite> <code> <ul type> <ol start type> <li> <dl> <dt> <dd> <h2 id> <h3 id> <h4 id> <h5 id> <h6 id>
  • Lines and paragraphs break automatically.
  • Web page addresses and email addresses turn into links automatically.