Sha256: 791ce494e670ed6b640de85f602c0fe8024c90509dce71566459ca00dcc3a97a

Contents?: true

Size: 671 Bytes

Versions: 3

Compression:

Stored size: 671 Bytes

Contents

/*
Language: Ini
*/

hljs.LANGUAGES.ini = {
  case_insensitive: true,
  defaultMode: {
    illegal: '[^\\s]',
    contains: [
      {
        className: 'comment',
        begin: ';', end: '$'
      },
      {
        className: 'title',
        begin: '^\\[', end: '\\]'
      },
      {
        className: 'setting',
        begin: '^[a-z0-9_\\[\\]]+[ \\t]*=[ \\t]*', end: '$',
        contains: [
          {
            className: 'value',
            endsWithParent: true,
            keywords: {'on': 1, 'off': 1, 'true': 1, 'false': 1, 'yes': 1, 'no': 1},
            contains: [hljs.QUOTE_STRING_MODE, hljs.NUMBER_MODE]
          }
        ]
      }
    ]
  }
};

Version data entries

3 entries across 3 versions & 2 rubygems

Version Path
highlight_js-rails-0.0.2 vendor/assets/javascripts/highlight_js/languages/ini.js
showoffer-0.0.1 public/highlight/languages/ini.js
highlight_js-rails-0.0.1 vendor/assets/javascripts/highlight_js/languages/ini.js