aboutsummaryrefslogtreecommitdiffstats
path: root/public/prism/prism-nand2tetris-hdl.min.js
blob: 02f2e5b1c84a4247ac152c7b2d38872d2c2a50d6 (plain)
1
2
3
4
5
6
7
8
9
Prism.languages.editorconfig = {
  // https://editorconfig-specification.readthedocs.io
  comment: /[;#].*/,
  section: {
    pattern: /(^[ \t]*)\[.+\]/m,
    lookbehind: true,
s="p">{ regex: /\\\\[\[\]{},!?.*]/, // Escape special characters with '\\' operator: /[!?]|\.\.|\*{1,2}/, punctuation: /[\[\]{},]/, }, }, key: { pattern: /(^[ \t]*)[^\s=]+(?=[ \t]*=)/m, lookbehind: true, alias: 'attr-name', }, value: { pattern: /=.*/, alias: 'attr-value', inside: { punctuation: /^=/, }, }, };