Sha256: cdd77dbf13f2e99d4ca29923c9715cec578bdf55768dfcee9c3ca8b5d0937816

Contents?: true

Size: 586 Bytes

Versions: 6

Compression:

Stored size: 586 Bytes

Contents

Prism.languages.bison=Prism.languages.extend("c",{}),Prism.languages.insertBefore("bison","comment",{bison:{pattern:/^[\s\S]*?%%[\s\S]*?%%/,inside:{c:{pattern:/%\{[\s\S]*?%\}|\{(?:\{[^}]*\}|[^{}])*\}/,inside:{delimiter:{pattern:/^%?\{|%?\}$/,alias:"punctuation"},"bison-variable":{pattern:/[$@](?:<[^\s>]+>)?[\w$]+/,alias:"variable",inside:{punctuation:/<|>/}},rest:Prism.languages.c}},comment:Prism.languages.c.comment,string:Prism.languages.c.string,property:/\S+(?=:)/,keyword:/%\w+/,number:{pattern:/(^|[^@])\b(?:0x[\da-f]+|\d+)/i,lookbehind:!0},punctuation:/%[%?]|[|:;\[\]<>]/}}});

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
highlighting-0.1.4 vendor/assets/javascripts/prism-bison.min.js
prism-rails-1.5.0 vendor/assets/javascripts/prism-bison.min.js
highlighting-0.1.3 vendor/assets/javascripts/prism-bison.min.js
highlighting-0.1.2 vendor/assets/javascripts/prism-bison.min.js
highlighting-0.1.1 vendor/assets/javascripts/prism-bison.min.js
highlighting-0.1.0 vendor/assets/javascripts/prism-bison.min.js