Sha256: e61761fd16388864aa0a2fcad9223d10c83938a0efc6b332f0785dcabf8d307a

Contents?: true

Size: 520 Bytes

Versions: 7

Compression:

Stored size: 520 Bytes

Contents

Prism.languages.python={comment:{pattern:/(^|[^\\])#.*?(\r?\n|$)/g,lookbehind:!0},string:/"""[\s\S]+?"""|("|')(\\?.)*?\1/g,keyword:/\b(as|assert|break|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|pass|print|raise|return|try|while|with|yield)\b/g,"boolean":/\b(True|False)\b/g,number:/\b-?(0x)?\d*\.?[\da-f]+\b/g,operator:/[-+]{1,2}|=?<|=?>|!|={1,2}|(&){1,2}|(&){1,2}|\|?\||\?|\*|\/|~|\^|%|\b(or|and|not)\b/g,ignore:/&(lt|gt|amp);/gi,punctuation:/[{}[\];(),.:]/g};

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
hyhyhy-1.0.0 lib/hyhyhy/structure/_includes/prism/components/prism-python.min.js
hyhyhy-0.0.9 lib/hyhyhy/structure/_includes/prism/components/prism-python.min.js
hyhyhy-0.0.8 lib/hyhyhy/structure/_includes/prism/components/prism-python.min.js
hyhyhy-0.0.7 lib/hyhyhy/structure/_includes/prism/components/prism-python.min.js
hyhyhy-0.0.6 lib/hyhyhy/structure/_includes/prism/components/prism-python.min.js
hyhyhy-0.0.5 lib/hyhyhy/structure/_includes/prism/components/prism-python.min.js
hyhyhy-0.0.4 lib/hyhyhy/structure/_includes/prism/components/prism-python.min.js