Repository: adam-p/markdown-here
Branch: master
Commit: e00d00529992
Files: 381
Total size: 3.3 MB
Directory structure:
gitextract_3yxotjfx/
├── .eslintrc.json
├── .gitattributes
├── .github/
│ └── FUNDING.yml
├── .gitignore
├── CHANGES.md
├── CLA-entity.md
├── CLA-individual.md
├── CONTRIBUTING.md
├── LICENSE
├── Makefile
├── PRIVACY.md
├── README.md
├── contributors/
│ ├── adam-p.md
│ ├── dugite-code.md
│ ├── michaelstepner.md
│ ├── mtlynch.md
│ └── wm8120.md
├── src/
│ ├── _locales/
│ │ ├── de/
│ │ │ ├── description.txt
│ │ │ ├── markdown-here-image2.txt
│ │ │ ├── md-for-screenshot.md.txt
│ │ │ ├── messages.json
│ │ │ └── screenshot-captions.txt
│ │ ├── en/
│ │ │ └── messages.json
│ │ ├── es/
│ │ │ ├── description.txt
│ │ │ ├── markdown-here-image2.txt
│ │ │ ├── md-for-screenshot.md.txt
│ │ │ ├── messages.json
│ │ │ └── screenshot-captions.txt
│ │ ├── fr/
│ │ │ ├── description.txt
│ │ │ ├── markdown-here-image2.txt
│ │ │ ├── md-for-screenshot.md.txt
│ │ │ ├── messages.json
│ │ │ └── screenshot-captions.txt
│ │ ├── it/
│ │ │ ├── description.txt
│ │ │ ├── markdown-here-image2.txt
│ │ │ ├── md-for-screenshot.md.txt
│ │ │ ├── messages.json
│ │ │ └── screenshot-captions.txt
│ │ ├── ja/
│ │ │ ├── description.txt
│ │ │ ├── markdown-here-image2.txt
│ │ │ ├── md-for-screenshot.md.txt
│ │ │ ├── messages.json
│ │ │ └── screenshot-captions.txt
│ │ ├── ko/
│ │ │ ├── description.txt
│ │ │ ├── markdown-here-image2.txt
│ │ │ ├── md-for-screenshot.md.txt
│ │ │ ├── messages.json
│ │ │ └── screenshot-captions.txt
│ │ ├── pl/
│ │ │ ├── description.txt
│ │ │ ├── markdown-here-image2.txt
│ │ │ ├── md-for-screenshot.md.txt
│ │ │ ├── messages.json
│ │ │ └── screenshot-captions.txt
│ │ ├── pt_BR/
│ │ │ ├── description.txt
│ │ │ ├── markdown-here-image2.txt
│ │ │ ├── md-for-screenshot.md.txt
│ │ │ ├── messages.json
│ │ │ └── screenshot-captions.txt
│ │ ├── ru/
│ │ │ ├── description.txt
│ │ │ ├── markdown-here-image2.txt
│ │ │ ├── md-for-screenshot.md.txt
│ │ │ ├── messages.json
│ │ │ └── screenshot-captions.txt
│ │ ├── tr/
│ │ │ ├── description.txt
│ │ │ ├── markdown-here-image2.txt
│ │ │ ├── md-for-screenshot.md.txt
│ │ │ ├── messages.json
│ │ │ └── screenshot-captions.txt
│ │ ├── zh_CN/
│ │ │ ├── description.txt
│ │ │ ├── markdown-here-image2.txt
│ │ │ ├── md-for-screenshot.md.txt
│ │ │ ├── messages.json
│ │ │ └── screenshot-captions.txt
│ │ └── zh_TW/
│ │ ├── description.txt
│ │ ├── markdown-here-image2.txt
│ │ ├── md-for-screenshot.md.txt
│ │ ├── messages.json
│ │ └── screenshot-captions.txt
│ ├── chrome/
│ │ ├── background.html
│ │ ├── backgroundscript.js
│ │ ├── contentscript.js
│ │ ├── upgrade-notification-popup.html
│ │ └── upgrade-notification-popup.js
│ ├── common/
│ │ ├── CHANGES.md
│ │ ├── common-logic.js
│ │ ├── content-permissions.js
│ │ ├── default.css
│ │ ├── forgot-to-render-prompt.html
│ │ ├── highlightjs/
│ │ │ ├── highlight.js
│ │ │ └── styles/
│ │ │ ├── 1c-light.css
│ │ │ ├── a11y-dark.css
│ │ │ ├── a11y-light.css
│ │ │ ├── agate.css
│ │ │ ├── an-old-hope.css
│ │ │ ├── androidstudio.css
│ │ │ ├── arduino-light.css
│ │ │ ├── arta.css
│ │ │ ├── ascetic.css
│ │ │ ├── atom-one-dark-reasonable.css
│ │ │ ├── atom-one-dark.css
│ │ │ ├── atom-one-light.css
│ │ │ ├── base16/
│ │ │ │ ├── 3024.css
│ │ │ │ ├── apathy.css
│ │ │ │ ├── apprentice.css
│ │ │ │ ├── ashes.css
│ │ │ │ ├── atelier-cave-light.css
│ │ │ │ ├── atelier-cave.css
│ │ │ │ ├── atelier-dune-light.css
│ │ │ │ ├── atelier-dune.css
│ │ │ │ ├── atelier-estuary-light.css
│ │ │ │ ├── atelier-estuary.css
│ │ │ │ ├── atelier-forest-light.css
│ │ │ │ ├── atelier-forest.css
│ │ │ │ ├── atelier-heath-light.css
│ │ │ │ ├── atelier-heath.css
│ │ │ │ ├── atelier-lakeside-light.css
│ │ │ │ ├── atelier-lakeside.css
│ │ │ │ ├── atelier-plateau-light.css
│ │ │ │ ├── atelier-plateau.css
│ │ │ │ ├── atelier-savanna-light.css
│ │ │ │ ├── atelier-savanna.css
│ │ │ │ ├── atelier-seaside-light.css
│ │ │ │ ├── atelier-seaside.css
│ │ │ │ ├── atelier-sulphurpool-light.css
│ │ │ │ ├── atelier-sulphurpool.css
│ │ │ │ ├── atlas.css
│ │ │ │ ├── bespin.css
│ │ │ │ ├── black-metal-bathory.css
│ │ │ │ ├── black-metal-burzum.css
│ │ │ │ ├── black-metal-dark-funeral.css
│ │ │ │ ├── black-metal-gorgoroth.css
│ │ │ │ ├── black-metal-immortal.css
│ │ │ │ ├── black-metal-khold.css
│ │ │ │ ├── black-metal-marduk.css
│ │ │ │ ├── black-metal-mayhem.css
│ │ │ │ ├── black-metal-nile.css
│ │ │ │ ├── black-metal-venom.css
│ │ │ │ ├── black-metal.css
│ │ │ │ ├── brewer.css
│ │ │ │ ├── bright.css
│ │ │ │ ├── brogrammer.css
│ │ │ │ ├── brush-trees-dark.css
│ │ │ │ ├── brush-trees.css
│ │ │ │ ├── chalk.css
│ │ │ │ ├── circus.css
│ │ │ │ ├── classic-dark.css
│ │ │ │ ├── classic-light.css
│ │ │ │ ├── codeschool.css
│ │ │ │ ├── colors.css
│ │ │ │ ├── cupcake.css
│ │ │ │ ├── cupertino.css
│ │ │ │ ├── danqing.css
│ │ │ │ ├── darcula.css
│ │ │ │ ├── dark-violet.css
│ │ │ │ ├── darkmoss.css
│ │ │ │ ├── darktooth.css
│ │ │ │ ├── decaf.css
│ │ │ │ ├── default-dark.css
│ │ │ │ ├── default-light.css
│ │ │ │ ├── dirtysea.css
│ │ │ │ ├── dracula.css
│ │ │ │ ├── edge-dark.css
│ │ │ │ ├── edge-light.css
│ │ │ │ ├── eighties.css
│ │ │ │ ├── embers.css
│ │ │ │ ├── equilibrium-dark.css
│ │ │ │ ├── equilibrium-gray-dark.css
│ │ │ │ ├── equilibrium-gray-light.css
│ │ │ │ ├── equilibrium-light.css
│ │ │ │ ├── espresso.css
│ │ │ │ ├── eva-dim.css
│ │ │ │ ├── eva.css
│ │ │ │ ├── flat.css
│ │ │ │ ├── framer.css
│ │ │ │ ├── fruit-soda.css
│ │ │ │ ├── gigavolt.css
│ │ │ │ ├── github.css
│ │ │ │ ├── google-dark.css
│ │ │ │ ├── google-light.css
│ │ │ │ ├── grayscale-dark.css
│ │ │ │ ├── grayscale-light.css
│ │ │ │ ├── green-screen.css
│ │ │ │ ├── gruvbox-dark-hard.css
│ │ │ │ ├── gruvbox-dark-medium.css
│ │ │ │ ├── gruvbox-dark-pale.css
│ │ │ │ ├── gruvbox-dark-soft.css
│ │ │ │ ├── gruvbox-light-hard.css
│ │ │ │ ├── gruvbox-light-medium.css
│ │ │ │ ├── gruvbox-light-soft.css
│ │ │ │ ├── hardcore.css
│ │ │ │ ├── harmonic16-dark.css
│ │ │ │ ├── harmonic16-light.css
│ │ │ │ ├── heetch-dark.css
│ │ │ │ ├── heetch-light.css
│ │ │ │ ├── helios.css
│ │ │ │ ├── hopscotch.css
│ │ │ │ ├── horizon-dark.css
│ │ │ │ ├── horizon-light.css
│ │ │ │ ├── humanoid-dark.css
│ │ │ │ ├── humanoid-light.css
│ │ │ │ ├── ia-dark.css
│ │ │ │ ├── ia-light.css
│ │ │ │ ├── icy-dark.css
│ │ │ │ ├── ir-black.css
│ │ │ │ ├── isotope.css
│ │ │ │ ├── kimber.css
│ │ │ │ ├── london-tube.css
│ │ │ │ ├── macintosh.css
│ │ │ │ ├── marrakesh.css
│ │ │ │ ├── materia.css
│ │ │ │ ├── material-darker.css
│ │ │ │ ├── material-lighter.css
│ │ │ │ ├── material-palenight.css
│ │ │ │ ├── material-vivid.css
│ │ │ │ ├── material.css
│ │ │ │ ├── mellow-purple.css
│ │ │ │ ├── mexico-light.css
│ │ │ │ ├── mocha.css
│ │ │ │ ├── monokai.css
│ │ │ │ ├── nebula.css
│ │ │ │ ├── nord.css
│ │ │ │ ├── nova.css
│ │ │ │ ├── ocean.css
│ │ │ │ ├── oceanicnext.css
│ │ │ │ ├── one-light.css
│ │ │ │ ├── onedark.css
│ │ │ │ ├── outrun-dark.css
│ │ │ │ ├── papercolor-dark.css
│ │ │ │ ├── papercolor-light.css
│ │ │ │ ├── paraiso.css
│ │ │ │ ├── pasque.css
│ │ │ │ ├── phd.css
│ │ │ │ ├── pico.css
│ │ │ │ ├── pop.css
│ │ │ │ ├── porple.css
│ │ │ │ ├── qualia.css
│ │ │ │ ├── railscasts.css
│ │ │ │ ├── rebecca.css
│ │ │ │ ├── ros-pine-dawn.css
│ │ │ │ ├── ros-pine-moon.css
│ │ │ │ ├── ros-pine.css
│ │ │ │ ├── sagelight.css
│ │ │ │ ├── sandcastle.css
│ │ │ │ ├── seti-ui.css
│ │ │ │ ├── shapeshifter.css
│ │ │ │ ├── silk-dark.css
│ │ │ │ ├── silk-light.css
│ │ │ │ ├── snazzy.css
│ │ │ │ ├── solar-flare-light.css
│ │ │ │ ├── solar-flare.css
│ │ │ │ ├── solarized-dark.css
│ │ │ │ ├── solarized-light.css
│ │ │ │ ├── spacemacs.css
│ │ │ │ ├── summercamp.css
│ │ │ │ ├── summerfruit-dark.css
│ │ │ │ ├── summerfruit-light.css
│ │ │ │ ├── synth-midnight-terminal-dark.css
│ │ │ │ ├── synth-midnight-terminal-light.css
│ │ │ │ ├── tango.css
│ │ │ │ ├── tender.css
│ │ │ │ ├── tomorrow-night.css
│ │ │ │ ├── tomorrow.css
│ │ │ │ ├── twilight.css
│ │ │ │ ├── unikitty-dark.css
│ │ │ │ ├── unikitty-light.css
│ │ │ │ ├── vulcan.css
│ │ │ │ ├── windows-10-light.css
│ │ │ │ ├── windows-10.css
│ │ │ │ ├── windows-95-light.css
│ │ │ │ ├── windows-95.css
│ │ │ │ ├── windows-high-contrast-light.css
│ │ │ │ ├── windows-high-contrast.css
│ │ │ │ ├── windows-nt-light.css
│ │ │ │ ├── windows-nt.css
│ │ │ │ ├── woodland.css
│ │ │ │ ├── xcode-dusk.css
│ │ │ │ └── zenburn.css
│ │ │ ├── codepen-embed.css
│ │ │ ├── color-brewer.css
│ │ │ ├── cybertopia-cherry.css
│ │ │ ├── cybertopia-dimmer.css
│ │ │ ├── cybertopia-icecap.css
│ │ │ ├── cybertopia-saturated.css
│ │ │ ├── dark.css
│ │ │ ├── default.css
│ │ │ ├── devibeans.css
│ │ │ ├── docco.css
│ │ │ ├── far.css
│ │ │ ├── felipec.css
│ │ │ ├── foundation.css
│ │ │ ├── github-dark-dimmed.css
│ │ │ ├── github-dark.css
│ │ │ ├── github.css
│ │ │ ├── gml.css
│ │ │ ├── googlecode.css
│ │ │ ├── gradient-dark.css
│ │ │ ├── gradient-light.css
│ │ │ ├── grayscale.css
│ │ │ ├── hybrid.css
│ │ │ ├── idea.css
│ │ │ ├── intellij-light.css
│ │ │ ├── ir-black.css
│ │ │ ├── isbl-editor-dark.css
│ │ │ ├── isbl-editor-light.css
│ │ │ ├── kimbie-dark.css
│ │ │ ├── kimbie-light.css
│ │ │ ├── lightfair.css
│ │ │ ├── lioshi.css
│ │ │ ├── magula.css
│ │ │ ├── mono-blue.css
│ │ │ ├── monokai-sublime.css
│ │ │ ├── monokai.css
│ │ │ ├── night-owl.css
│ │ │ ├── nnfx-dark.css
│ │ │ ├── nnfx-light.css
│ │ │ ├── nord.css
│ │ │ ├── obsidian.css
│ │ │ ├── panda-syntax-dark.css
│ │ │ ├── panda-syntax-light.css
│ │ │ ├── paraiso-dark.css
│ │ │ ├── paraiso-light.css
│ │ │ ├── purebasic.css
│ │ │ ├── qtcreator-dark.css
│ │ │ ├── qtcreator-light.css
│ │ │ ├── rainbow.css
│ │ │ ├── rose-pine-dawn.css
│ │ │ ├── rose-pine-moon.css
│ │ │ ├── rose-pine.css
│ │ │ ├── routeros.css
│ │ │ ├── school-book.css
│ │ │ ├── shades-of-purple.css
│ │ │ ├── srcery.css
│ │ │ ├── stackoverflow-dark.css
│ │ │ ├── stackoverflow-light.css
│ │ │ ├── styles.json
│ │ │ ├── sunburst.css
│ │ │ ├── tokyo-night-dark.css
│ │ │ ├── tokyo-night-light.css
│ │ │ ├── tomorrow-night-blue.css
│ │ │ ├── tomorrow-night-bright.css
│ │ │ ├── vs.css
│ │ │ ├── vs2015.css
│ │ │ ├── xcode.css
│ │ │ └── xt256.css
│ │ ├── jsHtmlToText.js
│ │ ├── markdown-here.js
│ │ ├── markdown-render.js
│ │ ├── marked.js
│ │ ├── mdh-html-to-text.js
│ │ ├── options-iframe.html
│ │ ├── options-iframe.js
│ │ ├── options-store.js
│ │ ├── options.html
│ │ ├── options.js
│ │ ├── test/
│ │ │ ├── chai.js
│ │ │ ├── common-logic-test.js
│ │ │ ├── index.html
│ │ │ ├── markdown-here-test.js
│ │ │ ├── markdown-render-test.js
│ │ │ ├── mdh-html-to-text-test.js
│ │ │ ├── mocha.css
│ │ │ ├── mocha.js
│ │ │ ├── options-store-test.js
│ │ │ ├── test-prep.js
│ │ │ ├── test-run.js
│ │ │ ├── underscore.js
│ │ │ └── utils-test.js
│ │ └── utils.js
│ └── manifest.json
├── store-assets/
│ ├── amo-reviewer-notes.txt
│ ├── description.txt
│ ├── markdown-here-chrome-options-1.gimp.xcf
│ ├── markdown-here-image1.gimp.xcf
│ ├── markdown-here-image2.gimp.xcf
│ ├── markdown-here-image2.txt
│ ├── markdown-here-promo-small.gimp.xcf
│ ├── md-for-screenshot.md.txt
│ └── screenshot-captions.txt
├── test/
│ └── index.html
└── utils/
├── build.js
└── package.json
================================================
FILE CONTENTS
================================================
================================================
FILE: .eslintrc.json
================================================
{
"env": {
"browser": true,
"commonjs": true,
"es6": true,
"node": true
},
"parserOptions": {
"ecmaFeatures": {
"jsx": true
},
"sourceType": "module"
},
"rules": {
"accessor-pairs": "error",
"arrow-spacing": ["error", { "before": true, "after": true }],
"block-spacing": ["error", "always"],
"brace-style": ["error", "stroustrup", { "allowSingleLine": true }],
"camelcase": ["error", { "properties": "never" }],
"comma-dangle": ["error", {
"arrays": "never",
"objects": "never",
"imports": "never",
"exports": "never",
"functions": "never"
}],
"comma-spacing": ["error", { "before": false, "after": true }],
"comma-style": ["error", "last"],
"constructor-super": "error",
"curly": ["error", "multi-line"],
"dot-location": ["error", "property"],
"eol-last": "error",
"eqeqeq": ["error", "always", { "null": "ignore" }],
"func-call-spacing": ["error", "never"],
"generator-star-spacing": ["error", { "before": true, "after": true }],
"handle-callback-err": ["error", "^(err|error)$" ],
"indent": ["error", 2, { "SwitchCase": 1 }],
"key-spacing": ["error", { "beforeColon": false, "afterColon": true }],
"keyword-spacing": ["error", { "before": true, "after": true }],
"new-cap": ["error", { "newIsCap": true, "capIsNew": false }],
"new-parens": "error",
"no-array-constructor": "error",
"no-caller": "error",
"no-class-assign": "error",
"no-compare-neg-zero": "error",
"no-cond-assign": "error",
"no-const-assign": "error",
"no-constant-condition": ["error", { "checkLoops": false }],
"no-control-regex": "error",
"no-debugger": "error",
"no-delete-var": "error",
"no-dupe-args": "error",
"no-dupe-class-members": "error",
"no-dupe-keys": "error",
"no-duplicate-case": "error",
"no-empty-character-class": "error",
"no-empty-pattern": "error",
"no-eval": "error",
"no-ex-assign": "error",
"no-extend-native": "error",
"no-extra-bind": "error",
"no-extra-boolean-cast": "error",
"no-extra-parens": ["error", "functions"],
"no-fallthrough": "error",
"no-floating-decimal": "error",
"no-func-assign": "error",
"no-global-assign": "error",
"no-implied-eval": "error",
"no-inner-declarations": ["error", "functions"],
"no-invalid-regexp": "error",
"no-irregular-whitespace": "error",
"no-iterator": "error",
"no-label-var": "error",
"no-labels": ["error", { "allowLoop": false, "allowSwitch": false }],
"no-lone-blocks": "error",
"no-mixed-operators": ["error", {
"groups": [
["==", "!=", "===", "!==", ">", ">=", "<", "<="],
["&&", "||"],
["in", "instanceof"]
],
"allowSamePrecedence": true
}],
"no-mixed-spaces-and-tabs": "error",
"no-multi-spaces": "error",
"no-multi-str": "error",
"no-multiple-empty-lines": ["error", { "max": 2, "maxEOF": 0 }],
"no-negated-in-lhs": "error",
"no-new": "error",
"no-new-func": "error",
"no-new-object": "error",
"no-new-require": "error",
"no-new-symbol": "error",
"no-new-wrappers": "error",
"no-obj-calls": "error",
"no-octal": "error",
"no-octal-escape": "error",
"no-path-concat": "error",
"no-proto": "error",
"no-redeclare": "error",
"no-regex-spaces": "error",
"no-return-assign": ["error", "except-parens"],
"no-return-await": "error",
"no-self-assign": "error",
"no-self-compare": "error",
"no-sequences": "error",
"no-shadow-restricted-names": "error",
"no-sparse-arrays": "error",
"no-tabs": "error",
"no-template-curly-in-string": "error",
"no-this-before-super": "error",
"no-throw-literal": "error",
"no-trailing-spaces": "error",
"no-undef": "error",
"no-undef-init": "error",
"no-unexpected-multiline": "error",
"no-unmodified-loop-condition": "error",
"no-unneeded-ternary": ["error", { "defaultAssignment": false }],
"no-unreachable": "error",
"no-unsafe-finally": "error",
"no-unsafe-negation": "error",
"no-unused-expressions": ["error", { "allowShortCircuit": true, "allowTernary": true, "allowTaggedTemplates": true }],
"no-unused-vars": ["error", { "vars": "all", "args": "none", "ignoreRestSiblings": true }],
"no-use-before-define": ["error", { "functions": false, "classes": false, "variables": false }],
"no-useless-call": "error",
"no-useless-computed-key": "error",
"no-useless-constructor": "error",
"no-useless-escape": "error",
"no-useless-rename": "error",
"no-useless-return": "error",
"no-whitespace-before-property": "error",
"no-with": "error",
"object-property-newline": ["error", { "allowMultiplePropertiesPerLine": true }],
"one-var": ["error", { "initialized": "never" }],
"operator-linebreak": ["error", "after", { "overrides": { "?": "before", ":": "before" } }],
"padded-blocks": ["error", { "blocks": "never", "switches": "never", "classes": "never" }],
"prefer-promise-reject-errors": "error",
"quotes": ["error", "single", { "avoidEscape": true, "allowTemplateLiterals": true }],
"rest-spread-spacing": ["error", "never"],
"semi": ["error", "always"],
"semi-spacing": ["error", { "before": false, "after": true }],
"space-before-blocks": ["error", "always"],
"space-before-function-paren": 0,//["error", "always"],
"space-in-parens": ["error", "never"],
"space-infix-ops": "error",
"space-unary-ops": ["error", { "words": true, "nonwords": false }],
"spaced-comment": ["error", "always", {
"line": { "markers": ["*package", "!", "/", ","] },
"block": { "balanced": true, "markers": ["*package", "!", ",", ":", "::", "flow-include"], "exceptions": ["*"] }
}],
"symbol-description": "error",
"template-curly-spacing": ["error", "never"],
"template-tag-spacing": ["error", "never"],
"unicode-bom": ["error", "never"],
"use-isnan": "error",
"valid-typeof": ["error", { "requireStringLiterals": true }],
"wrap-iife": ["error", "any", { "functionPrototypeMethods": true }],
"yield-star-spacing": ["error", "both"],
"yoda": ["error", "never"],
"import/export": "error",
"import/first": "error",
"import/no-duplicates": "error",
"import/no-webpack-loader-syntax": "error",
"node/no-deprecated-api": "error",
"node/process-exit-as-throw": "error",
"promise/param-names": "error",
"standard/array-bracket-even-spacing": ["error", "either"],
"standard/computed-property-even-spacing": ["error", "even"],
"standard/no-callback-literal": "error",
"standard/object-curly-even-spacing": ["error", "either"]
}
}
================================================
FILE: .gitattributes
================================================
# Auto detect text files and perform LF normalization
*.txt -crlf
================================================
FILE: .github/FUNDING.yml
================================================
github: adam-p
custom: https://paypal.me/adampritchard
================================================
FILE: .gitignore
================================================
.DS_Store
node_modules
Thumbs.db
*.sublime-project
*.sublime-workspace
# Build directory
dist
# Extension stub file
markdown-here@adam.pritchard
================================================
FILE: CHANGES.md
================================================
See [src/common/CHANGES.md](src/common/CHANGES.md)
================================================
FILE: CLA-entity.md
================================================
Markdown Here Entity Contributor License Agreement
==================================================
Thank you for your interest in contributing to Markdown Here ("We" or "Us").
This contributor agreement ("Agreement") documents the rights granted by contributors to Us. To make this document effective, please submit a pull request with a file under the `/contributors` directory indicating your acceptance of this agreement, following the instructions at https://github.com/adam-p/markdown-here/blob/master/CONTRIBUTING.md.
This is a legally binding document, so please read it carefully before agreeing to it. The Agreement may cover more than one software project managed by Us.
## 1. Definitions
"You" means any Legal Entity on behalf of whom a Contribution has been received by Us. "Legal Entity" means an entity which is not a natural person. "Affiliates" means other Legal Entities that control, are controlled by, or under common control with that Legal Entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such Legal Entity, whether by contract or otherwise, (ii) ownership of fifty percent (50%) or more of the outstanding shares or securities which vote to elect the management or other persons who direct such Legal Entity or (iii) beneficial ownership of such entity.
"Contribution" means any work of authorship that is Submitted by You to Us in which You own or assert ownership of the Copyright. If You do not own the Copyright in the entire work of authorship, please follow the instructions in https://github.com/adam-p/markdown-here/blob/master/CONTRIBUTING.md.
"Copyright" means all rights protecting works of authorship owned or controlled by You or Your Affiliates, including copyright, moral and neighboring rights, as appropriate, for the full term of their existence including any extensions by You.
"Material" means the work of authorship which is made available by Us to third parties. When this Agreement covers more than one software project, the Material means the work of authorship to which the Contribution was Submitted. After You Submit the Contribution, it may be included in the Material.
"Submit" means any form of electronic, verbal, or written communication sent to Us or our representatives, including but not limited to electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, Us for the purpose of discussing and improving the Material, but excluding communication that is conspicuously marked or otherwise designated in writing by You as "Not a Contribution."
"Submission Date" means the date on which You Submit a Contribution to Us.
"Effective Date" means the date You execute this Agreement or the date You first Submit a Contribution to Us, whichever is earlier.
## 2. Grant of Rights
2.1 Copyright License
(a) You retain ownership of the Copyright in Your Contribution and have the same rights to use or license the Contribution which You would have had without entering into the Agreement.
(b) To the maximum extent permitted by the relevant law, You grant to Us a perpetual, worldwide, non-exclusive, transferable, royalty-free, irrevocable license under the Copyright covering the Contribution, with the right to sublicense such rights through multiple tiers of sublicensees, to reproduce, modify, display, perform and distribute the Contribution as part of the Material; provided that this license is conditioned upon compliance with Section 2.3.
2.2 Patent License
For patent claims including, without limitation, method, process, and apparatus claims which You or Your Affiliates own, control or have the right to grant, now or in the future, You grant to Us a perpetual, worldwide, non-exclusive, transferable, royalty-free, irrevocable patent license, with the right to sublicense these rights to multiple tiers of sublicensees, to make, have made, use, sell, offer for sale, import and otherwise transfer the Contribution and the Contribution in combination with the Material (and portions of such combination). This license is granted only to the extent that the exercise of the licensed rights infringes such patent claims; and provided that this license is conditioned upon compliance with Section 2.3.
2.3 Outbound License
Based on the grant of rights in Sections 2.1 and 2.2, if We include Your Contribution in a Material, We may license the Contribution under any license, including copyleft, permissive, commercial, or proprietary licenses. As a condition on the exercise of this right, We agree to also license the Contribution under the terms of the license or licenses which We are using for the Material on the Submission Date.
2.4 Moral Rights. If moral rights apply to the Contribution, to the maximum extent permitted by law, You waive and agree not to assert such moral rights against Us or our successors in interest, or any of our licensees, either direct or indirect.
2.5 Our Rights. You acknowledge that We are not obligated to use Your Contribution as part of the Material and may decide to include any Contribution We consider appropriate.
2.6 Reservation of Rights. Any rights not expressly licensed under this section are expressly reserved by You.
## 3. Agreement
You confirm that:
(a) You have the legal authority to enter into this Agreement.
(b) You or Your Affiliates own the Copyright and patent claims covering the Contribution which are required to grant the rights under Section 2.
(c) The grant of rights under Section 2 does not violate any grant of rights which You or Your Affiliates have made to third parties.
(d) You have followed the instructions in https://github.com/adam-p/markdown-here/blob/master/CONTRIBUTING.md, if You do not own the Copyright in the entire work of authorship Submitted.
## 4. Disclaimer
EXCEPT FOR THE EXPRESS WARRANTIES IN SECTION 3, THE CONTRIBUTION IS PROVIDED "AS IS". MORE PARTICULARLY, ALL EXPRESS OR IMPLIED WARRANTIES INCLUDING, WITHOUT LIMITATION, ANY IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT ARE EXPRESSLY DISCLAIMED BY YOU TO US. TO THE EXTENT THAT ANY SUCH WARRANTIES CANNOT BE DISCLAIMED, SUCH WARRANTY IS LIMITED IN DURATION TO THE MINIMUM PERIOD PERMITTED BY LAW.
## 5. Consequential Damage Waiver
TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, IN NO EVENT WILL YOU BE LIABLE FOR ANY LOSS OF PROFITS, LOSS OF ANTICIPATED SAVINGS, LOSS OF DATA, INDIRECT, SPECIAL, INCIDENTAL, CONSEQUENTIAL AND EXEMPLARY DAMAGES ARISING OUT OF THIS AGREEMENT REGARDLESS OF THE LEGAL OR EQUITABLE THEORY (CONTRACT, TORT OR OTHERWISE) UPON WHICH THE CLAIM IS BASED.
## 6. Miscellaneous
6.1 This Agreement will be governed by and construed in accordance with the laws of Canada excluding its conflicts of law provisions. Under certain circumstances, the governing law in this section might be superseded by the United Nations Convention on Contracts for the International Sale of Goods ("UN Convention") and the parties intend to avoid the application of the UN Convention to this Agreement and, thus, exclude the application of the UN Convention in its entirety to this Agreement.
6.2 This Agreement sets out the entire agreement between You and Us for Your Contributions to Us and overrides all other agreements or understandings.
6.3 If You or We assign the rights or obligations received through this Agreement to a third party, as a condition of the assignment, that third party must agree in writing to abide by all the rights and obligations in the Agreement.
6.4 The failure of either party to require performance by the other party of any provision of this Agreement in one situation shall not affect the right of a party to require such performance at any time in the future. A waiver of performance under a provision in one situation shall not be considered a waiver of the performance of the provision in the future or a waiver of the provision in its entirety.
6.5 If any provision of this Agreement is found void and unenforceable, such provision will be replaced to the extent possible with a provision that comes closest to the meaning of the original provision and which is enforceable. The terms and conditions set forth in this Agreement shall apply notwithstanding any failure of essential purpose of this Agreement or any limited remedy to the maximum extent possible under law.
This agreement is derived from the Project Harmony CLA generator:
https://www.harmonyagreements.org/
Harmony (HA-CLA-E-ANY) Version 1.0
================================================
FILE: CLA-individual.md
================================================
Markdown Here Individual Contributor License Agreement
======================================================
Thank you for your interest in contributing to Markdown Here ("We" or "Us").
This contributor agreement ("Agreement") documents the rights granted by contributors to Us. To make this document effective, please submit a pull request with a file under the `/contributors` directory indicating your acceptance of this agreement, following the instructions at https://github.com/adam-p/markdown-here/blob/master/CONTRIBUTING.md.
This is a legally binding document, so please read it carefully before agreeing to it. The Agreement may cover more than one software project managed by Us.
## 1. Definitions
"You" means the individual who Submits a Contribution to Us.
"Contribution" means any work of authorship that is Submitted by You to Us in which You own or assert ownership of the Copyright. If You do not own the Copyright in the entire work of authorship, please follow the instructions in https://github.com/adam-p/markdown-here/blob/master/CONTRIBUTING.md.
"Copyright" means all rights protecting works of authorship owned or controlled by You, including copyright, moral and neighboring rights, as appropriate, for the full term of their existence including any extensions by You.
"Material" means the work of authorship which is made available by Us to third parties. When this Agreement covers more than one software project, the Material means the work of authorship to which the Contribution was Submitted. After You Submit the Contribution, it may be included in the Material.
"Submit" means any form of electronic, verbal, or written communication sent to Us or our representatives, including but not limited to electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, Us for the purpose of discussing and improving the Material, but excluding communication that is conspicuously marked or otherwise designated in writing by You as "Not a Contribution."
"Submission Date" means the date on which You Submit a Contribution to Us.
"Effective Date" means the date You execute this Agreement or the date You first Submit a Contribution to Us, whichever is earlier.
## 2. Grant of Rights
2.1 Copyright License
(a) You retain ownership of the Copyright in Your Contribution and have the same rights to use or license the Contribution which You would have had without entering into the Agreement.
(b) To the maximum extent permitted by the relevant law, You grant to Us a perpetual, worldwide, non-exclusive, transferable, royalty-free, irrevocable license under the Copyright covering the Contribution, with the right to sublicense such rights through multiple tiers of sublicensees, to reproduce, modify, display, perform and distribute the Contribution as part of the Material; provided that this license is conditioned upon compliance with Section 2.3.
2.2 Patent License
For patent claims including, without limitation, method, process, and apparatus claims which You own, control or have the right to grant, now or in the future, You grant to Us a perpetual, worldwide, non-exclusive, transferable, royalty-free, irrevocable patent license, with the right to sublicense these rights to multiple tiers of sublicensees, to make, have made, use, sell, offer for sale, import and otherwise transfer the Contribution and the Contribution in combination with the Material (and portions of such combination). This license is granted only to the extent that the exercise of the licensed rights infringes such patent claims; and provided that this license is conditioned upon compliance with Section 2.3.
2.3 Outbound License
Based on the grant of rights in Sections 2.1 and 2.2, if We include Your Contribution in a Material, We may license the Contribution under any license, including copyleft, permissive, commercial, or proprietary licenses. As a condition on the exercise of this right, We agree to also license the Contribution under the terms of the license or licenses which We are using for the Material on the Submission Date.
2.4 Moral Rights. If moral rights apply to the Contribution, to the maximum extent permitted by law, You waive and agree not to assert such moral rights against Us or our successors in interest, or any of our licensees, either direct or indirect.
2.5 Our Rights. You acknowledge that We are not obligated to use Your Contribution as part of the Material and may decide to include any Contribution We consider appropriate.
2.6 Reservation of Rights. Any rights not expressly licensed under this section are expressly reserved by You.
3. Agreement
You confirm that:
(a) You have the legal authority to enter into this Agreement.
(b) You own the Copyright and patent claims covering the Contribution which are required to grant the rights under Section 2.
(c) The grant of rights under Section 2 does not violate any grant of rights which You have made to third parties, including Your employer. If You are an employee, You have had Your employer approve this Agreement or sign the Entity version of this document. If You are less than eighteen years old, please have Your parents or guardian sign the Agreement.
(d) You have followed the instructions in https://github.com/adam-p/markdown-here/blob/master/CONTRIBUTING.md, if You do not own the Copyright in the entire work of authorship Submitted.
## 4. Disclaimer
EXCEPT FOR THE EXPRESS WARRANTIES IN SECTION 3, THE CONTRIBUTION IS PROVIDED "AS IS". MORE PARTICULARLY, ALL EXPRESS OR IMPLIED WARRANTIES INCLUDING, WITHOUT LIMITATION, ANY IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT ARE EXPRESSLY DISCLAIMED BY YOU TO US. TO THE EXTENT THAT ANY SUCH WARRANTIES CANNOT BE DISCLAIMED, SUCH WARRANTY IS LIMITED IN DURATION TO THE MINIMUM PERIOD PERMITTED BY LAW.
## 5. Consequential Damage Waiver
TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, IN NO EVENT WILL YOU BE LIABLE FOR ANY LOSS OF PROFITS, LOSS OF ANTICIPATED SAVINGS, LOSS OF DATA, INDIRECT, SPECIAL, INCIDENTAL, CONSEQUENTIAL AND EXEMPLARY DAMAGES ARISING OUT OF THIS AGREEMENT REGARDLESS OF THE LEGAL OR EQUITABLE THEORY (CONTRACT, TORT OR OTHERWISE) UPON WHICH THE CLAIM IS BASED.
## 6. Miscellaneous
6.1 This Agreement will be governed by and construed in accordance with the laws of Canada excluding its conflicts of law provisions. Under certain circumstances, the governing law in this section might be superseded by the United Nations Convention on Contracts for the International Sale of Goods ("UN Convention") and the parties intend to avoid the application of the UN Convention to this Agreement and, thus, exclude the application of the UN Convention in its entirety to this Agreement.
6.2 This Agreement sets out the entire agreement between You and Us for Your Contributions to Us and overrides all other agreements or understandings.
6.3 If You or We assign the rights or obligations received through this Agreement to a third party, as a condition of the assignment, that third party must agree in writing to abide by all the rights and obligations in the Agreement.
6.4 The failure of either party to require performance by the other party of any provision of this Agreement in one situation shall not affect the right of a party to require such performance at any time in the future. A waiver of performance under a provision in one situation shall not be considered a waiver of the performance of the provision in the future or a waiver of the provision in its entirety.
6.5 If any provision of this Agreement is found void and unenforceable, such provision will be replaced to the extent possible with a provision that comes closest to the meaning of the original provision and which is enforceable. The terms and conditions set forth in this Agreement shall apply notwithstanding any failure of essential purpose of this Agreement or any limited remedy to the maximum extent possible under law.
This agreement is derived from the Project Harmony CLA generator:
https://www.harmonyagreements.org/
Harmony (HA-CLA-I-ANY) Version 1.0
================================================
FILE: CONTRIBUTING.md
================================================
# Contributing.md
* Project page: https://github.com/adam-p/markdown-here
* GitHub Discussions: https://github.com/adam-p/markdown-here/discussions
* Website: https://markdown-here.com
* Email me: pritchard.adam@gmail.com
## Code contributions
### Contributor license agreement
When submitting a pull request for the first time, you will need to agree to the contributor license agreement (for [individuals](https://github.com/adam-p/markdown-here/blob/master/CLA-individual.md) or [entities](https://github.com/adam-p/markdown-here/blob/master/CLA-entity.md)). To do this, in the pull request please create a file with a name like `/contributors/{github_username}.md`, and in the content of that file indicate your agreement. An example of what that file should contain can be seen in [adam-p's agreement file](https://github.com/adam-p/markdown-here/blob/master/contributors/adam-p.md).
(This method of CLA "signing" is borrowed from [Medium's open source project](https://github.com/medium/opensource).)
## Translation
We use Crowdin for crowd-sourced translation. If you visit the [Markdown Here Crowdin project page](https://crowdin.net/project/markdown-here) you'll find that it's quite easy to contribute. Feel free to add new translations, improve existing ones, or even create new language categories.
If you do make any translation changes, or if you have any questions or problems, please post to the MDH Google Group or create a Github issue. (I can't figure out a way to get notified when translations are updated, so you'll have to let me know that there are new ones to integrate.)
## Contributors
* [Emanuele D'Osualdo](https://github.com/bordaigorl) ([TeX math rendering](https://github.com/adam-p/markdown-here/issues/26))
* [Dustin Engstrom](https://github.com/engstrom) ([PR #151](https://github.com/adam-p/markdown-here/pull/151))
### Translators
* [lambdalice](https://github.com/lambdalice)
- Provided an entire Japanese translation and forced the MDH i18n work to get done.
* [Antoine Proulx](https://crowdin.com/profile/magicienap)
* [ebouchut](https://crowdin.com/profile/ebouchut)
* [Lennaick](https://crowdin.com/profile/lennaick)
* [leftaroundabout](https://crowdin.com/profile/leftaroundabout)
* [Pierre Quillery](https://crowdin.com/profile/dandelionmood)
* [Ko-Chih Wu](https://crowdin.com/profile/mecca831)
* [Masahiro Umegaki](https://crowdin.com/profile/ume)
* [dlkgenc](https://crowdin.com/profile/dlkgenc)
* [turkish123](https://crowdin.com/profile/turkish123)
* [sergiolunagarcia](https://crowdin.com/profile/sergiolunagarcia)
* [Alexis Morelle](https://crowdin.com/profile/almorelle)
* [Eugene Fryntov](https://crowdin.com/profile/efryntov)
* [Oscar del Pozo](https://crowdin.com/profile/oskar7)
* [Rafa Couto](https://crowdin.com/profile/rafacouto)
* [yoroy](https://crowdin.com/profile/yoroy)
* [nullepart](https://crowdin.com/profile/nullepart)
* [sherkiv](https://crowdin.com/profile/sherkiv)
* [LeahCim](https://crowdin.com/profile/LeahCim)
* [Shen-Ta Hsiea](https://github.com/ibmibmibm)
* [Erik Neves](https://crowdin.com/profile/7kire)
* [J. Ignacio Reta Sabarrós](https://crowdin.com/profile/jirsis)
* [danpansa](https://crowdin.com/profile/danpansa)
* [trblnc](https://crowdin.com/profile/trblnc)
* [Liu Cheng](https://crowdin.com/profile/willowcheng)
* [Andrea Lazzarotto](https://crowdin.com/profile/Lazza)
* [H. Salah Eddine](https://crowdin.com/profile/jamesconception)
* [Yahya Erturan](https://crowdin.com/profile/yahyaerturan)
* [Boris Lewandowski](https://crowdin.com/profile/bl)
* [Alessandro Tondo](https://crowdin.com/profile/alextoind)
* [Darío Hereñú](https://github.com/kant)
* [BenWayne182](https://crowdin.com/profile/benwayne182)
* [Erich Gubler](https://crowdin.com/profile/erichdongubler)
================================================
FILE: LICENSE
================================================
The MIT License (MIT)
Copyright © 2015 Adam Pritchard
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
================================================
FILE: Makefile
================================================
#
# Copyright Adam Pritchard 2014
# MIT License : https://adampritchard.mit-license.org/
#
DIST_DIR = dist
UTILS_DIR = utils
.PHONY: all clean build
build: | clean
cd $(UTILS_DIR); \
node "build.js";
clean:
rm -rf $(DIST_DIR)
all: clean build
================================================
FILE: PRIVACY.md
================================================
# Privacy Policy
The _Markdown Here_ browser extension strictly does one thing: Allows users to convert Markdown to HTML inside a rich edit control. Not one thing else.
This means that:
- It collects no user or usage data.
- It does not read or modify any part of any site besides the contents of the focused edit control, and only when the user tells it to do so.
- It makes no external requests at all. All rendering is done locally.
## Optional third-party: LaTeX image rendering service
If you choose to use _Markdown Here_'s LaTeX math rendering feature, the contents of your math equations will be sent to a third party to create the image containing your math. (That image is created at the time that the browser displays it, which is usually when the image element is inserted into the page). By default that third-party service is [CodeCodgs](https://www.codecogs.com/pages/agreements/privacy_policy.php) although [other services](https://github.com/adam-p/markdown-here/wiki/Tips-and-Tricks#tex) may be used.
================================================
FILE: README.md
================================================
#  Markdown Here
[**Visit the website.**](https://markdown-here.com)
[**Get it for Chrome.**](https://chrome.google.com/webstore/detail/elifhakcjgalahccnjkneoccemfahfoa)
[**Get it for Firefox.**](https://addons.mozilla.org/firefox/addon/markdown-here/)
[**Get it for Thunderbird.**](https://addons.mozilla.org/thunderbird/addon/markdown-here/)
[**Get it for Opera.**](https://addons.opera.com/extensions/details/markdown-here/)
[**Discuss it and ask questions in GitHub Discussions.**](https://github.com/adam-p/markdown-here/discussions)
*Markdown Here* is a Google Chrome, Firefox, Opera, and Thunderbird extension that lets you write email† in Markdown‡ and render them before sending. It also supports syntax highlighting (just specify the language in a fenced code block).
Writing email with code in it is pretty tedious. Writing Markdown with code in it is easy. I found myself writing email in Markdown in the GitHub in-browser editor, then copying the preview into email. This is a pretty absurd workflow, so I decided to create a tool to write and render Markdown right in the email.
To discover what can be done with Markdown in *Markdown Here*, check out the [Markdown Here Cheatsheet](https://github.com/adam-p/markdown-here/wiki/Markdown-Here-Cheatsheet) and the other [wiki pages](https://github.com/adam-p/markdown-here/wiki).
†: And Google Groups posts, and Blogger posts, and Evernote notes, and Wordpress posts! [See more](#compatibility).
‡: And TeX mathematical formulae!

### Table of Contents
**[Installation Instructions](#installation-instructions)**
**[Usage Instructions](#usage-instructions)**
**[Troubleshooting](#troubleshooting)**
**[Compatibility](#compatibility)**
**[Notes and Miscellaneous](#notes-and-miscellaneous)**
**[Building the Extension Bundles](#building-the-extension-bundles)**
**[Next Steps, Credits, Feedback, License](#next-steps)**
## Installation Instructions
### Chrome
#### Chrome Web Store
Go to the [Chrome Web Store page for *Markdown Here*](https://chrome.google.com/webstore/detail/elifhakcjgalahccnjkneoccemfahfoa) and install normally.
After installing, make sure to reload your webmail or restart Chrome!
#### Manual/Development
1. Clone this repo.
2. In Chrome, open the Extensions settings. (Wrench button, Tools, Extensions.)
3. On the Extensions settings page, click the "Developer Mode" checkbox.
4. Click the now-visible "Load unpacked extension…" button. Navigate to the directory where you cloned the repo, then the `src` directory under that.
5. The *Markdown Here* extension should now be visible in your extensions list.
6. Reload your webmail page (and maybe application) before trying to convert an email.
### Firefox and Thunderbird
#### Mozilla Add-ons site
Go to the [Firefox Add-ons page for *Markdown Here*](https://addons.mozilla.org/en-US/firefox/addon/markdown-here/) and install normally.
Or go to the "Tools > Add-ons" menu and then search for "Markdown Here".
After installing, make sure to restart Firefox/Thunderbird!
**Note:** It takes up to a month for Mozilla to approve changes to the Firefox/Thunderbird extension, so updates (features, fixes) will lag behind what is shown here. You can manually choose to install the newest version before it's reviewed from the list of versions: [https://addons.mozilla.org/en-US/firefox/addon/markdown-here/versions/](https://addons.mozilla.org/en-US/firefox/addon/markdown-here/versions/)
#### Manual/Development
1. Clone this repo.
2. Follow the instructions in the MDN ["Your first WebExtension"](https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/Your_first_WebExtension#installing) article.
### Opera
Note that *Markdown Here* only works with Opera versions 16 and higher (i.e., the ones that are based on Chromium).
Go to the [Opera Add-ons store page for *Markdown Here*](https://addons.opera.com/en/extensions/details/markdown-here/) and install normally.
After installing, make sure to reload your webmail or restart Chrome!
## Usage Instructions
Install it, and then…
1. In Chrome/Opera, *make sure* you reload your web mail page before trying to use Markdown Here.
2. In Chrome/Firefox/Opera, log into your Gmail, Hotmail, or Yahoo account and start a new email. In Thunderbird, start a new message.
3. Make sure you're using the rich editor.
* In Gmail, click the "Rich formatting" link, if it's visible.
* In Thunderbird, make sure "Compose messages in HTML format" is enabled in your "Account Settings", "Composition & Addressing" pane.
4. Compose an email in Markdown. For example:
**Hello** `world`.
```javascript
alert('Hello syntax highlighting.');
```
5. Right-click in the compose box and choose the "Markdown Toggle" item from the context menu. Or click the button that appears on your toolbar. Or use the hotkey (SHIFT +ALT +M by default).
6. You should see your email rendered correctly from Markdown into rich HTML.
7. Send your awesome email to everyone you know. It will appear to them the same way it looks to you.
### Revert to Markdown
After rendering your Markdown to pretty HTML, you can still get back to your original Markdown. Just right-click anywhere in the newly rendered Markdown and click "Markdown Toggle" -- your email compose body will change back to the Markdown you had written.
Note that any changes you make to the pretty HTML will be lost when you revert to Markdown.
In Gmail, you can also use the browser's Undo command (CTRL +Z / CMD +Z , or from the Edit menu). Be warned that you might also lose the last few characters you entered.
### Replies
In Gmail, Thunderbird, and Google Groups, you can use "Markdown Toggle" normally: just write your reply (top, bottom, inline, wherever) and then convert. The original email that you're replying to will be left alone. (Technically: Existing `blockquote` blocks will be left intact.)
In Hotmail and Yahoo (which don't put the original in a `blockquote`), and optionally in Gmail, Thunderbird, and Google Groups, you can ensure that only the part of the reply that you wrote gets converted by selecting what you want to convert and then clicking "Markdown Toggle" -- see the next section.
### Selection/Piecemeal Conversion
Sometimes you don't want to convert the entire email; sometimes your email isn't entirely Markdown. To convert only part of the email, select the text (with your mouse or keyboard), right-click on it, and click the "Markdown Toggle" menu item. Your selection is magically rendered into pretty HTML.
To revert back to Markdown, just put your cursor anywhere in the block of converted text, right-click, and click the "Markdown Toggle" menu item again. Now it's magically back to the original Markdown.

#### Things to know about converting/reverting a selection
* If you select only part of a block of text, only that text will be converted. The converted block will be wrapped in a paragraph element, so the original line will be broken up. You probably don't want to ever do this.
* You can select and revert multiple converted blocks at the same time. One upshot of this is that you can select your entire email, click "Markdown Toggle", and all portions of it that you had converted will be reverted.
* If you don't have anything selected when you click "Markdown Toggle", *Markdown Here* will check if there are converted blocks anywhere in the message and revert them. If there no converted blocks are found, it will convert the entire email.
### Options
The *Markdown Here* Options page can be accessed via the Chrome, Firefox, or Thunderbird extensions list. The available options include:
* Styling modifications for the rendered Markdown.
* Syntax highlighting theme selection and modification.
* TeX math formulae processing enabling and customization.
* What the hotkey should be.
For Chrome and Firefox, any changes made in the *Markdown Here* Options are automatically synchronized between your other installations of that browser (if you have the sync feature enabled in the browser).

## Troubleshooting
See the [Troubleshooting wiki page](https://github.com/adam-p/markdown-here/wiki/Troubleshooting).
## Compatibility
See the [Compatibility wiki page](https://github.com/adam-p/markdown-here/wiki/Compatibility).
## Notes and Miscellaneous
* *Markdown Here* uses [Github Flavored Markdown](https://github.github.com/gfm/), with the limitation that GFM special links are not supported ([issue #11](https://github.com/adam-p/markdown-here/issues/11)); nor will they be, as MDH is not Github-specific.
* Available languages for syntax highlighting (and the way they should be written in the fenced code block) can be seen on the [highlight.js demo page](https://highlightjs.org/demo).
* Images embedded inline in your Markdown will be retained when you "Markdown Toggle". Gmail allows you to put images inline in your email -- this can be much easier than referencing an external image.
* Email signatures are automatically excluded from conversion. Specifically, anything after the semi-standard `'-- '` (note the trailing space) is left alone.
* Note that Hotmail and Yahoo do *not* automatically add the `'-- '` to signatures, so you have to add it yourself.
* The "Markdown Toggle" menu item shows up for more element types than it can correctly render. This is intended to help people realize that they're not using a rich editor. Otherwise they just don't see the menu item and don't know why.
* Styling:
* The use of browser-specific styles (-moz-, -webkit-) should be avoided. If used, they may not render correctly for people reading the email in a different browser from the one where the email was sent.
* The use of state-dependent styles (like `a:hover`) don't work because they don't match at the time the styles are made explicit. (In email, styles must be explicitly applied to all elements -- stylesheets get stripped.)
* For more tweaky features, visit the [Tips and Tricks](https://github.com/adam-p/markdown-here/wiki/Tips-and-Tricks) section.
## Building the Extension Bundles
```
cd utils
node build.js
```
### Chrome, Opera, and Firefox (WebExtension) extension
Create a file with a `.zip` extension containing these files and directories:
```
manifest.json
common/
chrome/
_locales
```
## Next Steps
See the [issues list](https://github.com/adam-p/markdown-here/issues) and the [Notes Wiki](https://github.com/adam-p/markdown-here/wiki/Development-Notes). All ideas, bugs, plans, complaints, and dreams will end up in one of those two places.
Feel free to create a feature request issue if what you want isn't already there. If you'd prefer a less formal approach to floating an idea, post to our [GitHub Discussions](https://github.com/adam-p/markdown-here/discussions).
It also takes a fair bit of work to stay up-to-date with the latest changes in all the applications and web sites where Markdown Here works.
## Credits
*Markdown Here* was coded on the shoulders of giants.
* Markdown-to-HTML: [chjj/marked](https://github.com/chjj/marked)
* Syntax highlighting: [isagalaev/highlight.js](https://github.com/isagalaev/highlight.js)
* HTML-to-text: [mtrimpe/jsHtmlToText](https://github.com/mtrimpe/jsHtmlToText)
## Feedback
All bugs, feature requests, pull requests, feedback, etc., are welcome. [Create an issue](https://github.com/adam-p/markdown-here/issues). Or [post to out GitHub Discussions](https://github.com/adam-p/markdown-here/discussions).
## License
### Code
MIT License: https://adampritchard.mit-license.org/ or see [the `LICENSE` file](https://github.com/adam-p/markdown-here/blob/master/LICENSE).
### Logo
Copyright 2015, [Austin Anderson](https://www.angerson.org/). Licensed to Markdown Here under the [MDH contributor license agreement](https://github.com/adam-p/markdown-here/blob/master/CLA-individual.md).
### Other images
[Creative Commons Attribution 3.0 Unported (CC BY 3.0) License](https://creativecommons.org/licenses/by/3.0/)
---

================================================
FILE: contributors/adam-p.md
================================================
2024-11-24
I hereby agree to the terms of the "Markdown Here Individual Contributor License Agreement", with MD5 checksum dda72cea89d55de9fda0a102494134b4.
I furthermore declare that I am authorized and able to make this agreement and sign this declaration.
Signed,
Adam Pritchard https://github.com/adam-p
================================================
FILE: contributors/dugite-code.md
================================================
2018-08-21
I hereby agree to the terms of the "Markdown Here Individual Contributor License Agreement", commit 5bb51a296ed5b0d941ac381420a19ed02886ae21.
I furthermore declare that I am authorized and able to make this agreement and sign this declaration.
Signed,
Dugite-Code https://github.com/dugite-code
================================================
FILE: contributors/michaelstepner.md
================================================
2015-12-01
I hereby agree to the terms of the "Markdown Here Individual Contributor Assignment Agreement", with MD5 checksum 20a56153709a38a23316feb565f80756.
I furthermore declare that I am authorized and able to make this agreement and sign this declaration.
Signed,
Michael Stepner https://github.com/michaelstepner
================================================
FILE: contributors/mtlynch.md
================================================
2024-11-10
I hereby agree to the terms of the "Markdown Here Individual Contributor License Agreement", with MD5 checksum dda72cea89d55de9fda0a102494134b4.
I furthermore declare that I am authorized and able to make this agreement and sign this declaration.
Signed,
Michael Lynch https://github.com/mtlynch
================================================
FILE: contributors/wm8120.md
================================================
2014-12-07
I hereby agree to the terms of the "Markdown Here Individual Contributor Assignment Agreement", with MD5 checksum 1577e2402b4807259733504a6f6a96c1.
I furthermore declare that I am authorized and able to make this agreement and sign this declaration.
Signed,
Meng Wang https://github.com/wm8120
================================================
FILE: src/_locales/de/description.txt
================================================
Markdown Here ermöglicht es, E-Mails in Markdown-Syntax zu schreiben und vor dem Versenden zu rendern (hübsch formatiert).
Das ist großartig für jeden der nicht gerne beim Schreiben mit Formatierungs-Buttons herumhantiert. Ganz besonders praktisch ist es für Programmierer die Code in E-Mails versended wollen – sogar automatisches Syntax-Highlighting wird unterstützt. Und für die Mathematiker unter uns: Markdown Here kommt auch mit TeX zurecht.
Ganz einfach zu benutzen:
1. E-Mail im gewöhnlichen Rich-Text–Editor des E-Mail–Programms schreiben, und zwar in Github-Flavour–Markdown.
2. Rechtsklick im Schreibbereich, dann auf "Markdown rendern".
3. Die E-Mail erscheint jetzt in schönem Typsatz. (Bedeutet, sie ist als HTML gerendert.)
4. Wenn alles gut aussieht – versenden! Wenn noch etwas geändert oder hinzugefügt werden muss, nochmal auf den "Markdown"–Knopf klicken um zurück zum Markdown-Code zu kommen.
5. Bei Bedarf wiederholen.
Markdown Here ist vor allem für Gmail oder Thunderbird konzipiert, aber es funktioniert auch ganz gut mit Yahoo und Hotmail. Außerdem funktioniert es großartig mit Google Groups und Sites, dem Evernote–Web-Interface, Blogger, Wordpress, und mehr!
Hinweis zum Syntax-Highlighting: Nutzen Sie "fenced code blocks" und definieren Sie die Sprache. Siehe Projektseite für ein Beispiel.
Datenschutz: Markdown Here greift auf Webinhalte zurück und verändert diese, wenn Sie es aktivieren. Theoretisch könnte es auf andere Web-Inhalte zugreifen, tut dies aber nicht. Es macht auch keine Internet-Abfragen jeglicher Art. Die Nutzerinhalte werden nur auf Nutzerkommando bearbeitet und verlassen nicht der Browser.
Verfügbar als Erweiterung für Chrome, Firefox, Safari, Opera, und Thunderbird.
Dieses Projekt ist Open-Source. Siehe die Github-Seite von Markdown Here für weitere Anleitung, Informationen, Bug-Reports, oder um zum Projekt beizutragen.
https://markdown-here.com
https://github.com/adam-p/markdown-here
================================================
FILE: src/_locales/de/markdown-here-image2.txt
================================================
Mi, 16. Mai, 2012 um 21:51 schrieb Buddy :
> Hey du!
Hi Buddy.
> Kannst du mir was schönen Code schicken?
**Das** ist ziemlich cool:
```clojure
(defn hello [x] (str "Hello", x))
(hello "Clojure")
```
> Danke schonmal!
Kein Ding.
================================================
FILE: src/_locales/de/md-for-screenshot.md.txt
================================================
## Cooler Markdown-Screenshot
*Markdown Here* ist eine Erweiterung für Google Chrome, Firefox und Thunderbird die es erlaubt, E-Mail in Markdown zu schreiben und vor dem Verschicken zu rendern.
* Markdown ist **cool**. Sende `Code inline`.
* Verlinke irgendwohin, z.B. [zu diesem Projekt](https://github.com/adam-p/markdown-here).
* Geordnet? **Und** eine Sub-Liste?
1. Einfach.
2. Und getan.
Nutzerzitat:
> Does exactly what I need it to do. Markdown support in email without getting in the way.
### Syntax-Highlighting: super rad
Etwas JavaScript:
```javascript
alert('Hello Markdown');
```
Wie wär's mit einem ungewöhnlichen Beispiel — ein Diff:
```diff
diff --git a/src/common/markdown-here.js b/src/common/markdown-here.js
index 24dcb97..20c36a1 100644
--- a/src/common/markdown-here.js
+++ b/src/common/markdown-here.js
@@ -201,12 +179,14 @@ function makeStylesExplicit(wrapperElem, css) {
- applyStyleToElement(rule.style, selectorMatches[j]);
+ styleAttr = selectorMatches[j].getAttribute('style') || '';
+ styleAttr += rule.style.cssText;
+ selectorMatches[j].setAttribute('style', styleAttr);
```
================================================
FILE: src/_locales/de/messages.json
================================================
{
"app_name": {
"message": "Markdown Here",
"description": "the name of the extension",
"inMozDTD": true
},
"app_slogan": {
"message": "E-Mail in Markdown schreiben, dann aufhübschen lassen.",
"description": "shown as subtitle for Markdown Here in the browser extensions list"
},
"context_menu_item": {
"message": "Markdown An/Aus",
"description": "Text shown on the context menu.",
"inMozDTD": true
},
"currently_in_use": {
"message": "Derzeit im Einsatz",
"description": "Indicates the syntax highlighting theme that the user is currently using"
},
"cursor_into_compose": {
"message": "Bitte den Cursor im Textfeld platzieren."
},
"forgot_to_render_back_button": {
"message": "Zurück",
"description": "Text on the Back (cancel) button of the prompt that's shown when it's detected that a user may have forgotten to render the Markdown in their email",
"inMozDTD": true
},
"forgot_to_render_prompt_close_hover": {
"message": "Benachrichtigung schließen",
"description": "Text that shows when the user hovers over the 'X' that will close the prompt"
},
"forgot_to_render_prompt_info": {
"message": "Es sieht so aus als wäre diese E-Mail in Markdown geschrieben, aber noch nicht gerendert.",
"description": "Informational part of the prompt that's shown when it's detected that a user may have forgotten to render the Markdown in their email"
},
"forgot_to_render_prompt_question": {
"message": "Trotzdem senden?",
"description": "Question part of the prompt that's shown when it's detected that a user may have forgotten to render the Markdown in their email"
},
"forgot_to_render_prompt_title": {
"message": "Markdown-Rendering vergessen?",
"description": "Title of the prompt that's shown when it's detected that a user may have forgotten to render the Markdown in their email"
},
"forgot_to_render_send_button": {
"message": "Senden",
"description": "Text on the Send (continue) button of the prompt that's shown when it's detected that a user may have forgotten to render the Markdown in their email",
"inMozDTD": true
},
"invalid_field": {
"message": "Das ausgewählte Textfeld kann nicht zu Markdown gerendert werden. Bitte einen Rich-Text–Editor verwenden.",
"description": "Shown in an alert dialog if the user tries to render a field that cannot be rendered"
},
"moz_options_dlg_instruction": {
"message": "Click the 'OK' button to open the Markdown Here Options tab",
"description": "In Thunderbird, in order to open the options tab we first have to open a temporary dialog box. This is the text in that box telling the user what to do. Please use the same translation for 'OK' that the application uses.",
"inMozDTD": true
},
"moz_options_dlg_title": {
"message": "Markdown Here Options",
"description": "In Thunderbird, in order to open the options tab we first have to open a temporary dialog box. This is the title for that box.",
"inMozDTD": true
},
"new_changelist_items": {
"message": "NEU",
"description": "Used to highlight the part of the changelist that is new. There will typically be multiple items in the list, so this should be considered plural."
},
"nothing_to_render": {
"message": "Nichts zu rendern oder wiederherzustellen gefunden",
"description": "Error message shown to user if there's nothing found to revert or render."
},
"options_page__advanced_title": {
"message": "Fortgeschritten / Verschiedenes",
"description": "A section title"
},
"options_page__advanced_usage": {
"message": "Viel mehr Infos und fortgeschrittene Features finden sich auf der Markdown Here Projektseite . Auch weiter unten gibt es einiges an Optionen."
},
"options_page__basic_usage": {
"message": "Grundlegende Verwendung"
},
"options_page__changes_saved": {
"message": "Änderungen gespeichert",
"description": "message that shows when user changes have been saved"
},
"options_page__click_toggle": {
"message": "Rechtsklick auf die E-Mail, dann \"Markdown An/Aus\". (Alternativ, auf den -Knopf in der Werkzeugleiste. Oder Alt+Shift+M )",
"description": "A step in the basic usage instructions"
},
"options_page__contributing_1": {
"message": "Wer jemals einen Code-Block per E-Mail versandt hat, kann auch helfen Markdown Here zu verbessern. CONTRIBUTING.md "
},
"options_page__contributing_2": {
"message": "Markdown Here in mehr Sprachen erhältlich machen. Übersetzungen sind willkommen. "
},
"options_page__contributing_title": {
"message": "Zum Projekt beitragen",
"description": "A section title"
},
"options_page__donate_plea_1": {
"message": "Wenn dir Markdown Here super gefällt, hilf mir doch bitte ein paar Blumen für meine Frau zu kaufen damit sie sich nicht so ärgert über die ganze Zeit die ich damit zubringe. Danke "
},
"options_page__donate_plea_2": {
"message": "Markdown Here verbessern! "
},
"options_page__donate_plea_3": {
"message": "Bei der Entwicklung von Markdown Here helfen! "
},
"options_page__donate_plea_4": {
"message": "Schon gewusst was es einfacher macht Markdown Here mit diversen Tools (Chrome, Firefox, Thunderbird, Safari, Opera, Gmail, Yahoo, Hotmail, Blogger, Evernote, uvm.) kompatibel zu halten? Kaffee! "
},
"options_page__footer_1": {
"message": "Markdown Here ist Open Source. Um Fragen zu stellen, Bug-Reports zu machen, Features zu erfragen, oder selbst beizutragen, siehe die Github-Projektseite oder die \"markdown-here\" Google-Gruppe .",
"description": "part of the page footer text"
},
"options_page__footer_2": {
"message": "Geschrieben von Adam Pritchard .",
"description": "part of the page footer text"
},
"options_page__forgot_to_render_1": {
"message": "Z.Zt. nur unterstützt im Gmail-Webinterface und für Thunderbird (sowie Postbox und Icedove)."
},
"options_page__forgot_to_render_2": {
"message": "Bei Versendung einer E-Mail überprüft dies den Inhalt um festzustellen ob sie in Markdown geschrieben, aber noch nicht gerendert wurde (durch Klick auf \"Markdown An/Aus\"). Möglicherweise muss dies deaktiviert werden wenn es das Versenden von E-Mails verhindert."
},
"options_page__forgot_to_render_3": {
"message": "Wenn es deaktiviert werden muss, bitte mich benachrichtigen so dass es verbessert werden kann. Erstellen einen Post in der \"Markdown-Here\" Google-Gruppe oder eine Anfrage im Github-Project . Danke."
},
"options_page__forgot_to_render_4": {
"message": "If this feature stops working for you, please let us know by posting to the \"markdown-here\" Google Group or creating an issue in the Github project . (Hooking into the email sending web UI is brittle and will sometimes break.)",
"description": "Descriptive text referring to the 'forgot-to-render' feature (which is prone to break when Google changes its webmail code)."
},
"options_page__forgot_to_render_label": {
"message": "Den \"Vergessen-zu-rendern\"-Check aktivieren. ",
"description": "Label for the checkbox that enables the forgot-to-render feature"
},
"options_page__gfm_line_breaks_enabled_label": {
"message": "Aktivieren der GFM Zeilenumbrüche. ",
"description": "Label for the checkbox that enables the support of 'Github-flavored Markdown' line breaks."
},
"options_page__ghdiscussions": {
"message": "Ask a question or start a conversation in Markdown Here's GitHub Discussions ."
},
"options_page__header_anchors_enabled_1": {
"message": "Nützlich um eine Inhaltstabelle o.Ä. hinzuzufügen. Wie's geht, aus dem MDH-Wiki. "
},
"options_page__header_anchors_enabled_2": {
"message": "Dies ist standardmäßig deaktiviert weil es in Thunderbird visuell ablenkt . (Und die meisten Leute benutzen dieses Feature wahrscheinlich nicht.)"
},
"options_page__header_anchors_enabled_label": {
"message": "Aktiviere automatische Header-Anker. ",
"description": "Label for the checkbox that enables the automatic header anchors feature. This means that an 'anchor' is created at every heading (H1, H2, etc.) in the user's Markdown. The user can then create links that will jump to these anchors, like in the table of contents of a document."
},
"options_page__hotkey_alt_key": {
"message": "ALT",
"description": "label for the Alt key"
},
"options_page__hotkey_ctrl_key": {
"message": "STRG",
"description": "label for the Ctrl key"
},
"options_page__hotkey_note_1": {
"message": "Chrome: die E-Mail–Webseite muss neu geladen werden so dass die Hotkey-Einstellung zum Tragen kommt."
},
"options_page__hotkey_note_2": {
"message": "Firefox und Thunderbird: das Programm muss neu gestarted werden damit die Hotkey-Einstellung zum Tragen kommt."
},
"options_page__hotkey_note_3": {
"message": "Der Hotkey muss eine alphanummerische Taste sein (unterschiedlich je Sprache un Keyboard)."
},
"options_page__hotkey_note_4": {
"message": "Die Windows-Taste und die OS X ⌘-Taste können nicht als Hotkey benutzt werden."
},
"options_page__hotkey_note_5": {
"message": "Um diesen Hotkey zu deaktivieren, die Textbox leer lassen."
},
"options_page__hotkey_plus": {
"message": "+",
"description": "plus sign that connects the hotkey buttons"
},
"options_page__hotkey_shift_key": {
"message": "SHIFT",
"description": "label for the Shift key"
},
"options_page__hotkey_title": {
"message": "Hotkey (aka Tastenkombination)",
"description": "A section title"
},
"options_page__hotkey_warning": {
"message": "Hat diese Taste einen alphanummerischen Wert?",
"description": "warning shown if the user chooses an illegal hotkey value"
},
"options_page__markdown_toggle_button_text": {
"message": "Markdown An/Aus",
"description": "button text for Markdown Toggle button"
},
"options_page__mdh_wiki": {
"message": "Im Markdown Here Wiki gibt es Infos über weitere Anwendungen von MDH und weitere Tipps und Tricks ."
},
"options_page__next_steps": {
"message": "Für Interessierte an der Zukunft von Markdown Here, der Abschnitt Weitere Schritte im README."
},
"options_page__note_default_client_styles": {
"message": "Manche E-Mail–Programme und Browser erzwingen ihre eigenen Stile. Das ist hier möglicherweise nicht zu ersehen."
},
"options_page__note_options_sync": {
"message": "Änderungen werden automatisch gesichert und synchronisiert (wenn Sync im Browser aktiviert ist)."
},
"options_page__note_syntax_styles_after_primary": {
"message": "Die Stile für Syntax-Highlighting werden nach dem grundlegenden Styling angewandt und haben so Vorrang."
},
"options_page__notes_title": {
"message": "Hinweise",
"description": "section title"
},
"options_page__other_donation_options": {
"message": "Weitere Spendenoptionen",
"description": "Link to a page that provides other ways to donate"
},
"options_page__page_title": {
"message": "Markdown Here Optionen"
},
"options_page__pretty_cool": {
"message": "Die E-Mail sollte jetzt ziemlich gut aussehen. Reif zum Verschicken!",
"description": "A step in the basic usage instructions"
},
"options_page__preview_markdown": {
"message": "```javascript \nfunction syntaxHighlighting() { \n var n = 33; \n var s = \"hello, world\"; \n console.log(s); \n} \n``` \n \n \n- normal \n+ **fett** \n* *kursiv* \n- ***fett & kursiv*** \n+ ~~durchgestrichen~~ \n- `codierte Darstellung` \n \n \n1. Nummerierte Listen \n 1. Numbered sub-list \n 1. Numbered sub-sub-list \n2. [Link](https://www.google.com) \n- eingerückte \n- Aufzählung \n - weiter \n - eingerückt \n - und \n - nochmal \n \n \nEin Bild hinzufügen: \n \n \n> Ein Zitat. \n> *Mit* **etwas** `Markdown`. \n \n \nSofern die Unterstützung von **TeX Math** aktiviert ist, sieht eine quadratische Gleichung so aus: \n$$-b \\pm \\sqrt{b^2 - 4ac} \\over 2a$$ \n \n \n# Überschrift 1 \n## Überschrift 2 \n### Überschrift 3 \n#### Überschrift 4 \n##### Überschrift 5 \n###### Überschrift 6 \n \n \n| Tabellen | sind | auch möglich | \n| ------------- |:-------------:| -----:| \n| Spalte 3 ist | rechtsbündig | $$1600 | \n| Salte 2 ist | zentriert | $$12 | \n| Sogar mit | Zebrastreifen | $$1 | \n \n \nHier eine horizontale Linie: \n \n--- \n \n \n``` \nUnd hier ein Code-Block \nohne Hervorhebung \n``` \n ",
"description": "This doesn't need to be translated, unless you want to make it more relevant to your language. The raw Markdown used for previewing user styling changes. Also shows users what can be done with Markdown. Please note that the double dollar signs ($$) are needed to make a single dollar sign in the application."
},
"options_page__preview_title": {
"message": "Vorschau",
"description": "section title for the Markdown preview section"
},
"options_page__primary_css_title": {
"message": "Grundlegendes Styling-CSS",
"description": "section title"
},
"options_page__reload_restart": {
"message": "Die E-Mail–Webseite neu laden oder den Browser neu starten.",
"description": "A step in the basic usage instructions"
},
"options_page__reset_primary_css": {
"message": "Auf Standard zurücksetzen",
"description": "text on button to reset Primary Styling CSS"
},
"options_page__resources_cheatsheet_link": {
"message": "Für Markdown-Neulinge: das Markdown Here Cheatsheet macht einen schnell zum Profi."
},
"options_page__resources_title": {
"message": "Ressourcen und Links",
"description": "A section title"
},
"options_page__start_new_message": {
"message": "Eine neue E-Mail beginnen.",
"description": "A step in the basic usage instructions"
},
"options_page__syntax_highlighting_css_title": {
"message": "CSS für Syntax-Highlighting",
"description": "section title"
},
"options_page__syntax_highlighting_theme_label": {
"message": "Schema:",
"description": "label for the syntax highlighting theme combox box"
},
"options_page__tex_math_codecogs_customization_2": {
"message": "For render customization options, see the CodeCogs documentation for this service."
},
"options_page__tex_math_codecogs_privacy_issue_1": {
"message": "To generate the image for the formula, a request is sent to CodeCogs. That effectively means that you are sharing your formula with CodeCogs. It also means that recipients of your message will be making a request to CodeCogs to have the image rendered.",
"description": "one of the TeX math privacy concerns"
},
"options_page__tex_math_customization_1": {
"message": "Wenn dies aktiviert ist, wird Text zwischen Dollarzeichen — $$ — als mathematische Formel interpretiert. Zum Beispiel wird $$\\Delta$$ als Deltasymbol Δ gerendert.",
"description": "Note: Double dollar signs ($$) are necessary to get a single dollar sign."
},
"options_page__tex_math_customization_3": {
"message": "Der CodeCogs Gleichungseditor ist eine gute Quelle für TeX-Tipps."
},
"options_page__tex_math_customization_4": {
"message": "Formeln werden als Bilddateien gerendert, Empfänger müssen also Bilder zulassen um sie zu sehen."
},
"options_page__tex_math_customization_5": {
"message": "Bei Anpassung des Rendering-Tags können (und sollten) {mathcode} und/oder {urlmathcode} als Platzhalter verwendet werden.",
"description": "Please do not translate {mathcode} and {urlmathcode}"
},
"options_page__tex_math_customization_5_1": {
"message": "{mathcode}: Der Text zwischen den $$ Symbolen — D.h., die rohe TeX-Formel; wie etwa \\Delta.",
"description": "Please do not translate {mathcode} and {urlmathcode}. Note: Double dollar signs ($$) are necessary to get a single dollar sign."
},
"options_page__tex_math_customization_5_2": {
"message": "{urlmathcode}: Die URL-kodierte Form des TeX-Codes; wie etwa %5CDelta.",
"description": "Please do not translate {mathcode} and {urlmathcode}"
},
"options_page__tex_math_customization_6": {
"message": "Bei Anpassung des <img>-Tags sollte ein alt-Attribut eingschlossen werden mit möglichst leserlichem Wert, etwa {mathcode}. Der Wert dieses Attributs wird für die Plaintext-Version der E-Mail benutzt (wenn via Gmail oder Thunderbird versandt), sowie von Bildschirm-Leser für Seh-behinderte Empfänger.",
"description": "Please do not translate {mathcode} and {urlmathcode}"
},
"options_page__tex_math_customization_heading": {
"message": "Anpassung und Verwendung: ",
"description": "heading for customization and use info"
},
"options_page__tex_math_privacy_heading": {
"message": "Datenschutz: ",
"description": "heading for warnings about TeX math privacy concerns"
},
"options_page__tex_math_privacy_issue_2": {
"message": "Bei Anpassung des Formel-Rendering-Tags sollte ein sicherer (https://) Pfad benutzt werden. Nicht alle Rendering-Services haben diese Option.",
"description": "one of the TeX math privacy concerns"
},
"options_page__tex_math_reset_button": {
"message": "Auf Standard zurücksetzen",
"description": "text on button to reset TeX math option"
},
"options_page__tex_math_title": {
"message": "TeX für mathematische Formeln"
},
"options_page__type_some_markdown": {
"message": "Markdown schreiben. Zum Beispiel: _Hallo_ `Markdown` **Here**!",
"description": "A step in the basic usage instructions"
},
"plain_text_compose": {
"message": "Ein Plaintext-Editor ist nicht für Markdown Here geeignet. Bitte einen Rich-Text–Editor verwenden.",
"description": "Shown in an alert dialog if the user has their email compose app set to plain text"
},
"toggle_button_text": {
"message": "MD An/Aus",
"description": "Text shown underneath the render toggle button. Make it as short as possible.",
"inMozDTD": true
},
"toggle_button_tooltip": {
"message": "Zwischen Markdown und gerendert wechseln",
"description": "text shown when user hovers mouse over Markdown Toggle button",
"inMozDTD": true
},
"toggle_button_tooltip_disabled": {
"message": "Das ausgewählte Feld kann nicht als Markdown gerendert werden",
"description": "text shown when user hover mouse over disabled Markdown Toggle button",
"inMozDTD": true
},
"unrendering_modified_markdown_warning": {
"message": "Es scheint so als wäre dieser gerenderte Markdown-Text manuell verändert worden. Wiederherstellen würde diese Änderungen verwerfen.\n\nWirklich wiederherstellen?",
"description": "Warning shown to the user if she tries to revert some rendered Markdown that they've modified since rendering. The user will lose their modifications if they proceed."
},
"upgrade_notification_changes_tooltip": {
"message": "Anklicken um Änderungen in dieser Version zu sehen",
"description": "Tooltip text on the link that opens the changes list"
},
"upgrade_notification_dismiss_tooltip": {
"message": "Benachrichtigung schließen",
"description": "Tooltip text on the link that dismisses the notification"
},
"upgrade_notification_text": {
"message": "Markdown Here aktualisiert",
"description": "Text on the notification shown when Markdown Here has been updated"
}
}
================================================
FILE: src/_locales/de/screenshot-captions.txt
================================================
E-Mail in Markdown schreiben...
...und dann schön-rendern!
Markdown nur für einen Teil der Mail benutzen? Einfach auswählen und Konvertieren!
================================================
FILE: src/_locales/en/messages.json
================================================
{
"app_name": {
"message": "Markdown Here",
"description": "the name of the extension"
},
"app_slogan": {
"message": "Write your email in Markdown, then make it pretty.",
"description": "shown as subtitle for Markdown Here in the browser extensions list"
},
"toggle_button_tooltip": {
"message": "Click to toggle Markdown rendering",
"description": "text shown when user hovers mouse over Markdown Toggle button"
},
"toggle_button_tooltip_disabled": {
"message": "The selected field is not valid for Markdown rendering",
"description": "text shown when user hover mouse over disabled Markdown Toggle button"
},
"context_menu_item": {
"message": "Markdown Toggle",
"description": "Text shown on the context menu."
},
"invalid_field": {
"message": "The selected field is not valid for Markdown rendering. Please use a rich editor.",
"description": "Shown in an alert dialog if the user tries to render a field that cannot be rendered"
},
"plain_text_compose": {
"message": "You are using a plain-text compose editor. You must change to a rich editor to use Markdown Here.",
"description": "Shown in an alert dialog if the user has their email compose app set to plain text"
},
"cursor_into_compose": {
"message": "Please put the cursor into the compose box."
},
"forgot_to_render_prompt_title": {
"message": "Forget to toggle Markdown?",
"description": "Title of the prompt that's shown when it's detected that a user may have forgotten to render the Markdown in their email"
},
"forgot_to_render_prompt_info": {
"message": "It looks like you wrote this email in Markdown but forgot to make it pretty.",
"description": "Informational part of the prompt that's shown when it's detected that a user may have forgotten to render the Markdown in their email"
},
"forgot_to_render_prompt_question": {
"message": "Send it anyway?",
"description": "Question part of the prompt that's shown when it's detected that a user may have forgotten to render the Markdown in their email"
},
"forgot_to_render_back_button": {
"message": "Back",
"description": "Text on the Back (cancel) button of the prompt that's shown when it's detected that a user may have forgotten to render the Markdown in their email"
},
"forgot_to_render_send_button": {
"message": "Send",
"description": "Text on the Send (continue) button of the prompt that's shown when it's detected that a user may have forgotten to render the Markdown in their email"
},
"forgot_to_render_prompt_close_hover": {
"message": "Dismiss this notification",
"description": "Text that shows when the user hovers over the 'X' that will close the prompt"
},
"upgrade_notification_text": {
"message": "Markdown Here updated!",
"description": "Text on the notification shown when Markdown Here has been updated"
},
"upgrade_notification_changes_tooltip": {
"message": "Click to see the changes in this release",
"description": "Tooltip text on the link that opens the changes list"
},
"upgrade_notification_dismiss_tooltip": {
"message": "Dismiss this notification",
"description": "Tooltip text on the link that dismisses the notification"
},
"nothing_to_render": {
"message": "Nothing found to render or revert",
"description": "Error message shown to user if there's nothing found to revert or render."
},
"unrendering_modified_markdown_warning": {
"message": "The rendered Markdown appears to have been modifed.\nIf you unrender it, your changes since rendering will be lost.\n\nAre you sure you wish to unrender?",
"description": "Warning shown to the user if she tries to revert some rendered Markdown that they've modified since rendering. The user will lose their modifications if they proceed."
},
"options_page__page_title": {
"message": "Markdown Here Options"
},
"options_page__basic_usage": {
"message": "Basic Usage"
},
"options_page__pin_extension_button": {
"message": "Click the \"Extensions\" button on your toolbar, then pin the Markdown Here button.",
"description": "A step in the basic usage instructions. The MDH toolbar button doesn't initially show on the browser toolbar, so the user has to pin it first."
},
"options_page__start_new_message": {
"message": "Start a new email message.",
"description": "A step in the basic usage instructions"
},
"options_page__type_some_markdown": {
"message": "Type some Markdown into the email. Try this: _Hello_ `Markdown` **Here**!",
"description": "A step in the basic usage instructions"
},
"options_page__click_toggle": {
"message": "Right-click in the email and then click \"Markdown Toggle\". (Or click the button on the toolbar. Or press Alt+Shift+M )",
"description": "A step in the basic usage instructions"
},
"options_page__pretty_cool": {
"message": "The message should now look pretty cool. Send it to your friends!",
"description": "A step in the basic usage instructions"
},
"options_page__resources_title": {
"message": "Resources and Links",
"description": "A section title"
},
"options_page__resources_cheatsheet_link": {
"message": "If you're new to Markdown, the Markdown Here Cheatsheet will make you a pro-star."
},
"options_page__advanced_usage": {
"message": "For lots more info and advanced usage, see the Markdown Here project page . You should also explore the options below."
},
"options_page__ghdiscussions": {
"message": "Ask a question or start a conversation in Markdown Here's GitHub Discussions ."
},
"options_page__mdh_wiki": {
"message": "Visit the Markdown Here wiki for info about where else MDH works and more tips and tricks ."
},
"options_page__next_steps": {
"message": "If you're interested in what the future holds for Markdown Here, check out the Next Steps section of the README."
},
"options_page__donate_plea_1": {
"message": "Once you decide Markdown Here is pretty sweet, please help me to buy some flowers for my wife so she's not too upset about how much time I spend working on it. Thank you! "
},
"options_page__donate_plea_2": {
"message": "Help make Markdown Here better! "
},
"options_page__donate_plea_3": {
"message": "Help support the development of Markdown Here! "
},
"options_page__donate_plea_4": {
"message": "You know what makes it easier to keep Markdown Here working on Chrome, Firefox, Thunderbird, Opera, Gmail, Yahoo, Hotmail, Blogger, Evernote, etc.? Coffee! "
},
"options_page__other_donation_options": {
"message": "Other donation options",
"description": "Link to a page that provides other ways to donate"
},
"options_page__primary_css_title": {
"message": "Primary Styling CSS",
"description": "section title"
},
"options_page__reset_primary_css": {
"message": "Reset to Default",
"description": "text on button to reset Primary Styling CSS"
},
"options_page__syntax_highlighting_css_title": {
"message": "Syntax Highlighting CSS",
"description": "section title"
},
"options_page__syntax_highlighting_theme_label": {
"message": "Theme:",
"description": "label for the syntax highlighting theme combo box"
},
"options_page__preview_title": {
"message": "Preview",
"description": "section title for the Markdown preview section"
},
"options_page__markdown_toggle_button_text": {
"message": "Markdown Toggle",
"description": "button text for Markdown Toggle button"
},
"options_page__optionspage_title": {
"message": "Options Page",
"description": "sub-section title"
},
"options_page__note_options_sync": {
"message": "Changes are automatically saved and synchronized (if sync is enabled in your browser)."
},
"options_page__note_syntax_styles_after_primary": {
"message": "The syntax highlighting styles are applied after the primary styling, and so take precedence."
},
"options_page__note_default_client_styles": {
"message": "Some email editors and browsers impose their own styles. Those may not be apparent here."
},
"options_page__tex_math_title": {
"message": "TeX Mathematical Formulae Support"
},
"options_page__tex_math_reset_button": {
"message": "Reset to Default",
"description": "text on button to reset TeX math option"
},
"options_page__tex_math_privacy_heading": {
"message": "Privacy Issues: ",
"description": "heading for warnings about TeX math privacy concerns"
},
"options_page__tex_math_codecogs_privacy_issue_1": {
"message": "To generate the image for the formula, a request is sent to CodeCogs. That effectively means that you are sharing your formula with CodeCogs. It also means that recipients of your message will be making a request to CodeCogs to have the image rendered.",
"description": "one of the TeX math privacy concerns"
},
"options_page__tex_math_privacy_issue_2": {
"message": "If you customize the formula rendering tag, you should use a secure (https://) path. Not all rendering services provide a secure option.",
"description": "one of the TeX math privacy concerns"
},
"options_page__tex_math_customization_heading": {
"message": "Customization and Use: ",
"description": "heading for customization and use info"
},
"options_page__tex_math_customization_1": {
"message": "If this feature is enabled, text between dollar signs — $$ — will be interpreted as mathematical formulae. For example, $$\\Delta$$ would be rendered as a delta symbol.",
"description": "Note: Double dollar signs ($$) are necessary to get a single dollar sign."
},
"options_page__tex_math_codecogs_customization_2": {
"message": "For render customization options, see the CodeCogs documentation for this service."
},
"options_page__tex_math_customization_3": {
"message": "A good resource for creating TeX formulae is the CodeCogs Equation Editor ."
},
"options_page__tex_math_customization_4": {
"message": "Formulae are rendered to images, so email recipients will have to enable images to be shown to see the rendering."
},
"options_page__tex_math_customization_5": {
"message": "If you customize the rendering tag, you can (and should) use either or both of {mathcode} and {urlmathcode} as placeholders.",
"description": "Please do not translate {mathcode} and {urlmathcode}"
},
"options_page__tex_math_customization_5_1": {
"message": "{mathcode}: The text between the $$ symbols — i.e., the raw TeX formula; like \\Delta.",
"description": "Please do not translate {mathcode} and {urlmathcode}. Note: Double dollar signs ($$) are necessary to get a single dollar sign."
},
"options_page__tex_math_customization_5_2": {
"message": "{urlmathcode}: The URL-encoded form of the TeX formula; like %5CDelta.",
"description": "Please do not translate {mathcode} and {urlmathcode}"
},
"options_page__tex_math_customization_6": {
"message": "If you customize the <img> tag, you should include an alt attribute that has as human-readable a value as possible, like {mathcode}. This value of this attribute will be used for the plaintext version of the email (when sent from Gmail and Thunderbird), and used by screen readers for sight-impaired recipients.",
"description": "Please do not translate {mathcode} and {urlmathcode}"
},
"options_page__hotkey_title": {
"message": "Hotkey (aka keyboard shortcut)",
"description": "A section title"
},
"options_page__hotkey_chrome_link_intro": {
"message": "The MDH hotkey is managed by the browser. It can be edited here:",
"description": "Text preceding a link to the Chrome hotkey settings page."
},
"options_page__hotkey_current_intro": {
"message": "It is currently set to:",
"description": "Text preceding the display of the current hotkey (like 'Alt+Shift+M')."
},
"options_page__no_hotkey_set": {
"message": "Conflict! Set a new hotkey/shortcut.",
"description": "Warning shown to the user if the Markdown Toggle hotkey is not set or conflicts with another extension's hotkey."
},
"options_page__advanced_title": {
"message": "Advanced and Miscellaneous",
"description": "A section title"
},
"options_page__forgot_to_render_label": {
"message": "Enable \"forgot-to-render\" check. ",
"description": "Label for the checkbox that enables the forgot-to-render feature"
},
"options_page__forgot_to_render_1": {
"message": "Currently only supported in Gmail and Thunderbird. If enabled, expect a prompt asking you to give MDH permission to access mail.google.com.",
"description": "Descriptive text referring to the 'forgot-to-render' feature. Tells the user that it's only available for limited platforms."
},
"options_page__forgot_to_render_2": {
"message": "When you send an email, this checks the content to see if it looks like you wrote it in Markdown, but forgot to render it (i.e., click \"Markdown Toggle\") before sending. This may need to be disabled if it interferes with your ability to send email.",
"description": "Descriptive text explaining the 'forgot-to-render' feature."
},
"options_page__forgot_to_render_4": {
"message": "If this feature stops working for you, please let us know by posting in our GitHub Discussions or by creating an issue . (Hooking into the email sending web UI is brittle and will sometimes break. Letting us know when that happens is useful and appreciated.)",
"description": "Descriptive text referring to the 'forgot-to-render' feature (which is prone to break when Google changes its webmail code)."
},
"options_page__contributing_title": {
"message": "Contributing",
"description": "A section title"
},
"options_page__contributing_1": {
"message": "If you have ever put a code block into an email, then you can help make Markdown Here better. CONTRIBUTING.md "
},
"options_page__contributing_2": {
"message": "Help make Markdown Here available in your language. Translations are welcome. "
},
"options_page__footer_1": {
"message": "Markdown Here is open source. To ask questions, report bugs, request features, or contribute, visit the GitHub project page and create an issue or participate in Discussions .",
"description": "part of the page footer text"
},
"options_page__footer_2": {
"message": "Created by Adam Pritchard .",
"description": "part of the page footer text"
},
"options_page__changes_saved": {
"message": "Changes saved",
"description": "message that shows when user changes have been saved"
},
"options_page__preview_markdown": {
"message": "```javascript \nfunction syntaxHighlighting() { \n var n = 33; \n var s = \"hello, こんにちは\"; \n console.log(s); \n} \n``` \n \n* plain \n* *emphasis* \n * **strong emphasis** \n * ~~strikethrough~~ \n* `inline code` \n \n1. Numbered list \n 1. Numbered sub-list \n 1. Numbered sub-sub-list \n2. [Link](https://www.google.com) \n \n \nAn image: \n \n \n> Block quote. \n> *With* **some** `markdown`. \n \nIf **TeX Math** support is enabled, this is the quadratic equation: \n$$-b \\pm \\sqrt{b^2 - 4ac} \\over 2a$$ \n \n# Header 1 \n## Header 2 \n### Header 3 \n#### Header 4 \n##### Header 5 \n###### Header 6 \n \n| Tables | Are | Cool | \n| ------------- |:-------------:| -----:| \n| column 3 is | right-aligned | $$1600 | \n| column 2 is | centered | $$12 | \n| zebra stripes | are neat | $$1 | \n \nHere's a horizontal rule: \n \n--- \n \n``` \ncode block \nwith no highlighting \n``` \n \n",
"description": "This doesn't need to be translated, unless you want to make it more relevant to your language. The raw Markdown used for previewing user styling changes. Also shows users what can be done with Markdown. Please note that the double dollar signs ($$) are needed to make a single dollar sign in the application."
},
"currently_in_use": {
"message": "Currently in use",
"description": "Indicates the syntax highlighting theme that the user is currently using"
},
"new_changelist_items": {
"message": "NEW",
"description": "Used to highlight the part of the changelist that is new. There will typically be multiple items in the list, so this should be considered plural."
},
"options_page__header_anchors_enabled_label": {
"message": "Enable automatic header anchors. ",
"description": "Label for the checkbox that enables the automatic header anchors feature. This means that an 'anchor' is created at every heading (H1, H2, etc.) in the user's Markdown. The user can then create links that will jump to these anchors, like in the table of contents of a document."
},
"options_page__header_anchors_enabled_1": {
"message": "This is great if you want to put a table of contents or other internal links into your content. Learn about how to use it in the MDH wiki. "
},
"options_page__header_anchors_enabled_2": {
"message": "It's disabled by default because it creates visual noise in Thunderbird . (And most people probably won't use the feature.)"
},
"options_page__gfm_line_breaks_enabled_label": {
"message": "Enable GFM line breaks. ",
"description": "Label for the checkbox that enables the support of 'Github-flavored Markdown' line breaks."
}
}
================================================
FILE: src/_locales/es/description.txt
================================================
Markdown Here te permite escribir correo electrónico en Markdown y renderizarlo (¡hacerlo bonito!) antes de enviar.
Esto es estupendo para cualquiera al que no le gusta juguetear con los botones de formato mientras escribe un correo electrónico. Es especialmente bueno para programadores que escriben correos electrónicos con código fuente en ellos - incluso soporta el resaltado sintáctico. Y para los matemáticos: Markdown Here también renderizará las fórmulas TeX.
Totalmente fácil de usar:
1. Escribe tu correo electrónico en el editor de texto enriquecido de tu cliente de correo usando Markdown con sabor a Github.
2. Haz clic con el botón derecho en el área de escritura y después en "Markdown Toggle".
3. ¡Ahora tu correo electrónico es bonito! (Esto es, ha sido renderizado a HTML).
4. Si te gusta cómo ha quedado, simplemente envíalo. Si quieres cambiarlo o añadir algo, haz clic en "Markdown Toggle" de nuevo para volver a tu Markdown original.
5. Repetir tantas veces como sea necesario.
Markdown Here está enfocado principalmente para trabajar con Gmail y Thunderbird, pero también funciona bastante bien con Yahoo y Hotmail. Además, funciona muy bien con Google Groups y Sites, la interfaz web de Evernote, Blogger, Wordpress, ¡y muchos más!
Nota de resaltado de sintaxis: Usa secciones de código delimitadas y especifica el lenguaje. Consulta la página del proyecto para ver un ejemplo.
Privacidad: Markdown Here accede y modifica el contenido de internet cuando lo activas. Puede, en teoría, acceder a otros contenidos de internet, pero no lo hace. Tampoco hace ninguna petición a la internet. Tu información es modificada cuando y donde tu elijas, y no sale de tu navegador.
Disponible como extensión para Chrome, Firefox, Safari, Opera y Thunderbird.
Éste es un proyecto de código fuente abierto. Visita la página Github de Markdown Here para encontrar las instrucciones completas, más información, informes de errores o para contribuir.
https://markdown-here.com
https://github.com/adam-p/markdown-here
================================================
FILE: src/_locales/es/markdown-here-image2.txt
================================================
El miércoles, 16 de mayo de 2012 a las 21:51, Fulano escribió
> ¡Hola amigo!
Hola Fulano.
> ¿Puedes enviarme algo de dulce código?
**Este** es genial:
```clojure
(defn hello [x] (str "Hello", x))
(hello "Clojure")
```
> ¡Gracias de antemano!
Sin problema.
================================================
FILE: src/_locales/es/md-for-screenshot.md.txt
================================================
## Dulce captura de Markdown
*Markdown Here* es una extensión de Google Chrome, Firefox y Thunderbird que te permite escribir correo electrónico en formato Markdown y renderizarlo antes de enviarlo.
* Markdown es **guay**. Pon `código inline`.
* Enlace a cosas como [este proyecto](https://github.com/adam-p/markdown-here).
¿Dices ordenado? ¿**Y** una sublista?
1. Hecho.
2. Y se acabó.
Cita de revisión real:
Hace exactamente lo que necesito que haga. Markdown da soporte en el correo electrónico sin estorbar.
### Resaltado sintáctico: súper genial
Algo de JavaScript:
```javascript
alert('Hello Markdown');
```
Qué tal un ejemplo inusual -- un diff:
```diff
diff --git a/src/common/markdown-here.js b/src/common/markdown-here.js
index 24dcb97..20c36a1 100644
--- a/src/common/markdown-here.js
+++ b/src/common/markdown-here.js
@@ -201,12 +179,14 @@ function makeStylesExplicit(wrapperElem, css) {
- applyStyleToElement(rule.style, selectorMatches[j]);
+ styleAttr = selectorMatches[j].getAttribute('style') || '';
+ styleAttr += rule.style.cssText;
+ selectorMatches[j].setAttribute('style', styleAttr);
```
================================================
FILE: src/_locales/es/messages.json
================================================
{
"app_name": {
"message": "Markdown Here",
"description": "the name of the extension",
"inMozDTD": true
},
"app_slogan": {
"message": "Escribe tu correo electrónico en Markdown, y hazlo bonito.",
"description": "shown as subtitle for Markdown Here in the browser extensions list"
},
"context_menu_item": {
"message": "Markdown Toggle",
"description": "Text shown on the context menu.",
"inMozDTD": true
},
"currently_in_use": {
"message": "Actualmente en uso",
"description": "Indicates the syntax highlighting theme that the user is currently using"
},
"cursor_into_compose": {
"message": "Por favor, pon el cursor en la zona de escritura."
},
"forgot_to_render_back_button": {
"message": "Atrás",
"description": "Text on the Back (cancel) button of the prompt that's shown when it's detected that a user may have forgotten to render the Markdown in their email",
"inMozDTD": true
},
"forgot_to_render_prompt_close_hover": {
"message": "Descartar esta notificación",
"description": "Text that shows when the user hovers over the 'X' that will close the prompt"
},
"forgot_to_render_prompt_info": {
"message": "Parece que escribiste este correo electrónico en Markdown pero olvidaste hacerlo bonito.",
"description": "Informational part of the prompt that's shown when it's detected that a user may have forgotten to render the Markdown in their email"
},
"forgot_to_render_prompt_question": {
"message": "¿Enviar de todos modos?",
"description": "Question part of the prompt that's shown when it's detected that a user may have forgotten to render the Markdown in their email"
},
"forgot_to_render_prompt_title": {
"message": "¿Olvidaste activar Markdown?",
"description": "Title of the prompt that's shown when it's detected that a user may have forgotten to render the Markdown in their email"
},
"forgot_to_render_send_button": {
"message": "Enviar",
"description": "Text on the Send (continue) button of the prompt that's shown when it's detected that a user may have forgotten to render the Markdown in their email",
"inMozDTD": true
},
"invalid_field": {
"message": "El campo seleccionado no es válido para el renderizado Markdown. Por favor, use un editor de texto enriquecido.",
"description": "Shown in an alert dialog if the user tries to render a field that cannot be rendered"
},
"moz_options_dlg_instruction": {
"message": "Click the 'OK' button to open the Markdown Here Options tab",
"description": "In Thunderbird, in order to open the options tab we first have to open a temporary dialog box. This is the text in that box telling the user what to do. Please use the same translation for 'OK' that the application uses.",
"inMozDTD": true
},
"moz_options_dlg_title": {
"message": "Markdown Here Options",
"description": "In Thunderbird, in order to open the options tab we first have to open a temporary dialog box. This is the title for that box.",
"inMozDTD": true
},
"new_changelist_items": {
"message": "NUEVO",
"description": "Used to highlight the part of the changelist that is new. There will typically be multiple items in the list, so this should be considered plural."
},
"nothing_to_render": {
"message": "No se ha encontrado nada para renderizar o deshacer",
"description": "Error message shown to user if there's nothing found to revert or render."
},
"options_page__advanced_title": {
"message": "Avanzada y miscelánea",
"description": "A section title"
},
"options_page__advanced_usage": {
"message": "Para mucha más información y uso avanzado, consulte la página del proyecto Markdown Here . También deberías explorar las siguientes opciones."
},
"options_page__basic_usage": {
"message": "Uso básico"
},
"options_page__changes_saved": {
"message": "Cambios guardados",
"description": "message that shows when user changes have been saved"
},
"options_page__click_toggle": {
"message": "Haz clic con el botón derecho en el correo electrónico y haz clic en \"Markdown Toggle\". (O haz clic en el botón en la barra de herramientas. O pulsa Alt+Shift+M )",
"description": "A step in the basic usage instructions"
},
"options_page__contributing_1": {
"message": "Si alguna vez has puesto un bloque de código en un correo electrónico, entonces puedes ayudar a mejorar Markdown Here. CONTRIBUTING.md "
},
"options_page__contributing_2": {
"message": "Ayuda a que Markdown esté disponible en tu idioma. Las traducciones son bienvenidas. "
},
"options_page__contributing_title": {
"message": "Contribuyendo",
"description": "A section title"
},
"options_page__donate_plea_1": {
"message": "Una vez que decidas que Markdown Here es genial, por favor ayúdame a comprarle flores a mi mujer para que no esté demasiado molesta por todo el tiempo que pasa trabajando en ello. ¡Gracias! "
},
"options_page__donate_plea_2": {
"message": "¡Ayuda a mejorar Markdown Here! "
},
"options_page__donate_plea_3": {
"message": "¡Ayuda a apoyar el desarrollo de Markdown Here! "
},
"options_page__donate_plea_4": {
"message": "¿Sabes lo que hace más fácil mantener Markdown Here funcionando en Chrome, Firefox, Thunderbird, Safari, Opera, Gmail, Yahoo, Hotmail, Blogger, Evernote, etc.? ¡Café! "
},
"options_page__footer_1": {
"message": "Markdown Here is open source. Para preguntar, informar de errores, solicitar características, o contribuir, visita la página del proyecto Github o el Google Group \"markdown-here\" .",
"description": "part of the page footer text"
},
"options_page__footer_2": {
"message": "Creado por Adam Pritchard .",
"description": "part of the page footer text"
},
"options_page__forgot_to_render_1": {
"message": "Currently only supported in Gmail and Thunderbird."
},
"options_page__forgot_to_render_2": {
"message": "Cuando envías un correo electrónico, esto comprueba el contenido para ver si parece que escribió en Markdown, pero se te olvidó renderizarlo (es decir, hacer clic en \"Markdown Toggle\") antes de enviar. Esto puede necesitar ser desactivado si interfiere con su capacidad de enviar correo electrónico."
},
"options_page__forgot_to_render_3": {
"message": "Wenn es deaktiviert werden muss, bitte mich benachrichtigen so dass es verbessert werden kann. Erstellen einen Post in der \"Markdown-Here\" Google-Gruppe oder eine Anfrage im Github-Project . Danke."
},
"options_page__forgot_to_render_4": {
"message": "If this feature stops working for you, please let us know by posting to the \"markdown-here\" Google Group or creating an issue in the Github project . (Hooking into the email sending web UI is brittle and will sometimes break.)"
},
"options_page__forgot_to_render_label": {
"message": "Habilitar el check \"olvida-renderizar\". ",
"description": "Label for the checkbox that enables the forgot-to-render feature"
},
"options_page__gfm_line_breaks_enabled_label": {
"message": "Activar saltos de línea GFM. ",
"description": "Label for the checkbox that enables the support of 'Github-flavored Markdown' line breaks."
},
"options_page__ghdiscussions": {
"message": "Ask a question or start a conversation in Markdown Here's GitHub Discussions ."
},
"options_page__header_anchors_enabled_1": {
"message": "Esto es genial si quieres poner una tabla de contenidos u otros enlaces internos en tu contenido. Aprende cómo usarlo en la wiki de MDH. "
},
"options_page__header_anchors_enabled_2": {
"message": "Está deshabilitado por defecto porque crea ruido visual en Thunderbird . (Y la mayoría de la gente no usará esta característica.)"
},
"options_page__header_anchors_enabled_label": {
"message": "Activar anclado automático de cabeceras. ",
"description": "Label for the checkbox that enables the automatic header anchors feature. This means that an 'anchor' is created at every heading (H1, H2, etc.) in the user's Markdown. The user can then create links that will jump to these anchors, like in the table of contents of a document."
},
"options_page__hotkey_alt_key": {
"message": "ALT",
"description": "label for the Alt key"
},
"options_page__hotkey_ctrl_key": {
"message": "CTRL",
"description": "label for the Ctrl key"
},
"options_page__hotkey_note_1": {
"message": "Chrome: Debes recargar la página de su correo electrónico para que la nueva combinación de teclas surta efecto."
},
"options_page__hotkey_note_2": {
"message": "Firefox y Thunderbird: Debes reiniciar la aplicación para la nueva combinación de teclas surta efecto."
},
"options_page__hotkey_note_3": {
"message": "Debes utilizar una tecla alfanumérica para el acceso directo (varía según el idioma y teclado)."
},
"options_page__hotkey_note_4": {
"message": "La tecla de Windows y la tecla ⌘ en OS X no se pueden utilizar en el acceso directo."
},
"options_page__hotkey_note_5": {
"message": "Para deshabilitar el uso de esta combinación de teclas, deja vacío el cuadro de texto \"tecla\"."
},
"options_page__hotkey_plus": {
"message": "+",
"description": "plus sign that connects the hotkey buttons"
},
"options_page__hotkey_shift_key": {
"message": "MAYUS",
"description": "label for the Shift key"
},
"options_page__hotkey_title": {
"message": "Combinación de teclas (también conocido como atajo de teclado)",
"description": "A section title"
},
"options_page__hotkey_warning": {
"message": "¿Es la tecla un valor alfanumérico?",
"description": "warning shown if the user chooses an illegal hotkey value"
},
"options_page__markdown_toggle_button_text": {
"message": "Markdown Toggle",
"description": "button text for Markdown Toggle button"
},
"options_page__mdh_wiki": {
"message": "Visita la wiki de Markdown Here para obtener información sobre dónde funciona MDH y más consejos y trucos ."
},
"options_page__next_steps": {
"message": "Si estás interesado en lo que el futuro le depara a Markdown Here, consulta la sección Próximos pasos of the README."
},
"options_page__note_default_client_styles": {
"message": "Algunos editores de correo electrónico imponen sus propios estilos. Aquí, esos no serán evidentes."
},
"options_page__note_options_sync": {
"message": "Los cambios son automáticamente guardados y sincronizados (si la sincronización está activada en tu navegador)."
},
"options_page__note_syntax_styles_after_primary": {
"message": "Los estilos de resaltado de sintaxis se aplican después del estilo primario, y así toman precedencia."
},
"options_page__notes_title": {
"message": "Notas",
"description": "section title"
},
"options_page__other_donation_options": {
"message": "Otras opciones de donación",
"description": "Link to a page that provides other ways to donate"
},
"options_page__page_title": {
"message": "Opciones de Markdown Here"
},
"options_page__pretty_cool": {
"message": "El mensaje se verá muy guay ahora. ¡Envíaselo a tus amigos!",
"description": "A step in the basic usage instructions"
},
"options_page__preview_markdown": {
"message": "```javascript \nfunction syntaxHighlighting() { \n var n = 33; \n var s = \"hola, こんにちは\"; \n console.log(s); \n} \n``` \n \n* sin formato \n* *con énfasis* \n * **con mucho énfasis** \n * ~~tachado~~ \n* `código en línea` \n \n1. Lista numerada \n 1. Numbered sub-list \n 1. Numbered sub-sub-list \n2. [Enlace](https://www.google.com) \n \n \nUna imagen: \n \n \n> Bloque de cita. \n> *Con* **algo de** `markdown`. \n \nSi el soporte **TeX Math** está activado, esta es la ecuación cuadrática: \n$$-b \\pm \\sqrt{b^2 - 4ac} \\over 2a$$ \n \n# Cabecera 1 \n## Cabecera 2 \n### Cabecera 3 \n#### Cabecera 4 \n##### Cabecera 5 \n###### Cabecera 6 \n \n| Tablas | Son | Guays | \n| ------------- |:-------------:| -----:| \n| columna 3 | a la derecha | $$1600 | \n| columna 2 | centrada | $$12 | \n| las rayas de cebra | son nítidas | $$1 | \n \nAquí hay un separador vertical: \n \n--- \n \n``` \nbloque de código \nsin resaltado \n``` \n ",
"description": "This doesn't need to be translated, unless you want to make it more relevant to your language. The raw Markdown used for previewing user styling changes. Also shows users what can be done with Markdown. Please note that the double dollar signs ($$) are needed to make a single dollar sign in the application."
},
"options_page__preview_title": {
"message": "Vista previa",
"description": "section title for the Markdown preview section"
},
"options_page__primary_css_title": {
"message": "Estilo CSS primario",
"description": "section title"
},
"options_page__reload_restart": {
"message": "After installing or upgrading, reload your email web page or restart your web browser.",
"description": "A step in the basic usage instructions"
},
"options_page__reset_primary_css": {
"message": "Restablecer los valores predeterminados",
"description": "text on button to reset Primary Styling CSS"
},
"options_page__resources_cheatsheet_link": {
"message": "Si eres nuevo en Markdown, la Markdown Here Cheatsheet te convertirá en una estrella profesional."
},
"options_page__resources_title": {
"message": "Recursos y enlaces",
"description": "A section title"
},
"options_page__start_new_message": {
"message": "Comienza un nuevo mensaje de correo electrónico.",
"description": "A step in the basic usage instructions"
},
"options_page__syntax_highlighting_css_title": {
"message": "Resaltado de sintaxis CSS",
"description": "section title"
},
"options_page__syntax_highlighting_theme_label": {
"message": "Tema:",
"description": "label for the syntax highlighting theme combox box"
},
"options_page__tex_math_codecogs_customization_2": {
"message": "For render customization options, see the CodeCogs documentation for this service."
},
"options_page__tex_math_codecogs_privacy_issue_1": {
"message": "To generate the image for the formula, a request is sent to CodeCogs. That effectively means that you are sharing your formula with CodeCogs. It also means that recipients of your message will be making a request to CodeCogs to have the image rendered.",
"description": "one of the TeX math privacy concerns"
},
"options_page__tex_math_customization_1": {
"message": "Si esta función está activada, el texto entre símbolos de dólar — $$ — será interpretado como fórmula matemática. Por ejemplo, $$ \\Delta$$ quedaría renderizado como símbolo de delta.",
"description": "Note: Double dollar signs ($$) are necessary to get a single dollar sign."
},
"options_page__tex_math_customization_3": {
"message": "Un buen recurso para la creación de fórmulas en TeX es el Editor de ecuaciones CodeCogs ."
},
"options_page__tex_math_customization_4": {
"message": "Las fórmulas se renderizan en imágenes, así que los destinatarios tendrán que activar mostrar imágenes para ver el renderizado."
},
"options_page__tex_math_customization_5": {
"message": "Si personalizas la etiqueta de renderizado, puedes (y debes) utilizar uno o ambos de {mathcode} y {urlmathcode} como marcadores de posición.",
"description": "Please do not translate {mathcode} and {urlmathcode}"
},
"options_page__tex_math_customization_5_1": {
"message": "{mathcode}: El texto entre los símbolos $$ — por ejemplo, la fórmula en TeX; como \\Delta.",
"description": "Please do not translate {mathcode} and {urlmathcode}. Note: Double dollar signs ($$) are necessary to get a single dollar sign."
},
"options_page__tex_math_customization_5_2": {
"message": "{urlmathcode}: La forma de URL-encoded de la fórmula de TeX; como %5CDelta.",
"description": "Please do not translate {mathcode} and {urlmathcode}"
},
"options_page__tex_math_customization_6": {
"message": "Si personalizas el tag <img>, debes incluir un atributo alt que tenga un valor lo más legible para humanos, como {mathcode}. Este valor de este atributo será usado para la versión en texto plano del correo electrónico (cuando sea enviado desde Gmail y Thunderbird), y usado por los lectores de pantalla para destinatarios con discapacidad visual.",
"description": "Please do not translate {mathcode} and {urlmathcode}"
},
"options_page__tex_math_customization_heading": {
"message": "Personalización y Uso: ",
"description": "heading for customization and use info"
},
"options_page__tex_math_privacy_heading": {
"message": "Cuestiones de privacidad: ",
"description": "heading for warnings about TeX math privacy concerns"
},
"options_page__tex_math_privacy_issue_2": {
"message": "Deberías utilizar una ruta segura (https://) si modificas la etiqueta que renderiza la fórmula. No todos los servicios de renderizado proporcionan una opción segura.",
"description": "one of the TeX math privacy concerns"
},
"options_page__tex_math_reset_button": {
"message": "Restablecer los valores predeterminados",
"description": "text on button to reset TeX math option"
},
"options_page__tex_math_title": {
"message": "Soporte a fórmulas matemáticas en TeX"
},
"options_page__type_some_markdown": {
"message": "Escribe algo de Markdown en el correo electrónico. Try this: _Hello_ `Markdown` **Here**!",
"description": "A step in the basic usage instructions"
},
"plain_text_compose": {
"message": "Estás usando un editor de texto plano. Debes cambiar a un editor de texto enriquecido para usar Markdown Here.",
"description": "Shown in an alert dialog if the user has their email compose app set to plain text"
},
"toggle_button_text": {
"message": "MD Toggle",
"description": "Text shown underneath the render toggle button. Make it as short as possible.",
"inMozDTD": true
},
"toggle_button_tooltip": {
"message": "Click para activar el renderizado Markdown",
"description": "text shown when user hovers mouse over Markdown Toggle button",
"inMozDTD": true
},
"toggle_button_tooltip_disabled": {
"message": "El campo seleccionado no es válido para el renderizado Markdown",
"description": "text shown when user hover mouse over disabled Markdown Toggle button",
"inMozDTD": true
},
"unrendering_modified_markdown_warning": {
"message": "El renderizado Markdown parece que ha sido modificado.\nSi lo deshaces, los cambios desde el renderizado se perderán.\n\n¿Estás seguro de que deseas deshacer el renderizado?",
"description": "Warning shown to the user if she tries to revert some rendered Markdown that they've modified since rendering. The user will lose their modifications if they proceed."
},
"upgrade_notification_changes_tooltip": {
"message": "Click para ver los cambios en esta versión",
"description": "Tooltip text on the link that opens the changes list"
},
"upgrade_notification_dismiss_tooltip": {
"message": "Descartar esta notificación",
"description": "Tooltip text on the link that dismisses the notification"
},
"upgrade_notification_text": {
"message": "Markdown Here actualizado",
"description": "Text on the notification shown when Markdown Here has been updated"
}
}
================================================
FILE: src/_locales/es/screenshot-captions.txt
================================================
Escribe tu correo electrónico en Markdown...
... ¡y hazlo bonito!
¿Quieres usar Markdown sólo para un parte de tu correo electrónico? Sólo selecciónala y ¡conviértela!
================================================
FILE: src/_locales/fr/description.txt
================================================
Markdown Here permet d'écrire un courriel avec Mardown et de le convertir (afin qu'il soit attrayant!) avant de l'envoyer.
C'est parfait pour tous ceux qui n'aiment pas travailler avec des boutons de formatage pendant qu'ils écrivent un courriel. C'est particulièrement utile pour les programmeurs qui écrivent des courriels qui incluent du code -- la coloration syntaxique est également supportée. Et pour les mathématiciens parmi nous : Markdown Here convertira tout aussi bien les formules TeX.
Tout à fait simple à utiliser :
1. Écrivez votre courriel dans l'éditeur de texte enrichi de votre client de messagerie en utilisant la version de Markdown adaptée par GitHub.
2. Faites un clic droit dans la zone de texte du corps de votre courriel, puis cliquez sur « Basculer Markdown ».
3. Votre courriel est maintenant attrayant! (C'est-à-dire qu'il a été converti en HTML.)
4. Si vous aimez l'aspect de votre courriel, il ne vous reste qu'à l'envoyer. Si vous souhaitez changer ou ajouter quelque chose, cliquez à nouveau sur « Basculer Markdown » afin de retrouver votre Markdown d'origine.
5. Répéter au besoin.
Markdown Here est principalement destiné à être utilisé avec Gmail et Thunderbird, mais il fonctionne également très bien avec Yahoo et Hotmail. De plus, il fonctionne bien avec Google Groupes et Sites, avec l'interface Web d'Evernote, Blogger, Wordpress et plus encore!
Remarque concernant la coloration syntaxique : utilisez des blocs de code balisés et spécifiez le nom du langage. Regardez la page du projet pour avoir un exemple.
Vie privée : Markdown Here accède au contenu web et le modifie quand vous l'activez. Il peut aussi, en théorie, accéder à d'autre contenu Web, mais il ne le fait pas. Il ne fait également aucune requête Internet que ce soit. Vos données sont modifiées quand et où vous le choisissez et elles ne quittent pas votre navigateur.
Disponible en tant qu'extension Chrome, Firefox, Safari, Opera et Thunderbird.
C'est un projet open source. Visitez la page Github de Markdown Here pour les instructions complètes, pour plus d'information, pour les rapports de bogue ou pour contribuer à ce projet.
https://markdown-here.com (en anglais)
https://github.com/adam-p/markdown-here (en anglais)
================================================
FILE: src/_locales/fr/markdown-here-image2.txt
================================================
Le mer. 16 mai 2012 à 21 h 51, Ami a écrit :
> Bonjour à toi!
Bonjour l'ami.
> Peux-tu m'envoyer un bout de code intéressant?
**Ceci** est plutôt bien :
```clojure
(defn bonjour [x] (str "Bonjour", x))
(bonjour "Clojure")
```
> Merci d'avance!
Il n'y a pas de quoi.
================================================
FILE: src/_locales/fr/md-for-screenshot.md.txt
================================================
## Les savoureuses captures d'écran Markdown
*Markdown Here* est une extension pour Google Chrome, Firefox et Thunderbird qui vous permet d'écrire vos courriels avec Markdown, puis de les convertir avant de les envoyer.
* Markdown est **super**. Mettez du `code dans votre texte`.
* Ajoutez des liens, comme celui de [ce projet](https://github.com/adam-p/markdown-here).
* Une liste ordonnée, vous dites? **Et** une liste imbriquée?
1. Fait.
2. Et fait.
Un de nos utilisateurs a écrit :
Fait exactement ce que j'attends qu'elle fasse. Le support de Markdown dans les courriels, sans se faire remarquer.
### La coloration syntaxique : d'enfer !
Un peu de JavaScript :
```javascript
alert('Bonjour Markdown');
```
Et voilà un exemple un peu inhabituel -- un diff :
```diff
diff --git a/src/common/markdown-here.js b/src/common/markdown-here.js
index 24dcb97..20c36a1 100644
--- a/src/common/markdown-here.js
+++ b/src/common/markdown-here.js
@@ -201,12 +179,14 @@ function makeStylesExplicit(wrapperElem, css) {
- applyStyleToElement(rule.style, selectorMatches[j]);
+ styleAttr = selectorMatches[j].getAttribute('style') || '';
+ styleAttr += rule.style.cssText;
+ selectorMatches[j].setAttribute('style', styleAttr);
```
================================================
FILE: src/_locales/fr/messages.json
================================================
{
"app_name": {
"message": "Markdown Here",
"description": "the name of the extension",
"inMozDTD": true
},
"app_slogan": {
"message": "Écrivez votre courriel avec Markdown, puis rendez-le attrayant.",
"description": "shown as subtitle for Markdown Here in the browser extensions list"
},
"context_menu_item": {
"message": "Basculer vers Markdown",
"description": "Text shown on the context menu.",
"inMozDTD": true
},
"currently_in_use": {
"message": "En cours d'utilisation",
"description": "Indicates the syntax highlighting theme that the user is currently using"
},
"cursor_into_compose": {
"message": "Veuillez placer le curseur dans la zone de texte."
},
"forgot_to_render_back_button": {
"message": "Retour",
"description": "Text on the Back (cancel) button of the prompt that's shown when it's detected that a user may have forgotten to render the Markdown in their email",
"inMozDTD": true
},
"forgot_to_render_prompt_close_hover": {
"message": "Ignorer cette notification",
"description": "Text that shows when the user hovers over the 'X' that will close the prompt"
},
"forgot_to_render_prompt_info": {
"message": "Il semble que vous ayez écrit ce courriel en Markdown, mais que vous ayez oublié de le rendre attrayant.",
"description": "Informational part of the prompt that's shown when it's detected that a user may have forgotten to render the Markdown in their email"
},
"forgot_to_render_prompt_question": {
"message": "L'envoyer tout de même?",
"description": "Question part of the prompt that's shown when it's detected that a user may have forgotten to render the Markdown in their email"
},
"forgot_to_render_prompt_title": {
"message": "Avez-vous oublié de basculer vers Markdown ?",
"description": "Title of the prompt that's shown when it's detected that a user may have forgotten to render the Markdown in their email"
},
"forgot_to_render_send_button": {
"message": "Envoyer",
"description": "Text on the Send (continue) button of the prompt that's shown when it's detected that a user may have forgotten to render the Markdown in their email",
"inMozDTD": true
},
"invalid_field": {
"message": "Le champ sélectionné n'est pas valide pour un rendu avec Markdown. Utilisez un éditeur de texte enrichi.",
"description": "Shown in an alert dialog if the user tries to render a field that cannot be rendered"
},
"moz_options_dlg_instruction": {
"message": "Click the 'OK' button to open the Markdown Here Options tab",
"description": "In Thunderbird, in order to open the options tab we first have to open a temporary dialog box. This is the text in that box telling the user what to do. Please use the same translation for 'OK' that the application uses.",
"inMozDTD": true
},
"moz_options_dlg_title": {
"message": "Markdown Here Options",
"description": "In Thunderbird, in order to open the options tab we first have to open a temporary dialog box. This is the title for that box.",
"inMozDTD": true
},
"new_changelist_items": {
"message": "NOUVEAU",
"description": "Used to highlight the part of the changelist that is new. There will typically be multiple items in the list, so this should be considered plural."
},
"nothing_to_render": {
"message": "Il n'y a rien à rendre en Markdown ou à rétablir",
"description": "Error message shown to user if there's nothing found to revert or render."
},
"options_page__advanced_title": {
"message": "Avancé et divers",
"description": "A section title"
},
"options_page__advanced_usage": {
"message": "Pour davantage d'information et pour l'utilisation avancée, visitez la page du projet Mardown Here (en anglais). Vous devriez aussi explorer les options ci-dessous."
},
"options_page__basic_usage": {
"message": "Utilisation de base"
},
"options_page__changes_saved": {
"message": "Modifications sauvegardées",
"description": "message that shows when user changes have been saved"
},
"options_page__click_toggle": {
"message": "Faites un clic droit dans le courriel puis sélectionnez \"Basculez vers Markdown\". (Ou cliquez sur le bouton dans la barre d'outils. Ou appuyez sur Alt+Shift+M )",
"description": "A step in the basic usage instructions"
},
"options_page__contributing_1": {
"message": "Si vous avez déjà mis un bloc de code dans un courriel, vous pouvez aider à améliorer Markdown Here. CONTRIBUTING.md "
},
"options_page__contributing_2": {
"message": "Aidez à rendre Markdown Here disponible dans votre langue. Les traductions sont les bienvenues. "
},
"options_page__contributing_title": {
"message": "Contribuer",
"description": "A section title"
},
"options_page__donate_plea_1": {
"message": "Si d'aventure vous estimez que Markdown Here est assez sympa, merci de m'aider à acheter des fleurs à ma femme pour qu'elle ne soit pas jalouse du temps que j'y consacre. Merci ! "
},
"options_page__donate_plea_2": {
"message": "Aidez à rendre Markdown Here meilleur! "
},
"options_page__donate_plea_3": {
"message": "Soutenez le développement de Markdown Here! "
},
"options_page__donate_plea_4": {
"message": "Vous savez ce qui permet plus facilement de garder Markdown Here fonctionnel sur Chrome, Firefox, Thunderbird, Safari, Opera, Gmail, Yahoo, Hotmail, Blogger, Evernote, etc.? Le café! "
},
"options_page__footer_1": {
"message": "Markdown Here est open source. Pour poser des questions, signaler un problème, proposer des fonctionnalités ou pour contribuer, visitez la page Github du projet (en anglais) ou le Groupe Google « markdown-here » (en anglais) .",
"description": "part of the page footer text"
},
"options_page__footer_2": {
"message": "Créé par Adam Pritchard (site en anglais).",
"description": "part of the page footer text"
},
"options_page__forgot_to_render_1": {
"message": "Actuellement uniquement supporté dans les interfaces web de Gmail et Google Inbox, et dans Thunderbird (et Icedove)."
},
"options_page__forgot_to_render_2": {
"message": "Lorsque vous envoyez un courriel, l'extension vérifie le contenu pour voir si vous l'avez écrit en Markdown, mais que vous avez oublié de faire le rendu (en cliquant sur « Basculer vers Markdown ») avant de l'envoyer. Cette option peut être désactivée si elle interfère avec votre capacité à envoyer des courriels."
},
"options_page__forgot_to_render_3": {
"message": "Wenn es deaktiviert werden muss, bitte mich benachrichtigen so dass es verbessert werden kann. Erstellen einen Post in der \"Markdown-Here\" Google-Gruppe oder eine Anfrage im Github-Project . Danke."
},
"options_page__forgot_to_render_4": {
"message": "Si cette fonctionnalité ne fonctionne plus pour vous, s'il vous plait faites le nous savoir en créant un post sur le groupe Google \"markdown-here\" ou en créant une issue dans le projet Github . (Le lien avec l'interface web des messageries est fragile et peut parfois se briser.)"
},
"options_page__forgot_to_render_label": {
"message": "Activer la vérification d'« oubli de rendu ». ",
"description": "Label for the checkbox that enables the forgot-to-render feature"
},
"options_page__gfm_line_breaks_enabled_label": {
"message": "Activer les sauts de ligne GFM. ",
"description": "Label for the checkbox that enables the support of 'Github-flavored Markdown' line breaks."
},
"options_page__ghdiscussions": {
"message": "Ask a question or start a conversation in Markdown Here's GitHub Discussions ."
},
"options_page__header_anchors_enabled_1": {
"message": "C'est très pratique si vous voulez mettre une table des matières ou d'autres liens internes dans votre contenu. En savoir plus sur comment l'utiliser dans le wiki MDH. "
},
"options_page__header_anchors_enabled_2": {
"message": "Désactivé par défaut car cela crée un bruit visuel dans Thunderbird . (Et la plupart des gens n'utilisera probablement pas la fonctionnalité.)"
},
"options_page__header_anchors_enabled_label": {
"message": "Activer les ancres d'en-tête automatiques. ",
"description": "Label for the checkbox that enables the automatic header anchors feature. This means that an 'anchor' is created at every heading (H1, H2, etc.) in the user's Markdown. The user can then create links that will jump to these anchors, like in the table of contents of a document."
},
"options_page__hotkey_alt_key": {
"message": "ALT",
"description": "label for the Alt key"
},
"options_page__hotkey_ctrl_key": {
"message": "CTRL",
"description": "label for the Ctrl key"
},
"options_page__hotkey_note_1": {
"message": "Chrome : Vous devez recharger la page web de votre courriel pour que le nouveau raccourci soit pris en compte."
},
"options_page__hotkey_note_2": {
"message": "Firefox et Thunderbird: Vous devez redémarrer l'application pour que le nouveau raccourci soit prit en compte."
},
"options_page__hotkey_note_3": {
"message": "Vous devez utiliser une touche alphanumérique pour le raccourci clavier (varie selon la langue et le clavier)."
},
"options_page__hotkey_note_4": {
"message": "Les touches Windows et OS X ⌘ ne peuvent être utilisés dans le raccourci clavier."
},
"options_page__hotkey_note_5": {
"message": "Afin de désactiver ce raccourci clavier, laissez la zone de texte « raccourci clavier » vide."
},
"options_page__hotkey_plus": {
"message": "+",
"description": "plus sign that connects the hotkey buttons"
},
"options_page__hotkey_shift_key": {
"message": "MAJ",
"description": "label for the Shift key"
},
"options_page__hotkey_title": {
"message": "Raccourci clavier",
"description": "A section title"
},
"options_page__hotkey_warning": {
"message": "Est-ce une touche alphanumérique?",
"description": "warning shown if the user chooses an illegal hotkey value"
},
"options_page__markdown_toggle_button_text": {
"message": "Basculer vers Markdown",
"description": "button text for Markdown Toggle button"
},
"options_page__mdh_wiki": {
"message": "Visitez le Wiki Markdown Here pour savoir où MDH est supporté et d'autres trucs et astuces ."
},
"options_page__next_steps": {
"message": "Si vous êtes intéressé par l'avenir du projet Markdown Here, rendez-vous sur la section Prochaines Étapes du README."
},
"options_page__note_default_client_styles": {
"message": "Certains éditeurs de courrier électronique et navigateurs imposent leurs propres styles. Ceux-ci peuvent ne pas être visibles ici."
},
"options_page__note_options_sync": {
"message": "Les modifications sont automatiquement enregistrées et synchronisées (si la synchronisation est activée dans votre navigateur)."
},
"options_page__note_syntax_styles_after_primary": {
"message": "Les styles pour la coloration syntaxique sont appliqués après les styles de base et sont donc prioritaires."
},
"options_page__notes_title": {
"message": "Remarques",
"description": "section title"
},
"options_page__other_donation_options": {
"message": "Autres façons de faire un don",
"description": "Link to a page that provides other ways to donate"
},
"options_page__page_title": {
"message": "Options de Markdown Here"
},
"options_page__pretty_cool": {
"message": "Le courriel devrait maintenant être plutôt attrayant. Envoyez-le à vos amis!",
"description": "A step in the basic usage instructions"
},
"options_page__preview_markdown": {
"message": "```javascript \nfunction colorationSyntaxique() { \n var n = 33; \n var t = \"bonjour\"; \n console.log(t); \n} \n``` \n \n* plein \n* *accentuation* \n * **forte accentuation** \n * ~~barré~~ \n* `code à l’intérieur d'une ligne de texte` \n \n1. Liste numérotée \n 1. Numbered sub-list \n 1. Numbered sub-sub-list \n2. [Link](https://www.google.com) \n \n \nUne image : \n \n \n> Bloc de citation. \n> *Avec* **un peu de** `markdown`. \n \nSi le support des **formules mathématiques TeX** est activé, l'équation du second degré est la suivante : \n$$-b \\pm \\sqrt{b^2 - 4ac} \\over 2a$$ \n \n# Titre 1 \n## Titre 2 \n### Titre 3 \n#### Titre 4 \n##### Titre 5 \n###### Titre 6 \n \n| Les tableaux | sont | intéressants | \n| ------------- |:-------------:| -----:| \n| la colonne 3 | est alignée à droite | 1600 $$ | \n| la colonne 2 | est centrée | 12 $$ | \n| les rayures | sont élégantes | 1 $$ | \n \nVoici une ligne horizontale : \n \n--- \n \n``` \nbloc de code \nsans coloration syntaxique \n``` \n \n",
"description": "This doesn't need to be translated, unless you want to make it more relevant to your language. The raw Markdown used for previewing user styling changes. Also shows users what can be done with Markdown. Please note that the double dollar signs ($$) are needed to make a single dollar sign in the application."
},
"options_page__preview_title": {
"message": "Aperçu",
"description": "section title for the Markdown preview section"
},
"options_page__primary_css_title": {
"message": "Styles de base CSS",
"description": "section title"
},
"options_page__reload_restart": {
"message": "Après l'installation ou une mise à jour, actualisez la page web de votre email ou redémarrez votre navigateur.",
"description": "A step in the basic usage instructions"
},
"options_page__reset_primary_css": {
"message": "Restaurer la valeur par défaut",
"description": "text on button to reset Primary Styling CSS"
},
"options_page__resources_cheatsheet_link": {
"message": "Si vous débutez en Markdown, l'aide mémoire Markdown Here fera de vous un expert."
},
"options_page__resources_title": {
"message": "Ressources et Liens",
"description": "A section title"
},
"options_page__start_new_message": {
"message": "Commencez un nouveau courriel.",
"description": "A step in the basic usage instructions"
},
"options_page__syntax_highlighting_css_title": {
"message": "CSS pour la coloration syntaxique",
"description": "section title"
},
"options_page__syntax_highlighting_theme_label": {
"message": "Thème :",
"description": "label for the syntax highlighting theme combox box"
},
"options_page__tex_math_codecogs_customization_2": {
"message": "For render customization options, see the CodeCogs documentation for this service."
},
"options_page__tex_math_codecogs_privacy_issue_1": {
"message": "To generate the image for the formula, a request is sent to CodeCogs. That effectively means that you are sharing your formula with CodeCogs. It also means that recipients of your message will be making a request to CodeCogs to have the image rendered.",
"description": "one of the TeX math privacy concerns"
},
"options_page__tex_math_customization_1": {
"message": "Si cette fonctionnalité est activée, le texte entre deux signes dollar — $$ — sera interprété comme une formule mathématique. Par exemple, $$\\Delta$$ serait rendu comme le signe delta.",
"description": "Note: Double dollar signs ($$) are necessary to get a single dollar sign."
},
"options_page__tex_math_customization_3": {
"message": "Une bonne ressource pour créer des formules Tex est « CodeCogs Equation Editor » (en anglais)."
},
"options_page__tex_math_customization_4": {
"message": "Les formules sont converties en images, ce qui fait que les destinataires du courriel devront activer l'affichage des images afin de les voir."
},
"options_page__tex_math_customization_5": {
"message": "Si vous personnalisez la balise de rendu, vous pouvez (et devriez) utiliser {mathcode} et/ou {urlmathcode} à la place.",
"description": "Please do not translate {mathcode} and {urlmathcode}"
},
"options_page__tex_math_customization_5_1": {
"message": "{mathcode}: Le texte entre les symboles $$ — c'est-à-dire la formule brute TeX ; comme \\Delta.",
"description": "Please do not translate {mathcode} and {urlmathcode}. Note: Double dollar signs ($$) are necessary to get a single dollar sign."
},
"options_page__tex_math_customization_5_2": {
"message": "{urlmathcode}: forme encodée en URL de la formule TeX ; comme %5CDelta.",
"description": "Please do not translate {mathcode} and {urlmathcode}"
},
"options_page__tex_math_customization_6": {
"message": "Si vous personnalisez la balise <img>, vous devez inclure un attribut alt qui a une valeur aussi lisible que possible, comme {mathcode}. La valeur de cet attribut sera utilisée pour la version en texte brut du message (quand il est envoyé depuis Gmail et Thunderbird) et utilisée par les lecteurs d'écran de vos destinataires malvoyants.",
"description": "Please do not translate {mathcode} and {urlmathcode}"
},
"options_page__tex_math_customization_heading": {
"message": "Personnalisation et Utilisation : ",
"description": "heading for customization and use info"
},
"options_page__tex_math_privacy_heading": {
"message": "Confidentialité : ",
"description": "heading for warnings about TeX math privacy concerns"
},
"options_page__tex_math_privacy_issue_2": {
"message": "Si vous choisissez de modifier la balise de rendu de formule, vous devriez utiliser un chemin sécurisé (https://). Tous les services de rendu ne fournissent pas une option sécurisée.",
"description": "one of the TeX math privacy concerns"
},
"options_page__tex_math_reset_button": {
"message": "Restaurer la valeur par défaut",
"description": "text on button to reset TeX math option"
},
"options_page__tex_math_title": {
"message": "Support des formules mathématiques TeX"
},
"options_page__type_some_markdown": {
"message": "Écrivez un peu de Markdown dans le courriel. Essayez ceci:_Bonjour_ `Markdown` **Here**!",
"description": "A step in the basic usage instructions"
},
"plain_text_compose": {
"message": "Vous utilisez un éditeur de texte simple. Changez pour un éditeur de texte enrichi pour utiliser Markdown Here.",
"description": "Shown in an alert dialog if the user has their email compose app set to plain text"
},
"toggle_button_text": {
"message": "Basculer vers MD",
"description": "Text shown underneath the render toggle button. Make it as short as possible.",
"inMozDTD": true
},
"toggle_button_tooltip": {
"message": "Cliquez pour basculer vers le rendu Markdown",
"description": "text shown when user hovers mouse over Markdown Toggle button",
"inMozDTD": true
},
"toggle_button_tooltip_disabled": {
"message": "Le champ sélectionné n'est pas valide pour un rendu avec Markdown",
"description": "text shown when user hover mouse over disabled Markdown Toggle button",
"inMozDTD": true
},
"unrendering_modified_markdown_warning": {
"message": "Le rendu Markdown semble avoir été modifié.\nBasculer fera perdre tous les changements.\n\nVoulez-vous vraiment basculer le rendu ?",
"description": "Warning shown to the user if she tries to revert some rendered Markdown that they've modified since rendering. The user will lose their modifications if they proceed."
},
"upgrade_notification_changes_tooltip": {
"message": "Cliquez pour voir les modifications apportées à cette version",
"description": "Tooltip text on the link that opens the changes list"
},
"upgrade_notification_dismiss_tooltip": {
"message": "Ignorer cette notification",
"description": "Tooltip text on the link that dismisses the notification"
},
"upgrade_notification_text": {
"message": "Markdown Here mis à jour",
"description": "Text on the notification shown when Markdown Here has been updated"
}
}
================================================
FILE: src/_locales/fr/screenshot-captions.txt
================================================
Écrivez votre courriel avec Markdown...
...puis rendez-le attrayant!
Vous souhaitez utiliser Markdown pour une partie de votre courriel seulement? Sélectionnez-la simplement, puis convertissez-la!
================================================
FILE: src/_locales/it/description.txt
================================================
Markdown Here ti permette di scrivere email in Markdown e trasformarle (renderle belle!) prima di inviarle.
Questo è ottimo per chi non ama trafficare con i pulsanti di formattazione mentre scrive una email. È particolarmente valido per i programmatori che scrivono email con codice all'interno -- supporta anche l'evidenziazione della sintassi. E per i matematici tra noi: Markdown Here interpreta anche le formule TeX.
Molto semplice da utilizzare:
1. Scrivi la tua email nel ricco editor di testo del tuo client di posta usando Github-flavoured Markdown.
2. Clicca col destro nell'area di composizione e poi clicca "Commuta Markdown".
3. La tua email ora è bella! (Vale a dire, è stata trasformata in HTML)
4. Se ti piace l'aspetto che ha, spediscila. Se vuoi cambiare o aggiungere qualcosa, clicca "Commuta Markdown" di nuovo per tornare al tuo originale Markdown.
5. Ripeti se necessario.
Markdown Here è pensato principalmente per funzionare con Gmail e Thunderbird, ma funziona molto bene anche con Yahoo e Hotmail. Inoltre, funziona ottimamente con Google Groups e Sites, l'interfaccia web di Evernote, Blogger, Wordpress, e altro ancora!
Nota per la syntax highlighting: usare i Fenced Code Blocks specificando il nome del linguaggio utilizzato. Si veda la pagina del progetto per un esempio.
Privacy: Markdown Here ha accesso e modifica il contenuto web una volta che è stato attivato. In teoria, può accedere anche ad altri contenuti, ma non lo fa. Addirittura non esegue nessuna richiesta Internet. Il testo viene modificato solo dove e quando tu scegli di farlo, e non lascia mai il tuo browser.
Disponibile come estensione per Chrome, Firefox, Safari, Opera e Thunderbird.
Questo è un progetto open source. Visita la pagina GitHub di Markdown Here per le istruzioni complete, ulteriori informazioni, segnalazioni di bug o per contribuire.
https://markdown-here.com
https://github.com/adam-p/markdown-here
================================================
FILE: src/_locales/it/markdown-here-image2.txt
================================================
Mercoledì 16 Maggio, 2012 alle 9:51 PM, Buddy ha scritto:
> Hey amico!
Ciao bello.
> Puoi mandarmi del buon codice?
**Questo** è abbastanza bello:
```clojure
(defn hello [x] (str "Hello", x))
(hello "Clojure")
```
> Grazie in anticipo!
Nessun problema.
================================================
FILE: src/_locales/it/md-for-screenshot.md.txt
================================================
## Adorabile schermata di riepilogo di Markdown
*Markdown Here* è un'estensione per Google Chrome, Firefox e Thunderbird che ti permette di scrivere email in Markdown e trasformarle prima di inviarle.
* Markdown è **fantastico**. Inserisci `codice inline`.
* Link, come [questo progetto](https://github.com/adam-p/markdown-here).
* Hai detto ordinati? **E** in una sottolista?
1. Fatto.
2. E fatto.
Citazione di una recensione reale:
> Fa esattamente quello di cui ho bisogno. Supporto Markdown dentro le email senza essere di intralcio.
### Syntax highlighting: super geniale
Un po' di JavaScript:
```javascript
alert('Hello Markdown');
```
E cosa dire di un esempio insolito -- un diff:
```diff
diff --git a/src/common/markdown-here.js b/src/common/markdown-here.js
index 24dcb97..20c36a1 100644
--- a/src/common/markdown-here.js
+++ b/src/common/markdown-here.js
@@ -201,12 +179,14 @@ function makeStylesExplicit(wrapperElem, css) {
- applyStyleToElement(rule.style, selectorMatches[j]);
+ styleAttr = selectorMatches[j].getAttribute('style') || '';
+ styleAttr += rule.style.cssText;
+ selectorMatches[j].setAttribute('style', styleAttr);
```
================================================
FILE: src/_locales/it/messages.json
================================================
{
"app_name": {
"message": "Markdown Here",
"description": "the name of the extension",
"inMozDTD": true
},
"app_slogan": {
"message": "Scrivi la tua email in Markdown, quindi rendila bella.",
"description": "shown as subtitle for Markdown Here in the browser extensions list"
},
"context_menu_item": {
"message": "Commuta Markdown",
"description": "Text shown on the context menu.",
"inMozDTD": true
},
"currently_in_use": {
"message": "Currently in use",
"description": "Indicates the syntax highlighting theme that the user is currently using"
},
"cursor_into_compose": {
"message": "Please put the cursor into the compose box."
},
"forgot_to_render_back_button": {
"message": "Indietro",
"description": "Text on the Back (cancel) button of the prompt that's shown when it's detected that a user may have forgotten to render the Markdown in their email",
"inMozDTD": true
},
"forgot_to_render_prompt_close_hover": {
"message": "Ignora questa notifica",
"description": "Text that shows when the user hovers over the 'X' that will close the prompt"
},
"forgot_to_render_prompt_info": {
"message": "Sembra che tu abbia scritto questa email in Markdown ma dimenticato di abbellirla.",
"description": "Informational part of the prompt that's shown when it's detected that a user may have forgotten to render the Markdown in their email"
},
"forgot_to_render_prompt_question": {
"message": "Inviarla lo stesso?",
"description": "Question part of the prompt that's shown when it's detected that a user may have forgotten to render the Markdown in their email"
},
"forgot_to_render_prompt_title": {
"message": "Forget to toggle Markdown?",
"description": "Title of the prompt that's shown when it's detected that a user may have forgotten to render the Markdown in their email"
},
"forgot_to_render_send_button": {
"message": "Invia",
"description": "Text on the Send (continue) button of the prompt that's shown when it's detected that a user may have forgotten to render the Markdown in their email",
"inMozDTD": true
},
"invalid_field": {
"message": "The selected field is not valid for Markdown rendering. Please use a rich editor.",
"description": "Shown in an alert dialog if the user tries to render a field that cannot be rendered"
},
"moz_options_dlg_instruction": {
"message": "Click the 'OK' button to open the Markdown Here Options tab",
"description": "In Thunderbird, in order to open the options tab we first have to open a temporary dialog box. This is the text in that box telling the user what to do. Please use the same translation for 'OK' that the application uses.",
"inMozDTD": true
},
"moz_options_dlg_title": {
"message": "Markdown Here Options",
"description": "In Thunderbird, in order to open the options tab we first have to open a temporary dialog box. This is the title for that box.",
"inMozDTD": true
},
"new_changelist_items": {
"message": "NEW",
"description": "Used to highlight the part of the changelist that is new. There will typically be multiple items in the list, so this should be considered plural."
},
"nothing_to_render": {
"message": "Nulla da trasformare o da ripristinare",
"description": "Error message shown to user if there's nothing found to revert or render."
},
"options_page__advanced_title": {
"message": "Advanced and Miscellaneous",
"description": "A section title"
},
"options_page__advanced_usage": {
"message": "For lots more info and advanced usage, see the Markdown Here project page . You should also explore the options below."
},
"options_page__basic_usage": {
"message": "Basic Usage"
},
"options_page__changes_saved": {
"message": "Changes saved",
"description": "message that shows when user changes have been saved"
},
"options_page__click_toggle": {
"message": "Right-click in the email and then click \"Markdown Toggle\". (Or click the button on the toolbar. Or press Alt+Shift+M )",
"description": "A step in the basic usage instructions"
},
"options_page__contributing_1": {
"message": "If you have ever put a code block into an email, then you can help make Markdown Here better. CONTRIBUTING.md "
},
"options_page__contributing_2": {
"message": "Help make Markdown Here available in your language. Translations are welcome. "
},
"options_page__contributing_title": {
"message": "Contributing",
"description": "A section title"
},
"options_page__donate_plea_1": {
"message": "Once you decide Markdown Here is pretty sweet, please help me to buy some flowers for my wife so she's not too upset about how much time I spend working on it. Thank you! "
},
"options_page__donate_plea_2": {
"message": "Help make Markdown Here better! "
},
"options_page__donate_plea_3": {
"message": "Help support the development of Markdown Here! "
},
"options_page__donate_plea_4": {
"message": "You know what makes it easier to keep Markdown Here working on Chrome, Firefox, Thunderbird, Safari, Opera, Gmail, Yahoo, Hotmail, Blogger, Evernote, etc.? Coffee! "
},
"options_page__footer_1": {
"message": "Markdown Here is open source. To ask questions, report bugs, request features, or contribute, visit the Github project page or the \"markdown-here\" Google Group .",
"description": "part of the page footer text"
},
"options_page__footer_2": {
"message": "Created by Adam Pritchard .",
"description": "part of the page footer text"
},
"options_page__forgot_to_render_1": {
"message": "Currently only supported in the Gmail web interface and Thunderbird (and Icedove)."
},
"options_page__forgot_to_render_2": {
"message": "When you send an email, this checks the content to see if it looks like you wrote it in Markdown, but forgot to render it (i.e., click \"Markdown Toggle\") before sending. This may need to be disabled if it interferes with your ability to send email."
},
"options_page__forgot_to_render_3": {
"message": "If you find yourself disabling this, please let me know why and how it could be better. Create a post on the \"markdown-here\" Google Group or an issue in the Github project . Thanks."
},
"options_page__forgot_to_render_4": {
"message": "Si cette fonctionnalité ne fonctionne plus pour vous, s'il vous plait faites le nous savoir en créant un post sur le groupe Google \"markdown-here\" ou en créant une issue dans le projet Github . (Le lien avec l'interface web des messageries est fragile et peut parfois se briser.)"
},
"options_page__forgot_to_render_label": {
"message": "Enable \"forgot-to-render\" check. ",
"description": "Label for the checkbox that enables the forgot-to-render feature"
},
"options_page__gfm_line_breaks_enabled_label": {
"message": "Enable GFM line breaks. ",
"description": "Label for the checkbox that enables the support of 'Github-flavored Markdown' line breaks."
},
"options_page__ghdiscussions": {
"message": "Ask a question or start a conversation in Markdown Here's GitHub Discussions ."
},
"options_page__header_anchors_enabled_1": {
"message": "This is great if you want to put a table of contents or other internal links into your content. Learn about how to use it in the MDH wiki. "
},
"options_page__header_anchors_enabled_2": {
"message": "It's disabled by default because it creates visual noise in Thunderbird . (And most people probably won't use the feature.)"
},
"options_page__header_anchors_enabled_label": {
"message": "Enable automatic header anchors. ",
"description": "Label for the checkbox that enables the automatic header anchors feature. This means that an 'anchor' is created at every heading (H1, H2, etc.) in the user's Markdown. The user can then create links that will jump to these anchors, like in the table of contents of a document."
},
"options_page__hotkey_alt_key": {
"message": "ALT",
"description": "label for the Alt key"
},
"options_page__hotkey_ctrl_key": {
"message": "CTRL",
"description": "label for the Ctrl key"
},
"options_page__hotkey_note_1": {
"message": "Chrome: You must reload your email web page for the new hotkey setting to take effect."
},
"options_page__hotkey_note_2": {
"message": "Firefox and Thunderbird: You must restart the application for the new hotkey setting to take effect."
},
"options_page__hotkey_note_3": {
"message": "You must use an alphanumeric key for the shortcut (varies by language and keyboard)."
},
"options_page__hotkey_note_4": {
"message": "The Windows key and the OS X ⌘ key cannot be used in the shortcut."
},
"options_page__hotkey_note_5": {
"message": "To disable the use of this hotkey, leave the \"key\" text box empty."
},
"options_page__hotkey_plus": {
"message": "+",
"description": "plus sign that connects the hotkey buttons"
},
"options_page__hotkey_shift_key": {
"message": "SHIFT",
"description": "label for the Shift key"
},
"options_page__hotkey_title": {
"message": "Hotkey (aka keyboard shortcut)",
"description": "A section title"
},
"options_page__hotkey_warning": {
"message": "Is the key an alphanumeric value?",
"description": "warning shown if the user chooses an illegal hotkey value"
},
"options_page__markdown_toggle_button_text": {
"message": "Markdown Toggle",
"description": "button text for Markdown Toggle button"
},
"options_page__mdh_wiki": {
"message": "Visit the Markdown Here wiki for info about where else MDH works and more tips and tricks ."
},
"options_page__next_steps": {
"message": "If you're interested in what the future holds for Markdown Here, check out the Next Steps section of the README."
},
"options_page__note_default_client_styles": {
"message": "Some email editors and browsers impose their own styles. Those may not be apparent here."
},
"options_page__note_options_sync": {
"message": "Changes are automatically saved and synchronized (if sync is enabled in your browser)."
},
"options_page__note_syntax_styles_after_primary": {
"message": "The syntax highlighting styles are applied after the primary styling, and so take precedence."
},
"options_page__notes_title": {
"message": "Notes",
"description": "section title"
},
"options_page__other_donation_options": {
"message": "Other donation options",
"description": "Link to a page that provides other ways to donate"
},
"options_page__page_title": {
"message": "Markdown Here Options"
},
"options_page__pretty_cool": {
"message": "The message should now look pretty cool. Send it to your friends!",
"description": "A step in the basic usage instructions"
},
"options_page__preview_markdown": {
"message": "```javascript \nfunction syntaxHighlighting() { \n var n = 33; \n var s = \"hello, こんにちは\"; \n console.log(s); \n} \n``` \n \n* plain \n* *emphasis* \n * **strong emphasis** \n * ~~strikethrough~~ \n* `inline code` \n \n1. Numbered list \n 1. Numbered sub-list \n 1. Numbered sub-sub-list \n2. [Link](https://www.google.com) \n \n \nAn image: \n \n \n> Block quote. \n> *With* **some** `markdown`. \n \nIf **TeX Math** support is enabled, this is the quadratic equation: \n$$-b \\pm \\sqrt{b^2 - 4ac} \\over 2a$$ \n \n# Header 1 \n## Header 2 \n### Header 3 \n#### Header 4 \n##### Header 5 \n###### Header 6 \n \n| Tables | Are | Cool | \n| ------------- |:-------------:| -----:| \n| column 3 is | right-aligned | $$1600 | \n| column 2 is | centered | $$12 | \n| zebra stripes | are neat | $$1 | \n \nHere's a horizontal rule: \n \n--- \n \n``` \ncode block \nwith no highlighting \n``` \n \n",
"description": "This doesn't need to be translated, unless you want to make it more relevant to your language. The raw Markdown used for previewing user styling changes. Also shows users what can be done with Markdown. Please note that the double dollar signs ($$) are needed to make a single dollar sign in the application."
},
"options_page__preview_title": {
"message": "Preview",
"description": "section title for the Markdown preview section"
},
"options_page__primary_css_title": {
"message": "Primary Styling CSS",
"description": "section title"
},
"options_page__reload_restart": {
"message": "Reload your email web page or restart your web browser.",
"description": "A step in the basic usage instructions"
},
"options_page__reset_primary_css": {
"message": "Reset to Default",
"description": "text on button to reset Primary Styling CSS"
},
"options_page__resources_cheatsheet_link": {
"message": "If you're new to Markdown, the Markdown Here Cheatsheet will make you a pro-star."
},
"options_page__resources_title": {
"message": "Resources and Links",
"description": "A section title"
},
"options_page__start_new_message": {
"message": "Start a new email message.",
"description": "A step in the basic usage instructions"
},
"options_page__syntax_highlighting_css_title": {
"message": "Syntax Highlighting CSS",
"description": "section title"
},
"options_page__syntax_highlighting_theme_label": {
"message": "Theme:",
"description": "label for the syntax highlighting theme combox box"
},
"options_page__tex_math_codecogs_customization_2": {
"message": "For render customization options, see the CodeCogs documentation for this service."
},
"options_page__tex_math_codecogs_privacy_issue_1": {
"message": "To generate the image for the formula, a request is sent to CodeCogs. That effectively means that you are sharing your formula with CodeCogs. It also means that recipients of your message will be making a request to CodeCogs to have the image rendered.",
"description": "one of the TeX math privacy concerns"
},
"options_page__tex_math_customization_1": {
"message": "If this feature is enabled, text between dollar signs — $$ — will be interpreted as mathematical formulae. For example, $$\\Delta$$ would be rendered as a delta symbol.",
"description": "Note: Double dollar signs ($$) are necessary to get a single dollar sign."
},
"options_page__tex_math_customization_3": {
"message": "A good resource for creating TeX formulae is the CodeCogs Equation Editor ."
},
"options_page__tex_math_customization_4": {
"message": "Formulae are rendered to images, so email recipients will have to enable images to be shown to see the rendering."
},
"options_page__tex_math_customization_5": {
"message": "If you customize the rendering tag, you can (and should) use either or both of {mathcode} and {urlmathcode} as placeholders.",
"description": "Please do not translate {mathcode} and {urlmathcode}"
},
"options_page__tex_math_customization_5_1": {
"message": "{mathcode}: The text between the $$ symbols — i.e., the raw TeX formula; like \\Delta.",
"description": "Please do not translate {mathcode} and {urlmathcode}. Note: Double dollar signs ($$) are necessary to get a single dollar sign."
},
"options_page__tex_math_customization_5_2": {
"message": "{urlmathcode}: The URL-encoded form of the TeX formula; like %5CDelta.",
"description": "Please do not translate {mathcode} and {urlmathcode}"
},
"options_page__tex_math_customization_6": {
"message": "If you customize the <img> tag, you should include an alt attribute that has as human-readable a value as possible, like {mathcode}. This value of this attribute will be used for the plaintext version of the email (when sent from Gmail and Thunderbird), and used by screen readers for sight-impaired recipients.",
"description": "Please do not translate {mathcode} and {urlmathcode}"
},
"options_page__tex_math_customization_heading": {
"message": "Customization and Use: ",
"description": "heading for customization and use info"
},
"options_page__tex_math_privacy_heading": {
"message": "Privacy Issues: ",
"description": "heading for warnings about TeX math privacy concerns"
},
"options_page__tex_math_privacy_issue_2": {
"message": "If you customize the formula rendering tag, you should use a secure (https://) path. Not all rendering services provide a secure option.",
"description": "one of the TeX math privacy concerns"
},
"options_page__tex_math_reset_button": {
"message": "Reset to Default",
"description": "text on button to reset TeX math option"
},
"options_page__tex_math_title": {
"message": "TeX Mathematical Formulae Support"
},
"options_page__type_some_markdown": {
"message": "Type some Markdown into the email. Try this: _Hello_ `Markdown` **Here**!",
"description": "A step in the basic usage instructions"
},
"plain_text_compose": {
"message": "You are using a plain-text compose editor. You must change to a rich editor to use Markdown Here.",
"description": "Shown in an alert dialog if the user has their email compose app set to plain text"
},
"toggle_button_text": {
"message": "Commuta MD",
"description": "Text shown underneath the render toggle button. Make it as short as possible.",
"inMozDTD": true
},
"toggle_button_tooltip": {
"message": "Clicca per commutare la trasformazione Markdown",
"description": "text shown when user hovers mouse over Markdown Toggle button",
"inMozDTD": true
},
"toggle_button_tooltip_disabled": {
"message": "Il campo selezionato non è valido per la trasformazione Markdown",
"description": "text shown when user hover mouse over disabled Markdown Toggle button",
"inMozDTD": true
},
"unrendering_modified_markdown_warning": {
"message": "The rendered Markdown appears to have been modifed.\nIf you unrender it, your changes since rendering will be lost.\n\nAre you sure you wish to unrender?",
"description": "Warning shown to the user if she tries to revert some rendered Markdown that they've modified since rendering. The user will lose their modifications if they proceed."
},
"upgrade_notification_changes_tooltip": {
"message": "Clicca per vedere i cambiamenti in questa versione",
"description": "Tooltip text on the link that opens the changes list"
},
"upgrade_notification_dismiss_tooltip": {
"message": "Ignora questa notifica",
"description": "Tooltip text on the link that dismisses the notification"
},
"upgrade_notification_text": {
"message": "Markdown Here aggiornato",
"description": "Text on the notification shown when Markdown Here has been updated"
}
}
================================================
FILE: src/_locales/it/screenshot-captions.txt
================================================
Scrivi le tue email in Markdown...
...e poi rendile belle!
Vuoi usare Markdown solo per una parte della tua email? Basta selezionarla e convertirla!
================================================
FILE: src/_locales/ja/description.txt
================================================
Markdown Here を使えば、メールを Markdown で書けるようになります。もちろん、送信前に (きれいに!) 表示できます。
電子メールを書いている時に書式設計ボタンを操作するのが嫌いだっていう人。そんな人に、Markdown Hereは最高の拡張機能です。 構文のハイライト表示もできます。メールにプログラムのコードを書きたいプログラマーに最適です。 また、数学をする人には、TeXで書かれた数式を表示機能もあります。
使い方はいたって簡単です:
1. リッチエディターを使って、GitHub-flavorated Markdown 形式のメールを書きます。
2. 右クリックメニューで「Markdown 切り替え」をクリックします。
3. あなたの電子メールはキレイに整形されています! (つまり、HTMLとしてレンダリングされます)
4. 見た目がよければ、送信するだけ。 もし変更、追加したかったら、もう一度「Markdown 切り替え」をクリックすると、元のMarkdownに戻すことができます。
5. 以上の操作を必要に応じて繰り返します。
Markdown Hereは主にGmailとThunderbirdをターゲットにしていますが、YahooやHotmailでもうまく動作します。 また、Google グループやGoogle のサイト、Evernote、Blogger、Wordpress などのサービスでも動作します!
コードのハイライト表示について: 「fenced block」 (```) で囲み、プログラム言語名を指定してください。 プロジェクトのページにある例もご覧ください。
プライバシー: Markdown Here は、あなたが許可を与えた場合、web コンテンツにアクセスし変更します。 理論的にはその他のwebコンテンツにもアクセスできますが、行いません。 また、いかなるものであれインターネットへのリクエストも行いません。 あなたのデータはあなたが望んだ時に望んだサイトで更新されますが、あなたのブラウザにデータを残しません。
Chrome、Firefox、Safari、Opera、Thunderbirdの拡張機能として使用することができます。
Markdown Hereはオープンソースです。 Markdown Hereの使用方法、さらに詳しい情報、、バグの報告、開発に貢献したいときは、Githubにあるプロジェクトのページをへどうぞ。
https://markdown-here.com
https://github.com/adam-p/markdown-here
================================================
FILE: src/_locales/ja/markdown-here-image2.txt
================================================
水曜日 2012年5月16日 午後9時51分 九条 可憐 :
> ねぇ,アリス!
どうしたの?
> ちょっとしたいい感じのコードを送ってくれない?
**これ** はすごくいいよ:
```clojure
(defn hello [x] (str "こんにちは", x))
(hello "Clojure")
```
> ありがとう!
どういたしまして!
================================================
FILE: src/_locales/ja/md-for-screenshot.md.txt
================================================
## 楽しいMarkdownのスクリーンショット
*Markdown Here* は、電子メールを Markdown で書いて送る前にレンダリングできる Google Chrome と Firefox、 Thuderbird の拡張機能です。
* Markdown は **かっこいい**。 `コード` を内部に埋め込めます。
* [リンク](https://github.com/adam-p/markdown-here)を貼るのも簡単。
* 文章を綺麗に配置したい? **それと** サブリストも?
1. はい、
2. できます。
実際にあったレビューを引用してみましょう:
> まさに私が必要としていたものです。 電子メールで面倒くさいことなしにMarkdownを使えます。
### シンタックスハイライティング:超イカしてる
ちょっとした JavaScript:
```javascript
alert('Markdownだよ!');
```
ちょっと変わった例 ― diff:
```diff
diff --git a/src/common/markdown-here.js b/src/common/markdown-here.js
index 24dcb97..20c36a1 100644
--- a/src/common/markdown-here.js
+++ b/src/common/markdown-here.js
@@ -201,12 +179,14 @@ function makeStylesExplicit(wrapperElem, css) {
- applyStyleToElement(rule.style, selectorMatches[j]);
+ styleAttr = selectorMatches[j].getAttribute('style') || '';
+ styleAttr += rule.style.cssText;
+ selectorMatches[j].setAttribute('style', styleAttr);
```
================================================
FILE: src/_locales/ja/messages.json
================================================
{
"app_name": {
"message": "Markdown Here",
"description": "the name of the extension",
"inMozDTD": true
},
"app_slogan": {
"message": "Markdownで電子メールを美しく",
"description": "shown as subtitle for Markdown Here in the browser extensions list"
},
"context_menu_item": {
"message": "Markdownを有効化/無効化",
"description": "Text shown on the context menu.",
"inMozDTD": true
},
"currently_in_use": {
"message": "現在の設定",
"description": "Indicates the syntax highlighting theme that the user is currently using"
},
"cursor_into_compose": {
"message": "メール作成ボックスにカーソルを置いて下さい。"
},
"forgot_to_render_back_button": {
"message": "戻る",
"description": "Text on the Back (cancel) button of the prompt that's shown when it's detected that a user may have forgotten to render the Markdown in their email",
"inMozDTD": true
},
"forgot_to_render_prompt_close_hover": {
"message": "この通知を無視",
"description": "Text that shows when the user hovers over the 'X' that will close the prompt"
},
"forgot_to_render_prompt_info": {
"message": "Markdownで書かれているようですが、格好良くレンダリングされていません。",
"description": "Informational part of the prompt that's shown when it's detected that a user may have forgotten to render the Markdown in their email"
},
"forgot_to_render_prompt_question": {
"message": "それでも送りますか?",
"description": "Question part of the prompt that's shown when it's detected that a user may have forgotten to render the Markdown in their email"
},
"forgot_to_render_prompt_title": {
"message": "レンダリングを忘れていませんか?",
"description": "Title of the prompt that's shown when it's detected that a user may have forgotten to render the Markdown in their email"
},
"forgot_to_render_send_button": {
"message": "送る",
"description": "Text on the Send (continue) button of the prompt that's shown when it's detected that a user may have forgotten to render the Markdown in their email",
"inMozDTD": true
},
"invalid_field": {
"message": "このテキストフィールドではMarkdownにレンダリングできません。リッチテキストフィールドで行なってください。",
"description": "Shown in an alert dialog if the user tries to render a field that cannot be rendered"
},
"moz_options_dlg_instruction": {
"message": "Click the 'OK' button to open the Markdown Here Options tab",
"description": "In Thunderbird, in order to open the options tab we first have to open a temporary dialog box. This is the text in that box telling the user what to do. Please use the same translation for 'OK' that the application uses.",
"inMozDTD": true
},
"moz_options_dlg_title": {
"message": "Markdown Here Options",
"description": "In Thunderbird, in order to open the options tab we first have to open a temporary dialog box. This is the title for that box.",
"inMozDTD": true
},
"new_changelist_items": {
"message": "新しい機能",
"description": "Used to highlight the part of the changelist that is new"
},
"nothing_to_render": {
"message": "レンダリングするものも元に戻すものも見つかりませんでした。",
"description": "Error message shown to user if there's nothing found to revert or render."
},
"options_page__advanced_title": {
"message": "その他の先進的機能",
"description": "A section title"
},
"options_page__advanced_usage": {
"message": "さらなる情報や詳細な使い方が知りたいなら、 Markdown Here project page をご覧ください。"
},
"options_page__basic_usage": {
"message": "基本的な使い方"
},
"options_page__changes_saved": {
"message": "変更を保存しました。",
"description": "message that shows when user changes have been saved"
},
"options_page__click_toggle": {
"message": "メール画面で右クリックし \"Markdown 切り替え\"を選択しましょう。 (またはツールバーの ボタンか、 Alt+Shift+M を押す。)",
"description": "A step in the basic usage instructions"
},
"options_page__contributing_1": {
"message": "もしメールにコードブロックを書いたことがあるなら、Markdown Hereをより良くすることができます。 CONTRIBUTING.md "
},
"options_page__contributing_2": {
"message": "あなたの言語でMarkdown Hereを使えるように手助けしてください。あなたの翻訳を待っています。 "
},
"options_page__contributing_title": {
"message": "開発に協力してください",
"description": "A section title"
},
"options_page__donate_plea_1": {
"message": "もしMarkdown Hereが気に入ったなら、 私が妻のためにお花を買ってあげる(私が長い時間仕事に時間をかけていることにいらいらしないように)手助けをお願いします! ありがとう! "
},
"options_page__donate_plea_2": {
"message": "Markdown Hereをより良くする手助けをしてください! "
},
"options_page__donate_plea_3": {
"message": "開発の手助けをしてください! "
},
"options_page__donate_plea_4": {
"message": "Markdown HereがChrome、 Firefox、 Thunderbird、 Safari、 Opera、 Gmail、 Yahoo、 Hotmail、 Blogger、 Evernote、などなどでの動作を保つのに役立ってるものを知りたいかい? コーヒーだ! "
},
"options_page__footer_1": {
"message": "Markdown Here はオープンソースです。 質問をしたり、バグを報告したり、機能追加の要望をしたり、開発に協力するには、 Github のプロジェクトページ か Google Group を訪れてください。",
"description": "part of the page footer text"
},
"options_page__footer_2": {
"message": "このソフトウェアは Adam Pritchard によって開発されました。",
"description": "part of the page footer text"
},
"options_page__forgot_to_render_1": {
"message": "現在Web版GmailとThunderbird (とIcedove) でのみ使えます。"
},
"options_page__forgot_to_render_2": {
"message": "メールを送るとき、レンダリングせずに生のMarkdownテキストのまま (つまり、\"Markdown 切り替え\"を押し忘れている) かどうか送信前にチェックします。うっとうしい場合は無効にすることを推奨します。"
},
"options_page__forgot_to_render_3": {
"message": "もしこれを無効にしたほうがいいと思ったなら、 ぜひ 理由と改善案をお知らせください。 Google Groupに投稿する か Github でIssueを投げ てください。お願いします。"
},
"options_page__forgot_to_render_label": {
"message": "\"レンダリング忘れ\" チェックを使う ",
"description": "Label for the checkbox that enables the forgot-to-render feature"
},
"options_page__gfm_line_breaks_enabled_label": {
"message": "Enable GFM line breaks. ",
"description": "Label for the checkbox that enables the support of 'Github-flavored Markdown' line breaks."
},
"options_page__ghdiscussions": {
"message": "Ask a question or start a conversation in Markdown Here's GitHub Discussions ."
},
"options_page__header_anchors_enabled_1": {
"message": "文書に目次やその他の内部リンクを設置したい場合に便利です。Wikiにて使い方を確認してください。 "
},
"options_page__header_anchors_enabled_2": {
"message": "Thunderbird で見た目が汚くなる ため、デフォルトでは無効にされています(また、ほとんどの人はこの機能を必要としないでしょう)。"
},
"options_page__header_anchors_enabled_label": {
"message": "ヘッダーにアンカーリンクを自動で設定する ",
"description": "Label for the checkbox that enables the automatic header anchors feature. This means that an 'anchor' is created at every heading (H1, H2, etc.) in the user's Markdown. The user can then create links that will jump to these anchors, like in the table of contents of a document."
},
"options_page__hotkey_alt_key": {
"message": "ALT",
"description": "label for the Alt key"
},
"options_page__hotkey_ctrl_key": {
"message": "CTRL",
"description": "label for the Ctrl key"
},
"options_page__hotkey_note_1": {
"message": "Chrome: 新たなキー設定を有効にするにはページを再読み込みしてください。"
},
"options_page__hotkey_note_2": {
"message": "Firefox と Thunderbird: 新たなキー設定を有効にするにはアプリケーションを再起動してください。"
},
"options_page__hotkey_note_3": {
"message": "ホットキーには英数字のキーを用いる必要があります。 (言語やキーボードによって変わります)"
},
"options_page__hotkey_note_4": {
"message": "WindowsキーとOS Xの ⌘ キーはホットキーには使えません。"
},
"options_page__hotkey_note_5": {
"message": "ホットキーを無効にするには、テキストボックスを空にしてください。"
},
"options_page__hotkey_plus": {
"message": "+",
"description": "plus sign that connects the hotkey buttons"
},
"options_page__hotkey_shift_key": {
"message": "SHIFT",
"description": "label for the Shift key"
},
"options_page__hotkey_title": {
"message": "ホットキー (キーボード・ショートカット)",
"description": "A section title"
},
"options_page__hotkey_warning": {
"message": "そのキーは英数字ですか?",
"description": "warning shown if the user chooses an illegal hotkey value"
},
"options_page__markdown_toggle_button_text": {
"message": "Markdownを有効化/無効化",
"description": "button text for Markdown Toggle button"
},
"options_page__mdh_wiki": {
"message": "Markdown Here wiki では、 他にどんな環境で動作するか や、 ヒントや小技 などの情報を見ることができます。"
},
"options_page__next_steps": {
"message": "もしMarkdown Hereの目指しているものが気になるなら、 Next Steps ブランチ のREADMEをご覧ください。"
},
"options_page__note_default_client_styles": {
"message": "いくつかのエディタやメールサービスは独自のスタイリングを行うので、ここでの表示と異なることがあります。"
},
"options_page__note_options_sync": {
"message": "変更は自動で保存されて同期されます。(もしブラウザが同期をサポートするなら)。"
},
"options_page__note_syntax_styles_after_primary": {
"message": "シンタックスハイライティングは基本のスタイリングの後に行われることに注意してください。"
},
"options_page__notes_title": {
"message": "注釈:",
"description": "section title"
},
"options_page__other_donation_options": {
"message": "その他の寄付方法",
"description": "Link to a page that provides other ways to donate"
},
"options_page__page_title": {
"message": "Markdown Here の設定"
},
"options_page__pretty_cool": {
"message": "メッセージが綺麗に格好よくなります。 さぁ、友達に送信しよう!",
"description": "A step in the basic usage instructions"
},
"options_page__preview_markdown": {
"message": "```javascript \nfunction syntaxHighlighting() { \n var n = 33; \n var s = \"hello, こんにちは\"; \n console.log(s); \n} \n``` \n \n* plain \n* *emphasis* \n * **strong emphasis** \n * ~~strikethrough~~ \n* `inline code` \n \n1. Numbered list \n2. [Link](https://www.google.com) \n \n \nAn image: \n \n \n> Block quote. \n> *With* **some** `markdown`. \n \nIf **TeX Math** support is enabled, this is the quadratic equation: \n$$-b \\pm \\sqrt{b^2 - 4ac} \\over 2a$$ \n \n# Header 1 \n## Header 2 \n### Header 3 \n#### Header 4 \n##### Header 5 \n###### Header 6 \n \n| Tables | Are | Cool | \n| ------------- |:-------------:| -----:| \n| column 3 is | right-aligned | $$1600 | \n| column 2 is | centered | $$12 | \n| zebra stripes | are neat | $$1 | \n \nHere's a horizontal rule: \n \n--- \n \n``` \ncode block \nwith no highlighting \n``` \n \n",
"description": "The raw Markdown used for previewing user styling changes. Also shows users what can be done with Markdown. Please note that the double dollar signs ($$) are needed to make a single dollar sign in the application."
},
"options_page__preview_title": {
"message": "プレビュー",
"description": "section title for the Markdown preview section"
},
"options_page__primary_css_title": {
"message": "スタイリングCSS",
"description": "section title"
},
"options_page__reload_restart": {
"message": "電子メールを開いているページをリロードするか、ブラウザーを再起動してください。",
"description": "A step in the basic usage instructions"
},
"options_page__reset_primary_css": {
"message": "デフォルトに戻す",
"description": "text on button to reset Primary Styling CSS"
},
"options_page__resources_cheatsheet_link": {
"message": "もしMarkdownを使うのが初めてなら、 Markdown Here Cheatsheet を参照してください。"
},
"options_page__resources_title": {
"message": "レファレンスとリンク",
"description": "A section title"
},
"options_page__start_new_message": {
"message": "電子メールの画面を開きます。",
"description": "A step in the basic usage instructions"
},
"options_page__syntax_highlighting_css_title": {
"message": "シンタックスハイライティングCSS",
"description": "section title"
},
"options_page__syntax_highlighting_theme_label": {
"message": "テーマ:",
"description": "label for the syntax highlighting theme combox box"
},
"options_page__tex_math_codecogs_customization_2": {
"message": "For render customization options, see the CodeCogs documentation for this service."
},
"options_page__tex_math_codecogs_privacy_issue_1": {
"message": "To generate the image for the formula, a request is sent to CodeCogs. That effectively means that you are sharing your formula with CodeCogs. It also means that recipients of your message will be making a request to CodeCogs to have the image rendered.",
"description": "one of the TeX math privacy concerns"
},
"options_page__tex_math_customization_1": {
"message": "このオプションを有効にすると。— $$ — (ドルマーク)で囲まれた文章はTexの数式として解釈されます。 例えば、 $$\\Delta$$ はデルタ記号にレンダリングされます。",
"description": "Note: Double dollar signs ($$) are necessary to get a single dollar sign."
},
"options_page__tex_math_customization_3": {
"message": "TeXの数式についての素晴らしい説明は CodeCogs Equation Editor にあります。"
},
"options_page__tex_math_customization_4": {
"message": "数式は画像にレンダリングされるので、メールを受信する人が画像を閲覧できる設定にしている必要があります。"
},
"options_page__tex_math_customization_5": {
"message": "レンダリングタグをカスタマイズした場合、 {mathcode} と {urlmathcode} の両方をプレースホルダーとして使うことができます。",
"description": "Please do not translate {mathcode} and {urlmathcode}"
},
"options_page__tex_math_customization_5_1": {
"message": "{mathcode}: $$ に囲まれたテキスト -- すなわち、生のTeX数式 (例えば \\Delta )。",
"description": "Please do not translate {mathcode} and {urlmathcode}. Note: Double dollar signs ($$) are necessary to get a single dollar sign."
},
"options_page__tex_math_customization_5_2": {
"message": "{urlmathcode}: URLエンコードされたTeX数式 (例えば %5CDelta )。",
"description": "Please do not translate {mathcode} and {urlmathcode}"
},
"options_page__tex_math_customization_6": {
"message": "<img> タグをカスタマイズした場合。 できればalt属性で人間が読める説明を加えてください (たとえば: {mathcode})。 この値はメールをプレーンテキストとして読む際に代わりに表示され (Gmail や Thunderbird から送った場合) 、目が不自由な方のための文章読み上げ機能で使われます。",
"description": "Please do not translate {mathcode} and {urlmathcode}"
},
"options_page__tex_math_customization_heading": {
"message": "カスタマイズして使う: ",
"description": "heading for customization and use info"
},
"options_page__tex_math_privacy_heading": {
"message": "プライバシーの問題: ",
"description": "heading for warnings about TeX math privacy concerns"
},
"options_page__tex_math_privacy_issue_2": {
"message": "もし数式のレンダリングタグを編集するなら、セキュアな (https://) URLを使うことを推奨します。これはすべてのレンダリングサービスでサポートされているわけではありません。",
"description": "one of the TeX math privacy concerns"
},
"options_page__tex_math_reset_button": {
"message": "デフォルトに戻す",
"description": "text on button to reset TeX math option"
},
"options_page__tex_math_title": {
"message": "TeXでの数式記述サポート"
},
"options_page__type_some_markdown": {
"message": "Markdownで電子メールを書いてみましょう。 例: *Hello* `Markdown` **Here**!",
"description": "A step in the basic usage instructions"
},
"plain_text_compose": {
"message": "プレーンテキストエディタでは使用できません。Markdown Hereを使うためにはリッチエディタに変更する必要があります。",
"description": "Shown in an alert dialog if the user has their email compose app set to plain text"
},
"toggle_button_text": {
"message": "MD 切り替え",
"description": "Text shown underneath the render toggle button. Make it as short as possible.",
"inMozDTD": true
},
"toggle_button_tooltip": {
"message": "クリックでMarkdownにレンダリング",
"description": "text shown when user hovers mouse over Markdown Toggle button",
"inMozDTD": true
},
"toggle_button_tooltip_disabled": {
"message": "このフィールドではレンダリングできません",
"description": "text shown when user hover mouse over disabled Markdown Toggle button",
"inMozDTD": true
},
"unrendering_modified_markdown_warning": {
"message": "このテキストはレンダリング後に変更されています。\nMarkdownに戻した場合、それらの変更は失われます。\n\nMarkdownに戻しますか?",
"description": "Warning shown to the user if she tries to revert some rendered Markdown that they've modified since rendering. The user will lose their modifications if they proceed."
},
"upgrade_notification_changes_tooltip": {
"message": "クリックでこのリリースでの変更点を確認",
"description": "Tooltip text on the link that opens the changes list"
},
"upgrade_notification_dismiss_tooltip": {
"message": "この通知を無視",
"description": "Tooltip text on the link that dismisses the notification"
},
"upgrade_notification_text": {
"message": "Markdown Here がアップデートされました",
"description": "Text on the notification shown when Markdown Here has been updated"
}
}
================================================
FILE: src/_locales/ja/screenshot-captions.txt
================================================
Markdown でメールを書いて・・・
・・・カッコよくしよう!
メールの一部だけで Markdown を使いたいかい? 範囲を選択して、レンダリングするだけさ!
================================================
FILE: src/_locales/ko/description.txt
================================================
Markdown Here는 마크다운으로 이메일을 (예쁘게) 쓰실 수 있게 합니다
This is great for anyone who doesn't like fiddling around with formatting buttons while writing an email. It's especially good for programmers who write email with code in them -- it even supports syntax highlighting. And for the mathematicians among us: Markdown Here will render TeX formulae as well.
사용하는 법이 아주 간단합니다:
1. Write your email in your email client's rich editor using Github-flavoured Markdown.
2. Right-click in the compose area and then click "Markdown Toggle".
3. 쓰신 이메일은 이제 예뻐졌습니다! (즉 일반 문자에서 HTML로 바뀌게 되었습니다)
4. 모습이 마음에 드신다면 그대로 보내셔도 좋습니다. 만약 바꾸거나 혹은 추가하고 싶은 것이 있으시다면 "마크다운 토글"을 클릭하신 다음에 다시 마크다운으로 될테고 편집하실 수 있습니다.
5. Repeat as necessary.
Markdown Here is primarily targeted to work with Gmail and Thunderbird, but it also works pretty well with Yahoo and Hotmail. Additionally, it works great with Google Groups and Sites, Evernote's web interface, Blogger, Wordpress, and more!
Syntax highlighting note: Use fenced code blocks and specify the language name. See the project page for an example.
Privacy: Markdown Here accesses and modifies web content when you activate it. It can, in theory, access other web content, but does not. It also makes no Internet requests whatsoever. Your data is modified when and where you choose, and does not leave your browser.
Available as a Chrome, Firefox, Safari, Opera, and Thunderbird extension.
이것은 오픈 소스 프로젝트 입니다. Visit Markdown Here's Github page for full instructions, more information, bug reports, or to contribute.
https://markdown-here.com
https://github.com/adam-p/markdown-here
================================================
FILE: src/_locales/ko/markdown-here-image2.txt
================================================
On Wed, May 16, 2012 at 9:51 PM, Buddy wrote:
> Hey pal!
Hi Buddy.
> Can you send me some sweet code?
**This** is pretty great:
```clojure
(defn hello [x] (str "Hello", x))
(hello "Clojure")
```
> Thanks in advance!
No problem.
================================================
FILE: src/_locales/ko/md-for-screenshot.md.txt
================================================
## Sweet Screenshot Markdown
*Markdown Here* is a Google Chrome, Firefox, and Thunderbird extension that lets you write email in Markdown and render it before sending.
* Markdown is **cool**. Put `code inline`.
* Link to stuff, like [this project](https://github.com/adam-p/markdown-here).
* Ordered, you say? **And** a sub-list?
1. Done.
2. And done.
Actual review quote:
> Does exactly what I need it to do. Markdown support in email without getting in the way.
### Syntax highlighting: super rad
Some JavaScript:
```javascript
alert('Hello Markdown');
```
How about an unusual example -- a diff:
```diff
diff --git a/src/common/markdown-here.js b/src/common/markdown-here.js
index 24dcb97..20c36a1 100644
--- a/src/common/markdown-here.js
+++ b/src/common/markdown-here.js
@@ -201,12 +179,14 @@ function makeStylesExplicit(wrapperElem, css) {
- applyStyleToElement(rule.style, selectorMatches[j]);
+ styleAttr = selectorMatches[j].getAttribute('style') || '';
+ styleAttr += rule.style.cssText;
+ selectorMatches[j].setAttribute('style', styleAttr);
```
================================================
FILE: src/_locales/ko/messages.json
================================================
{
"app_name": {
"message": "Markdown Here",
"description": "the name of the extension",
"inMozDTD": true
},
"app_slogan": {
"message": "Write your email in Markdown, then make it pretty.",
"description": "shown as subtitle for Markdown Here in the browser extensions list"
},
"context_menu_item": {
"message": "마크다운 토글",
"description": "Text shown on the context menu.",
"inMozDTD": true
},
"currently_in_use": {
"message": "Currently in use",
"description": "Indicates the syntax highlighting theme that the user is currently using"
},
"cursor_into_compose": {
"message": "Please put the cursor into the compose box."
},
"forgot_to_render_back_button": {
"message": "뒤로",
"description": "Text on the Back (cancel) button of the prompt that's shown when it's detected that a user may have forgotten to render the Markdown in their email",
"inMozDTD": true
},
"forgot_to_render_prompt_close_hover": {
"message": "Dismiss this notification",
"description": "Text that shows when the user hovers over the 'X' that will close the prompt"
},
"forgot_to_render_prompt_info": {
"message": "It looks like you wrote this email in Markdown but forgot to make it pretty.",
"description": "Informational part of the prompt that's shown when it's detected that a user may have forgotten to render the Markdown in their email"
},
"forgot_to_render_prompt_question": {
"message": "이대로 보내시겠습니까?",
"description": "Question part of the prompt that's shown when it's detected that a user may have forgotten to render the Markdown in their email"
},
"forgot_to_render_prompt_title": {
"message": "Forget to toggle Markdown?",
"description": "Title of the prompt that's shown when it's detected that a user may have forgotten to render the Markdown in their email"
},
"forgot_to_render_send_button": {
"message": "보내기",
"description": "Text on the Send (continue) button of the prompt that's shown when it's detected that a user may have forgotten to render the Markdown in their email",
"inMozDTD": true
},
"invalid_field": {
"message": "The selected field is not valid for Markdown rendering. Please use a rich editor.",
"description": "Shown in an alert dialog if the user tries to render a field that cannot be rendered"
},
"moz_options_dlg_instruction": {
"message": "Click the 'OK' button to open the Markdown Here Options tab",
"description": "In Thunderbird, in order to open the options tab we first have to open a temporary dialog box. This is the text in that box telling the user what to do. Please use the same translation for 'OK' that the application uses.",
"inMozDTD": true
},
"moz_options_dlg_title": {
"message": "Markdown Here Options",
"description": "In Thunderbird, in order to open the options tab we first have to open a temporary dialog box. This is the title for that box.",
"inMozDTD": true
},
"new_changelist_items": {
"message": "NEW",
"description": "Used to highlight the part of the changelist that is new"
},
"nothing_to_render": {
"message": "Nothing found to render or revert",
"description": "Error message shown to user if there's nothing found to revert or render."
},
"options_page__advanced_title": {
"message": "고급 설정 및 기타 설정",
"description": "A section title"
},
"options_page__advanced_usage": {
"message": "For lots more info and advanced usage, see the Markdown Here project page . You should also explore the options below."
},
"options_page__basic_usage": {
"message": "기본 사용법"
},
"options_page__changes_saved": {
"message": "변경 내용이 저장되었습니다",
"description": "message that shows when user changes have been saved"
},
"options_page__click_toggle": {
"message": "Right-click in the email and then click \"Markdown Toggle\". (Or click the button on the toolbar. Or press Alt+Shift+M )",
"description": "A step in the basic usage instructions"
},
"options_page__contributing_1": {
"message": "If you have ever put a code block into an email, then you can help make Markdown Here better. CONTRIBUTING.md "
},
"options_page__contributing_2": {
"message": "Help make Markdown Here available in your language. Translations are welcome. "
},
"options_page__contributing_title": {
"message": "Contributing",
"description": "A section title"
},
"options_page__donate_plea_1": {
"message": "Once you decide Markdown Here is pretty sweet, please help me to buy some flowers for my wife so she's not too upset about how much time I spend working on it. Thank you! "
},
"options_page__donate_plea_2": {
"message": "Help make Markdown Here better! "
},
"options_page__donate_plea_3": {
"message": "Help support the development of Markdown Here! "
},
"options_page__donate_plea_4": {
"message": "You know what makes it easier to keep Markdown Here working on Chrome, Firefox, Thunderbird, Safari, Opera, Gmail, Yahoo, Hotmail, Blogger, Evernote, etc.? Coffee! "
},
"options_page__footer_1": {
"message": "Markdown Here is open source. To ask questions, report bugs, request features, or contribute, visit the Github project page or the \"markdown-here\" Google Group .",
"description": "part of the page footer text"
},
"options_page__footer_2": {
"message": "Created by Adam Pritchard .",
"description": "part of the page footer text"
},
"options_page__forgot_to_render_1": {
"message": "이 기능은 현재 Gmail, Thunderbird, 혹은 Icedove에서만 사용 가능합니다."
},
"options_page__forgot_to_render_2": {
"message": "When you send an email, this checks the content to see if it looks like you wrote it in Markdown, but forgot to render it (i.e., click \"Markdown Toggle\") before sending. This may need to be disabled if it interferes with your ability to send email."
},
"options_page__forgot_to_render_3": {
"message": "If you find yourself disabling this, please let me know why and how it could be better. Create a post on the \"markdown-here\" Google Group or an issue in the Github project . Thanks."
},
"options_page__forgot_to_render_4": {
"message": "Si cette fonctionnalité ne fonctionne plus pour vous, s'il vous plait faites le nous savoir en créant un post sur le groupe Google \"markdown-here\" ou en créant une issue dans le projet Github . (Le lien avec l'interface web des messageries est fragile et peut parfois se briser.)"
},
"options_page__forgot_to_render_label": {
"message": "Enable \"forgot-to-render\" check. ",
"description": "Label for the checkbox that enables the forgot-to-render feature"
},
"options_page__gfm_line_breaks_enabled_label": {
"message": "Enable GFM line breaks. ",
"description": "Label for the checkbox that enables the support of 'Github-flavored Markdown' line breaks."
},
"options_page__ghdiscussions": {
"message": "Ask a question or start a conversation in Markdown Here's GitHub Discussions ."
},
"options_page__header_anchors_enabled_1": {
"message": "This is great if you want to put a table of contents or other internal links into your content. Learn about how to use it in the MDH wiki. "
},
"options_page__header_anchors_enabled_2": {
"message": "It's disabled by default because it creates visual noise in Thunderbird . (And most people probably won't use the feature.)"
},
"options_page__header_anchors_enabled_label": {
"message": "Enable automatic header anchors. ",
"description": "Label for the checkbox that enables the automatic header anchors feature. This means that an 'anchor' is created at every heading (H1, H2, etc.) in the user's Markdown. The user can then create links that will jump to these anchors, like in the table of contents of a document."
},
"options_page__hotkey_alt_key": {
"message": "ALT",
"description": "label for the Alt key"
},
"options_page__hotkey_ctrl_key": {
"message": "CTRL",
"description": "label for the Ctrl key"
},
"options_page__hotkey_note_1": {
"message": "Chrome: You must reload your email web page for the new hotkey setting to take effect."
},
"options_page__hotkey_note_2": {
"message": "Firefox and Thunderbird: You must restart the application for the new hotkey setting to take effect."
},
"options_page__hotkey_note_3": {
"message": "You must use an alphanumeric key for the shortcut (varies by language and keyboard)."
},
"options_page__hotkey_note_4": {
"message": "The Windows key and the OS X ⌘ key cannot be used in the shortcut."
},
"options_page__hotkey_note_5": {
"message": "To disable the use of this hotkey, leave the \"key\" text box empty."
},
"options_page__hotkey_plus": {
"message": "+",
"description": "plus sign that connects the hotkey buttons"
},
"options_page__hotkey_shift_key": {
"message": "SHIFT",
"description": "label for the Shift key"
},
"options_page__hotkey_title": {
"message": "Hotkey (aka keyboard shortcut)",
"description": "A section title"
},
"options_page__hotkey_warning": {
"message": "Is the key an alphanumeric value?",
"description": "warning shown if the user chooses an illegal hotkey value"
},
"options_page__markdown_toggle_button_text": {
"message": "Markdown Toggle",
"description": "button text for Markdown Toggle button"
},
"options_page__mdh_wiki": {
"message": "Visit the Markdown Here wiki for info about where else MDH works and more tips and tricks ."
},
"options_page__next_steps": {
"message": "If you're interested in what the future holds for Markdown Here, check out the Next Steps section of the README."
},
"options_page__note_default_client_styles": {
"message": "Some email editors and browsers impose their own styles. Those may not be apparent here."
},
"options_page__note_options_sync": {
"message": "Changes are automatically saved and synchronized (if sync is enabled in your browser)."
},
"options_page__note_syntax_styles_after_primary": {
"message": "The syntax highlighting styles are applied after the primary styling, and so take precedence."
},
"options_page__notes_title": {
"message": "Notes",
"description": "section title"
},
"options_page__other_donation_options": {
"message": "Other donation options",
"description": "Link to a page that provides other ways to donate"
},
"options_page__page_title": {
"message": "Markdown Here Options"
},
"options_page__pretty_cool": {
"message": "The message should now look pretty cool. Send it to your friends!",
"description": "A step in the basic usage instructions"
},
"options_page__preview_markdown": {
"message": "```javascript \nfunction syntaxHighlighting() { \n var n = 33; \n var s = \"hello, こんにちは\"; \n console.log(s); \n} \n``` \n \n* plain \n* *emphasis* \n * **strong emphasis** \n * ~~strikethrough~~ \n* `inline code` \n \n1. Numbered list \n2. [Link](https://www.google.com) \n \n \nAn image: \n \n \n> Block quote. \n> *With* **some** `markdown`. \n \nIf **TeX Math** support is enabled, this is the quadratic equation: \n$$-b \\pm \\sqrt{b^2 - 4ac} \\over 2a$$ \n \n# Header 1 \n## Header 2 \n### Header 3 \n#### Header 4 \n##### Header 5 \n###### Header 6 \n \n| Tables | Are | Cool | \n| ------------- |:-------------:| -----:| \n| column 3 is | right-aligned | $$1600 | \n| column 2 is | centered | $$12 | \n| zebra stripes | are neat | $$1 | \n \nHere's a horizontal rule: \n \n--- \n \n``` \ncode block \nwith no highlighting \n``` \n \n",
"description": "The raw Markdown used for previewing user styling changes. Also shows users what can be done with Markdown. Please note that the double dollar signs ($$) are needed to make a single dollar sign in the application."
},
"options_page__preview_title": {
"message": "미리 보기",
"description": "section title for the Markdown preview section"
},
"options_page__primary_css_title": {
"message": "Primary Styling CSS",
"description": "section title"
},
"options_page__reload_restart": {
"message": "Reload your email web page or restart your web browser.",
"description": "A step in the basic usage instructions"
},
"options_page__reset_primary_css": {
"message": "초기화",
"description": "text on button to reset Primary Styling CSS"
},
"options_page__resources_cheatsheet_link": {
"message": "If you're new to Markdown, the Markdown Here Cheatsheet will make you a pro-star."
},
"options_page__resources_title": {
"message": "Resources and Links",
"description": "A section title"
},
"options_page__start_new_message": {
"message": "Start a new email message.",
"description": "A step in the basic usage instructions"
},
"options_page__syntax_highlighting_css_title": {
"message": "Syntax Highlighting CSS",
"description": "section title"
},
"options_page__syntax_highlighting_theme_label": {
"message": "테마:",
"description": "label for the syntax highlighting theme combox box"
},
"options_page__tex_math_codecogs_customization_2": {
"message": "For render customization options, see the CodeCogs documentation for this service."
},
"options_page__tex_math_codecogs_privacy_issue_1": {
"message": "To generate the image for the formula, a request is sent to CodeCogs. That effectively means that you are sharing your formula with CodeCogs. It also means that recipients of your message will be making a request to CodeCogs to have the image rendered.",
"description": "one of the TeX math privacy concerns"
},
"options_page__tex_math_customization_1": {
"message": "If this feature is enabled, text between dollar signs — $$ — will be interpreted as mathematical formulae. For example, $$\\Delta$$ would be rendered as a delta symbol.",
"description": "Note: Double dollar signs ($$) are necessary to get a single dollar sign."
},
"options_page__tex_math_customization_3": {
"message": "A good resource for creating TeX formulae is the CodeCogs Equation Editor ."
},
"options_page__tex_math_customization_4": {
"message": "Formulae are rendered to images, so email recipients will have to enable images to be shown to see the rendering."
},
"options_page__tex_math_customization_5": {
"message": "If you customize the rendering tag, you can (and should) use either or both of {mathcode} and {urlmathcode} as placeholders.",
"description": "Please do not translate {mathcode} and {urlmathcode}"
},
"options_page__tex_math_customization_5_1": {
"message": "{mathcode}: The text between the $$ symbols — i.e., the raw TeX formula; like \\Delta.",
"description": "Please do not translate {mathcode} and {urlmathcode}. Note: Double dollar signs ($$) are necessary to get a single dollar sign."
},
"options_page__tex_math_customization_5_2": {
"message": "{urlmathcode}: The URL-encoded form of the TeX formula; like %5CDelta.",
"description": "Please do not translate {mathcode} and {urlmathcode}"
},
"options_page__tex_math_customization_6": {
"message": "If you customize the <img> tag, you should include an alt attribute that has as human-readable a value as possible, like {mathcode}. This value of this attribute will be used for the plaintext version of the email (when sent from Gmail and Thunderbird), and used by screen readers for sight-impaired recipients.",
"description": "Please do not translate {mathcode} and {urlmathcode}"
},
"options_page__tex_math_customization_heading": {
"message": "Customization and Use: ",
"description": "heading for customization and use info"
},
"options_page__tex_math_privacy_heading": {
"message": "Privacy Issues: ",
"description": "heading for warnings about TeX math privacy concerns"
},
"options_page__tex_math_privacy_issue_2": {
"message": "If you customize the formula rendering tag, you should use a secure (https://) path. Not all rendering services provide a secure option.",
"description": "one of the TeX math privacy concerns"
},
"options_page__tex_math_reset_button": {
"message": "Reset to Default",
"description": "text on button to reset TeX math option"
},
"options_page__tex_math_title": {
"message": "TeX Mathematical Formulae Support"
},
"options_page__type_some_markdown": {
"message": "Type some Markdown into the email. Try this: _Hello_ `Markdown` **Here**!",
"description": "A step in the basic usage instructions"
},
"plain_text_compose": {
"message": "You are using a plain-text compose editor. You must change to a rich editor to use Markdown Here.",
"description": "Shown in an alert dialog if the user has their email compose app set to plain text"
},
"toggle_button_text": {
"message": "마크다운 토글",
"description": "Text shown underneath the render toggle button. Make it as short as possible.",
"inMozDTD": true
},
"toggle_button_tooltip": {
"message": "Click to toggle Markdown rendering",
"description": "text shown when user hovers mouse over Markdown Toggle button",
"inMozDTD": true
},
"toggle_button_tooltip_disabled": {
"message": "The selected field is not valid for Markdown rendering",
"description": "text shown when user hover mouse over disabled Markdown Toggle button",
"inMozDTD": true
},
"unrendering_modified_markdown_warning": {
"message": "The rendered Markdown appears to have been modifed.\nIf you unrender it, your changes since rendering will be lost.\n\nAre you sure you wish to unrender?",
"description": "Warning shown to the user if she tries to revert some rendered Markdown that they've modified since rendering. The user will lose their modifications if they proceed."
},
"upgrade_notification_changes_tooltip": {
"message": "Click to see the changes in this release",
"description": "Tooltip text on the link that opens the changes list"
},
"upgrade_notification_dismiss_tooltip": {
"message": "Dismiss this notification",
"description": "Tooltip text on the link that dismisses the notification"
},
"upgrade_notification_text": {
"message": "Markdown Here 업데이트 되었습니다",
"description": "Text on the notification shown when Markdown Here has been updated"
}
}
================================================
FILE: src/_locales/ko/screenshot-captions.txt
================================================
Write your email in Markdown...
...and then make it pretty!
Want to use Markdown for only part of your email? Just select it and convert it!
================================================
FILE: src/_locales/pl/description.txt
================================================
Markdown Here pozwala na pisanie e-maili w języku Markdown i przekładanie ich na tekst wyjściowy (upiększony!) przed wysłaniem.
To świetna wiadomość dla każdego kto nie lubi klikać na przyciski formatowania tekstu podczas pisania e-maili. To szczególnie przydatne dla programistów, którzy piszą e-maile zawierające fragmenty kodu źródłowego -- Markdown Here umożliwia nawet kolorowanie składni. A dla matematyków wśród nas: Markdawn Here wygeneruje również wzory zapisane w języku TeX.
Banalnie proste w użyciu:
1. Napisz e-mail w swoim kliencie poczty elektronicznej używając języka Markdown w wersji GitHub.
2. Kliknij pole edycji tekstu prawym przyciskiem myszy i wybierz "Przełącz Markdown".
3. Twój e-mail został upiększony! (To jest, przełożony na język HTML.)
4. Jeśli rezultat jest zadowalający, po prostu wyślij wiadomość. Jeśli chcesz coś zmienić lub dodać, znów wybierz "Przełącz Markdown", żeby wrócić do wersji wyjściowej w języku Markdown.
5. Powtarzaj w miarę potrzeb.
Markdown Here został stworzony głownie z myślą o serwisie Gmail i o programie Thunderbird, ale działa też całkiem nieźle z serwisami Yahoo i Hotmail. Dodatkowo, świetnie działa z Google Groups oraz Sites, z wersją internetową serwisu Evernote, z serwisami Blogger, Wordpress i nie tylko!
Uwaga na temat kolorowania składni: Używaj ogrodzonych bloków kodu źródłowego (ang. fenced code blocks) precyzując użyty język programowania. Zobacz przykład na stronie internetowej projektu.
Prywatność: Markdown Here ma dostęp do i modyfikuje zawartość stron internetowych kiedy jest włączony. Teoretycznie, ma dostęp do zawartości innych stron internetowych, ale z tego dostępu nie korzysta. Nie wykonuje też żadnych zapytań internetowych. Twoje dane są modyfikowane tylko wtedy i tylko tam gdzie zdecydujesz i nie opuszczają twojej przeglądarki.
Dostępne jako rozszerzenie dla programów Chrome, Firefox, Safari, Opera oraz Thunderbird.
Ten projekt tworzy otwarte oprogramowanie. Odwiedź stronę GitHub projektu Markdown Here aby znaleźć pełne instrukcje, więcej informacji, żeby zgłaszać błędy, albo pomóc w rozwoju projektu.
https://markdown-here.com
https://github.com/adam-p/markdown-here
================================================
FILE: src/_locales/pl/markdown-here-image2.txt
================================================
W środę, 16 maja 2012, o 9:51, Kumpel napisał:
> Cześć stary!
Cześć.
> Możesz mi przesłać trochę pysznego kodu?
**To** jest całkiem niezłe:
```clojure
(defn hello [x] (str "Witaj", x))
(hello "Clojure")
```
> Z góry dzięki!
Nie ma sprawy.
================================================
FILE: src/_locales/pl/md-for-screenshot.md.txt
================================================
## Słodki zrzut ekranu Markdown
*Markdown Here* jest rozszerzeniem dla programów Google Chrome, Firefox i Thunderbird, pozwalającym pisać e-maile w języku Markdown i przekładać je na sformatowany tekst przed wysłaniem.
* Markdown jest **cool**. Tutaj `kod wewnątrz linii tekstu`.
* Umieść link np. do [tego projektu](https://github.com/adam-p/markdown-here).
* Uporządkowane, mówisz? **I** jako lista podrzędna?
1. Zrobione.
2. I zrobione.
Cytat z autentycznej recenzji:
> Robi dokładnie to co powinien. Wsparcie dla języka Markdown w e-mailach bez wchodzenia w paradę.
### Kolorowanie składni: miodzio
Trochę kodu JavaScript:
```javascript
alert('Witaj Markdown');
```
A co powiesz na nietypowy przykład -- diff:
```diff
diff --git a/src/common/markdown-here.js b/src/common/markdown-here.js
index 24dcb97..20c36a1 100644
--- a/src/common/markdown-here.js
+++ b/src/common/markdown-here.js
@@ -201,12 +179,14 @@ function makeStylesExplicit(wrapperElem, css) {
- applyStyleToElement(rule.style, selectorMatches[j]);
+ styleAttr = selectorMatches[j].getAttribute('style') || '';
+ styleAttr += rule.style.cssText;
+ selectorMatches[j].setAttribute('style', styleAttr);
```
================================================
FILE: src/_locales/pl/messages.json
================================================
{
"app_name": {
"message": "Markdown Here",
"description": "the name of the extension",
"inMozDTD": true
},
"app_slogan": {
"message": "Napisz e-mail w języku Markdown a następnie go upiększ.",
"description": "shown as subtitle for Markdown Here in the browser extensions list"
},
"context_menu_item": {
"message": "Przełącz Markdown",
"description": "Text shown on the context menu.",
"inMozDTD": true
},
"currently_in_use": {
"message": "Obecnie w użyciu",
"description": "Indicates the syntax highlighting theme that the user is currently using"
},
"cursor_into_compose": {
"message": "Proszę umieść kursor w polu kompozycji."
},
"forgot_to_render_back_button": {
"message": "Wróć",
"description": "Text on the Back (cancel) button of the prompt that's shown when it's detected that a user may have forgotten to render the Markdown in their email",
"inMozDTD": true
},
"forgot_to_render_prompt_close_hover": {
"message": "Zamknij ten komunikat",
"description": "Text that shows when the user hovers over the 'X' that will close the prompt"
},
"forgot_to_render_prompt_info": {
"message": "Wygląda na to, że napisał(e/a)ś ten e-mail w języku Markdown ale zapomniał(e/a)ś go upiększyć.",
"description": "Informational part of the prompt that's shown when it's detected that a user may have forgotten to render the Markdown in their email"
},
"forgot_to_render_prompt_question": {
"message": "Wysłać mimo wszystko?",
"description": "Question part of the prompt that's shown when it's detected that a user may have forgotten to render the Markdown in their email"
},
"forgot_to_render_prompt_title": {
"message": "Zapomniał(e/a)ś przełączyć Markdown?",
"description": "Title of the prompt that's shown when it's detected that a user may have forgotten to render the Markdown in their email"
},
"forgot_to_render_send_button": {
"message": "Wyślij",
"description": "Text on the Send (continue) button of the prompt that's shown when it's detected that a user may have forgotten to render the Markdown in their email",
"inMozDTD": true
},
"invalid_field": {
"message": "Wybrane pole nie pozwala na interpretację języka Markdown. Proszę użyj edytora tekstu sformatowanego.",
"description": "Shown in an alert dialog if the user tries to render a field that cannot be rendered"
},
"moz_options_dlg_instruction": {
"message": "Click the 'OK' button to open the Markdown Here Options tab",
"description": "In Thunderbird, in order to open the options tab we first have to open a temporary dialog box. This is the text in that box telling the user what to do. Please use the same translation for 'OK' that the application uses.",
"inMozDTD": true
},
"moz_options_dlg_title": {
"message": "Markdown Here Options",
"description": "In Thunderbird, in order to open the options tab we first have to open a temporary dialog box. This is the title for that box.",
"inMozDTD": true
},
"new_changelist_items": {
"message": "NOWOŚCI",
"description": "Used to highlight the part of the changelist that is new"
},
"nothing_to_render": {
"message": "Nie znaleziono nic do przełożenia z języka Markdawn lub z powrotem",
"description": "Error message shown to user if there's nothing found to revert or render."
},
"options_page__advanced_title": {
"message": "Opcje Zaawansowane i Dodatkowe",
"description": "A section title"
},
"options_page__advanced_usage": {
"message": "O wiele więcej informacji oraz wyjaśnienia funkcji zaawansowanych znajdziesz na stronie projektu Markdown Here . Warto również zapoznać się z opcjami opisanymi poniżej."
},
"options_page__basic_usage": {
"message": "Podstawowe Użycie"
},
"options_page__changes_saved": {
"message": "Zmiany zostały zapisane",
"description": "message that shows when user changes have been saved"
},
"options_page__click_toggle": {
"message": "Kliknij prawym przyciskiem myszy w e-mailu a następnie kliknij \"Przełącz Markdown\". (Albo kliknij przycisk w pasku narzędzi. Albo naciśnij Alt+Shift+M )",
"description": "A step in the basic usage instructions"
},
"options_page__contributing_1": {
"message": "Jeśli kiedykolwiek umieścił(e/a)ś w e-mailu blok kodu źródłowego, to możesz pomóc ulepszyć Markdown Here. CONTRIBUTING.md "
},
"options_page__contributing_2": {
"message": "Pomóż udostępnić Markdown Here w twoim języku. Tłumaczenia mile widziane. "
},
"options_page__contributing_title": {
"message": "Współpraca",
"description": "A section title"
},
"options_page__donate_plea_1": {
"message": "Kiedy się już przekonasz o tym, że Markdown Here jest na prawdę niezły, pomóż mi kupić kwiaty żonie, żeby nie miała mi zbyt za złe, że tyle czasu spędziłem pracując nad tym projektem. Dziękuję! "
},
"options_page__donate_plea_2": {
"message": "Pomóż uczynić Markdown Here lepszym! "
},
"options_page__donate_plea_3": {
"message": "Wesprzyj rozwój Markdown Here! "
},
"options_page__donate_plea_4": {
"message": "Wiesz co ułatwia poprawne działanie Markdown Here w programach Chrome, Firefox, Thunderbird, Safari, Opera, jak i w serwisach Gmail, Yahoo, Hotmail, Blogger, Evernote, itd.? Kawa! "
},
"options_page__footer_1": {
"message": "Markdown Here jest oprogramowaniem otwartym. Odwiedź stronę Github projektu albo forum \"markdown-here\" w serwisie Google Groups aby zadawać pytania, zgłaszać błędy, prosić o nowe funkcje, lub pomagać w rozwoju projektu.",
"description": "part of the page footer text"
},
"options_page__footer_2": {
"message": "Autorem projektu jest Adam Pritchard .",
"description": "part of the page footer text"
},
"options_page__forgot_to_render_1": {
"message": "Obecnie działa tylko na stronie internetowej serwisu Gmail i w programie Thunderbird (oraz Postbox i Icedove)."
},
"options_page__forgot_to_render_2": {
"message": "Kiedy wysyłasz e-mail, sprawdza czy zawartość wygląda na zapisaną w języku Markdown, ale nieprzełożoną na tekst wyjściowy (przez kliknięcie \"Przełącz Markdown\") przed wysłaniem. W przypadku problemów z wysyłaniem wiadomości, funkcję tę może być trzeba wyłączyć."
},
"options_page__forgot_to_render_3": {
"message": "Jeśli musisz to wyłączyć, proszę daj mi znać dlaczego i jak można by to ulepszyć. Zostaw komentarz na forum Google Groups projektu \"markdown-here\" albo zgłoś problem (ang. issue) na stronie Github projektu . Dzięki."
},
"options_page__forgot_to_render_4": {
"message": "Si cette fonctionnalité ne fonctionne plus pour vous, s'il vous plait faites le nous savoir en créant un post sur le groupe Google \"markdown-here\" ou en créant une issue dans le projet Github . (Le lien avec l'interface web des messageries est fragile et peut parfois se briser.)"
},
"options_page__forgot_to_render_label": {
"message": "Sprawdzaj czy zapomniano przełożyć Markdown na tekst wyjściowy. ",
"description": "Label for the checkbox that enables the forgot-to-render feature"
},
"options_page__gfm_line_breaks_enabled_label": {
"message": "Stosuj podziały wiersza w stylu GFM. ",
"description": "Label for the checkbox that enables the support of 'Github-flavored Markdown' line breaks."
},
"options_page__ghdiscussions": {
"message": "Ask a question or start a conversation in Markdown Here's GitHub Discussions ."
},
"options_page__header_anchors_enabled_1": {
"message": "Ta funkcja świetnie się nadaje do tworzenia spisu treści lub innych linków wewnętrznych do twojej treści. Dowiedz się jak tego używać na wiki MDH. "
},
"options_page__header_anchors_enabled_2": {
"message": "Ta opcja jest domyślnie wyłączona ponieważ powoduje \"wizualny hałas\" w programie Thunderbird . (I większość ludzi pewnie nie będzie używać tej funkcji.)"
},
"options_page__header_anchors_enabled_label": {
"message": "Włącz automatyczne kotwice nagłówków. ",
"description": "Label for the checkbox that enables the automatic header anchors feature. This means that an 'anchor' is created at every heading (H1, H2, etc.) in the user's Markdown. The user can then create links that will jump to these anchors, like in the table of contents of a document."
},
"options_page__hotkey_alt_key": {
"message": "ALT",
"description": "label for the Alt key"
},
"options_page__hotkey_ctrl_key": {
"message": "CTRL",
"description": "label for the Ctrl key"
},
"options_page__hotkey_note_1": {
"message": "Chrome: Musisz przeładować stronę e-mailu aby skrót klawiszowy zaczął działać."
},
"options_page__hotkey_note_2": {
"message": "Firefox i Thunderbird: Musisz ponownie uruchomić aplikację aby skrót klawiszowy zaczął działać."
},
"options_page__hotkey_note_3": {
"message": "Skrót wymaga użycia klawisza alfanumerycznego (zależnie od języka i klawiatury)."
},
"options_page__hotkey_note_4": {
"message": "Klawisz Windows oraz ⌘ systemu OS X nie może być użyty w skrócie."
},
"options_page__hotkey_note_5": {
"message": "Aby wyłączyć ten skrót klawiszowy, pozostaw pole edycyjne \"klawisza\" puste."
},
"options_page__hotkey_plus": {
"message": "+",
"description": "plus sign that connects the hotkey buttons"
},
"options_page__hotkey_shift_key": {
"message": "SHIFT",
"description": "label for the Shift key"
},
"options_page__hotkey_title": {
"message": "Skrót Klawiszowy",
"description": "A section title"
},
"options_page__hotkey_warning": {
"message": "Czy to klawisz alfanumeryczny?",
"description": "warning shown if the user chooses an illegal hotkey value"
},
"options_page__markdown_toggle_button_text": {
"message": "Przełącz Markdown",
"description": "button text for Markdown Toggle button"
},
"options_page__mdh_wiki": {
"message": "Na wiki projektu Markdown Here dowiesz się gdzie jeszcze działa MDH oraz znajdziesz dalsze wskazówki i rady ."
},
"options_page__next_steps": {
"message": "Jeśli interesuje cię przyszłość Markdown Here, zajrzyj do sekcji Next Steps w pliku README."
},
"options_page__note_default_client_styles": {
"message": "Niektóre edytory e-mailu oraz przeglądarki narzucają własne style. Te mogą nie być tu widoczne."
},
"options_page__note_options_sync": {
"message": "Zmiany są automatycznie zapisywane i synchronizowane (jeśli synchronizacja jest włączona w twojej przeglądarce)."
},
"options_page__note_syntax_styles_after_primary": {
"message": "Style kolorowania składni są stosowane po stylach podstawowych, a więc mają wyższy priorytet."
},
"options_page__notes_title": {
"message": "Uwagi",
"description": "section title"
},
"options_page__other_donation_options": {
"message": "Inne formy dotacji",
"description": "Link to a page that provides other ways to donate"
},
"options_page__page_title": {
"message": "Opcje Markdown Here"
},
"options_page__pretty_cool": {
"message": "Wiadomość powinna teraz wyglądać całkiem cool. Wyślij ją do przyjaciół!",
"description": "A step in the basic usage instructions"
},
"options_page__preview_markdown": {
"message": "```javascript \nfunction syntaxHighlighting() { \n var n = 33; \n var s = \"hello, こんにちは\"; \n console.log(s); \n} \n``` \n \n* zwykły tekst \n* *emfaza* \n * **mocna emfaza** \n * ~~przekreślenie~~ \n* `kod wewnątrz linii tekstu` \n \n1. Lista numerowana \n2. [Link](https://www.google.com) \n \n \nObraz: \n \n \n> Blok cytatu. \n> *Z* **odrobiną znaczników** `markdown`. \n \nJeśli włączono wsparcie dla **zapisu matematyki w języku TeX**, oto równanie kwadratowe: \n$$-b \\pm \\sqrt{b^2 - 4ac} \\over 2a$$ \n \n# Nagłówek 1 \n## Nagłówek 2 \n### Nagłówek 3 \n#### Nagłówek 4 \n##### Nagłówek 5 \n###### Nagłówek 6 \n \n| Tabele | Są | Cool | \n| ------------- |:-------------:| -----:| \n| kolumna 3 jest | wyrównana do prawej | $$1600 | \n| kolumna 2 jest | wyśrodkowana | $$12 | \n| pasy zebry | są eleganckie | $$1 | \n \nTu mamy poziomą linię: \n \n--- \n \n``` \nblok kodu źródłowego \nbez kolorowania składni \n``` \n \n",
"description": "The raw Markdown used for previewing user styling changes. Also shows users what can be done with Markdown. Please note that the double dollar signs ($$) are needed to make a single dollar sign in the application."
},
"options_page__preview_title": {
"message": "Podgląd",
"description": "section title for the Markdown preview section"
},
"options_page__primary_css_title": {
"message": "Podstawowe Style CSS",
"description": "section title"
},
"options_page__reload_restart": {
"message": "Przeładuj stronę internetową e-mailu albo zrestartuj przeglądarkę internetową.",
"description": "A step in the basic usage instructions"
},
"options_page__reset_primary_css": {
"message": "Przywróć Domyślne",
"description": "text on button to reset Primary Styling CSS"
},
"options_page__resources_cheatsheet_link": {
"message": "Jeśli dopiero zaczynasz z językiem Markdown Ściągawka Markdown Here z początkującego zmieni cię w speca."
},
"options_page__resources_title": {
"message": "Zasoby i Linki",
"description": "A section title"
},
"options_page__start_new_message": {
"message": "Rozpocznij nową wiadomość e-mail.",
"description": "A step in the basic usage instructions"
},
"options_page__syntax_highlighting_css_title": {
"message": "CSS Kolorowania Składni",
"description": "section title"
},
"options_page__syntax_highlighting_theme_label": {
"message": "Motyw:",
"description": "label for the syntax highlighting theme combox box"
},
"options_page__tex_math_codecogs_customization_2": {
"message": "For render customization options, see the CodeCogs documentation for this service."
},
"options_page__tex_math_codecogs_privacy_issue_1": {
"message": "To generate the image for the formula, a request is sent to CodeCogs. That effectively means that you are sharing your formula with CodeCogs. It also means that recipients of your message will be making a request to CodeCogs to have the image rendered.",
"description": "one of the TeX math privacy concerns"
},
"options_page__tex_math_customization_1": {
"message": "Kiedy ta opcja jest włączona, tekst między symbolami dolara — $$ — będzie interpretowany jako wzory matematyczne. Na przykład, kod $$\\Delta$$ zostałby przetłumaczony na znak delty.",
"description": "Note: Double dollar signs ($$) are necessary to get a single dollar sign."
},
"options_page__tex_math_customization_3": {
"message": "Dobrym źródłem informacji na temat tworzenia wzorów w języku TeX jest serwis CodeCogs Equation Editor ."
},
"options_page__tex_math_customization_4": {
"message": "Wzory są przetwarzana na obrazy, więc odbiorcy e-mailu będą musieli mieć włączoną opcję wyświetlania obrazów aby zobaczyć rezultat."
},
"options_page__tex_math_customization_5": {
"message": "W przypadku modyfikacji tagu generowania wzoru, można (i trzeba) użyć jednego lub obu z tekstów zastępczych {mathcode} i {urlmathcode}.",
"description": "Please do not translate {mathcode} and {urlmathcode}"
},
"options_page__tex_math_customization_5_1": {
"message": "{mathcode}: Tekst między symbolami $$ — tzn., wzór w języku TeX w formie surowej; np. \\Delta.",
"description": "Please do not translate {mathcode} and {urlmathcode}. Note: Double dollar signs ($$) are necessary to get a single dollar sign."
},
"options_page__tex_math_customization_5_2": {
"message": "{urlmathcode}: Wzór w języku TeX w formacie dozwolonym w adresach URL; np. %5CDelta.",
"description": "Please do not translate {mathcode} and {urlmathcode}"
},
"options_page__tex_math_customization_6": {
"message": "W przypadku modyfikacji tagu <img>, należy załączyć atrybut alt z tekstem zastępczym tak zrozumiałym jak to tylko możliwe, np. {mathcode}. Wartość tego atrybutu będzie wyświetlona jeśli e-mail przedstawiony zostanie jako zwykły tekst (jeśli został wysłany z serwisu Gmail i programu Thunderbird), oraz będzie użyta przez czytniki ekranowe odbiorców niewidomych i niedowidzących.",
"description": "Please do not translate {mathcode} and {urlmathcode}"
},
"options_page__tex_math_customization_heading": {
"message": "Opcje Modyfikacji i Użycie: ",
"description": "heading for customization and use info"
},
"options_page__tex_math_privacy_heading": {
"message": "Kwestie Prywatności: ",
"description": "heading for warnings about TeX math privacy concerns"
},
"options_page__tex_math_privacy_issue_2": {
"message": "Jeśli modyfikujesz tag generowania wzoru, użyj bezpiecznej (https://) ścieżki. Nie wszystkie serwisy generujące posiadają opcję bezpieczną.",
"description": "one of the TeX math privacy concerns"
},
"options_page__tex_math_reset_button": {
"message": "Przywróć Domyślne",
"description": "text on button to reset TeX math option"
},
"options_page__tex_math_title": {
"message": "Wsparcie dla Wzorów Matematycznych TeX"
},
"options_page__type_some_markdown": {
"message": "Napisz coś w języku Markdown w e-mailu. Spróbuj: _Witaj_ `Markdown` **Here**!",
"description": "A step in the basic usage instructions"
},
"plain_text_compose": {
"message": "Używasz edytora tekstu niesformatowanego. Musisz przełączyć na edytor tekstu sformatowanego aby użyć Markdown Here.",
"description": "Shown in an alert dialog if the user has their email compose app set to plain text"
},
"toggle_button_text": {
"message": "Przełącz MD",
"description": "Text shown underneath the render toggle button. Make it as short as possible.",
"inMozDTD": true
},
"toggle_button_tooltip": {
"message": "Kliknij aby przełączyć formatowanie Markdown",
"description": "text shown when user hovers mouse over Markdown Toggle button",
"inMozDTD": true
},
"toggle_button_tooltip_disabled": {
"message": "Wybrane pole nie pozwala na interpretację języka Markdown",
"description": "text shown when user hover mouse over disabled Markdown Toggle button",
"inMozDTD": true
},
"unrendering_modified_markdown_warning": {
"message": "Tekst wygenerowany z oryginału w języku Markdawn wydaję się być zmieniony.\nJeśli przywrócisz go do wersji Markdown, twoje zmiany dodane po wygenerowaniu zostaną stracone.\n\nCzy na pewno przywrócić do wersji Markdown?",
"description": "Warning shown to the user if she tries to revert some rendered Markdown that they've modified since rendering. The user will lose their modifications if they proceed."
},
"upgrade_notification_changes_tooltip": {
"message": "Kliknij aby zobaczyć zmiany w tej wersji",
"description": "Tooltip text on the link that opens the changes list"
},
"upgrade_notification_dismiss_tooltip": {
"message": "Zamknij ten komunikat",
"description": "Tooltip text on the link that dismisses the notification"
},
"upgrade_notification_text": {
"message": "Markdown Here został uaktualniony",
"description": "Text on the notification shown when Markdown Here has been updated"
}
}
================================================
FILE: src/_locales/pl/screenshot-captions.txt
================================================
Napisz e-mail w języku Markdown...
...a następnie upiększ go!
Chcesz użyć języka Markdown tylko w części swojego e-mailu? Po prostu zaznacz ją i przekonwertuj!
================================================
FILE: src/_locales/pt_BR/description.txt
================================================
Markdown Here permite que você escreva e-mail em Markdown e o renderiza (torna-o elegante!) antes de enviar.
É perfeito para quem não gosta de ficar mexendo com botões de formatação enquanto escreve um e-mail. É especialmente adequado para programadores que escrevem e-mail que incluem código-fonte — Markdown Here suporta destaque de sintaxe. E para os matemáticos entre nós: Markdown Here também converte fórmulas em TeX.
Totalmente fácil de usar:
1. Escreva sua mensagem no campo de edição formatada do seu cliente de e-mail usando Markdown versão Github.
2. Clique com o botão direito no campo de edição e, em seguida, selecione “Markdown Toggle”.
3. Seu e-mail agora ficou elegante! (Ou seja, foi convertido em HTML.)
4. Se você gostar do resultado, é só enviá-lo. Se você quiser alterá-lo ou acrescentar algo, clique novamente em “Markdown Toggle” para voltar ao Markdown original.
5. Repita se necessário.
Markdown Here é voltado principalmente para trabalhar com Gmail e Thunderbird, mas também funciona muito bem com Yahoo e Hotmail. Além disso, ele funciona muito bem com Google Groups e Sites, a interface web do Evernote, Blogger, Wordpress e muito mais!
Nota sobre destaque de sintaxe: Use código de blocos delimitados e especifique o nome da linguagem. Veja um exemplo na página do projeto.
Privacidade: Markdown Here acessa e modifica o conteúdo da web quando é ativado. Ele pode, em teoria, acessar outros conteúdos da web, mas não o faz. Tampouco acessa a Internet de algum modo. Seus dados são modificados quando e onde você decide e não deixam o seu navegador.
Disponível como extensões para Chrome, Firefox, Safari, Opera e Thunderbird.
Este é um projeto de código fonte aberto. Visite a página Github do Markdown Here para as instruções completas, mais informações, relatórios de bugs, ou para contribuir.
https://markdown-here.com
https://github.com/adam-p/markdown-here
================================================
FILE: src/_locales/pt_BR/markdown-here-image2.txt
================================================
Quarta-feira, 16 de maio de 2012, às 21:51, Fulano escreveu:
> Olá, amigo!
Oi, Fulano.
> Você pode me enviar um pedaço interessante de código?
**Isto** é bem interessante:
```clojure
(defn hello [x] (str "Hello", x))
(hello "Clojure")
```
> Desde já agradeço!
Sem problema.
================================================
FILE: src/_locales/pt_BR/md-for-screenshot.md.txt
================================================
## Doces Capturas de Tela em Markdown
*Markdown Here* é uma extensão para Google Chrome, Firefox e Thunderbird que permite que você escreva e-mail em Markdown e converte-o antes de enviá-lo.
* Markdown é **legal**. Ponha `código inline`.
* Crie links para coisas, como [este projeto](https://github.com/adam-p/markdown-here).
* Você disse ordenado? **E** uma sub-lista?
1. Pronto.
2. E pronto.
Citação de uma revisão real:
> Faz exatamente o que preciso que faça. Suporte de Markdown no email sem atrapalhar.
### Destaque de sintaxe: super radical
Um pouco de JavaScript:
```javascript
alert('Hello Markdown');
```
Que tal um exemplo incomum -- um diff:
```diff
diff --git a/src/common/markdown-here.js b/src/common/markdown-here.js
index 24dcb97..20c36a1 100644
--- a/src/common/markdown-here.js
+++ b/src/common/markdown-here.js
@@ -201,12 +179,14 @@ function makeStylesExplicit(wrapperElem, css) {
- applyStyleToElement(rule.style, selectorMatches[j]);
+ styleAttr = selectorMatches[j].getAttribute('style') || '';
+ styleAttr += rule.style.cssText;
+ selectorMatches[j].setAttribute('style', styleAttr);
```
================================================
FILE: src/_locales/pt_BR/messages.json
================================================
{
"app_name": {
"message": "Markdown Here",
"description": "the name of the extension",
"inMozDTD": true
},
"app_slogan": {
"message": "Escreva seu email em Markdown e o torne elegante.",
"description": "shown as subtitle for Markdown Here in the browser extensions list"
},
"context_menu_item": {
"message": "Alternar Markdown",
"description": "Text shown on the context menu.",
"inMozDTD": true
},
"currently_in_use": {
"message": "Atualmente em uso",
"description": "Indicates the syntax highlighting theme that the user is currently using"
},
"cursor_into_compose": {
"message": "Favor coloque o cursor no campo de texto."
},
"forgot_to_render_back_button": {
"message": "Voltar",
"description": "Text on the Back (cancel) button of the prompt that's shown when it's detected that a user may have forgotten to render the Markdown in their email",
"inMozDTD": true
},
"forgot_to_render_prompt_close_hover": {
"message": "Descartar este aviso",
"description": "Text that shows when the user hovers over the 'X' that will close the prompt"
},
"forgot_to_render_prompt_info": {
"message": "Parece que você escreveu este e-mail em Markdown mas esqueceu de torná-lo elegante.",
"description": "Informational part of the prompt that's shown when it's detected that a user may have forgotten to render the Markdown in their email"
},
"forgot_to_render_prompt_question": {
"message": "Enviar mesmo assim?",
"description": "Question part of the prompt that's shown when it's detected that a user may have forgotten to render the Markdown in their email"
},
"forgot_to_render_prompt_title": {
"message": "Esqueceu de ativar o Markdown?",
"description": "Title of the prompt that's shown when it's detected that a user may have forgotten to render the Markdown in their email"
},
"forgot_to_render_send_button": {
"message": "Enviar",
"description": "Text on the Send (continue) button of the prompt that's shown when it's detected that a user may have forgotten to render the Markdown in their email",
"inMozDTD": true
},
"invalid_field": {
"message": "O campo selecionado não é válido para renderização em Markdown. Favor usar um editor de texto formatado.",
"description": "Shown in an alert dialog if the user tries to render a field that cannot be rendered"
},
"moz_options_dlg_instruction": {
"message": "Click the 'OK' button to open the Markdown Here Options tab",
"description": "In Thunderbird, in order to open the options tab we first have to open a temporary dialog box. This is the text in that box telling the user what to do. Please use the same translation for 'OK' that the application uses.",
"inMozDTD": true
},
"moz_options_dlg_title": {
"message": "Markdown Here Options",
"description": "In Thunderbird, in order to open the options tab we first have to open a temporary dialog box. This is the title for that box.",
"inMozDTD": true
},
"new_changelist_items": {
"message": "NOVO",
"description": "Used to highlight the part of the changelist that is new. There will typically be multiple items in the list, so this should be considered plural."
},
"nothing_to_render": {
"message": "Nada encontrado para renderizar ou reverter",
"description": "Error message shown to user if there's nothing found to revert or render."
},
"options_page__advanced_title": {
"message": "Avançado e Diversos",
"description": "A section title"
},
"options_page__advanced_usage": {
"message": "Para mais informações e usos avançados, veja a página do projeto do Markdown Here . Você deve também explorar as opções abaixo."
},
"options_page__basic_usage": {
"message": "Uso Básico"
},
"options_page__changes_saved": {
"message": "Alterações salvas",
"description": "message that shows when user changes have been saved"
},
"options_page__click_toggle": {
"message": "Clique com o botão direito no e-mail e selecione “Alternar Markdown. (Ou clique no botão da barra de ferramentas. Ou pressione Alt+Shift+M )",
"description": "A step in the basic usage instructions"
},
"options_page__contributing_1": {
"message": "Se alguma vez você escreveu um bloco de código em um e-mail, então você já pode ajudar a melhorar o Markdown Here. CONTRIBUTING.md "
},
"options_page__contributing_2": {
"message": "Ajude a tornar o Markdown Here disponível no seu idioma. Traduções são bem vindas ."
},
"options_page__contributing_title": {
"message": "Contribuindo",
"description": "A section title"
},
"options_page__donate_plea_1": {
"message": "Uma vez que você decida que o Markdown Here é genial, por favor ajude-me a comprar flores para minha esposa para que ela não fique muito chateada com o tempo que eu gasto trabalhando nele. Obrigado! "
},
"options_page__donate_plea_2": {
"message": "Ajude a tornar o Markdown Here melhor! "
},
"options_page__donate_plea_3": {
"message": "Apoie o desenvolvimento do Markdown Here! "
},
"options_page__donate_plea_4": {
"message": "Você sabe o que facilita manter o Markdown Here funcionando no Chrome, Firefox, Thunderbird, Safari, Opera, Gmail, Yahoo, Hotmail, Blogger, Evernote etc.? Café! "
},
"options_page__footer_1": {
"message": "Markdown Here é código livre. Para perguntar, informar bugs, solicitar recursos, ou contribuir, visite a página do projeto Github ou o Google Group \"markdown-here\" .",
"description": "part of the page footer text"
},
"options_page__footer_2": {
"message": "Criado por Adam Pritchard .",
"description": "part of the page footer text"
},
"options_page__forgot_to_render_1": {
"message": "Atualmente só apoiada com os interfaces de Gmail e Google Inbox, e o de Thunderbird (e Icedove)."
},
"options_page__forgot_to_render_2": {
"message": "Quando você envia um e-mail, isto analisa o conteúdo para verificar se você escreveu em Markdown, mas esqueceu de renderizar (ou seja, clicar em \"Alternar Markdown\") antes de enviar. Pode sen necessáio desativar esta opção se ela interferir com sua abilidade de enviar e-mail."
},
"options_page__forgot_to_render_3": {
"message": "Jeśli musisz to wyłączyć, proszę daj mi znać dlaczego i jak można by to ulepszyć. Zostaw komentarz na forum Google Groups projektu \"markdown-here\" albo zgłoś problem (ang. issue) na stronie Github projektu . Dzięki."
},
"options_page__forgot_to_render_4": {
"message": "Se esta funcionalidade parar de funcionar por você, favor nos deixar sabendo por meio de postar no grupo \"markdown-here\" do Google ou por reportar um bug no projeto de Github . (Integrar com UI web de email quebra fácil e de vez em quando quebra mesmo.)"
},
"options_page__forgot_to_render_label": {
"message": "Ativar a verificação \"esquecer de renderizar\". ",
"description": "Label for the checkbox that enables the forgot-to-render feature"
},
"options_page__gfm_line_breaks_enabled_label": {
"message": "Ativar quebras de linha GFM. ",
"description": "Label for the checkbox that enables the support of 'Github-flavored Markdown' line breaks."
},
"options_page__ghdiscussions": {
"message": "Ask a question or start a conversation in Markdown Here's GitHub Discussions ."
},
"options_page__header_anchors_enabled_1": {
"message": "Isto é prático se você quiser colocar um índice ou outros links internos no seu conteúdo. Aprenda como usá-lo no wiki do MDH ."
},
"options_page__header_anchors_enabled_2": {
"message": "Está desabilitado como padrão pois cria ruído visual no Thunderbird . (E a maioria das pessoas provavelmente não usariam este recurso.)"
},
"options_page__header_anchors_enabled_label": {
"message": "Ativar âncoras de cabeçalho automáticas. ",
"description": "Label for the checkbox that enables the automatic header anchors feature. This means that an 'anchor' is created at every heading (H1, H2, etc.) in the user's Markdown. The user can then create links that will jump to these anchors, like in the table of contents of a document."
},
"options_page__hotkey_alt_key": {
"message": "ALT",
"description": "label for the Alt key"
},
"options_page__hotkey_ctrl_key": {
"message": "CTRL",
"description": "label for the Ctrl key"
},
"options_page__hotkey_note_1": {
"message": "Chrome: você deve recarregar a página web do seu e-mail para que a nova tecla rápida seja ativada."
},
"options_page__hotkey_note_2": {
"message": "Firefox e Thunderbird: Você deve reiniciar o aplicativo para que a nova tecla rápida seja ativada."
},
"options_page__hotkey_note_3": {
"message": "Você deve usar uma tecla alfanumérica para o atalho (varia segundo o idioma e o teclado)."
},
"options_page__hotkey_note_4": {
"message": "A tecla Windows e a tecla ⌘ do OS X não podem ser usadas no atalho."
},
"options_page__hotkey_note_5": {
"message": "Para desativar o uso desta tecla rápida, deixe o campo \"tecla\" vazio."
},
"options_page__hotkey_plus": {
"message": "+",
"description": "plus sign that connects the hotkey buttons"
},
"options_page__hotkey_shift_key": {
"message": "SHIFT",
"description": "label for the Shift key"
},
"options_page__hotkey_title": {
"message": "Tecla Rápida (ou atalho de teclado)",
"description": "A section title"
},
"options_page__hotkey_warning": {
"message": "É uma tecla alfanumérica?",
"description": "warning shown if the user chooses an illegal hotkey value"
},
"options_page__markdown_toggle_button_text": {
"message": "Alternar Markdown",
"description": "button text for Markdown Toggle button"
},
"options_page__mdh_wiki": {
"message": "Visite o wiki do Markdown Here para descobrir onde mais o MDH funciona e mais dicas e truques ."
},
"options_page__next_steps": {
"message": "Se você está interessado no futuro do Markdown Here, confira a seção Próximos Passos do README."
},
"options_page__note_default_client_styles": {
"message": "Alguns editores de e-mail impõem seus próprios estilos. Aqui eles podem não ser evidentes."
},
"options_page__note_options_sync": {
"message": "As mudanças são automaticamente salvas e sincronizadas (se a sincronização estiver ativada em seu navegador)."
},
"options_page__note_syntax_styles_after_primary": {
"message": "Os estilos de destaque de sintaxe são aplicados após o estilo primário e, assim, têm precedência."
},
"options_page__notes_title": {
"message": "Notas",
"description": "section title"
},
"options_page__other_donation_options": {
"message": "Outras opções de doação",
"description": "Link to a page that provides other ways to donate"
},
"options_page__page_title": {
"message": "Opções do Markdown Here"
},
"options_page__pretty_cool": {
"message": "Sua mensagem agora deve estar bem legal. Envie-a para seus amigos!",
"description": "A step in the basic usage instructions"
},
"options_page__preview_markdown": {
"message": "```javascript \nfunction syntaxHighlighting() { \n var n = 33; \n var s = \"hello, こんにちは\"; \n console.log(s); \n} \n``` \n \n* simples \n* *ênfase* \n * **ênfase forte** \n * ~~tachado~~ \n* `código em linha` \n \n1. Lista numerada \n 1. Numbered sub-list \n 1. Numbered sub-sub-list \n2. [Link](https://www.google.com) \n \n \nUma imagem: \n \n \n> Citação em bloco. \n> *Com* **um pouco de** `markdown`. \n \nSe o suporte de **TeX Math** estiver ativado, esta é a equação quadrática: \n$$-b \\pm \\sqrt{b^2 - 4ac} \\over 2a$$ \n \n# Cabeçalho 1 \n## Cabeçalho 2 \n### Cabeçalho 3 \n#### Cabeçalho 4 \n##### Cabeçalho 5 \n###### Cabeçalho 6 \n \n| Tabelas | São | Legais | \n| ---------------- | :----------------: | -----: | \n| coluna 3 está | alinhada à direita | $$1600 | \n| coluna 2 está | centrada | $$12 | \n| listras de zebra | são organizadas | $$1 | \n \nTemos aqui uma linha horizontal: \n \n--- \n \n``` \nbloco de código \nsem destaque \n``` \n ",
"description": "This doesn't need to be translated, unless you want to make it more relevant to your language. The raw Markdown used for previewing user styling changes. Also shows users what can be done with Markdown. Please note that the double dollar signs ($$) are needed to make a single dollar sign in the application."
},
"options_page__preview_title": {
"message": "Pré-visualização",
"description": "section title for the Markdown preview section"
},
"options_page__primary_css_title": {
"message": "Estilo CSS Primário",
"description": "section title"
},
"options_page__reload_restart": {
"message": "Após instalar ou atualizar, recarregue a página web do seu email ou reinicie seu navegador.",
"description": "A step in the basic usage instructions"
},
"options_page__reset_primary_css": {
"message": "Restaurar Padrões",
"description": "text on button to reset Primary Styling CSS"
},
"options_page__resources_cheatsheet_link": {
"message": "Se você é novato em Markdown, a Cola de Markdown Here irá te transformar num profissional."
},
"options_page__resources_title": {
"message": "Recursos e Links",
"description": "A section title"
},
"options_page__start_new_message": {
"message": "Começar uma nova mensagem de e-mail.",
"description": "A step in the basic usage instructions"
},
"options_page__syntax_highlighting_css_title": {
"message": "CSS de Destaque de Sintaxe",
"description": "section title"
},
"options_page__syntax_highlighting_theme_label": {
"message": "Tema:",
"description": "label for the syntax highlighting theme combox box"
},
"options_page__tex_math_codecogs_customization_2": {
"message": "For render customization options, see the CodeCogs documentation for this service."
},
"options_page__tex_math_codecogs_privacy_issue_1": {
"message": "To generate the image for the formula, a request is sent to CodeCogs. That effectively means that you are sharing your formula with CodeCogs. It also means that recipients of your message will be making a request to CodeCogs to have the image rendered.",
"description": "one of the TeX math privacy concerns"
},
"options_page__tex_math_customization_1": {
"message": "Se este recurso estiver ativado, o texto entre dois cifrões — $$ — será interpretado como uma fórmula matemática. Por exemplo, $$\\Delta$$ seria renderizado como um símbolo delta.",
"description": "Note: Double dollar signs ($$) are necessary to get a single dollar sign."
},
"options_page__tex_math_customization_3": {
"message": "Um bom recurso para criação de fórmulas em TeX é o CodeCogs Equation Editor ."
},
"options_page__tex_math_customization_4": {
"message": "As fórmulas são renderizadas em imagens, dessa forma os destinatários têm que ativar a exibição de imagens para vê-las."
},
"options_page__tex_math_customization_5": {
"message": "Se você personalizar as tags de renderização, você pode (e deve) utilizar {mathcode} e {urlmathcode} como marcadores de posição.",
"description": "Please do not translate {mathcode} and {urlmathcode}"
},
"options_page__tex_math_customization_5_1": {
"message": "{mathcode}: Os textos entre os símbolos $$ — p.ex., a fórmula em TeX; como \\Delta.",
"description": "Please do not translate {mathcode} and {urlmathcode}. Note: Double dollar signs ($$) are necessary to get a single dollar sign."
},
"options_page__tex_math_customization_5_2": {
"message": "{urlmathcode}: A forma codificada em URL da fórmula TeX; como %5CDelta.",
"description": "Please do not translate {mathcode} and {urlmathcode}"
},
"options_page__tex_math_customization_6": {
"message": "Se você personalizar a tag <img>, você deve incluir um atributo alt que tenha um valor tão legível para humanos quanto possível, como {mathcode}. O valor desse atributo será usado para versão em texto simples do e-mail (quando enviado do Gmail ou do Thunderbird) e usado por leitores de tela para destinatários com deficiência visual.",
"description": "Please do not translate {mathcode} and {urlmathcode}"
},
"options_page__tex_math_customization_heading": {
"message": "Personalização e Uso: ",
"description": "heading for customization and use info"
},
"options_page__tex_math_privacy_heading": {
"message": "Questões de Privacidade: ",
"description": "heading for warnings about TeX math privacy concerns"
},
"options_page__tex_math_privacy_issue_2": {
"message": "Se você costumizar o tag de renderização de fórmulas, você deve usar uma rota segura (https://). Nem todos os serviços de renderização oferecem uma opção segura.",
"description": "one of the TeX math privacy concerns"
},
"options_page__tex_math_reset_button": {
"message": "Restaurar Padrões",
"description": "text on button to reset TeX math option"
},
"options_page__tex_math_title": {
"message": "Suporte a Fórmulas Matemáticas em TeX"
},
"options_page__type_some_markdown": {
"message": "Escreva um pouco de Markdown no e-mail. Experimente isso:_Hello_ `Markdown` **Here**!",
"description": "A step in the basic usage instructions"
},
"plain_text_compose": {
"message": "Você está usando um editor de texto simples. Você deve mudar para um editor de texto formatado para usar Markdown Here.",
"description": "Shown in an alert dialog if the user has their email compose app set to plain text"
},
"toggle_button_text": {
"message": "Alternar MD",
"description": "Text shown underneath the render toggle button. Make it as short as possible.",
"inMozDTD": true
},
"toggle_button_tooltip": {
"message": "Clique para alternar a renderização do Markdown",
"description": "text shown when user hovers mouse over Markdown Toggle button",
"inMozDTD": true
},
"toggle_button_tooltip_disabled": {
"message": "O campo selecionado não é válido para renderização em Markdown",
"description": "text shown when user hover mouse over disabled Markdown Toggle button",
"inMozDTD": true
},
"unrendering_modified_markdown_warning": {
"message": "O Markdown renderizado parece ter sido modificado.\nSe você revertê-lo, as mudanças desde a renderização serão perdidas.\n\nTem certeza que deseja reverter a renderização?",
"description": "Warning shown to the user if she tries to revert some rendered Markdown that they've modified since rendering. The user will lose their modifications if they proceed."
},
"upgrade_notification_changes_tooltip": {
"message": "Clique para ver as alterações desta versão",
"description": "Tooltip text on the link that opens the changes list"
},
"upgrade_notification_dismiss_tooltip": {
"message": "Descartar este aviso",
"description": "Tooltip text on the link that dismisses the notification"
},
"upgrade_notification_text": {
"message": "Markdown Here atualizado",
"description": "Text on the notification shown when Markdown Here has been updated"
}
}
================================================
FILE: src/_locales/pt_BR/screenshot-captions.txt
================================================
Escreva seu e-mail em Markdown…
…e o torne elegante!
Quer usar Markdown apenas em parte do seu e-mail? Simplesmente selecione-a e converta-a!
================================================
FILE: src/_locales/ru/description.txt
================================================
Markdown Here поможет вам написать емейл в Markdown и отрендерить его (сделать стильным!) перед отправкой.
Это отлично подходит тем, кто не любит возиться с кнопками форматирования текста во время написания емейлов. Особенно это подойдет программистам, которым приходится писать письма, содержащие программный код -- Markdown Here поддерживает подсветку синтаксиса. Не останутся в стороне и математики -- Markdown Here также поддерживает рендеринг формул TeX.
Абсолютно прост в использовании:
1. Напишите свое сообщение в окне WYSIWYG редактора вашего емайл клиента используя формат Markdown принятый на Github.
2. Щелкните правой кнопкой мыши в окне создания сообщения и нажмите «Переключить Markdown».
3. Теперь ваше сообщение выглядит прекрасно! (То есть, оно было сконвертировано в HTML.)
4. Если вам нравится результат, то просто отправьте сообщение. Если вы хотите изменить или добавить что-то, нажмите кнопку «Переключить Markdown», чтобы снова вернуться к оригиналу.
5. Повторите эти действия, если понадобится.
Markdown Here в первую очередь ориентирован на работу с Gmail и Thunderbird, но он также очень хорошо работает с Yahoo и Hotmail. Кроме того он прекрасно работает с Google Groups, Google Sites, веб-интерфейсом Evernote, Blogger, Wordpress и другими!
Syntax highlighting note: Use fenced code blocks and specify the language name. Смотрите в качестве примера страницу проекта.
Privacy: Markdown Here accesses and modifies web content when you activate it. Теоретически, Markdown Here может получить доступ и к другому веб-контенту, но, на практике, не делает этого. It also makes no Internet requests whatsoever. Your data is modified when and where you choose, and does not leave your browser.
Доступно как расширение Chrome, Firefox, Safari, Opera и Thunderbird.
Это проект с открытым кодом. Посетите страницу Markdown Here на Github для получения более полных инструкций, чтобы узнать больше информации, для сообщения об ошибках, или чтобы внести свой вклад.
https://markdown-here.com
https://github.com/adam-p/markdown-here
================================================
FILE: src/_locales/ru/markdown-here-image2.txt
================================================
В среду, 16 мая, 2012 at 9:51 PM, Дружищще написал:
> Здорово друг!
Привет Дружищще.
> Можешь послать мне свой клевый код?
**Это** довольно таки круто:
```clojure
(defn hello [x] (str "Hello", x))
(hello "Clojure")
```
> Благодарю заранее!
Без проблем.
================================================
FILE: src/_locales/ru/md-for-screenshot.md.txt
================================================
## Классный скриншот Markdown
* Markdown Here* — расширение Google Chrome, Firefox и Thunderbird, которое позволяет вам написать письмо в Markdown и отрендерить его перед отправкой.
* Markdown -- это **круто**. Запишем `код в строку`.
* Ссылки на разные штуки, такие как [этот проект] (https://github.com/adam-p/markdown-here).
* Упорядоченный вы сказали? **И** подсписок?
1. Есть.
2. И есть.
Цитата из фактического обзора:
> Делает именно то что мне нужно: практическая поддержка Markdown в емейлах.
### Подсветка: супер
Немного JavaScript:
```javascript
alert('Hello Markdown');
```
Как насчет необычнoго примера --diff:
```diff
diff --git a/src/common/markdown-here.js b/src/common/markdown-here.js
index 24dcb97..20c36a1 100644
--- a/src/common/markdown-here.js
+++ b/src/common/markdown-here.js
@@ -201,12 +179,14 @@ function makeStylesExplicit(wrapperElem, css) {
- applyStyleToElement(rule.style, selectorMatches[j]);
+ styleAttr = selectorMatches[j].getAttribute('style') || '';
+ styleAttr += rule.style.cssText;
+ selectorMatches[j].setAttribute('style', styleAttr);
```
================================================
FILE: src/_locales/ru/messages.json
================================================
{
"app_name": {
"message": "Markdown Here",
"description": "the name of the extension",
"inMozDTD": true
},
"app_slogan": {
"message": "Напишите ваш емейл в Markdown и сделайте его стильным.",
"description": "shown as subtitle for Markdown Here in the browser extensions list"
},
"context_menu_item": {
"message": "Переключить Markdown",
"description": "Text shown on the context menu.",
"inMozDTD": true
},
"currently_in_use": {
"message": "Используемый в настоящее время ",
"description": "Indicates the syntax highlighting theme that the user is currently using"
},
"cursor_into_compose": {
"message": "Пожалуйста, установите курсор в окно создания сообщения."
},
"forgot_to_render_back_button": {
"message": "Назад",
"description": "Text on the Back (cancel) button of the prompt that's shown when it's detected that a user may have forgotten to render the Markdown in their email",
"inMozDTD": true
},
"forgot_to_render_prompt_close_hover": {
"message": "Закрыть это уведомление",
"description": "Text that shows when the user hovers over the 'X' that will close the prompt"
},
"forgot_to_render_prompt_info": {
"message": "Похоже, что вы написали это письмо в Markdown, но забыли отрендерить его.",
"description": "Informational part of the prompt that's shown when it's detected that a user may have forgotten to render the Markdown in their email"
},
"forgot_to_render_prompt_question": {
"message": "Отправить его в любом случае?",
"description": "Question part of the prompt that's shown when it's detected that a user may have forgotten to render the Markdown in their email"
},
"forgot_to_render_prompt_title": {
"message": "Забыли переключить Markdown?",
"description": "Title of the prompt that's shown when it's detected that a user may have forgotten to render the Markdown in their email"
},
"forgot_to_render_send_button": {
"message": "Отправить",
"description": "Text on the Send (continue) button of the prompt that's shown when it's detected that a user may have forgotten to render the Markdown in their email",
"inMozDTD": true
},
"invalid_field": {
"message": "Рендеринг Markdown не применим к выбранному полю. Пожалуйста используйте WYSIWYG редактор.",
"description": "Shown in an alert dialog if the user tries to render a field that cannot be rendered"
},
"moz_options_dlg_instruction": {
"message": "Click the 'OK' button to open the Markdown Here Options tab",
"description": "In Thunderbird, in order to open the options tab we first have to open a temporary dialog box. This is the text in that box telling the user what to do. Please use the same translation for 'OK' that the application uses.",
"inMozDTD": true
},
"moz_options_dlg_title": {
"message": "Markdown Here Options",
"description": "In Thunderbird, in order to open the options tab we first have to open a temporary dialog box. This is the title for that box.",
"inMozDTD": true
},
"new_changelist_items": {
"message": "НОВОЕ",
"description": "Used to highlight the part of the changelist that is new. There will typically be multiple items in the list, so this should be considered plural."
},
"nothing_to_render": {
"message": "Ничего не найдено для рендеринга или возврата к оригиналу",
"description": "Error message shown to user if there's nothing found to revert or render."
},
"options_page__advanced_title": {
"message": "Дополнительные настройки",
"description": "A section title"
},
"options_page__advanced_usage": {
"message": "Для получения более подробной информации о проекте и о продвинутом использовании посетите страницу проекта Markdown Here . Tакже изучитe варианты ниже."
},
"options_page__basic_usage": {
"message": "Базовое использование"
},
"options_page__changes_saved": {
"message": "Изменения сохранены",
"description": "message that shows when user changes have been saved"
},
"options_page__click_toggle": {
"message": "Щелкните правой кнопкой мыши в сообщении и нажмите кнопку «Переключить Markdown». (Или нажмите кнопку на панели инструментов. Или нажмите Alt+Shift+M )",
"description": "A step in the basic usage instructions"
},
"options_page__contributing_1": {
"message": "Если вам когда-либо доводилось отправлять часть кода по электронной почте, вы можете помочь сделать Markdown Here лучше. CONTRIBUTING.md "
},
"options_page__contributing_2": {
"message": "Помощь в переводе Markdown Here на ваш язык. горячо приветствуется. "
},
"options_page__contributing_title": {
"message": "Помощь проекту",
"description": "A section title"
},
"options_page__donate_plea_1": {
"message": "Если вам нравится Markdown Here ,то, пожалуйста, помогите мне купить цветы для моей жены, чтобы она не была слишком расстроена тем, что я провожу столько времени работая над проектом.Спасибо! "
},
"options_page__donate_plea_2": {
"message": "Помочь сделать Markdown Here лучше! "
},
"options_page__donate_plea_3": {
"message": "Помочь поддержать развитие Markdown Here! "
},
"options_page__donate_plea_4": {
"message": "Вы знаете, что действительно помогает поддерживать работу Markdown Here в Chrome, Firefox, Thunderbird, Safari, Opera, Gmail, Yahoo, Hotmail, Blogger, Evernote и т.д.? Кофе! "
},
"options_page__footer_1": {
"message": "Markdown Here - проект с открытым исходным кодом. Задать вопрос, сообщить об ошибках, запросить функциональность или иным образом посодействовать можно на странице проекта на Github или в группе Google \"markdown here\" .",
"description": "part of the page footer text"
},
"options_page__footer_2": {
"message": "Создано Адамом Притчардом .",
"description": "part of the page footer text"
},
"options_page__forgot_to_render_1": {
"message": "В данный момент поддерживается только в Gmail веб-интерфейсе и Thunderbird (и Icedove)."
},
"options_page__forgot_to_render_2": {
"message": "When you send an email, this checks the content to see if it looks like you wrote it in Markdown, but forgot to render it (i.e., click \"Markdown Toggle\") before sending. This may need to be disabled if it interferes with your ability to send email."
},
"options_page__forgot_to_render_3": {
"message": "If you find yourself disabling this, please let me know why and how it could be better. Create a post on the \"markdown-here\" Google Group or an issue in the Github project . Thanks."
},
"options_page__forgot_to_render_label": {
"message": "Включить проверку рендеринга. ",
"description": "Label for the checkbox that enables the forgot-to-render feature"
},
"options_page__gfm_line_breaks_enabled_label": {
"message": "Перенос строк как в Github (GFM). ",
"description": "Label for the checkbox that enables the support of 'Github-flavored Markdown' line breaks."
},
"options_page__ghdiscussions": {
"message": "Ask a question or start a conversation in Markdown Here's GitHub Discussions ."
},
"options_page__header_anchors_enabled_1": {
"message": "Это очень удобно, если вы хотите поместить оглавление или другие внутренние ссылки в текст документа. узнать о том, как этим пользоваться в вики MDH. "
},
"options_page__header_anchors_enabled_2": {
"message": "Она отключена по умолчанию, потому что создает визуальный шум в Thunderbird . Большинство пользователей, скорее всего, не будут использовать эту функцию."
},
"options_page__header_anchors_enabled_label": {
"message": "Автоматически создавать ссылки для заголовков ",
"description": "Label for the checkbox that enables the automatic header anchors feature. This means that an 'anchor' is created at every heading (H1, H2, etc.) in the user's Markdown. The user can then create links that will jump to these anchors, like in the table of contents of a document."
},
"options_page__hotkey_alt_key": {
"message": "ALT",
"description": "label for the Alt key"
},
"options_page__hotkey_ctrl_key": {
"message": "CTRL",
"description": "label for the Ctrl key"
},
"options_page__hotkey_note_1": {
"message": "Chrome: Вы должны перезагрузить веб-страницу вашей электронной почты, чтобы новая \"горячая\" клавиша заработала."
},
"options_page__hotkey_note_2": {
"message": "Firefox и Thunderbird: необходимо перезапустить приложение, чтобы новая \"горячая\" клавиша заработала."
},
"options_page__hotkey_note_3": {
"message": "В быстрых клавишах разрешены только буквенные и цифровые клавиши(зависит от языка и клавиатуры)."
},
"options_page__hotkey_note_4": {
"message": "Клавиши Windows и OS X ⌘ не могут быть использованы для комбинации быстрых клавиш."
},
"options_page__hotkey_note_5": {
"message": "Чтобы отключить использование этой \"горячей\" клавиши, оставьте поле \"ключ\" пустым."
},
"options_page__hotkey_plus": {
"message": "+",
"description": "plus sign that connects the hotkey buttons"
},
"options_page__hotkey_shift_key": {
"message": "SHIFT",
"description": "label for the Shift key"
},
"options_page__hotkey_title": {
"message": "\"Горячая\"(она же \"быстрая\") комбинация клавиш",
"description": "A section title"
},
"options_page__hotkey_warning": {
"message": "Эта клавиша имеет буквенное или цифровое значение?",
"description": "warning shown if the user chooses an illegal hotkey value"
},
"options_page__markdown_toggle_button_text": {
"message": "Переключить Markdown",
"description": "button text for Markdown Toggle button"
},
"options_page__mdh_wiki": {
"message": "Посетите Markdown Here wiki чтобы узнать где MDH работает еще , а также почитайте полезные советы и хитрости ."
},
"options_page__next_steps": {
"message": "Если вас интересуют дальнейшие планы Markdown Here, посетите раздел Next Steps документа README."
},
"options_page__note_default_client_styles": {
"message": "Некоторые редакторы электронной почты и браузеры навязывают свои собственные стили, что может быть неочевидно."
},
"options_page__note_options_sync": {
"message": "Изменения сохраняются и синхронизируются автоматически (если в вашем браузере включена синхронизация)."
},
"options_page__note_syntax_styles_after_primary": {
"message": "Подсветка синтаксиса применяется после основного стиля и поэтому имеет приоритет."
},
"options_page__notes_title": {
"message": "Примечания",
"description": "section title"
},
"options_page__other_donation_options": {
"message": "Другие варианты пожертвований",
"description": "Link to a page that provides other ways to donate"
},
"options_page__page_title": {
"message": "Настройки Markdown Here"
},
"options_page__pretty_cool": {
"message": "Теперь сообщение должно выглядеть довольно стильно. Отправьте его своим друзьям!",
"description": "A step in the basic usage instructions"
},
"options_page__preview_markdown": {
"message": "```javascript \nfunction syntaxHighlighting() { \n var n = 33; \n var s = \"hello, こんにちは\"; \n console.log(s); \n} \n``` \n \n* plain \n* *emphasis* \n * **strong emphasis** \n * ~~strikethrough~~ \n* `inline code` \n \n1. Numbered list \n2. [Link](https://www.google.com) \n \n \nAn image: \n \n \n> Block quote. \n> *With* **some** `markdown`. \n \nIf **TeX Math** support is enabled, this is the quadratic equation: \n$$-b \\pm \\sqrt{b^2 - 4ac} \\over 2a$$ \n \n# Header 1 \n## Header 2 \n### Header 3 \n#### Header 4 \n##### Header 5 \n###### Header 6 \n \n| Tables | Are | Cool | \n| ------------- |:-------------:| -----:| \n| column 3 is | right-aligned | $$1600 | \n| column 2 is | centered | $$12 | \n| zebra stripes | are neat | $$1 | \n \nHere's a horizontal rule: \n \n--- \n \n``` \ncode block \nwith no highlighting \n``` \n \n",
"description": "The raw Markdown used for previewing user styling changes. Also shows users what can be done with Markdown. Please note that the double dollar signs ($$) are needed to make a single dollar sign in the application."
},
"options_page__preview_title": {
"message": "Предварительный просмотр",
"description": "section title for the Markdown preview section"
},
"options_page__primary_css_title": {
"message": "Основной стиль CSS",
"description": "section title"
},
"options_page__reload_restart": {
"message": "Перезагрузите страницу веб-почты или перезапустите ваш веб-браузер.",
"description": "A step in the basic usage instructions"
},
"options_page__reset_primary_css": {
"message": "Сброс по умолчанию",
"description": "text on button to reset Primary Styling CSS"
},
"options_page__resources_cheatsheet_link": {
"message": "Если вы новичок в Markdown, то эта Markdown Here шпаргалка сделает вас настоящим про."
},
"options_page__resources_title": {
"message": "Ресурсы и ссылки",
"description": "A section title"
},
"options_page__start_new_message": {
"message": "Начните новое сообщение.",
"description": "A step in the basic usage instructions"
},
"options_page__syntax_highlighting_css_title": {
"message": "Подсветка синтаксиса CSS",
"description": "section title"
},
"options_page__syntax_highlighting_theme_label": {
"message": "Тема:",
"description": "label for the syntax highlighting theme combox box"
},
"options_page__tex_math_codecogs_customization_2": {
"message": "For render customization options, see the CodeCogs documentation for this service."
},
"options_page__tex_math_codecogs_privacy_issue_1": {
"message": "To generate the image for the formula, a request is sent to CodeCogs. That effectively means that you are sharing your formula with CodeCogs. It also means that recipients of your message will be making a request to CodeCogs to have the image rendered.",
"description": "one of the TeX math privacy concerns"
},
"options_page__tex_math_customization_1": {
"message": "Если эта функция включена, текст между знаками доллара — $$ — будет интерпретироваться как математическая формула. Например, запись вида $$\\Delta$$ после рендеринга отобразит символ Дельта.",
"description": "Note: Double dollar signs ($$) are necessary to get a single dollar sign."
},
"options_page__tex_math_customization_3": {
"message": "Хороший ресурс для создания формул TeX — Редактор формул CodeCogs ."
},
"options_page__tex_math_customization_4": {
"message": "Формулы после рендеринга отображаются как изображения. Чтобы увидеть их, получателям электронной почты нужно будет включить показ изображений."
},
"options_page__tex_math_customization_5": {
"message": "При настройке тега рендеринга, следует использовать {mathcode} и\\или {urlmathcode} в качестве плейсхолдеров.",
"description": "Please do not translate {mathcode} and {urlmathcode}"
},
"options_page__tex_math_customization_5_1": {
"message": "{mathcode}: Текст между символами $$, то есть, например, исходный текст формулы в формате TeX. Пример: \\Delta.",
"description": "Please do not translate {mathcode} and {urlmathcode}. Note: Double dollar signs ($$) are necessary to get a single dollar sign."
},
"options_page__tex_math_customization_5_2": {
"message": "{urlmathcode}: TeX формула в URL-кодировке; например %5CDelta.",
"description": "Please do not translate {mathcode} and {urlmathcode}"
},
"options_page__tex_math_customization_6": {
"message": "If you customize the <img> tag, you should include an alt attribute that has as human-readable a value as possible, like {mathcode}. This value of this attribute will be used for the plaintext version of the email (when sent from Gmail and Thunderbird), and used by screen readers for sight-impaired recipients.",
"description": "Please do not translate {mathcode} and {urlmathcode}"
},
"options_page__tex_math_customization_heading": {
"message": "Настройки и использование: ",
"description": "heading for customization and use info"
},
"options_page__tex_math_privacy_heading": {
"message": "Проблемы конфиденциальности: ",
"description": "heading for warnings about TeX math privacy concerns"
},
"options_page__tex_math_privacy_issue_2": {
"message": "Если вы настраиваете тег рендеринга формул, следует использовать безопасный (https://) путь. Имейте в виду, что не все сервисы рендеринга обеспечивают безопасное подключение.",
"description": "one of the TeX math privacy concerns"
},
"options_page__tex_math_reset_button": {
"message": "Сброс по умолчанию",
"description": "text on button to reset TeX math option"
},
"options_page__tex_math_title": {
"message": "Поддержка математических формул TeX"
},
"options_page__type_some_markdown": {
"message": "Напечатайте что-нибудь в Markdown в вашем сообщении. Попробуйте это: _Привет_ `Markdown` **Here**!",
"description": "A step in the basic usage instructions"
},
"plain_text_compose": {
"message": "Вы используете обычный текстовый редактор. Вы должны переключиться в редактор WYSIWYG для использования Markdown Here.",
"description": "Shown in an alert dialog if the user has their email compose app set to plain text"
},
"toggle_button_text": {
"message": "Переключить MD",
"description": "Text shown underneath the render toggle button. Make it as short as possible.",
"inMozDTD": true
},
"toggle_button_tooltip": {
"message": "Нажмите для переключения Markdown рендеринга",
"description": "text shown when user hovers mouse over Markdown Toggle button",
"inMozDTD": true
},
"toggle_button_tooltip_disabled": {
"message": "Рендеринг Markdown не применим к выбранному полю",
"description": "text shown when user hover mouse over disabled Markdown Toggle button",
"inMozDTD": true
},
"unrendering_modified_markdown_warning": {
"message": "Kонвертированный Markdown, по-видимому, был доработан. Если вы переключите его сейчас, то ваши изменения после визуализации будут утеряны. \n\nВы уверены, что вы хотите переключить?",
"description": "Warning shown to the user if she tries to revert some rendered Markdown that they've modified since rendering. The user will lose their modifications if they proceed."
},
"upgrade_notification_changes_tooltip": {
"message": "Просмотреть изменения в текущей версии",
"description": "Tooltip text on the link that opens the changes list"
},
"upgrade_notification_dismiss_tooltip": {
"message": "Закрыть это уведомление",
"description": "Tooltip text on the link that dismisses the notification"
},
"upgrade_notification_text": {
"message": "Markdown Here обновился",
"description": "Text on the notification shown when Markdown Here has been updated"
}
}
================================================
FILE: src/_locales/ru/screenshot-captions.txt
================================================
Напишите ваш емейл в Markdown...
...и сделайте его стильным!
Хотите использовать Markdown для только в части вашего сообщения? Просто выделите ее и конвертируйте!
================================================
FILE: src/_locales/tr/description.txt
================================================
Markdown Here e-maillerinizi Markdown ile yazmanızı sağlar, göndermeden önce daha zarıf kılar.
E-mail yazarken bir çok format düğmesiyle uğraşmak istemeyenler için idealdir. Özellikle e-maillerde kod da yazmak isteyen programcılar için yararlıdır-sözdizimi vurgulamasını bile destekler. Ve aramızdaki matematikçiler için: Markdown Here, Tex formüllerini de kılar.
Kullanımı çok basittir:
1. Posta istemcinizin gelişmiş metin editöründe, Github-aromalı Markdown kullanarak email yazın.
2. Yazı alanında sağ tuşlayarak "Markdown Toggle" seçiniz.
3. E-mailiniz şimdi çok zarif olmuşdur! (Yani, HTML'e kılınmışdır.)
4. Göründüğü şekli beğendiyseniz, gönderebilirsiniz. Bir şey eklemek veya değiştirmek isterseniz, orijinal Markdownunuza geri dönmek için "Markdown Toggle"'a geri basınız.
5. Sonucu begenmez iseniz, tekrar edin.
Markdown Here öncelikle Gmail ve Thunderbird ile çalışması hedeflenmişdir, ama Yahoo ve Hotmail ile de oldukça iyi çalışır. Ayrıca, Google Groups ve Sites, Evernote'un web arayüzü, Blogger, Wordpress ve başkaları ile de çalışır!
Sözdizimi vurgu notu: Tirnak isareti (`) ile çevirilmiş kod blokları kullanın ve dil ismini belirtin. Örnek için proje sayfasına bakın.
Gizlilik: "Markdown Here" aktif edildiginde; web icerigine erişebilir ve degistirilebilir. Teorik olarak, diger web içeriğinize de erişebilir, ama bunu yapmaz. O ayrica herhangi bir internet servisi istedigi yapmaz, ne olursa olsun. Sizin veriniz istediginiz zaman ve istediginiz alanda modifiye edilir, ve internet gezgininizi terk etmez.
Chrome, Firefox, Safari, Opera, ve Thunderbird eklentisi olarak kullanilabilir.
Bu açık kaynak kodlu bir projedir. Tum kullanim talimatlari, daha fazla bilgi, hata raporları veya katkıda bulunmak için Markdown Here'in Github sayfasını ziyret edebilirsiniz.
https://markdown-here.com
https://github.com/adam-p/markdown-here
================================================
FILE: src/_locales/tr/markdown-here-image2.txt
================================================
16 Mayıs, Çarşamba 2012, 21:51 de, Buddy yazdı:
> Naber kanka!
Merhaba Buddy.
> Bana biraz kod göndersen olur mu?
**Bu** oldukça süper:
```clojure
(defn hello [x] (str "Hello", x))
(hello "Clojure")
```
> Şimdiden sağol!
Sorun değil.
================================================
FILE: src/_locales/tr/md-for-screenshot.md.txt
================================================
## Süper Markdown Ekran Görüntüsü
*Markdown Here* e-maillerinizi Markdown kullanarak yazıp, göndermeden Markdown haline getiren bir Google Chrome, Firefox, ve Thunderbird ekidir.
* Markdown çok **cool'dur**. Buraya `hizadaki kod koyun`.
* Link koyun, bu [proje gibi](https://github.com/adam-p/markdown-here).
* Düzenli, diyorsun? **Ve** de bir alt liste?
1. İşte böyle.
2. Ve de böyle.
Alıntı yapmak istediğimde:
> Aynen istediğimi yapıyor. Email yazarken can sıkıntısı olmadan Markdown işte.
### Sözdizimi vurgulaması: çok cool
Biraz JavaScript:
```javascript
alert('Merhaba Markdown');
```
Biraz da farklı bir örneğe bakalım -- bir diff:
```diff
diff --git a/src/common/markdown-here.js b/src/common/markdown-here.js
index 24dcb97..20c36a1 100644
--- a/src/common/markdown-here.js
+++ b/src/common/markdown-here.js
@@ -201,12 +179,14 @@ function makeStylesExplicit(wrapperElem, css) {
- applyStyleToElement(rule.style, selectorMatches[j]);
+ styleAttr = selectorMatches[j].getAttribute('style') || '';
+ styleAttr += rule.style.cssText;
+ selectorMatches[j].setAttribute('style', styleAttr);
```
================================================
FILE: src/_locales/tr/messages.json
================================================
{
"app_name": {
"message": "Markdown Here",
"description": "the name of the extension",
"inMozDTD": true
},
"app_slogan": {
"message": "Markdown ile email yaz, sonra da güzelleştir.",
"description": "shown as subtitle for Markdown Here in the browser extensions list"
},
"context_menu_item": {
"message": "Markdown Toggle",
"description": "Text shown on the context menu.",
"inMozDTD": true
},
"currently_in_use": {
"message": "Şuanda kullanımda",
"description": "Indicates the syntax highlighting theme that the user is currently using"
},
"cursor_into_compose": {
"message": "Lütfen kürsörünüzü metin alanına getirin."
},
"forgot_to_render_back_button": {
"message": "Geri",
"description": "Text on the Back (cancel) button of the prompt that's shown when it's detected that a user may have forgotten to render the Markdown in their email",
"inMozDTD": true
},
"forgot_to_render_prompt_close_hover": {
"message": "Bildirimi sakla",
"description": "Text that shows when the user hovers over the 'X' that will close the prompt"
},
"forgot_to_render_prompt_info": {
"message": "Bu emaili Markdown ile yazmışsın ama derlemeyi unutmuşsun.",
"description": "Informational part of the prompt that's shown when it's detected that a user may have forgotten to render the Markdown in their email"
},
"forgot_to_render_prompt_question": {
"message": "Yine de gönder?",
"description": "Question part of the prompt that's shown when it's detected that a user may have forgotten to render the Markdown in their email"
},
"forgot_to_render_prompt_title": {
"message": "Markdown'u derlemeyi unuttun mu?",
"description": "Title of the prompt that's shown when it's detected that a user may have forgotten to render the Markdown in their email"
},
"forgot_to_render_send_button": {
"message": "Gönder",
"description": "Text on the Send (continue) button of the prompt that's shown when it's detected that a user may have forgotten to render the Markdown in their email",
"inMozDTD": true
},
"invalid_field": {
"message": "Seçilen alan Markdown dönüşümü için geçerli değildir. Lütfen bir zengin metin editörü kullanın.",
"description": "Shown in an alert dialog if the user tries to render a field that cannot be rendered"
},
"moz_options_dlg_instruction": {
"message": "Click the 'OK' button to open the Markdown Here Options tab",
"description": "In Thunderbird, in order to open the options tab we first have to open a temporary dialog box. This is the text in that box telling the user what to do. Please use the same translation for 'OK' that the application uses.",
"inMozDTD": true
},
"moz_options_dlg_title": {
"message": "Markdown Here Options",
"description": "In Thunderbird, in order to open the options tab we first have to open a temporary dialog box. This is the title for that box.",
"inMozDTD": true
},
"new_changelist_items": {
"message": "YENİ",
"description": "Used to highlight the part of the changelist that is new. There will typically be multiple items in the list, so this should be considered plural."
},
"nothing_to_render": {
"message": "Derleyecek veya geri alınacak birşey bulunamadı",
"description": "Error message shown to user if there's nothing found to revert or render."
},
"options_page__advanced_title": {
"message": "İleri düzey ve Karışık",
"description": "A section title"
},
"options_page__advanced_usage": {
"message": "Daha fazla bilgi ve ileri seviye kullanım için, Etiketleme proje sayfasına göz at. Burda seçenekleri keşfedebilirsin."
},
"options_page__basic_usage": {
"message": "Temel Kullanım"
},
"options_page__changes_saved": {
"message": "Değişiklikler kaydedildi",
"description": "message that shows when user changes have been saved"
},
"options_page__contributing_1": {
"message": "Eğer e-posta içerisinde kod bloğu kullandıysanız, o zaman Markdown Here projesini daha iyiye taşımaya yardımcı olabilirsiniz. CONTRIBUTING.md "
},
"options_page__contributing_2": {
"message": "Markdown Here 'yi kendi dilinde kullanılabilir olması için yardımcı ol. Çevirilerinizi Bekleriz.. "
},
"options_page__contributing_title": {
"message": "Katılım",
"description": "A section title"
},
"options_page__donate_plea_1": {
"message": "Eğer Markdown Here uygulamasının çok güzel olduğuna inanıyorsan lütfen karıma çiçek alabilmem için yardımcı ol ki bunun üzerine ne kadar zaman harcadığım için çok üzülmesin.\nTeşekkürler! "
},
"options_page__donate_plea_2": {
"message": "Markdown Here uygulamasını geliştirmek için yardım et! "
},
"options_page__donate_plea_3": {
"message": "Markdown Here uygulamasını gelişimi için destek ol! "
},
"options_page__donate_plea_4": {
"message": "Markdown Here uygulamasının Chrome, Firefox, Thunderbird, Safari, Opera, Gmail, Yahoo, Hotmail, Blogger, Evernote, vs. de çalışır kalmasının kolay yolu nedir biliyor musun?\nKahve! "
},
"options_page__footer_1": {
"message": "Markdown Here açık kaynaktır.Soru sormak, hata raporu yollamak, yeni özellik istekleri ya da katkıda bulunmak için, Github proje sayfamızı yada \"markdown-here\" Google Grubumuzu ziyaret edin. ",
"description": "part of the page footer text"
},
"options_page__footer_2": {
"message": "Adam Pritchard tarafından oluşturuldu.",
"description": "part of the page footer text"
},
"options_page__forgot_to_render_1": {
"message": "Şimdilik sadece Gmail web arayüzü ve Thunderbird destekleniyor.(ve Icedove)."
},
"options_page__forgot_to_render_2": {
"message": "When you send an email, this checks the content to see if it looks like you wrote it in Markdown, but forgot to render it (i.e., click \"Markdown Toggle\") before sending. This may need to be disabled if it interferes with your ability to send email."
},
"options_page__forgot_to_render_3": {
"message": "If you find yourself disabling this, please let me know why and how it could be better. Create a post on the \"markdown-here\" Google Group or an issue in the Github project . Thanks."
},
"options_page__forgot_to_render_label": {
"message": " \"derlemeyi-unuttum\" kontrolünü etkinleştir. ",
"description": "Label for the checkbox that enables the forgot-to-render feature"
},
"options_page__gfm_line_breaks_enabled_label": {
"message": "Enable GFM line breaks. ",
"description": "Label for the checkbox that enables the support of 'Github-flavored Markdown' line breaks."
},
"options_page__ghdiscussions": {
"message": "Ask a question or start a conversation in Markdown Here's GitHub Discussions ."
},
"options_page__header_anchors_enabled_1": {
"message": "Eğer içeriğinize bir içindekiler tablosu yahut başka dahili linkler eklemek isterseniz ki bu harika bi şey. Nasıl kullanacağınızı MDH wiki de öğrenin. "
},
"options_page__header_anchors_enabled_2": {
"message": "Varsayılanlarda kapalı olarak geliyor çünkü Thunderbird'de görüntü kirliliği oluşturuyor .(Ve muhtemelen bir çok insan bu özelliği kullanmayacak.)"
},
"options_page__header_anchors_enabled_label": {
"message": "Otomatik başlık sabitleyicileri etkinleştir. ",
"description": "Label for the checkbox that enables the automatic header anchors feature. This means that an 'anchor' is created at every heading (H1, H2, etc.) in the user's Markdown. The user can then create links that will jump to these anchors, like in the table of contents of a document."
},
"options_page__hotkey_alt_key": {
"message": "ALT",
"description": "label for the Alt key"
},
"options_page__hotkey_ctrl_key": {
"message": "CTRL",
"description": "label for the Ctrl key"
},
"options_page__hotkey_note_1": {
"message": "Chrome: Yeni kısayol ayarının çalışması için e-posta sayfasını yenilemelisin."
},
"options_page__hotkey_note_2": {
"message": "Firefox ve Thunderbird: Yeni kısayol ayarının çalışması için programı yeniden başlatmalısın."
},
"options_page__hotkey_note_3": {
"message": "Kısayol için alfanümerik bi anahtar kullanmalısın. (dile ve klavyeye göre değişir)."
},
"options_page__hotkey_note_4": {
"message": "Windows tuşu ve OS X ⌘ tuşu kısayol olarak kullanılamaz."
},
"options_page__hotkey_note_5": {
"message": "Bu kısayolu geçersiz kılmak için , \"anahtar\" metin kutusunu boş bırak."
},
"options_page__hotkey_plus": {
"message": "+",
"description": "plus sign that connects the hotkey buttons"
},
"options_page__hotkey_shift_key": {
"message": "SHIFT",
"description": "label for the Shift key"
},
"options_page__hotkey_title": {
"message": "Kısayol (namı değer kısayol)",
"description": "A section title"
},
"options_page__hotkey_warning": {
"message": "Şifre alfanümerik bir değer mi ?",
"description": "warning shown if the user chooses an illegal hotkey value"
},
"options_page__markdown_toggle_button_text": {
"message": "Markdown Aç/Kapa",
"description": "button text for Markdown Toggle button"
},
"options_page__mdh_wiki": {
"message": "Bilgi için Markdown Here wiki , MDH 'ın başka nerde çalıştığını öğrenmek için ve daha fazla ipuçları için ziyaret edin."
},
"options_page__next_steps": {
"message": "Eğer Markdown Here uygulamasının bir sonraki aşamasıyla ilgileniyorsan Gelecek adım bölümünü oku."
},
"options_page__note_default_client_styles": {
"message": "Bazı e-posta düzenleyicileri ve tarayıcılar kendi stillerini dayatıyorlar.Belki onlar burada gözükmeyebilir."
},
"options_page__note_options_sync": {
"message": "Değişiklikler otomatik olarak kaydedildi ve senkronize edildi (eğer senkronizeyi aktif etmişseniz tarayıcınızda)."
},
"options_page__note_syntax_styles_after_primary": {
"message": "Sintaks beliginleştirme stilleri temel tasarımdan sonra uygulanır, buyüzden önceliği ona ver."
},
"options_page__notes_title": {
"message": "Notlar",
"description": "section title"
},
"options_page__other_donation_options": {
"message": "Diğer bağış seçenekleri",
"description": "Link to a page that provides other ways to donate"
},
"options_page__page_title": {
"message": "Markdown Here Seçenekleri"
},
"options_page__pretty_cool": {
"message": "Mesaj şimdi daha güzel gözüküyor olmalı.Onu arkadaşlarına gönder!",
"description": "A step in the basic usage instructions"
},
"options_page__preview_markdown": {
"message": "```javascript \nfunction syntaxHighlighting() { \n var n = 33; \n var s = \"hello, こんにちは\"; \n console.log(s); \n} \n``` \n \n* plain \n* *emphasis* \n * **strong emphasis** \n * ~~strikethrough~~ \n* `inline code` \n \n1. Numbered list \n2. [Link](https://www.google.com) \n \n \nAn image: \n \n \n> Block quote. \n> *With* **some** `markdown`. \n \nIf **TeX Math** support is enabled, this is the quadratic equation: \n$$-b \\pm \\sqrt{b^2 - 4ac} \\over 2a$$ \n \n# Header 1 \n## Header 2 \n### Header 3 \n#### Header 4 \n##### Header 5 \n###### Header 6 \n \n| Tables | Are | Cool | \n| ------------- |:-------------:| -----:| \n| column 3 is | right-aligned | $$1600 | \n| column 2 is | centered | $$12 | \n| zebra stripes | are neat | $$1 | \n \nHere's a horizontal rule: \n \n--- \n \n``` \ncode block \nwith no highlighting \n``` \n \n",
"description": "The raw Markdown used for previewing user styling changes. Also shows users what can be done with Markdown. Please note that the double dollar signs ($$) are needed to make a single dollar sign in the application."
},
"options_page__preview_title": {
"message": "Önizleme",
"description": "section title for the Markdown preview section"
},
"options_page__primary_css_title": {
"message": "Birincil Tasarım CSS",
"description": "section title"
},
"options_page__reload_restart": {
"message": "E-posta sayfanı geri yükle ya da tarayacını tekrar başlat.",
"description": "A step in the basic usage instructions"
},
"options_page__reset_primary_css": {
"message": "Varsayılan Ayarlara Geri Dön",
"description": "text on button to reset Primary Styling CSS"
},
"options_page__resources_cheatsheet_link": {
"message": "Eğer etiketleme de yeniysen Etiketleme Kodları seni bir yıldız yapacak."
},
"options_page__resources_title": {
"message": "Kaynaklar ve Linkler",
"description": "A section title"
},
"options_page__start_new_message": {
"message": "Yeni bir email yaz.",
"description": "A step in the basic usage instructions"
},
"options_page__syntax_highlighting_css_title": {
"message": "Sintaks Belirginleştirme CSS",
"description": "section title"
},
"options_page__syntax_highlighting_theme_label": {
"message": "Tema:",
"description": "label for the syntax highlighting theme combox box"
},
"options_page__tex_math_codecogs_customization_2": {
"message": "For render customization options, see the CodeCogs documentation for this service."
},
"options_page__tex_math_codecogs_privacy_issue_1": {
"message": "To generate the image for the formula, a request is sent to CodeCogs. That effectively means that you are sharing your formula with CodeCogs. It also means that recipients of your message will be making a request to CodeCogs to have the image rendered.",
"description": "one of the TeX math privacy concerns"
},
"options_page__tex_math_customization_1": {
"message": "Eğer bu özellik etkinleştirilirse, dolar işaretleri — $$ — arasındaki metin matematik formülü olarak yorumlanacak.Örneğin, $$\\Delta$$ delta sembolü olarak derlenecek.",
"description": "Note: Double dollar signs ($$) are necessary to get a single dollar sign."
},
"options_page__tex_math_customization_3": {
"message": "CodeCogs Equation Editor TeX formülleri oluşturmak için iyi bir kaynak."
},
"options_page__tex_math_customization_4": {
"message": "Formüller resim olarak derlenecek, email alıcısı derlenmiş formülleri görmek için resimleri kabul etmek zorunda olacak."
},
"options_page__tex_math_customization_5": {
"message": "Eğer derleme etiketini özelleştirirseniz, {mathcode} ve {urlmathcode} yahut her ikisinide yer tutucu olarak kullanabilirsiniz.",
"description": "Please do not translate {mathcode} and {urlmathcode}"
},
"options_page__tex_math_customization_5_1": {
"message": "{mathcode}: $$ sembolleri arasındaki metin — örneğin \\Delta gibi bir TeX formülü.",
"description": "Please do not translate {mathcode} and {urlmathcode}. Note: Double dollar signs ($$) are necessary to get a single dollar sign."
},
"options_page__tex_math_customization_5_2": {
"message": "{urlmathcode}: TeX formülünün URL olarak kodlanmış hali; %5CDelta gibi.",
"description": "Please do not translate {mathcode} and {urlmathcode}"
},
"options_page__tex_math_customization_6": {
"message": "If you customize the <img> tag, you should include an alt attribute that has as human-readable a value as possible, like {mathcode}. This value of this attribute will be used for the plaintext version of the email (when sent from Gmail and Thunderbird), and used by screen readers for sight-impaired recipients.",
"description": "Please do not translate {mathcode} and {urlmathcode}"
},
"options_page__tex_math_customization_heading": {
"message": "Kişiselleştirme ve Kullanım: ",
"description": "heading for customization and use info"
},
"options_page__tex_math_privacy_heading": {
"message": "Gizli Konular: ",
"description": "heading for warnings about TeX math privacy concerns"
},
"options_page__tex_math_privacy_issue_2": {
"message": "Formül derleme etiketini özelleştirirseniz, güvenli (https://) bağlantıyı kullanmanız gerekir. Her derleme hizmeti güvenli bağlantı sunmayabilir.",
"description": "one of the TeX math privacy concerns"
},
"options_page__tex_math_reset_button": {
"message": "Varsayılana Geri Dön",
"description": "text on button to reset TeX math option"
},
"options_page__tex_math_title": {
"message": "TeX Matematiksel Formüller Desteği"
},
"options_page__type_some_markdown": {
"message": "Emaile biraz Markdown ekle. Bunu dene:_Merhaba_`Markdown` **Here**!",
"description": "A step in the basic usage instructions"
},
"plain_text_compose": {
"message": "Düz metin editörü kullanıyorsunuz. Markdown Here kullanmak için zengin metin editörüne geçin.",
"description": "Shown in an alert dialog if the user has their email compose app set to plain text"
},
"toggle_button_text": {
"message": "MD Toggle",
"description": "Text shown underneath the render toggle button. Make it as short as possible.",
"inMozDTD": true
},
"toggle_button_tooltip": {
"message": "Markdown haline dönüştürmek için bas",
"description": "text shown when user hovers mouse over Markdown Toggle button",
"inMozDTD": true
},
"toggle_button_tooltip_disabled": {
"message": "Seçilen alan Markdown dönüşümü için geçerli değildir",
"description": "text shown when user hover mouse over disabled Markdown Toggle button",
"inMozDTD": true
},
"unrendering_modified_markdown_warning": {
"message": "Derlenilen Markdown değişmiş gibi gözüküyor.\nDerlemeyi geri alırsan, yaptığın değişiklikler kaybolacaktır.\n\nDerlemeyi geri almak istediğinden emin misin?",
"description": "Warning shown to the user if she tries to revert some rendered Markdown that they've modified since rendering. The user will lose their modifications if they proceed."
},
"upgrade_notification_changes_tooltip": {
"message": "Bu sürümdeki değişiklikleri görmek için tıklayın",
"description": "Tooltip text on the link that opens the changes list"
},
"upgrade_notification_dismiss_tooltip": {
"message": "Bildirimi sakla",
"description": "Tooltip text on the link that dismisses the notification"
},
"upgrade_notification_text": {
"message": "Markdown Here güncellendi",
"description": "Text on the notification shown when Markdown Here has been updated"
}
}
================================================
FILE: src/_locales/tr/screenshot-captions.txt
================================================
Markdown ile email yazın...
...sonra da güzelleştirin!
Markdown'u emailinizin sadece bir kısmı için kullanmak mı istiyorsunuz? Yeter ki seçin ve dönüştürün!
================================================
FILE: src/_locales/zh_CN/description.txt
================================================
Markdown Here允许你在发送电子邮件之前用Markdown语法编辑并转换它(让它看起来漂亮极了!)。
这对于那些不喜欢在撰写电邮时反复摆弄排版按钮的人无疑是好消息。 它特别适合那些要在电子邮件中插入代码的程序员们 —— 没错,它甚至支持语法高亮显示。 对于我们之中的数学家们而言,Markdown Here也支持转换TeX公式。
使用起来十分简易:
1. 在你的电子邮箱客户端的富文本编辑器中使用Github风格的Markdown。
2. 在编辑区右击然后选择 "Markdown Toggle"。
3. 你的电子邮件现在看起来非常漂亮! (它已经被检测并转换为HTML格式)
4. 如果你很满意这样的外观就直接发送吧。 如果你想更改或者添加些什么,再次点击 "Markdown Toggle" 可以返回到你原始的Markdown文本。
5. 如有必要,重复以上步骤
Markdown Here 主要目标是为 Gmail 和 Thunderbird 服务, 但它也可以在 Yahoo 和 Hotmail 正常使用。 另外, 它在 Google Group 和一些网站中也可以出色使用,比如Evernote/印象笔记的网页版,Blogger,Wordpress等!
语法高亮提示:使用fenced code blocks并指定代码语言。 可以参考项目页作为例子。
隐私:当你激活Markdown Here时,它会获取和修改网页内容。 理论上它可以获取其他网页内容,但它不会这么做。 它也无论如何不会发起因特网请求。 只有你主动选择的指定范围的数据才会被修改,你的数据不会离开你的浏览器。
可作为Chrome,Firefox,Safari,Opera和Thunderbird的扩展程序/附加组件。
这是一个开源项目。 详细指导,更多信息,bug报告以及贡献,可以访问Markdown Here的Github页面。
https://markdown-here.com
https://github.com/adam-p/markdown-here
================================================
FILE: src/_locales/zh_CN/markdown-here-image2.txt
================================================
2012年5月16日周三,下午9点51,小伙伴写道:
> 嗨,pal!
嗨,朋友。
> 可以发给我一些有趣的代码吗?
**这个**相当不错:
```clojure
(defn hello [x] (str "你好", x))
(hello "Clojure")
```
> 多谢!
没事儿。
================================================
FILE: src/_locales/zh_CN/md-for-screenshot.md.txt
================================================
## Markdown片段预览
*Markdown Here* 是一款谷歌Chrome,Firefox以及Thunderbird的插件,能够让你用Markdown格式写电子邮件并且在发送前检测它。
* Markdown 是**非常酷**的。 把`代码放在行内`。
* 给文本添加链接, 比如[这个项目](https://github.com/adam-p/markdown-here)。
* 有序列表,看见了吗? **同时**一个子列表?
1. 完成。
2. 再次完成。
实际引用的一个回顾:
> 做我需要做的。 Markdown支持在不妨碍您的情况下在电子邮件内使用。
### 语法高亮: super rad
JavaScript代码:
```javascript
alert('你好,Markdown');
```
那么一个不寻常点的例子 -- 一个diff:
```diff
diff --git a/src/common/markdown-here.js b/src/common/markdown-here.js
index 24dcb97..20c36a1 100644
--- a/src/common/markdown-here.js
+++ b/src/common/markdown-here.js
@@ -201,12 +179,14 @@ function makeStylesExplicit(wrapperElem, css) {
- applyStyleToElement(rule.style, selectorMatches[j]);
+ styleAttr = selectorMatches[j].getAttribute('style') || '';
+ styleAttr += rule.style.cssText;
+ selectorMatches[j].setAttribute('style', styleAttr);
```
================================================
FILE: src/_locales/zh_CN/messages.json
================================================
{
"app_name": {
"message": "Markdown Here",
"description": "the name of the extension",
"inMozDTD": true
},
"app_slogan": {
"message": "用Markdown写一封漂亮的电子邮件。",
"description": "shown as subtitle for Markdown Here in the browser extensions list"
},
"context_menu_item": {
"message": "Markdown转换",
"description": "Text shown on the context menu.",
"inMozDTD": true
},
"currently_in_use": {
"message": "目前使用",
"description": "Indicates the syntax highlighting theme that the user is currently using"
},
"cursor_into_compose": {
"message": "请把光标定位在编辑区。"
},
"forgot_to_render_back_button": {
"message": "返回",
"description": "Text on the Back (cancel) button of the prompt that's shown when it's detected that a user may have forgotten to render the Markdown in their email",
"inMozDTD": true
},
"forgot_to_render_prompt_close_hover": {
"message": "忽略这条通知",
"description": "Text that shows when the user hovers over the 'X' that will close the prompt"
},
"forgot_to_render_prompt_info": {
"message": "你好像用Markdown写了这封电邮,但却忘了让它变得更漂亮。",
"description": "Informational part of the prompt that's shown when it's detected that a user may have forgotten to render the Markdown in their email"
},
"forgot_to_render_prompt_question": {
"message": "坚持发送?",
"description": "Question part of the prompt that's shown when it's detected that a user may have forgotten to render the Markdown in their email"
},
"forgot_to_render_prompt_title": {
"message": "忘了转换Markdown?",
"description": "Title of the prompt that's shown when it's detected that a user may have forgotten to render the Markdown in their email"
},
"forgot_to_render_send_button": {
"message": "发送",
"description": "Text on the Send (continue) button of the prompt that's shown when it's detected that a user may have forgotten to render the Markdown in their email",
"inMozDTD": true
},
"invalid_field": {
"message": "选定的区域不支持Markdown转换,请使用富文本编辑器。",
"description": "Shown in an alert dialog if the user tries to render a field that cannot be rendered"
},
"moz_options_dlg_instruction": {
"message": "Click the 'OK' button to open the Markdown Here Options tab",
"description": "In Thunderbird, in order to open the options tab we first have to open a temporary dialog box. This is the text in that box telling the user what to do. Please use the same translation for 'OK' that the application uses.",
"inMozDTD": true
},
"moz_options_dlg_title": {
"message": "Markdown Here Options",
"description": "In Thunderbird, in order to open the options tab we first have to open a temporary dialog box. This is the title for that box.",
"inMozDTD": true
},
"new_changelist_items": {
"message": "NEW",
"description": "Used to highlight the part of the changelist that is new. There will typically be multiple items in the list, so this should be considered plural."
},
"nothing_to_render": {
"message": "没有可转换或可恢复的内容",
"description": "Error message shown to user if there's nothing found to revert or render."
},
"options_page__advanced_title": {
"message": "高级选项及其它",
"description": "A section title"
},
"options_page__advanced_usage": {
"message": "如果要查看更多信息和用法,参见 Markdown Here项目主页 . 你会在下方看到选项."
},
"options_page__basic_usage": {
"message": "基本用法"
},
"options_page__changes_saved": {
"message": "已保存",
"description": "message that shows when user changes have been saved"
},
"options_page__click_toggle": {
"message": "在你的电子邮件上右击然后选择\"Markdown转换\". (或者单击扩展工具栏上的 按钮。 也可以试试快捷键 Alt+Shift+M )",
"description": "A step in the basic usage instructions"
},
"options_page__contributing_1": {
"message": "如果你曾经把一个代码块写进电子邮件,你就可以帮助Markdown Here做的更好. CONTRIBUTING.md "
},
"options_page__contributing_2": {
"message": "帮助翻译Markdown Here. 欢迎翻译. "
},
"options_page__contributing_title": {
"message": "贡献",
"description": "A section title"
},
"options_page__donate_plea_1": {
"message": "一旦你发现Markdown Here相当不错,请帮助我给我妻子买一些鲜花,这样她也不会为我在此花的大量工作而感到沮丧。 谢谢! "
},
"options_page__donate_plea_2": {
"message": "帮助Markdown Here变的更好! "
},
"options_page__donate_plea_3": {
"message": "帮助支持Markdown Here的发展! "
},
"options_page__donate_plea_4": {
"message": "你知道怎么让Markdown Here能够在Chrome,Firefox,Thunderbird,Safari,Opera,Gmail,Yahoo,Hotmail,Blogger,Evernote等平台中工作吗?\nCoffee! "
},
"options_page__footer_1": {
"message": "Markdown Here 是开源的. 要提问, 报告错误, 请求新特性, 或参与开发, 访问 Github项目主页 或 \"markdown-here\" Google Group .",
"description": "part of the page footer text"
},
"options_page__footer_2": {
"message": "由Adam Pritchard 创建。",
"description": "part of the page footer text"
},
"options_page__forgot_to_render_1": {
"message": "目前只支持Gmail网页版和Thunderbird (还有Postbox 和 Icedove)."
},
"options_page__forgot_to_render_2": {
"message": "当你发送电邮时, 这个选项会检查邮件内容是不是未转换的Markdown. 这可能会干扰你正常发送邮件."
},
"options_page__forgot_to_render_3": {
"message": "如果你禁用了此项, 请 告知我为什么和如何做更好. Create a post on the \"markdown-here\" Google Group or an issue in the Github project . 谢谢."
},
"options_page__forgot_to_render_label": {
"message": "启用 \"忘记转换\" 检查. ",
"description": "Label for the checkbox that enables the forgot-to-render feature"
},
"options_page__gfm_line_breaks_enabled_label": {
"message": "启用GFM换行。 ",
"description": "Label for the checkbox that enables the support of 'Github-flavored Markdown' line breaks."
},
"options_page__ghdiscussions": {
"message": "Ask a question or start a conversation in Markdown Here's GitHub Discussions ."
},
"options_page__header_anchors_enabled_1": {
"message": "如果你想把一个表的内容或其他内部链接加入到你的内容中,这会很有用. 在MDH wiki中查看如何使用. "
},
"options_page__header_anchors_enabled_2": {
"message": "默认禁用,因为它会 在Thunderbird产生视觉干扰 . (况且大多数人用不到.)"
},
"options_page__header_anchors_enabled_label": {
"message": "自动设置标题锚点. ",
"description": "Label for the checkbox that enables the automatic header anchors feature. This means that an 'anchor' is created at every heading (H1, H2, etc.) in the user's Markdown. The user can then create links that will jump to these anchors, like in the table of contents of a document."
},
"options_page__hotkey_alt_key": {
"message": "ALT",
"description": "label for the Alt key"
},
"options_page__hotkey_ctrl_key": {
"message": "CTRL",
"description": "label for the Ctrl key"
},
"options_page__hotkey_note_1": {
"message": "Chrome: 你必须重新载入您的电子邮件页面,以使新的热键设置生效."
},
"options_page__hotkey_note_2": {
"message": "Firefox and Thunderbird: 你必须重启应用以使新的热键设置生效."
},
"options_page__hotkey_note_3": {
"message": "你必须使用字母或数字作为快捷键(因语言和键盘而异)."
},
"options_page__hotkey_note_4": {
"message": "Windows键和OS X ⌘ 键不能被用作快捷键."
},
"options_page__hotkey_note_5": {
"message": "要禁用快捷键, 留空 \"key\" ."
},
"options_page__hotkey_plus": {
"message": "+",
"description": "plus sign that connects the hotkey buttons"
},
"options_page__hotkey_shift_key": {
"message": "SHIFT",
"description": "label for the Shift key"
},
"options_page__hotkey_title": {
"message": "快捷键",
"description": "A section title"
},
"options_page__hotkey_warning": {
"message": "这是一个字母或数字吗?",
"description": "warning shown if the user chooses an illegal hotkey value"
},
"options_page__markdown_toggle_button_text": {
"message": "Markdown转换",
"description": "button text for Markdown Toggle button"
},
"options_page__mdh_wiki": {
"message": "访问 Markdown Here wiki 以查看 MDH适用的服务 以及更多 使用提示和窍门 ."
},
"options_page__next_steps": {
"message": "如果你对Markdown Here的未来发展感兴趣, 查看 README的Next Steps部分 。"
},
"options_page__note_default_client_styles": {
"message": "一些电子邮件编辑器和浏览器会加入自己的风格。这里可能显示不出来."
},
"options_page__note_options_sync": {
"message": "改动会自动保存并同步 (如果你的浏览器启用了同步)."
},
"options_page__note_syntax_styles_after_primary": {
"message": "语法高亮样式会在基本渲染完成后生效, 所以有较高优先级。"
},
"options_page__notes_title": {
"message": "注意",
"description": "section title"
},
"options_page__other_donation_options": {
"message": "其它捐赠选项",
"description": "Link to a page that provides other ways to donate"
},
"options_page__page_title": {
"message": "Markdown Here选项"
},
"options_page__pretty_cool": {
"message": "你的消息现在看起来应该棒极了,发给你的朋友们吧!",
"description": "A step in the basic usage instructions"
},
"options_page__preview_markdown": {
"message": "```javascript \nfunction syntaxHighlighting() { \n var n = 33; \n var s = \"hello, こんにちは\"; \n console.log(s); \n} \n``` \n \n* plain \n* *emphasis* \n * **strong emphasis** \n * ~~strikethrough~~ \n* `inline code` \n \n1. Numbered list \n 1. Numbered sub-list \n 1. Numbered sub-sub-list \n2. [Link](https://www.google.com) \n \n \nAn image: \n \n \n> Block quote. \n> *With* **some** `markdown`. \n \nIf **TeX Math** support is enabled, this is the quadratic equation: \n$$-b \\pm \\sqrt{b^2 - 4ac} \\over 2a$$ \n \n# Header 1 \n## Header 2 \n### Header 3 \n#### Header 4 \n##### Header 5 \n###### Header 6 \n \n| Tables | Are | Cool | \n| ------------- |:-------------:| -----:| \n| column 3 is | right-aligned | $$1600 | \n| column 2 is | centered | $$12 | \n| zebra stripes | are neat | $$1 | \n \nHere's a horizontal rule: \n \n--- \n \n``` \ncode block \nwith no highlighting \n``` \n \n",
"description": "This doesn't need to be translated, unless you want to make it more relevant to your language. The raw Markdown used for previewing user styling changes. Also shows users what can be done with Markdown. Please note that the double dollar signs ($$) are needed to make a single dollar sign in the application."
},
"options_page__preview_title": {
"message": "预览",
"description": "section title for the Markdown preview section"
},
"options_page__primary_css_title": {
"message": "基本渲染CSS",
"description": "section title"
},
"options_page__reload_restart": {
"message": "重载你的电子邮件页面或者重启浏览器。",
"description": "A step in the basic usage instructions"
},
"options_page__reset_primary_css": {
"message": "恢复默认",
"description": "text on button to reset Primary Styling CSS"
},
"options_page__resources_cheatsheet_link": {
"message": "如果你刚开始接触Markdown, Markdown Here Cheatsheet 是本不错的入门手册."
},
"options_page__resources_title": {
"message": "资源和链接",
"description": "A section title"
},
"options_page__start_new_message": {
"message": "开始写一封新的电邮。",
"description": "A step in the basic usage instructions"
},
"options_page__syntax_highlighting_css_title": {
"message": "语法高亮CSS",
"description": "section title"
},
"options_page__syntax_highlighting_theme_label": {
"message": "主题:",
"description": "label for the syntax highlighting theme combox box"
},
"options_page__tex_math_codecogs_customization_2": {
"message": "For render customization options, see the CodeCogs documentation for this service."
},
"options_page__tex_math_codecogs_privacy_issue_1": {
"message": "To generate the image for the formula, a request is sent to CodeCogs. That effectively means that you are sharing your formula with CodeCogs. It also means that recipients of your message will be making a request to CodeCogs to have the image rendered.",
"description": "one of the TeX math privacy concerns"
},
"options_page__tex_math_customization_1": {
"message": "如果启用此功能,美元符号之间的文本 — $$ — 将被解释为数学公式。例如, $$\\Delta$$ 将显示为一个delta符号。",
"description": "Note: Double dollar signs ($$) are necessary to get a single dollar sign."
},
"options_page__tex_math_customization_3": {
"message": "用于创建TeX公式的一个很好的资源是 codecogs公式编辑器 ."
},
"options_page__tex_math_customization_4": {
"message": "公式会被转换为图片,所以电邮收件人必须启用图像显示才能看到公式。"
},
"options_page__tex_math_customization_5": {
"message": "如果你要定制转换标签, 你可以(也应该)使用 {mathcode} 和 {urlmathcode} 作为占位符.",
"description": "Please do not translate {mathcode} and {urlmathcode}"
},
"options_page__tex_math_customization_5_1": {
"message": "{mathcode}:位于 $$ 之间的符号 — 即,原生的TeX公式;比如 \\Delta。",
"description": "Please do not translate {mathcode} and {urlmathcode}. Note: Double dollar signs ($$) are necessary to get a single dollar sign."
},
"options_page__tex_math_customization_5_2": {
"message": "{urlmathcode}:TeX共识的URL编码格式;比如 %5CDelta。",
"description": "Please do not translate {mathcode} and {urlmathcode}"
},
"options_page__tex_math_customization_6": {
"message": "如果你要定制 <img> 标签, 你应该使 alt 属性包含尽可能可读的值, 如 {mathcode}. 此属性的值将被用于电子邮件的纯文本版(当从Gmail和Thunderbird发送时).",
"description": "Please do not translate {mathcode} and {urlmathcode}"
},
"options_page__tex_math_customization_heading": {
"message": "定制和使用: ",
"description": "heading for customization and use info"
},
"options_page__tex_math_privacy_heading": {
"message": "隐私问题: ",
"description": "heading for warnings about TeX math privacy concerns"
},
"options_page__tex_math_privacy_issue_2": {
"message": "如果你自定义了公式转换标签, 你应该使用安全 (https://) 路径.不是所有的转换服务都支持安全选项。",
"description": "one of the TeX math privacy concerns"
},
"options_page__tex_math_reset_button": {
"message": "恢复默认",
"description": "text on button to reset TeX math option"
},
"options_page__tex_math_title": {
"message": "TeX数学公式支持"
},
"options_page__type_some_markdown": {
"message": "在你的电邮里输入一些Markdown内容. 试试这个: _Hello_ `Markdown` **Here**!",
"description": "A step in the basic usage instructions"
},
"plain_text_compose": {
"message": "你正在使用纯文本编辑器,你必须使用富文本编辑器才能使用Markdown Here。",
"description": "Shown in an alert dialog if the user has their email compose app set to plain text"
},
"toggle_button_text": {
"message": "转换",
"description": "Text shown underneath the render toggle button. Make it as short as possible.",
"inMozDTD": true
},
"toggle_button_tooltip": {
"message": "单击转换Markdown",
"description": "text shown when user hovers mouse over Markdown Toggle button",
"inMozDTD": true
},
"toggle_button_tooltip_disabled": {
"message": "选定的区域不支持Markdown转换",
"description": "text shown when user hover mouse over disabled Markdown Toggle button",
"inMozDTD": true
},
"unrendering_modified_markdown_warning": {
"message": "已转换的Markdown内容好像有了新改动.\n如果你再次转换它,新改动的内容会丢失。\n\n你确定要转换吗?",
"description": "Warning shown to the user if she tries to revert some rendered Markdown that they've modified since rendering. The user will lose their modifications if they proceed."
},
"upgrade_notification_changes_tooltip": {
"message": "单击查看这个版本的更新日志",
"description": "Tooltip text on the link that opens the changes list"
},
"upgrade_notification_dismiss_tooltip": {
"message": "忽略这条通知",
"description": "Tooltip text on the link that dismisses the notification"
},
"upgrade_notification_text": {
"message": "Markdown Here已更新",
"description": "Text on the notification shown when Markdown Here has been updated"
}
}
================================================
FILE: src/_locales/zh_CN/screenshot-captions.txt
================================================
用Markdown写下您的电子邮件
......然后让它看起来更美观
只想在你的电子邮件中部分使用Markdown? 只需选中它然后转换即可!
================================================
FILE: src/_locales/zh_TW/description.txt
================================================
Markdown Here讓您可以使用Markdown來編寫電子郵件並在寄出前渲染它(把它變美觀!)。
這對那些不喜歡在撰寫電子郵件時浪費時間在排版按鈕的人是好事。 它特別適合那些要在電子郵件中插入代碼的程式設計師們 -- 沒錯,它甚至支援語法高亮顯示。 對於我們之中的數學家們而言,Markdown Here也支援算繪TeX公式。
使用起來十分簡易:
1. 在你的電子郵件程式中用Github口味Markdown寫電子郵件。
2. 對輸入框右鍵點擊,並點選"Markdown 切換"。
3. 你的電子郵件現在看起來很漂亮! (它已被算繪成HTML。)
4. 如果你喜歡它的樣子,就傳送。 如果你想要更改或是新增東西,再次點選Markdown切換來拿到原本的Markdown。
5. 需要時重複以上步驟。
Markdown Here主要針對Gmail與Thunderbird,但是也能在Yahoo與Hotmail運作正常。 除此之外,也可在Google Groups與Google Sites,Evernote的網頁界面,Blogger,Wordpress,與其他服務運作!
關於Syntax highlighting:使用程式碼區塊,並指定語言名稱。 瀏覽專案頁面來觀看範例。
隱私權:當你啟用時,Markdown Here會存取並更改網頁內容。 它理論上有能力存取其他網頁內容,但是不會做這件事情。 它也不會任何發送網際網路請求。 你的資料只會在你更改時更改,並且不會離開你的瀏覽器。
可以從Chrome、Firefox、Safari、Opera與Thunderbird的擴充套件取得。
這是開源專案。 瀏覽Markdown Here的Github網頁來獲得使用手冊、更多資訊、回報問題,或是貢獻。
https://markdown-here.com
https://github.com/adam-p/markdown-here
================================================
FILE: src/_locales/zh_TW/markdown-here-image2.txt
================================================
星期三 2012 年 5 月 16 日在 9:51 下午,老友 寫道:
> 嗨,朋友 !
嗨,老友。
> 能寄給我一些美妙的程式碼嗎?
**這份程式碼**很棒:
```clojure
(defn hello [x] (str "Hello", x))
(hello "Clojure")
```
> 先謝了!
不客氣。
================================================
FILE: src/_locales/zh_TW/md-for-screenshot.md.txt
================================================
## Markdown美妙截圖
*Markdown Here*是Google Chrome、Firefox與Thunderbird的擴充套件,允許你用Markdown撰寫電子郵件,並在發送前算繪。
* Markdown很**酷**。 寫點`inline code`。
* 建立鍊結,像是[這個專案](https://github.com/adam-p/markdown-here).
* 想要有序清單嗎? **還有**子清單嗎?
1. 完成。
2. 再次完成。
引用真實使用心得:
> 精準做出我需要的排版。 在電子郵件中使用Markdown而不礙手礙腳。
### 語法高亮顯示:超炫
一些JavaScript:
```javascript
alert('Hello Markdown');
```
來一些特殊範例 -- 一份diff:
```diff
diff --git a/src/common/markdown-here.js b/src/common/markdown-here.js
index 24dcb97..20c36a1 100644
--- a/src/common/markdown-here.js
+++ b/src/common/markdown-here.js
@@ -201,12 +179,14 @@ function makeStylesExplicit(wrapperElem, css) {
- applyStyleToElement(rule.style, selectorMatches[j]);
+ styleAttr = selectorMatches[j].getAttribute('style') || '';
+ styleAttr += rule.style.cssText;
+ selectorMatches[j].setAttribute('style', styleAttr);
```
================================================
FILE: src/_locales/zh_TW/messages.json
================================================
{
"app_name": {
"message": "Markdown Here",
"description": "the name of the extension",
"inMozDTD": true
},
"app_slogan": {
"message": "用Markdown寫一封漂亮的電子郵件。",
"description": "shown as subtitle for Markdown Here in the browser extensions list"
},
"context_menu_item": {
"message": "Markdown切換",
"description": "Text shown on the context menu.",
"inMozDTD": true
},
"currently_in_use": {
"message": "目前使用",
"description": "Indicates the syntax highlighting theme that the user is currently using"
},
"cursor_into_compose": {
"message": "請把游標定位在編輯區。"
},
"forgot_to_render_back_button": {
"message": "返回",
"description": "Text on the Back (cancel) button of the prompt that's shown when it's detected that a user may have forgotten to render the Markdown in their email",
"inMozDTD": true
},
"forgot_to_render_prompt_close_hover": {
"message": "忽略這項通知",
"description": "Text that shows when the user hovers over the 'X' that will close the prompt"
},
"forgot_to_render_prompt_info": {
"message": "你好像用Markdown寫了這封電郵,但卻忘了讓它變得更漂亮。",
"description": "Informational part of the prompt that's shown when it's detected that a user may have forgotten to render the Markdown in their email"
},
"forgot_to_render_prompt_question": {
"message": "仍要傳送?",
"description": "Question part of the prompt that's shown when it's detected that a user may have forgotten to render the Markdown in their email"
},
"forgot_to_render_prompt_title": {
"message": "忘了切換Markdown?",
"description": "Title of the prompt that's shown when it's detected that a user may have forgotten to render the Markdown in their email"
},
"forgot_to_render_send_button": {
"message": "傳送",
"description": "Text on the Send (continue) button of the prompt that's shown when it's detected that a user may have forgotten to render the Markdown in their email",
"inMozDTD": true
},
"invalid_field": {
"message": "選擇的區域不支援Markdown算繪模式,請使用富文字編輯器。",
"description": "Shown in an alert dialog if the user tries to render a field that cannot be rendered"
},
"moz_options_dlg_instruction": {
"message": "Click the 'OK' button to open the Markdown Here Options tab",
"description": "In Thunderbird, in order to open the options tab we first have to open a temporary dialog box. This is the text in that box telling the user what to do. Please use the same translation for 'OK' that the application uses.",
"inMozDTD": true
},
"moz_options_dlg_title": {
"message": "Markdown Here Options",
"description": "In Thunderbird, in order to open the options tab we first have to open a temporary dialog box. This is the title for that box.",
"inMozDTD": true
},
"new_changelist_items": {
"message": "新",
"description": "Used to highlight the part of the changelist that is new. There will typically be multiple items in the list, so this should be considered plural."
},
"nothing_to_render": {
"message": "沒有可算繪或可恢復的內容",
"description": "Error message shown to user if there's nothing found to revert or render."
},
"options_page__advanced_title": {
"message": "進階選項及其它",
"description": "A section title"
},
"options_page__advanced_usage": {
"message": "如果要查看更多資訊和用法,參見 Markdown Here專案首頁 . 你會在下方看到選項。"
},
"options_page__basic_usage": {
"message": "基本用法"
},
"options_page__changes_saved": {
"message": "已儲存",
"description": "message that shows when user changes have been saved"
},
"options_page__click_toggle": {
"message": "在你的電子郵件上右鍵點擊然後點選\"Markdown切換\". (或者點擊工具列上的 按鈕。 也可以試試快捷鍵 Alt+Shift+M )",
"description": "A step in the basic usage instructions"
},
"options_page__contributing_1": {
"message": "如果你曾經在電子郵件上使用程式碼區塊,你就可以幫助Markdown Here做的更好. CONTRIBUTING.md "
},
"options_page__contributing_2": {
"message": "幫助翻譯Markdown Here。歡迎翻譯。 "
},
"options_page__contributing_title": {
"message": "貢獻",
"description": "A section title"
},
"options_page__donate_plea_1": {
"message": "當你覺得Markdown Here非常貼心,請幫我買一些花給我妻子,讓她不會抱怨我花太多時間在開發這個東西。感謝你! "
},
"options_page__donate_plea_2": {
"message": "幫助Markdown Here變的更好! "
},
"options_page__donate_plea_3": {
"message": "支援Markdown Here的發展! "
},
"options_page__donate_plea_4": {
"message": "你知道是什麼幫助Markdown Here在Chrome、Firefox、Thunderbird、Safari、Opera、Gmail、Yahoo、Hotmail、Blogger、Evernote……等等嗎?咖啡! "
},
"options_page__footer_1": {
"message": "Markdown Here 是開源的。要詢問,回報錯誤,請求新功能,或參與開發,請見Github專案首頁 或\"markdown-here\" Google Group .",
"description": "part of the page footer text"
},
"options_page__footer_2": {
"message": "由Adam Pritchard 建立。",
"description": "part of the page footer text"
},
"options_page__forgot_to_render_1": {
"message": "目前只支持Gmail網頁版和Thunderbird (還有Postbox 和 Icedove)。"
},
"options_page__forgot_to_render_2": {
"message": "當你傳送電子郵件時, 這個選項會檢查郵件內容是不是未算繪的Markdown。這可能會干擾你正常傳送郵件。"
},
"options_page__forgot_to_render_3": {
"message": "如果你停用了此選項, 請 告知我為什麼和如何做更好。在\"markdown-here\" Google Group 中發文 或是在Github專案建立issue 。謝謝。"
},
"options_page__forgot_to_render_label": {
"message": "啟用 \"忘記算繪\" 檢查。 ",
"description": "Label for the checkbox that enables the forgot-to-render feature"
},
"options_page__gfm_line_breaks_enabled_label": {
"message": "啟用GFM換行。 ",
"description": "Label for the checkbox that enables the support of 'Github-flavored Markdown' line breaks."
},
"options_page__ghdiscussions": {
"message": "Ask a question or start a conversation in Markdown Here's GitHub Discussions ."
},
"options_page__header_anchors_enabled_1": {
"message": "如果你想產生大綱或其他內部鍊結,這會很有用。在MDH wiki中查看如何使用。 "
},
"options_page__header_anchors_enabled_2": {
"message": "預設停用,因為它會在Thunderbird產生視覺干擾 。(而且大多數人用不到。)"
},
"options_page__header_anchors_enabled_label": {
"message": "自動產生標題錨點。 ",
"description": "Label for the checkbox that enables the automatic header anchors feature. This means that an 'anchor' is created at every heading (H1, H2, etc.) in the user's Markdown. The user can then create links that will jump to these anchors, like in the table of contents of a document."
},
"options_page__hotkey_alt_key": {
"message": "ALT",
"description": "label for the Alt key"
},
"options_page__hotkey_ctrl_key": {
"message": "CTRL",
"description": "label for the Ctrl key"
},
"options_page__hotkey_note_1": {
"message": "Chrome: 你必須重載您的電子郵件頁面,以套用新的快捷鍵設定。"
},
"options_page__hotkey_note_2": {
"message": "Firefox and Thunderbird: 你必須重啟應用程式,以套用新的快捷鍵設定。"
},
"options_page__hotkey_note_3": {
"message": "你必須使用字母或數字作為快捷鍵(因語言和鍵盤而異)。"
},
"options_page__hotkey_note_4": {
"message": "Windows鍵和OS X ⌘ 鍵不能被用作快捷鍵。"
},
"options_page__hotkey_note_5": {
"message": "要禁用快捷鍵,在\"key\"文字框留空。"
},
"options_page__hotkey_plus": {
"message": "+",
"description": "plus sign that connects the hotkey buttons"
},
"options_page__hotkey_shift_key": {
"message": "SHIFT",
"description": "label for the Shift key"
},
"options_page__hotkey_title": {
"message": "快捷鍵",
"description": "A section title"
},
"options_page__hotkey_warning": {
"message": "這是一個字母或數字嗎?",
"description": "warning shown if the user chooses an illegal hotkey value"
},
"options_page__markdown_toggle_button_text": {
"message": "Markdown切換",
"description": "button text for Markdown Toggle button"
},
"options_page__mdh_wiki": {
"message": "訪問 Markdown Here wiki 以查看 MDH適用的服務 以及更多 使用提示和竅門 。"
},
"options_page__next_steps": {
"message": "如果你對Markdown Here的未來發展感興趣,查看 README的Next Steps部分 。"
},
"options_page__note_default_client_styles": {
"message": "一些電子郵件編輯器和瀏覽器會加入自己的樣式。這裡可能顯示不出來。"
},
"options_page__note_options_sync": {
"message": "更動會自動儲存並同步(如果你的瀏覽器啟用了同步)。"
},
"options_page__note_syntax_styles_after_primary": {
"message": "語法高亮樣式會在基本渲染完成後生效,所以有較高優先順序。"
},
"options_page__notes_title": {
"message": "注意",
"description": "section title"
},
"options_page__other_donation_options": {
"message": "其它捐贈選項",
"description": "Link to a page that provides other ways to donate"
},
"options_page__page_title": {
"message": "Markdown Here選項"
},
"options_page__pretty_cool": {
"message": "你的訊息現在看起來很棒,傳送給你的朋友們吧!",
"description": "A step in the basic usage instructions"
},
"options_page__preview_markdown": {
"message": "```javascript \nfunction syntaxHighlighting() { \n var n = 33; \n var s = \"hello, こんにちは\"; \n console.log(s); \n} \n``` \n \n* plain \n* *emphasis* \n * **strong emphasis** \n * ~~strikethrough~~ \n* `inline code` \n \n1. Numbered list \n 1. Numbered sub-list \n 1. Numbered sub-sub-list \n2. [Link](https://www.google.com) \n \n \nAn image: \n \n \n> Block quote. \n> *With* **some** `markdown`. \n \nIf **TeX Math** support is enabled, this is the quadratic equation: \n$$-b \\pm \\sqrt{b^2 - 4ac} \\over 2a$$ \n \n# Header 1 \n## Header 2 \n### Header 3 \n#### Header 4 \n##### Header 5 \n###### Header 6 \n \n| Tables | Are | Cool | \n| ------------- |:-------------:| -----:| \n| column 3 is | right-aligned | $$1600 | \n| column 2 is | centered | $$12 | \n| zebra stripes | are neat | $$1 | \n \nHere's a horizontal rule: \n \n--- \n \n``` \ncode block \nwith no highlighting \n``` \n \n",
"description": "This doesn't need to be translated, unless you want to make it more relevant to your language. The raw Markdown used for previewing user styling changes. Also shows users what can be done with Markdown. Please note that the double dollar signs ($$) are needed to make a single dollar sign in the application."
},
"options_page__preview_title": {
"message": "預覽",
"description": "section title for the Markdown preview section"
},
"options_page__primary_css_title": {
"message": "基本渲染CSS",
"description": "section title"
},
"options_page__reload_restart": {
"message": "重載你的電子郵件頁面或者重啟瀏覽器。",
"description": "A step in the basic usage instructions"
},
"options_page__reset_primary_css": {
"message": "恢復預設",
"description": "text on button to reset Primary Styling CSS"
},
"options_page__resources_cheatsheet_link": {
"message": "如果你剛開始接觸Markdown, Markdown Here Cheatsheet 是本不錯的入門手冊。"
},
"options_page__resources_title": {
"message": "資源和鍊結",
"description": "A section title"
},
"options_page__start_new_message": {
"message": "開始寫一封新的電郵。",
"description": "A step in the basic usage instructions"
},
"options_page__syntax_highlighting_css_title": {
"message": "語法高亮CSS",
"description": "section title"
},
"options_page__syntax_highlighting_theme_label": {
"message": "主題:",
"description": "label for the syntax highlighting theme combox box"
},
"options_page__tex_math_codecogs_customization_2": {
"message": "For render customization options, see the CodeCogs documentation for this service."
},
"options_page__tex_math_codecogs_privacy_issue_1": {
"message": "To generate the image for the formula, a request is sent to CodeCogs. That effectively means that you are sharing your formula with CodeCogs. It also means that recipients of your message will be making a request to CodeCogs to have the image rendered.",
"description": "one of the TeX math privacy concerns"
},
"options_page__tex_math_customization_1": {
"message": "如果啟用此功能,錢幣符號之間的文字 — $$ — 將被解釋為數學公式。例如,$$\\Delta$$將算繪為一個delta符號。",
"description": "Note: Double dollar signs ($$) are necessary to get a single dollar sign."
},
"options_page__tex_math_customization_3": {
"message": "用於建立TeX公式的一個很好的資源是 codecogs公式編輯器 。"
},
"options_page__tex_math_customization_4": {
"message": "公式會被轉換為圖片,所以收件人必須啟用圖像顯示才能看到算繪後公式。"
},
"options_page__tex_math_customization_5": {
"message": "如果你要自訂轉換標籤, 你可以(也應該)使用 {mathcode} 和 {urlmathcode} 作為占位符。",
"description": "Please do not translate {mathcode} and {urlmathcode}"
},
"options_page__tex_math_customization_5_1": {
"message": "{mathcode}:介於$$符號之間的文字 — 換句話說,原始Tex公式,例如\\Delta。",
"description": "Please do not translate {mathcode} and {urlmathcode}. Note: Double dollar signs ($$) are necessary to get a single dollar sign."
},
"options_page__tex_math_customization_5_2": {
"message": "{urlmathcode}: URL編碼後的Tex公式,例如%5CDelta。",
"description": "Please do not translate {mathcode} and {urlmathcode}"
},
"options_page__tex_math_customization_6": {
"message": "如果你要自訂<img>標籤,你應該使alt屬性包含可讀的值,如{mathcode}。此屬性的值將被用於電子郵件的純文字檔案版(當從Gmail和Thunderbird傳送時)。",
"description": "Please do not translate {mathcode} and {urlmathcode}"
},
"options_page__tex_math_customization_heading": {
"message": "自訂和使用: ",
"description": "heading for customization and use info"
},
"options_page__tex_math_privacy_heading": {
"message": "隱私問題: ",
"description": "heading for warnings about TeX math privacy concerns"
},
"options_page__tex_math_privacy_issue_2": {
"message": "如果你自訂了公式算繪標籤, 你應該使用安全 (https://) 路徑.不是所有的算繪服務都支持安全選項。",
"description": "one of the TeX math privacy concerns"
},
"options_page__tex_math_reset_button": {
"message": "恢復預設",
"description": "text on button to reset TeX math option"
},
"options_page__tex_math_title": {
"message": "TeX數學公式支援"
},
"options_page__type_some_markdown": {
"message": "在你的電郵裡輸入一些Markdown內容. 試試這個: _Hello_ `Markdown` **Here**!",
"description": "A step in the basic usage instructions"
},
"plain_text_compose": {
"message": "你正在使用純文字編輯器,你必須使用富文字編輯器才能使用Markdown Here。",
"description": "Shown in an alert dialog if the user has their email compose app set to plain text"
},
"toggle_button_text": {
"message": "切換",
"description": "Text shown underneath the render toggle button. Make it as short as possible.",
"inMozDTD": true
},
"toggle_button_tooltip": {
"message": "點擊來切換Markdown算繪模式",
"description": "text shown when user hovers mouse over Markdown Toggle button",
"inMozDTD": true
},
"toggle_button_tooltip_disabled": {
"message": "選擇的區域不支援Markdown算繪模式",
"description": "text shown when user hover mouse over disabled Markdown Toggle button",
"inMozDTD": true
},
"unrendering_modified_markdown_warning": {
"message": "已算繪的Markdown內容似乎有更動。\n如果你取消算繪,你更動的內容會丟失。\n\n你確定要切換嗎?",
"description": "Warning shown to the user if she tries to revert some rendered Markdown that they've modified since rendering. The user will lose their modifications if they proceed."
},
"upgrade_notification_changes_tooltip": {
"message": "點擊查看這個版本的更新日誌",
"description": "Tooltip text on the link that opens the changes list"
},
"upgrade_notification_dismiss_tooltip": {
"message": "忽略這項通知",
"description": "Tooltip text on the link that dismisses the notification"
},
"upgrade_notification_text": {
"message": "Markdown Here已更新",
"description": "Text on the notification shown when Markdown Here has been updated"
}
}
================================================
FILE: src/_locales/zh_TW/screenshot-captions.txt
================================================
用Markdown撰寫你的電子郵件…
…並讓它變漂亮!
想要只在電子郵件中的部份內容使用Markdown? 只要框選它並轉換!
================================================
FILE: src/chrome/background.html
================================================
================================================
FILE: src/chrome/backgroundscript.js
================================================
/*
* Copyright Adam Pritchard 2016
* MIT License : https://adampritchard.mit-license.org/
*/
"use strict";
/*global chrome:false, OptionsStore:false, MarkdownRender:false,
marked:false, hljs:false, Utils:false, CommonLogic:false, ContentPermissions:false */
/*jshint devel:true, browser:true*/
if (typeof browser === "undefined") {
// Chrome does not support the browser namespace yet.
// See https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/manifest.json/background
globalThis.browser = chrome;
}
// We supply a #hash to the background page, so that we know when we're
// loaded via `background.page` (manifest V2 and Firefox manifest V3) vs
// `background.service_worker` (manifest V3 in Chrome).
var backgroundPage = !!location.hash;
if (!backgroundPage) {
// When loaded via a background page, the support scripts are already
// present. When loaded via a service worker, we need to import them.
// (`importScripts` is only available in service workers.)
importScripts('../common/vendor/dompurify.min.js');
importScripts('../common/utils.js');
importScripts('../common/common-logic.js');
importScripts('../common/marked.js');
importScripts('../common/highlightjs/highlight.js');
importScripts('../common/markdown-render.js');
importScripts('../common/options-store.js');
importScripts('../common/content-permissions.js');
}
// Note that this file is both the script for a background page _and_ for a service
// worker. The way these things work are quite different, and we must be cognizant of that
// while writing this file.
//
// The key difference is that a background page is loaded once per browser session; a
// service worker is loaded when extension-related events occur, and then is torn down
// after 30 seconds of inactivity (with lifecycle caveats). This means that we can't rely
// on global variables to store state, and we must be mindful about how we handle
// messages.
// For the background page, this listener is added once and remains active for the browser
// session; for the service worker, this listener is added every time the service worker
// is loaded, and is torn down when the service worker is torn down.
chrome.runtime.onInstalled.addListener((details) => {
if (details.reason !== 'install' && details.reason !== 'update') {
return;
}
// Create the context menu that will signal our main code.
// This must be called only once, when installed or updated, so we do it here.
chrome.contextMenus.create({
id: 'markdown-here-context-menu',
contexts: ['editable'],
title: Utils.getMessage('context_menu_item')
});
// Note: If we find that the upgrade info page opens too often, we may
// need to add delays. See: https://github.com/adam-p/markdown-here/issues/119
upgradeCheck();
});
function upgradeCheck() {
OptionsStore.get(function(options) {
var appManifest = chrome.runtime.getManifest();
var optionsURL = '/common/options.html';
if (typeof(options['last-version']) === 'undefined') {
// Update our last version. Only when the update is complete will we take
// the next action, to make sure it doesn't happen every time we start up.
OptionsStore.set({ 'last-version': appManifest.version }, function() {
// This is the very first time the extensions has been run, so show the
// options page.
chrome.tabs.create({ url: Utils.getLocalURL(optionsURL) });
});
}
else if (options['last-version'] !== appManifest.version) {
// Update our last version. Only when the update is complete will we take
// the next action, to make sure it doesn't happen every time we start up.
OptionsStore.set({ 'last-version': appManifest.version }, function() {
// The extension has been newly updated
chrome.action.setPopup({ popup: Utils.getLocalURL('/chrome/upgrade-notification-popup.html') }, function() {
try {
chrome.action.openPopup();
} catch (e) {
// Firefox won't allow us to open a popup programmatically (i.e., in the absence of a user gesture)
console.error('Failed to open upgrade notification popup:', e);
}
});
});
}
});
}
// Handle context menu clicks.
chrome.contextMenus.onClicked.addListener(async function(info, tab) {
await handleActionClick(tab, info);
});
// Handle rendering requests from the content script. Note that incoming messages will
// revive the service worker, then process the message, then tear down the service worker.
// See the comment in markdown-render.js for why we use these requests.
chrome.runtime.onMessage.addListener(function(request, sender, responseCallback) {
// The content script can load in a not-real tab (like the search box), which
// has an invalid `sender.tab` value. We should just ignore these pages.
if (typeof(sender.tab) === 'undefined' ||
typeof(sender.tab.id) === 'undefined' || sender.tab.id < 0) {
return false;
}
if (request.action === 'render') {
OptionsStore.get(function(prefs) {
responseCallback({
html: MarkdownRender.markdownRender(
request.mdText,
prefs,
marked,
hljs),
css: (prefs['main-css'] + prefs['syntax-css'])
});
});
return true;
}
else if (request.action === 'get-options') {
OptionsStore.get(function(prefs) { responseCallback(prefs); });
return true;
}
else if (request.action === 'get-forgot-to-render-prompt') {
CommonLogic.getForgotToRenderPromptContent(function(html) {
responseCallback({html: html});
});
return true;
}
else if (request.action === 'open-tab') {
chrome.tabs.create({
'url': request.url
});
return false;
}
else if (request.action === 'test-request') {
responseCallback('test-request-good');
return false;
}
else {
throw 'unmatched request action: ' + request.action;
}
});
// Add the browserAction (the button in the browser toolbar) listener.
// This also handles the _execute_action keyboard command automatically.
chrome.action.onClicked.addListener(async function(tab) {
await handleActionClick(tab);
});
chrome.tabs.onUpdated.addListener(async function(tabId, changeInfo, tab) {
// Only proceed when the tab has finished loading and has a valid URL
if (changeInfo.status === 'complete' && tab.url) {
// Auto-inject scripts for domains where we already have permission.
// This allows us to run _before_ the user clicks the button, enabling features
// such as the "forgot to render" prompt.
try {
if (await ContentPermissions.hasPermission(tab.url)) {
await Injector.injectScripts(tabId);
}
} catch (e) {
// Invalid URL or other error -- just skip
}
}
});
// Handle a click on the action button or context menu item
async function handleActionClick(tab, info = undefined) {
// Check if the current tab is the options page
const optionsPageUrl = Utils.getLocalURL('/common/options.html');
if (tab.url && tab.url.startsWith(optionsPageUrl)) {
// For the options page, send a runtime message directly without injection
// (because injection won't work on the options page).
chrome.tabs.sendMessage(tab.id, {
action: 'button-click',
info: info
});
return true;
}
// For all other pages, proceed with the normal injection flow
const injected = await Injector.injectScripts(tab.id);
if (!injected) {
console.error('Failed to inject scripts');
return false;
}
// Send the toggle message
chrome.tabs.sendMessage(tab.id, {
action: 'button-click',
info: info
});
return true;
}
const Injector = {
// Scripts to inject in order
CONTENT_SCRIPTS: [
'/common/vendor/dompurify.min.js',
'/common/utils.js',
'/common/common-logic.js',
'/common/jsHtmlToText.js',
'/common/marked.js',
'/common/mdh-html-to-text.js',
'/common/markdown-here.js',
'/chrome/contentscript.js'
],
// Check if scripts are already injected in a tab and mark that they are. we do these
// in one step to minimize the potential for race conditions, where there's an attempt
// to inject the scripts multiple times.
async checkAndMarkInjected(tabId) {
try {
const results = await chrome.scripting.executeScript({
target: { tabId: tabId },
func: () => {const alreadyInjected = window.markdownHereInjected; window.markdownHereInjected = true; return !!alreadyInjected;}
});
return results && results[0] && results[0].result === true;
} catch (e) {
// Tab might not be accessible
return false;
}
},
// Inject content scripts into a tab
async injectScripts(tabId) {
try {
// Check if already injected
if (await this.checkAndMarkInjected(tabId)) {
return true;
}
// Inject files in order
for (const script of this.CONTENT_SCRIPTS) {
await chrome.scripting.executeScript({
target: { tabId: tabId },
files: [script]
});
}
return true;
} catch (e) {
// Note that we're not cleaning up our "injected" flag, nor any of the scripts that
// might have been injected before the error occurred. An error shouldn't occur,
// and we'll just give up on working in this tab if it does.
console.error('Error injecting scripts:', e);
return false;
}
}
};
================================================
FILE: src/chrome/contentscript.js
================================================
/*
* Copyright Adam Pritchard 2013
* MIT License : https://adampritchard.mit-license.org/
*/
"use strict";
/*global chrome:false, markdownHere:false, CommonLogic:false, htmlToText:false,
Utils:false, MdhHtmlToText:false, marked:false*/
/*jshint devel:true, browser:true*/
/*
* Chrome-specific code for responding to the context menu item and providing
* rendering services.
*
* This version removes automatic injection and focus detection.
* Scripts are now injected on-demand when the user activates the extension.
*/
// Handle the menu-item click
function requestHandler(request, sender, sendResponse) {
if (request && request.action === 'button-click') {
// Check if the focused element is a valid render target
const focusedElem = markdownHere.findFocusedElem(window.document);
if (!focusedElem) {
// Shouldn't happen. But if it does, just silently abort.
return false;
}
if (!markdownHere.elementCanBeRendered(focusedElem)) {
alert(Utils.getMessage('invalid_field'));
return false;
}
const logger = function() { console.log.apply(console, arguments); };
const mdReturn = markdownHere(
document,
requestMarkdownConversion,
logger,
markdownRenderComplete);
if (typeof(mdReturn) === 'string') {
// Error message was returned.
alert(mdReturn);
return false;
}
}
}
chrome.runtime.onMessage.addListener(requestHandler);
// The rendering service provided to the content script.
// See the comment in markdown-render.js for why we do this.
function requestMarkdownConversion(elem, range, callback) {
var mdhHtmlToText = new MdhHtmlToText.MdhHtmlToText(elem, range);
// Send a request to the add-on script to actually do the rendering.
Utils.makeRequestToPrivilegedScript(
document,
{ action: 'render', mdText: mdhHtmlToText.get() },
function(response) {
var renderedMarkdown = mdhHtmlToText.postprocess(response.html);
callback(renderedMarkdown, response.css);
});
}
// When rendering (or unrendering) completed
function markdownRenderComplete(elem, rendered) {
// No-op for now
}
/*
* Forgot-to-render check
* Sets up hooks on send buttons to check for unrendered Markdown
*/
let forgotToRenderIntervalCheckPrefs = null;
// Get the options for the forgot-to-render check
Utils.makeRequestToPrivilegedScript(
document,
{ action: 'get-options' },
function(prefs) {
forgotToRenderIntervalCheckPrefs = prefs;
});
// Check periodically if we should set up forgot-to-render hooks
function forgotToRenderCheck() {
if (!forgotToRenderIntervalCheckPrefs ||
!forgotToRenderIntervalCheckPrefs['forgot-to-render-check-enabled-2']) {
return;
}
let focusedElem = markdownHere.findFocusedElem(window.document);
if (!focusedElem) {
return;
}
CommonLogic.forgotToRenderIntervalCheck(
focusedElem,
markdownHere,
MdhHtmlToText,
marked,
forgotToRenderIntervalCheckPrefs);
}
// Run the check every 2 seconds to catch dynamically loaded elements
setInterval(forgotToRenderCheck, 2000);
================================================
FILE: src/chrome/upgrade-notification-popup.html
================================================
================================================
FILE: src/chrome/upgrade-notification-popup.js
================================================
/*
* Copyright Adam Pritchard 2025
* MIT License : https://adampritchard.mit-license.org/
*/
"use strict";
/*global chrome:false, OptionsStore:false, Utils:false */
/*
* Handles the upgrade notification popup behavior
*/
function onLoad() {
// Get the previous version from storage using OptionsStore
OptionsStore.get(function(options) {
const prevVersion = options['last-version'] || '';
// Get localized messages
const upgradeText = Utils.getMessage('upgrade_notification_text');
const changesTitle = Utils.getMessage('upgrade_notification_changes_tooltip');
const dismissTitle = Utils.getMessage('upgrade_notification_dismiss_tooltip');
// Update text content
document.getElementById('upgrade-notification-text').textContent = upgradeText;
document.getElementById('upgrade-notification-link').title = changesTitle;
document.getElementById('upgrade-notification-close').title = dismissTitle;
// Handle link click - open options page with previous version
document.getElementById('upgrade-notification-link').addEventListener('click', function(e) {
e.preventDefault();
const optionsUrl = Utils.getLocalURL('/common/options.html');
const urlWithParam = optionsUrl + '?prevVer=' + encodeURIComponent(prevVersion);
// Open options page in new tab
chrome.tabs.create({ url: urlWithParam }, function() {
// Clear the popup and restore normal action behavior
clearUpgradeNotification();
});
});
// Handle close button click
document.getElementById('upgrade-notification-close').addEventListener('click', function(e) {
e.preventDefault();
clearUpgradeNotification();
});
});
}
document.addEventListener('DOMContentLoaded', onLoad, false);
function clearUpgradeNotification() {
// Clear the popup setting to restore normal click behavior
chrome.action.setPopup({ popup: '' }, function() {
// Close the popup
window.close();
});
}
================================================
FILE: src/common/CHANGES.md
================================================
Change Log
==========
2025-07-10: v2.16.0
-------------------
* **Reduced permissions!** Previously, when installing you would get a scary warning saying that MDH can "Read and change your data on all websites". It didn't do that, of course, but it was true that it could. Now there's no warning at all, and it only gets permission to act on a page when you click the button (or use the context menu, or the hotkey). This is an important change, but it has resulted in some minor loss of functionality:
- Previously, the MDH toolbar button would only enable when focus was in a edit element that could theoretically be rendered (`contenteditable`). Now that we're not injecting into every page, we can't do that -- **the toolbar button is always enabled** and must be clicked before MDH is allowed to run anything in the page that can check if the focused element is renderable.
- The hotkey/shortcut key is now managed by the browser instead of the extension (necessitated because we now can't pre-inject into pages). But hotkeys that use `Ctrl` _and_ `Alt` aren't allowed, so... we have a **new default hotkey: `Shift+Alt+M`**. (If you had a custom hotkey, it's been reset to that. Sorry!) You can change the hotkey by going to `chrome://extensions/shortcuts`
- You'll need to **re-enable the "forgot-to-render" check option**, if you had enabled it. You'll get a prompt allow access to `mail.google.com`. This will allow MDH to pre-inject code that watches for an attempt to send email that you forgot to render.
* Thanks to everyone who has ever donated! Over the last 12 years there have been about 75 donations. I appreciate the support and encouragement.
2025-06-28: v2.15.1
-------------------
* Improved HTML sanitization.
2025-06-23: v2.15.0
-------------------
* Updated [highlight.js](https://highlightjs.org/) to v11.11.1. This brings support for a lot more languages and themes.
* Made LaTeX support disabled by default. Because there are [privacy implications](https://github.com/adam-p/markdown-here/blob/master/PRIVACY.md#optional-third-party-latex-image-rendering-service) to using the feature, it should be opt-in.
* Replaced links to our Google Group with links to our [GitHub Discussions](https://github.com/adam-p/markdown-here/discussions).
* Removed support for Postbox, which stopped allowing third-party extensions a while ago. Also removed support for "Inbox by Google", which stopped existing, like, a long time ago.
2024-11-09: v2.14.2
-------------------
* Fixed [issue #261](https://github.com/adam-p/markdown-here/issues/261): Switched from using the Google Chart API to CodeCogs for the the TeX renderer. Google shut down the API we were using, so it just didn't work anymore.
- Take a look at [the wiki](https://github.com/adam-p/markdown-here/wiki/Tips-and-Tricks#tex) for information on using other rendering services.
- Some day maybe we'll figure out how to [render locally](https://github.com/adam-p/markdown-here/issues/874).
2024-10-17: v2.14.1
-------------------
* Fixed error on the options page.
2024-10-03: v2.14.0
-------------------
* Fixed [bug #722](https://github.com/adam-p/markdown-here/issues/722): Added support for WebExtensions manifest V3. (If you've seen warnings about the extension lately, this was why.)
- Thanks to [Andrew M. MacFie](https://github.com/amacfie) and [Alexander Popov](https://github.com/AlexWayfer).
* Fixed [bug #865](https://github.com/adam-p/markdown-here/issues/865): Add Chrome Store privacy information.
2018-09-30: v2.13.4
--------------------
* Fixed [bug #524](https://github.com/adam-p/markdown-here/issues/524) and [bug #526](https://github.com/adam-p/markdown-here/issues/526): Due to v2.13.3 fix, Markdown Here didn't work in Thunderbird with a non-English UI.
- Thanks to [KSR-Yasuda](https://github.com/KSR-Yasuda), [ensleep](https://github.com/ensleep), [Pedro Silva](https://github.com/pmanu93), [Christophe Meyer](https://github.com/stombi), [littdky](https://github.com/littdky), [Michael Lashkevich](https://github.com/lashkevi), [morsedl](https://github.com/morsedl).
2018-09-11: v2.13.3
--------------------
* [Fixed bug #495](https://github.com/adam-p/markdown-here/issues/495): Markdown Here stopped working in Thunderbird version 60 (due to changes in Thunderbird).
- Thanks to [dugite-code](https://github.com/dugite-code) for the [PR](https://github.com/adam-p/markdown-here/pull/518) to fix it. Also thanks to: [Marc-Alexandre Espiaut](https://github.com/marespiaut), [Tehmul Ghyara](https://github.com/tehmul), [Pedro Silva](https://github.com/pmanu93), [PackElend](https://github.com/PackElend), [qolii](https://github.com/qolii), [Francisco Pina-Martins](https://github.com/StuntsPT), [evazquez00](https://github.com/evazquez00).
* [Fixed bug #435](https://github.com/adam-p/markdown-here/issues/435): On some pages, Markdown Here would spew cross-origin exceptions to the console. This was due to MDH trying to determine if a focused iframe-within-an-iframe was renderable.
- Thanks to [lincoln-b](https://github.com/lincoln-b) for reporting it.
* [Fixed bug #427](https://github.com/adam-p/markdown-here/issues/427): In Chrome and Firefox (at least for some pages), after rendering the resulting text was selected.
- Thanks to [nedchu](https://github.com/nedchu) for reporting it.
2017-05-26: v2.13.1
--------------------
* Converted the **Firefox** version of Markdown Here to use the WebExtensions API. This makes MDH compatible with Firefox's new **multiprocess** architecture (aka **Electrolysis**). If you have an older version of MDH installed in Firefox, there will soon be a new release of that version which prompts you to install the new WebExtensions version.
- The upgrade for existing Firefox users is a little rocky because the XUL version needs to continue to exist for Thunderbird (and Postbox) users. So the WebExtensions version has to fork.
- The Firefox and Chrome code bases are now almost identical, so that's good.
* [Fixed bug# 369](https://github.com/adam-p/markdown-here/issues/369): Clicking Markdown Here's "Options" button in Firefox and Thunderbird (version 48+) causes the client application to hang. (Note that this only applies to the XUL version of the extension.)
- Thanks to [Sam Estep](https://github.com/samestep), [r2evans](https://github.com/r2evans), [happyconfident](https://github.com/happyconfident), [Juan Salvador Aleixandre](https://github.com/juaalta), [haililihai](https://github.com/haililihai), [Shi Liang](https://github.com/shiliang-hust), [jjroper](https://github.com/jjroper), [Linxzh](https://github.com/l0o0).
* Updated jQuery to 3.2.1. This was required to pass Mozilla review.
* Wondering why there hasn't been a release in a while? My son was born a month after the last release. This is not a coincidence. You guys, having a kid is a lot of work.
2015-09-07: v2.12.0
--------------------
* **New logo!** Created by [Austin Anderson](https://www.angerson.org/) and chosen by the Markdown Here users, our great new logo is finally ready for action.
- Much thanks to Austin for his work polishing and tweaking the 60 variants of the logo. He did a lot of work getting things just right.
- Thanks to everyone else who submitted a design: [Rafe Goldberg](http://rgd2.co/), [Jack Reis](http://www.ux-jack.com/), [Enrique Esquinas](https://twitter.com/esquinas), [Leon Wilmanns](http://leon-wilmanns.de/). All of their designs were great and I would have been happy for any of them to win.
- Seriously, if you haven't seen the other designs, [go check them out](https://markdown-here.com/logo.html). And then check out their portfolios, bookmark them, and contact them the next time you need design work done.
- Thanks to all of you who took the time to vote for the new logo.
- If you are unhappy with the change to a monochrome browser toolbar and context menu button, [\+1 this issue](https://github.com/adam-p/markdown-here/issues/302).
* [Fixed bug #297](https://github.com/adam-p/markdown-here/issues/297): Unrendering an email that is a reply to an email that was itself rendered with MDH would fail (if the original email were visible, like with Thunderbird or when it's expanded in Gmail).
- Thanks to [Dave Tapley](https://github.com/dukedave) for creating a great video that illustrated the problem and how to reproduce it.
- Repeatedly triggering this bug could also lead to the next bug...
* [Fixed bug #289](https://github.com/adam-p/markdown-here/issues/289): With forgot-to-render detection enabled, sending a large email could result in MDH causing the mail client to hang.
- Thanks to [r2evans](https://github.com/r2evans), [Dave Tapley](https://github.com/dukedave), and [Eugene Fryntov](https://github.com/efryntov) for reporting and helping to diagnose the problem. Also thanks to [georg](https://stackoverflow.com/users/989121/georg) on StackOverflow for helping me to [understand and improve](https://stackoverflow.com/questions/31952381/end-of-string-regex-match-too-slow) the offending regex.
* [Fixed bug #283](https://github.com/adam-p/markdown-here/issues/283): Forgot-to-render detection was broken for Google Inbox. Thanks to [Marvin R.](https://github.com/therealmarv).
- If you find that the forgot-to-render detection gets broken for the Gmail or Google Inbox web interfaces, please post to the ["markdown-here" Google Group](https://groups.google.com/group/markdown-here) or create [an issue in the Github project](https://github.com/adam-p/markdown-here/issues). The MDH code that hooks into the webmail UI is brittle and might break when Google changes stuff.
* [Fixed bug #288](https://github.com/adam-p/markdown-here/issues/288): Some character combinations involving a dollar sign in inline code would render incorrectly.
- Thanks to [rfulkerson](https://github.com/rfulkerson) for reporting the problem.
* Updated and new translations:
- French: [BenWayne182](https://crowdin.com/profile/benwayne182)
- Spanish: [Darío Hereñú](https://github.com/kant)
- Portuguese (Brazilian): [Erich Gubler](https://crowdin.com/profile/erichdongubler)
2015-05-26: v2.11.9
-------------------
* [Fixed bug #278](https://github.com/adam-p/markdown-here/issues/278): In the previous release, the `setTimeout` workaround to fix slow Chrome Beta caused Firefox to stop working. For some people. Sometimes. (But not in the unit tests. Ha.)
- Thanks to [georgejean](https://github.com/georgejean), [Nathan Wittstock](https://github.com/fardog), [fugo](https://github.com/fugo), [Dheeraj Bhaskar](https://github.com/dheerajbhaskar), and [robred](https://github.com/robred).
2015-05-21: v2.11.8
-------------------
* [Fixed bug #251](https://github.com/adam-p/markdown-here/issues/251): Improved HTML-to-plaintext processing, in order to make newline handling better. Fixes some cases where tables get messed up. Thanks to [hchaase](https://github.com/hchaase).
* [Fixed bug #241](https://github.com/adam-p/markdown-here/issues/241): Rendering was very slow on Chrome Beta and Canary. Thanks to [Alex Vaystikh](https://github.com/bornio).
* Fixed [Pale Moon](http://www.palemoon.org/) compatibility. Thanks to Ismani Nieuweboer.
* Partially [fixed bug #104](https://github.com/adam-p/markdown-here/issues/104): Pre-rendered links (especially auto-links) in code were getting converted to Markdown when rendering (so you end up with raw Markdown in your code). This is now fixed for backtick-style code (inline and block), but not for indented code blocks.
* Updated translations:
- German: [Boris Lewandowski](https://crowdin.com/profile/bl)
- Spanish: [J. Ignacio Reta Sabarrós](https://crowdin.com/profile/jirsis)
- Italian: [Alessandro Tondo](https://crowdin.com/profile/alextoind)
2015-04-06: v2.11.7
-------------------
* No user-facing code changes. Modifications to pass Mozilla review. (Added a preprocessor to strip out cross-browser code.)
2015-03-29: v2.11.5
-------------------
* [Fixed bug #243](https://github.com/adam-p/markdown-here/issues/243): Due to the way paragraphs were styled, there appeared to be a "blank line" inserted at the top when your Markdown-Here-rendered your content. The styling was changed to correct this.
- **Note**: In order to get this styling change, you will need to [reset your Primary Styling CSS](https://github.com/adam-p/markdown-here/wiki/Troubleshooting#getting-the-latest-primary-styling-css).
- Thanks to [James F McMahon](https://github.com/JamesMcMahon) for reporting the issue.
* Changed styling of sub-ordered-lists to match Github's: Top level is still numbers, first sub level is Roman letters, second sub level is Roman numerals. Will make your email lists look totally pro.
- **Note**: In order to get this styling change, you will need to [reset your Primary Styling CSS](https://github.com/adam-p/markdown-here/wiki/Troubleshooting#getting-the-latest-primary-styling-css).
- Thanks to [Andrew Greenberg](https://github.com/wizardwerdna) for [pointing out](https://github.com/adam-p/markdown-here/issues/255) Github's styling, and an unnamed user in a [Google Groups post](https://groups.google.com/forum/#!topic/markdown-here/E-5tSHCAlpg) who also asked about list styling.
* [Fixed bug #237](https://github.com/adam-p/markdown-here/issues/237): Made Mozilla preferences handling more robust. Helps to deal with non-ANSI characters, synchronization, and corruption.
- Thanks to [flying-sheep](https://github.com/flying-sheep) for reporting the corruption problem and helping to diagnose it.
* Added and updated translations:
- **Italian**: [Andrea Lazzarotto](https://crowdin.com/profile/Lazza)
- German: [Boris Lewandowski](https://crowdin.com/profile/bl)
- French: [H. Salah Eddine](https://crowdin.com/profile/jamesconception)
- Turkish: [Yahya Erturan](https://crowdin.com/profile/yahyaerturan)
* And thanks to Erin for looking after Wulfie long enough for me to put this release together.
2015-02-16: v2.11.4
-------------------
* [Fixed bug #233](https://github.com/adam-p/markdown-here/issues/233): Reference links were broken if the URL part was pre-formatted.
- Big thanks to [Meng Wang](https://github.com/wm8120) for finding this bug, fixing it, adding tests, and submitting a [pull request](https://github.com/adam-p/markdown-here/pull/232).
* Added forgot-to-render check support for "Inbox by Google".
* Updated translations:
- Chinese Simplified: [Liu Cheng](https://crowdin.com/profile/willowcheng) and [sherkiv](https://crowdin.com/profile/sherkiv).
- Chinese Traditional: [BestSteve](https://crowdin.com/profile/BestSteve).
- Russian: [Asber](https://crowdin.com/profile/Asber).
2014-11-10: v2.11.3
-------------------
* **Improved compatibilty with screen readers**. Much thanks to [Sofian Babai](https://twitter.com/sofquipeut) for reporting the problem and helping to solve it. The primary fix target was Windows+Thunderbird+NVDA, but if anyone finds any cases where the fix is incomplete, please describe the scenario in the [Github issue](https://github.com/adam-p/markdown-here/issues/222) for it.
- Thanks also to [Sukil Echenique](https://github.com/sukiletxe) for reporting the [original issue](https://github.com/adam-p/markdown-here/issues/185).
* [Fixed bug #223](https://github.com/adam-p/markdown-here/issues/223): Keyboard shortcut was not working in Gmail on Firefox.
* Added and updated translations:
- **Polish**: [LeahCim](https://crowdin.com/profile/LeahCim).
- **Portuguese (Brazilian)**: [Erik Neves](https://crowdin.com/profile/7kire).
- **Chinese Traditional**: [Shen-Ta Hsiea](https://github.com/ibmibmibm).
- Spanish: [sergiolunagarcia](https://crowdin.com/profile/sergiolunagarcia) and [J. Ignacio Reta Sabarrós](https://crowdin.com/profile/jirsis).
- Japanese: [danpansa](https://crowdin.com/profile/danpansa).
- Turkish: [trblnc](https://crowdin.com/profile/trblnc).
- Chinese Simplified: [Liu Cheng](https://crowdin.com/profile/willowcheng).
* TeX math support is now enabled by default (for new users). ([Issue #213](https://github.com/adam-p/markdown-here/issues/213).)
2014-09-18: v2.11.2
-------------------
* [Fixed bug #141](https://github.com/adam-p/markdown-here/issues/141): Markdown Here in **Firefox would mysteriously stop working after a while** (aka the "ReferenceError: document is not defined" problem). It turns out that opening and closing a new browser window would trigger the bug.
- This also manifested as ["Problem related with Zotero"](https://github.com/adam-p/markdown-here/issues/189) and ["Thunderbird: does not toggle when only the Write window is open"](https://github.com/adam-p/markdown-here/issues/175).
- Thanks to everyone who reported this and helped diagnose it: [Ryan Heaton](https://github.com/stoicflame) (who [originally reported the bug](https://groups.google.com/forum/#!topic/markdown-here/ikXFqkP77Ws)), [darickard](https://github.com/darickard), [JacobEvelyn](https://github.com/JacobEvelyn), [Lennaick](https://github.com/lennaick), [Sherwood Botsford](https://plus.google.com/u/0/+SherwoodBotsford), [Cyrus David](https://github.com/vohof), and [iagobozza](https://github.com/iagobozza), who [shared a screencast](https://github.com/adam-p/markdown-here/issues/189) that finally provided a reproduction scenario and allowed us to figure out the bug.
* **Added support for "retina"** (high PPI) displays. The Markdown Here icons should now be nice and crisp. Closes [issue #205](https://github.com/adam-p/markdown-here/issues/205).
- Caveats:
- There doesn't seem to be a way to specify a high-res icon for Chrome's context menu item.
- Postbox just doesn't seem to work. I don't think there's a regression, though.
- I don't actually own any fancy retina-display computers, so... please create an issue if something is broken.
- Thanks to [Alexandru Nedelcu](https://github.com/alexandru) for requesting this.
* [Fixed bug #202](https://github.com/adam-p/markdown-here/issues/202): In Options page, Markdown preview wasn't initially rendering.
* Updated translations.
- Spanish: [Oscar del Pozo](https://crowdin.com/profile/oskar7) and [Rafa Couto](https://crowdin.com/profile/rafacouto).
- Dutch: [yoroy](https://crowdin.com/profile/yoroy).
- French: [nullepart](https://crowdin.com/profile/nullepart).
- Chinese: [sherkiv](https://crowdin.com/profile/sherkiv).
2014-08-31: v2.11.1
-------------------
* [Fixed annoying bug #188](https://github.com/adam-p/markdown-here/issues/188): Keyboard shortcut was not working in Chrome+Gmail.
- Thanks to: [Paulo Diovani Gonçalves](https://github.com/paulodiovani), [Edmundo Junior](https://github.com/edmundojr), [Mike Lindegarde](https://github.com/mlindegarde), [Jordi Gerona](https://github.com/jordi9), [Dilek](https://github.com/averagewizard), [Hrusikesh Panda](https://github.com/mrchief), [Clay McKell](https://github.com/kcmckell), [Trey Harris](https://groups.google.com/forum/#!topic/markdown-here/SnQ4fVtQvQQ).
* With the help of our hard-working translators, **six new translations** were added. They are: Chinese, French, German, Russian, Spanish, and Turkish.
- Thanks to: [Antoine Proulx](https://crowdin.com/profile/magicienap), [ebouchut](https://crowdin.com/profile/ebouchut), [Lennaick](https://crowdin.com/profile/lennaick), [leftaroundabout](https://crowdin.com/profile/leftaroundabout), [Pierre Quillery](https://crowdin.com/profile/dandelionmood), [Ko-Chih Wu](https://crowdin.com/profile/mecca831), [Masahiro Umegaki](https://crowdin.com/profile/ume), [dlkgenc](https://crowdin.com/profile/dlkgenc), [turkish123](https://crowdin.com/profile/turkish123), [sergiolunagarcia](https://crowdin.com/profile/sergiolunagarcia), [Alexis Morelle](https://crowdin.com/profile/almorelle), and my friend and co-worker [Eugene Fryntov](https://crowdin.com/profile/efryntov). (You're all also in the [contributors list](https://github.com/adam-p/markdown-here/blob/master/CONTRIBUTING.md).)
- If you'd like to start a new language, add to a not-quite-complete translation, or fix up something, please visit the [Markdown Here translation project on Crowdin](https://crowdin.com/project/markdown-here).
* **Updated [Highglight.js](http://highlightjs.org/)**, which is the syntax highlighting library used by Markdown Here.
* **NOTE**: If your syntax higlighting looks wrong, switch your theme. Your styling might be stale.
* Now supports **language aliases**. For example, `js` is an alias for `javascript`, `html` is an alias for `xml`, and `coffee`, `cson`, and `iced` are aliases for `coffeescript`. You can see the [complete list here](http://highlightjs.readthedocs.org/en/latest/css-classes-reference.html).
* New languages: Makefile, Scilab, LiveCode Server, OCaml, Oxygene, Mathematica, Autohotkey, Gherkin, Elixir, NSIS, VIM script, Protocol Buffers, Nix, x86asm, Cap’n Proto and Thrift, Monkey, TypeScript, Nimrod, Gradle, Haxe, Swift, Groovy, Dart, Dust, Scheme, G-Code, Q.
* New themes: Atelier, Paraíso, Kimbie, Colorbrewer, Codepen.io embed, Hybrid.
* Lots of theme and language improvements.
* This resolves MDH issues [#193](https://github.com/adam-p/markdown-here/issues/193) and [#196](https://github.com/adam-p/markdown-here/issues/196).
* Make no mistake, all credit for this goes to [Ivan Sagalaev](https://github.com/isagalaev) and the [Hightlight.js contributors](https://github.com/isagalaev/highlight.js/blob/master/AUTHORS.en.txt).
2014-05-17: v2.11.0
-------------------
* Added ability to **de-render after saving**. After you render and save an **email draft** or an **Evernote** Note or a **Google Group post** or a **Blogger post** (or etc.), you can go back, edit it, and de-render it back to Markdown.
* Fixes [#85](https://github.com/adam-p/markdown-here/issues/85) and [#86](https://github.com/adam-p/markdown-here/issues/86). Thanks to [Alfredo Canziani](https://github.com/Atcold), [HU, Pili](https://github.com/hupili), [Dima Tisnek](https://github.com/dimaqq), [dayer4b](https://github.com/dayer4b), [Bryan Cribbs](https://github.com/bdcribbs), [jmerlevede](https://github.com/jmerlevede), [portmantoad](https://github.com/portmantoad), and [Kurtis Rainbolt-Greene](https://github.com/krainboltgreene) for reporting the issue, suggesting solutions, and helping to test.
* Deets for geeks: Below the rendered MD, in the same wrapper `div`, there is now a `div` with its `title` attribute set to the original MD (base64), containing a zero-width space, and styled to be zero-height. This delightful hack was the best combination of factors that ensured the raw MD would survive.
* Added a partial Korean translation, thanks to [dotvezz](https://crowdin.net/profile/dotvezz).
* **Do you speak something in addition to English?** [At least half](https://addons.mozilla.org/en-US/firefox/addon/markdown-here/statistics/usage/languages/?last=30) of all Markdown Here users are not English, but Japanese is the only complete translation we have. **It's easy to help with translations** -- just try out the [Crowdin project for Markdown Here](https://crowdin.net/project/markdown-here). Thanks!
* Added ability to disable GFM line breaks.
* Thanks to [ase34](https://github.com/ase34) and [violahs](https://github.com/violahs) for [requesting this](https://github.com/adam-p/markdown-here/issues/103).
* [Fixed bug #51](https://github.com/adam-p/markdown-here/issues/51): Links with URL text (like `[http://example.com](http://example.com`) weren't rendering properly.
* Thanks to [Christopher Jeffrey](https://github.com/chjj) -- the author of [the rendering library](https://github.com/chjj/marked) that Markdown Here uses! -- for this fix.
* Altered default H1 and H2 header styles to match new GitHub styling. You'll have to click "Reset to Default" to get these styles.
* Fixes [#177](https://github.com/adam-p/markdown-here/issues/177). Thanks to [Steven Willis](https://github.com/onlynone).
* [Fixed bug #173](https://github.com/adam-p/markdown-here/issues/173): Markdown Here was generating lots of errors in the console on sites with an `iframe` that use tight security (like jsbin.com). Thanks to [Devin Weaver](https://github.com/sukima).
2014-01-29: v2.10.0
-------------------
* Markdown Here has been **translated into Japanese**! It's also **ready to be translated into your language**, so please take a look at [CONTRIBUTING.md](https://github.com/adam-p/markdown-here/blob/master/CONTRIBUTING.md) and our [Crowdin project](https://crowdin.net/project/markdown-here). Getting involved is super easy.
* Huge thanks to [lambdaalice](https://github.com/lambdalice), who provided a [full Japanese translation](https://groups.google.com/forum/#!topic/markdown-here/2XoUrKY_CpQ) out of the blue, forcing me to [do the work](https://github.com/adam-p/markdown-here/issues/143) to be able to use it.
* The **automatic addition of anchors to headings** is now an option and **disabled by default**. Guido Hoermann quite rightly [pointed out](https://groups.google.com/d/msg/markdown-here/eaq1JoNhyws/s02CV8rTJ30J) that it creates annoying visual noise in Thunderbird. It's probably not used enough to justify being enabled by default, and it's very easy to re-enable it (bottom of the options page).
* The **"forgot-to-render" check** that was added in version 2.9.2 is now **enabled by default**. As always, please [file a bug](https://github.com/adam-p/markdown-here/issues/new) or [otherwise report](https://groups.google.com/forum/#!forum/markdown-here) if you have any problems or suggestions for improvement.
* Markdown Here now works with **older versions of Chrome and Chromium**. (Tested on version 24 and 25, which didn't work before but do now.)
* Thanks to [Dustin Engstrom](https://github.com/engstrom) for providing the fix for this (and for submitting the first MDH code pull request!). Thanks to [Adam Kruger](https://github.com/adamkruger) for reporting the problem.
* [Fixed bug](https://github.com/adam-p/markdown-here/issues/120): In Chrome, options page link in upgrade notification was no longer working.
2013-11-07: v2.9.4
------------------
* **Updated [Highglight.js](http://highlightjs.org/)**, which is the syntax highlighting library used by Markdown Here.
* New languages: Handlebars templates, Oracle Rules, F#, AsciiDoc, Lasso, SCSS, VB.NET, Mizar.
* New themes: Docco, Foundation, Mono Blue, Monokai Sublime, Obsidian, Railscasts.
* And lots of theme and language improvements.
* This resolves MDH issues [#59](https://github.com/adam-p/markdown-here/issues/59) and [#114](https://github.com/adam-p/markdown-here/issues/114). Thanks to [Alex Pacini](https://github.com/alexpacini) and [Robert Jeppesen](https://github.com/rojepp) for reporting them.
* Make no mistake, all credit for this goes to [Ivan Sagalaev](https://github.com/isagalaev) and the [Hightlight.js contributors](https://github.com/isagalaev/highlight.js/blob/master/AUTHORS.en.txt).
* Added some debug logging to help diagnose [issue #141](https://github.com/adam-p/markdown-here/issues/141). (And maybe fixed that issue, but probably not.)
2013-10-27: v2.9.3
------------------
* New feature: Added support for **smart arrows**. Here's how to use them:
* `<--` ←
* `-->` →
* `<-->` ↔
* `<==` ⇐
* `==>` ⇒
* `<==>` ⇔
* [Fixed bug](https://github.com/adam-p/markdown-here/issues/137): Options were broken in Safari 7 (the Mavericks version).
* [Fixed bug](https://github.com/adam-p/markdown-here/issues/133): In Thunderbird (mostly), raw HTML was not rendering properly. This is caused [another bug](https://github.com/adam-p/markdown-here/issues/135): using angular brackets makes contents invisible.
* Thanks to [lihlii](https://github.com/lihlii), [Marcelo Diez](https://github.com/sorashadow), [Kaspar Emanuel](https://github.com/kasbah), and [Tim](https://github.com/fugo) for reporting and helping to solve this.
2013-10-18: v2.9.2
------------------
* Feature/fix: You may have found out the hard way that if you render, then make changes, and then unrender, you lose the changes. Now **Markdown Here will warn you when unrendering will cause you to lose changes**, and give you the choice of proceeding or not.
* Due to JavaScript support differences, this feature is not supported in Postbox or Safari 5 (but it is supported in Safari 6+).
* Thanks to [jakov](https://github.com/jakov) for [originally requesting](https://github.com/adam-p/markdown-here/issues/33) this change, and to [jdhines](https://github.com/jdhines) and [lihlii](https://github.com/lihlii) for also reporting/requesting it.
* [Fixed bug](https://github.com/adam-p/markdown-here/issues/119), for real this time: In Chrome, for some users, the Markdown Here upgrade notification would show up every time they opened Chrome.
* Thanks again to [Chris/jhwarehouse](https://github.com/jhwarehouse) for reporting the bug still existed and helping to sort it out.
* [Fixed bug](https://github.com/adam-p/markdown-here/issues/128): Raw Markdown in rendered code blocks is detected by forgot-to-render check.
* Thanks to [Menno Smits](https://github.com/mjs) for reporting the bug and helping to investigate.
* [Fixed bug](https://github.com/adam-p/markdown-here/issues/117): In Thunderbird, the new forgot-to-render check was incorrecting triggering on rendered links and headers.
2013-10-11: v2.9.1
------------------
* [Fixed bug](https://github.com/adam-p/markdown-here/issues/112): If a bad language name was used for a code block (where "bad" might even just be "SQL" vs. "sql"), rendering would break. Language name case is now ignored.
* Thanks to [Chris/jhwarehouse](https://github.com/jhwarehouse) for reporting the bug and helping to investigate.
* [Fixed bug](https://github.com/adam-p/markdown-here/issues/116): Markdown Here wasn't working on Postbox. Thanks to Branden C. for letting me know.
* [Fixed bug](https://github.com/adam-p/markdown-here/issues/109): In Chrome, for some users, the Markdown Here upgrade notification would show up every time they opened Chrome. (I couldn't reproduce it myself, but the notification display is less aggressive now.)
* Thanks to [Chris/jhwarehouse](https://github.com/jhwarehouse), [Xarkam](https://github.com/Xarkam), [Tomáš Duda](https://github.com/TomasDuda), and [Emil Soman](https://github.com/emilsoman) for reporting the bug and helping to investigate.
* [Fixed bug](https://github.com/adam-p/markdown-here/issues/108): In Chrome, memory was leaking. The size of the leak was proportional to the number of tabs and how long they were left open.
* I mitigated this in the Markdown Here code, but... it looks like it might actually be problem with Chrome itself. If someone familiar with Chrome/Chromium code and extension behaviour could help me I'd appreciate it. Here's a [Github Gist](https://gist.github.com/adam-p/6928614) I created that replicates the problem.
* Thanks to [Thomas Broyer](https://github.com/tbroyer) for reporting this problem.
2013-10-07: v2.9.0
------------------
* New feature: **Forgot-to-render detection**. Have you ever forgotten to make your Markdown pretty before sending your email? Me too. Now Markdown Here will detect when your email contains raw Markdown and will give you second chance to go back and render it before sending.
* This feature is supported in Thunderbird (and Postbox), and for Gmail in Chrome, Firefox, Opera, and Safari. (Pull requests welcome for Hotmail, Yahoo, etc.)
* For now this feature is off by default because I'm nervous about too many false positives driving people crazy. But please opt in! The checkbox to enable it is at the bottom of the MDH Options page. And please give feedback on how the feature does or doesn't work for you, either in the [Github issue](https://github.com/adam-p/markdown-here/issues/90) or the [MDH Google Group](https://groups.google.com/forum/#!forum/markdown-here).
* Thanks to [Petr Pudlák](https://github.com/ppetr) for requesting this in [issue #90](https://github.com/adam-p/markdown-here/issues/90), [Zhou Qiang](https://github.com/zhouqianghfut) in [issue #96](https://github.com/adam-p/markdown-here/issues/96), [Adam Backstrom](https://github.com/abackstrom) in [issue #98](https://github.com/adam-p/markdown-here/issues/98).
* **Compatibility improvements!**
* Now works great with **Blogger** ([details](https://github.com/adam-p/markdown-here/wiki/Compatibility#blogger)).
* The changes made will probably help with some other sites. If you tried out a site before and ended up with empty lines in your code blocks, try it again.
* See the [Compatibility wiki page](https://github.com/adam-p/markdown-here/wiki/Compatibility#blogger) for details.
* Thanks to [lambdaalice](https://github.com/lambdalice) for reporting the previous bad behaviour in [issue #89](https://github.com/adam-p/markdown-here/issues/89).
* Now works very well with **Wordpress** ([details](https://github.com/adam-p/markdown-here/wiki/Compatibility#wordpress)).
* See the [Compatibility wiki page](https://github.com/adam-p/markdown-here/wiki/Compatibility) for even more places where Markdown Here works, like **Google Sites** and **Facebook Notes**.
* New feature: **Automatic anchors for headers**. This makes it much easier to put a **table of contents** (or other intra-page links) inside your email or blog post. Just use the text of your header as the anchor link text. For example:
```no-highlight
[See below](#Deep-Dive Details Section) for details.
...
Deep-Dive Details Section
=========================
...
```
* Thanks to [Casey Watts](https://github.com/caseywatts) for requesting this and giving insight on how to do it. Closes issue [#93](https://github.com/adam-p/markdown-here/issues/93).
* Chrome and Firefox: Options page no longer opens when Markdown Here updates. Now there's a little notification in the corner of the window that can be clicked to show the MDH Options page (and the changes in the release), or dismissed.
* Thanks to [Casey Watts](https://github.com/caseywatts) for his help. Closes issues [#64](https://github.com/adam-p/markdown-here/issues/64) and [#95](https://github.com/adam-p/markdown-here/issues/95).
* Added the ability to set **site-specific styles**. To see an example of how to do this, either reset your Primary Styling CSS or [take a look at the source for it](https://github.com/adam-p/markdown-here/blob/6d3c2efea23219b58da183df23da111f8fd9febb/src/common/default.css#L15).
* [Fixed bug](https://github.com/adam-p/markdown-here/issues/84): Math: single-character formula won't render.
* Thanks to kbeach who reported this [in a Google Groups post](https://groups.google.com/forum/#!msg/markdown-here/tolrITkqrx0/phElyPBBAhYJ).
* Thanks again to [Emanuele D'Osualdo](https://github.com/bordaigorl) for providing the fix.
* [Fixed bug](https://github.com/adam-p/markdown-here/issues/83): `[a](b)` links shouldn't expand inside of a code block.
* Thanks to [Dan Brown](https://github.com/jdanbrown) for reporting this bug.
* [Fixed bug](https://github.com/adam-p/markdown-here/issues/87): "Smart" quotations and apostrophes would sometimes get confused and curl the wrong way.
* Thanks to [Jay Dixit](https://github.com/jaydixit) for reporting this bug.
* [Fixed bug](https://github.com/adam-p/markdown-here/issues/53): Shouldn't require blank line before list.
2013-08-24: v2.8.2
------------------
Added support for [**Opera**](http://www.opera.com)! Get it [here](https://addons.opera.com/en/extensions/details/markdown-here/).
2013-06-23: v2.8.1
------------------
**PLEASE NOTE:** If you've never customized your CSS, you should click the "Reset to Default" button for the "Primary Styling CSS". This will fix a bug (see below) and maybe give you better styling (if you installed MDH before version 2.7.0, Feb. 2013). If you have customized your CSS, you can [take a look at the changes to the default CSS](https://github.com/adam-p/markdown-here/commits/master/src/common/default.css) and decide what to take. A more elegant way of handling this is [being planned](https://github.com/adam-p/markdown-here/issues/78).
* The designer/artist of the Markdown Here logo has her own website up. You should check it out! http://tatianafryntoff.com/
* [Fixed bug](https://github.com/adam-p/markdown-here/issues/69): Pre-formatted links break Markdown links.
* Thanks to users Mitchell W. and [crdx](https://github.com/crdx) for reporting this bug.
* [Fixed bug](https://github.com/adam-p/markdown-here/issues/57): MD links should automatically add schema.
* Thanks to [Casey Watts](https://github.com/caseywatts) for reporting this bug.
* [Fixed bug](https://github.com/adam-p/markdown-here/issues/70): Firefox/Thunderbird: Code blocks with horizontal scroll would have bad background colour.
* Thanks to user Hans B. for reporting this bug.
* Note that to get this bug fix, you either need to reset your "Primary Styling CSS" to default, or [manually apply the fix](https://github.com/adam-p/markdown-here/commit/4c9e0448251b4390ca6043fad5a75b1b6413464d).
* [Fixed bug](https://github.com/adam-p/markdown-here/issues/52): Inline code line breaks are lost.
* Thanks to user [CheechGe](https://github.com/CheechGe) for reporting this bug.
* [Fixed bug](https://github.com/adam-p/markdown-here/issues/77): Sometimes options page MD preview doesn't initially render.
2013-05-19: v2.8.0
------------------
* **Markdown Here now supports Safari!** [Get it here.](https://markdown-here.com/get.html)
* Thanks to users [unscriptable](https://github.com/unscriptable) and [martinsvalin](https://github.com/martinsvalin) for [requesting it](https://github.com/adam-p/markdown-here/issues/38).
* Fixed bug in Firefox v23 (current Aurora): Options page wasn't working. ([See details.](https://github.com/adam-p/markdown-here/commit/c20b7e4841f325bed3201ea9a98b3f6c986cf8cc))
2013-03-05: v2.7.3
------------------
* Fixed Firefox+Linux bug ([#56](https://github.com/adam-p/markdown-here/issues/56)): Toolbar button icon was not displaying correctly.
* Thanks to users [ynoxia](https://github.com/ynoxia) and [jljouannic](https://github.com/jljouannic) for reporting the bug.
* Fixed Firefox bug: Toolbar button would not stay removed when browser was restarted.
* Added support for Icedove (Debian version of Thunderbird).
2013-02-17: v2.7.2
------------------
* Pre-formatted links will now be retained. If you use your email editor's formatting controls to create a link, it will be retained when you toggle the Markdown Here rendering state.
* Firefox/Thunderbird: Fixed bug; Resetting the primary stying CSS wasn't working.
2013-02-13: v2.7.1
------------------
* Under-the-hood changes to satisfy Mozilla requirements.
2013-02-06: v2.7.0
------------------
* Markdown Here has a **new logo**! A big thank you to the talented [Tatiana A. Fryntoff](http://tatianafryntoff.com/) for creating our shiny new logo.
* Support for new Markdown features. All credit goes to chjj, the maintainer of the [Marked library](https://github.com/chjj/marked).
* **Tables!** Now you can easily add tables to your email with Markdown. If you're not familiar with the syntax, check out [the wiki cheatsheet](https://github.com/adam-p/markdown-here/wiki/Markdown-Here-Cheatsheet#wiki-tables). This closes [issue #13](https://github.com/adam-p/markdown-here/issues/13).
* Strikethrough: Put double tildes around things to ~~strike it out~~ (`~~strike it out~~`).
* Smarter lists: Have you ever had a numbered list mysteriously/annoyingly become a bullet list because it comes after one? Not anymore.
* GFM line breaks: If you put a line break in your Markdown, it will be a line break after you toggle, instead of joining to form a single line. This closes [issue #12](https://github.com/adam-p/markdown-here/issues/12).
* Added a **Markdown Toggle button** to complement the context menu item and hotkey.
* In Chrome and Firefox, this button will appear on the browser toolbar. It will be enabled when you're typing in a compose box that Markdown Here can work with.
* You might notice the button enabled when you're typing in places other than your email page -- try it out! You might discover that Markdown Here works somewhere new. If you do, please [add it to the compatibility wiki](https://github.com/adam-p/markdown-here/wiki/Compatibility).
* In Thunderbird and Postbox the appears on the formatting toolbar.
* In Firefox, Thunderbird, and Postbox you can add/remove/move the button by right-clicking on the toolbar, clicking "Customize", and then dragging the button around. In Chrome you can remove it by right-click on it.
* If you have any feedback about the new button, please join the ["markdown-here" Google Group discussion](https://groups.google.com/d/topic/markdown-here/NjQRYcD1mgY/discussion).
* Thanks to user jakov for [suggesting this feature in issue #34](https://github.com/adam-p/markdown-here/issues/34).
* **Default styling changes**. Note that you'll have to reset your styles to get the new defaults (click "**Reset to Default**" on the options page). The changes include:
* Slightly smaller header font size.
* Less space between list items.
* Link styling is now more standard (e.g., underlines in Gmail).
* If you have any feedback on the default styling, please join the [Google Group discussion](https://groups.google.com/d/topic/markdown-here/V2n5ZxgzGQw/discussion).
* Thanks to [Casey Watts](http://caseywatts.github.com/2012/12/17/markdown_in_gmail/) for his input.
* Added a "Basic Usage" section to the options page. This is in response to [a tweet](https://twitter.com/KSuzukiii/status/294376172295446528) from user KSuzukii.
* Yahoo and Hotmail/Outlook.com now work a bit better.
2013-01-02: v2.6.4
------------------
* Firefox/Thunderbird: Actually fixed the bug that I thought I fixed in v2.6.3. Much thanks to Daniel Ashton for letting me know that it was still busted and John Galt for assisting in the fix.
2012-12-01: v2.6.3
------------------
* Firefox/Thunderbird: [Fixed bug](https://github.com/adam-p/markdown-here/issues/37): Changes in Firefox/Thunderbird version 17 resulted in the options page not working correctly.
2012-10-06: v2.6.2
------------------
* Firefox/Thunderbird: [Fixed bug](https://github.com/adam-p/markdown-here/issues/31): Tabbing into the email body and then Markdown-Toggling via keyboard (i.e., never clicking the mouse in the message body) would result in the email body being lost when sent.
* This is due to [a bug in Firefox/Thunderbird](https://bugzilla.mozilla.org/show_bug.cgi?id=740813).
* Discovered Wordpress post compatibility, thanks to user [Sina Iravanian](https://plus.google.com/116422808039109985732/posts). ([See details](https://github.com/adam-p/markdown-here/wiki/Compatibility).)
2012-09-09: v2.6.1
------------------
* Added hot-key (keyboard shortcut) support. The default key combination is ctrl +alt +m , but it is configurable from the Markdown Here options. Using the hot-key is identical to using the "Markdown Toggle" context menu item.
* Added basic support for the [Postbox](http://www.postbox-inc.com/) desktop email client, at the [request of a user](https://github.com/adam-p/markdown-here/issues/30). There are [some significant caveats](https://github.com/adam-p/markdown-here/wiki/Compatibility), like the lack of an options page.
* Fixed [bug](https://github.com/adam-p/markdown-here/issues/27): Gmail and Thunderbird reply exclusion wasn't working well, resulting in quoted replies getting messed up when doing a full (non-selection) rendering.
* Fixed: In Chrome on OS X, right-clicking on a word causes it to be selected. If "Markdown Toggle" were then clicked, it would render just that one word, which is lame. This behaviour is now avoided by not rendering single word selections -- if a single word is selected, the entire content will be rendered instead.
* Discovered [Evernote](https://evernote.com/) web-interface compatibility, thanks to user [markgoodson](https://github.com/markgoodson). ([See details](https://github.com/adam-p/markdown-here/wiki/Compatibility).)
2012-08-29: v2.6.0
------------------
* Added support for TeX math formulae. For info check out the Options page.
* Note that this feature is disabled by default, due to privacy concerns. Again, the see the Options page for info.
* Thanks to [bordaigorl](https://github.com/bordaigorl) for [suggesting this feature](https://github.com/adam-p/markdown-here/issues/26) and helping to implement it.
* Firefox/Thunderbird: Added Options page. (Chrome already had it.) Take a look around and play with the styles.
* Added a few new syntax highlighting themes. (Thanks to Highlight.js.)
2012-08-16: v2.5.3
------------------
* Chrome: Fixed compatibility with Chromium v18 (currently the version in the Ubuntu repo).
* Limitation: Chromium v18 doesn't support synchronized settings. And when the user upgrades to a more recent version that supports `chrome.storage`, previous settings will not be migrated.
* Thanks to [gingerlime](https://github.com/gingerlime) for [finding this bug](https://github.com/adam-p/markdown-here/issues/6#issuecomment-7769877) and helping to fix it.
2012-08-08: v2.5.2
------------------
* Firefox/Thunderbird: Minor change resulting from Mozilla review. (Fixed a "loose" variable.)
2012-08-02: v2.5.1
------------------
* Chrome: Fixed bug: In version 21 of Chrome, the Markdown Here options page no longer rendered correctly. (Chrome changed the display style name for flexbox layout from "-webkit-flexbox" to "-webkit-flex". Using bleeding edge CSS maybe wasn't a great idea.)
2012-07-27: v2.5.0
------------------
* Changed default styles (e.g., font sizes) to be more relative. This results, for example, in ordinary Markdown-Here-rendered text looking more like ordinary Gmail text instead of the previous somewhat jarring size change.
* This also fixes a bug: Inline code in headings will now be the correct size.
* Chrome: Options page with changelist at top will be opened when *Markdown Here* updates.
* Significant changes under the hood to (hopefully!) allow *Markdown Here* to properly pass a full Mozilla review. For details, see [issue #21](https://github.com/adam-p/markdown-here/issues/21).
* Fixed bug: Empty line would appear at the top of rendered fenced code blocks that had been pasted.
* Removed feature/fixed bug: Pre-formatted links are no longer left intact. It conflicted with Marked.js's GFM behaviour of turning text that looks like a URL into a link. So if a pre-formatted link was created that used the URL as the text (e.g. `http://github.com `), the resulting rendering would get messed up (`... `).
- Let this be a lesson about the perils of frivolous features.
2012-07-21: v2.4.0
------------------
* Chrome: Added styling options. You can now edit the CSS used to style the rendered Markdown and choose between various syntax highlighting themes. These options are synchronized between your different installations of Chrome (if you have it enabled in Chrome).
* Removed feature: Pre-formatted text (colours, italics, bold, etc.) and lists (made using the email client rich edit controls, for example) are no longer left intact. It just caused too many problems and special cases (and would have required more special cases to get working again in Yahoo). Links are left intact.
- There are still two ways to still get additional formatting:
1. Format *after* Markdown-Toggling. Note that any changes -- including formatting -- made to rendered text will be lost if you toggle back to Markdown. So only do your additional formatting after you're happy with the rest.
2. Add inline HTML with the desired formatting.
* In your Markdown, you can use `` or ``, etc., to explicitly style your text. For example:
```
Here is some *big red* highlighting.
```
* If you find you use inline tags with complex styles a lot, edit the CSS in the options to add a class that you can reuse for your inline tags. For example, in the CSS add:
```
.bigred {
background-color: red;
font-size: 2em;
}
```
And then in your Markdown:
```
Here is some *big red* highlighting.
```
- It saddens me to remove out this feature, but I think it's essentially creeping featurism that has a higher bug-danger-cost than it has an actually-useful-benefit. If this feature is/was important to you, please create an issue to let me know.
2012-06-20: v2.3.1
------------------
* Fixed bug: Yahoo: Code blocks would just show a bunch of span tags. (Introduced in 2.3.0.)
2012-06-20: v2.3.0
------------------
* Works with Google Groups posts! You can use it either in the GG rich compose box, or when sending posts via email.
* Added support for inline, pre-rendered images. Some email editors allow the user to drag-and-drop an image into an email body, and some allow users to select one from their computer or the web (or an emoticon in the email compose controls!). Previously, the image would be lost when a "Markdown Toggle" was done. Now the image will be retained.
* Pre-formatted text (colours, italics, bold, etc.), links, and lists (made using the email client rich edit controls, for example) are now left intact when rendering the Markdown.
* Added ability to convert a reply email in its entirety, rather than using the select-and-convert piecemeal approach.
- This doesn't work with Yahoo and Hotmail, because they don't seem to quote the original email.
- Resolves issue #14.
* Some styling changes.
* Bug fixes.
* Created a Markdown cheatsheet: https://github.com/adam-p/markdown-here/wiki/Markdown-Here-Cheatsheet
2012-06-07: v2.2.0
------------------
* Syntax highlighting! Coloured monospace text is super sexy.
* Email signatures are now excluded from conversion. Signatures must be preceded by "-- " (note the space at the end).
* Fixed block quotes.
* Much improved table and definition list styling.
* Better styling and consistency across browsers and mail clients.
2012-05-31: v2.1.3
------------------
* Firefox/Thunderbird: "Markdown Toggle" menu item will show up for non-rich-edit elements, but an error message will be given if the item is clicked. Hopefully this will help people notice that they're not using a rich editor, instead of wondering where the menu item is.
* Chrome: If the "Markdown Toggle" menu item is clicked for a non-rich-edit element, a helpful error message will be shown.
* Fixed bug: Significant trailing spaces were being stripped. This was breaking the Markdown syntax feature of two spaces at the end of the line indicating a hard line break.
* Changed context menu access key to 'k'. Previously, Chrome had no access key and Firefox/Thunderbird had the more-common letter 'm'.
* Other minor bugfixes.
2012-05-21: v2.1.2
------------------
* Chrome: Fixed manifest. Using manifest version 2 worked in debug, but not when published to the Store. Had to delete original Store extension in the process. :(
* Chrome: Updated manifest home page link to new Store address.
2012-05-21: v2.1.0
------------------
* Added Thunderbird support to Firefox extension.
* Tightened security restrictions in Chrome extension.
2012-05-20: v2.0.0
------------------
* Added Firefox extension.
* Chrome version: Moved most rendering code out of content scripts and into background scripts. This means less code needs to be loaded with each page. (The Firefox version also more or less behaves like this.)
2012-05-17: v1.2.1
------------------
* Bug fix: Rendering and reverting same selection (rather than reverting a point or selection within the original selection) would result in a loss of original Markdown.
2012-05-16: v1.2.0
------------------
* New feature: You can convert only part of an email by selected a region before clicking "Markdown Toggle". This is great for replies. To revert back to Markdown, right-click in the converted block and click "Markdown Toggle" again.
2012-05-15: v1.1.2
------------------
* Fixed issue with fonts sent and received by Yahoo.
2012-05-14: v1.1.1
------------------
* Fixed Gmail display of received rendered-from-Markdown email. Gmail was killing the `
{{forgot_to_render_prompt_title}}
×
{{forgot_to_render_prompt_info}}
{{forgot_to_render_prompt_question}}
{{forgot_to_render_back_button}}
{{forgot_to_render_send_button}}
================================================
FILE: src/common/highlightjs/highlight.js
================================================
/*!
Highlight.js v11.11.1 (git: 08cb242e7d)
(c) 2006-2025 Josh Goebel and other contributors
License: BSD-3-Clause
*/
var hljs = (function () {
'use strict';
/* eslint-disable no-multi-assign */
function deepFreeze(obj) {
if (obj instanceof Map) {
obj.clear =
obj.delete =
obj.set =
function () {
throw new Error('map is read-only');
};
} else if (obj instanceof Set) {
obj.add =
obj.clear =
obj.delete =
function () {
throw new Error('set is read-only');
};
}
// Freeze self
Object.freeze(obj);
Object.getOwnPropertyNames(obj).forEach((name) => {
const prop = obj[name];
const type = typeof prop;
// Freeze prop if it is an object or function and also not already frozen
if ((type === 'object' || type === 'function') && !Object.isFrozen(prop)) {
deepFreeze(prop);
}
});
return obj;
}
/** @typedef {import('highlight.js').CallbackResponse} CallbackResponse */
/** @typedef {import('highlight.js').CompiledMode} CompiledMode */
/** @implements CallbackResponse */
class Response {
/**
* @param {CompiledMode} mode
*/
constructor(mode) {
// eslint-disable-next-line no-undefined
if (mode.data === undefined) mode.data = {};
this.data = mode.data;
this.isMatchIgnored = false;
}
ignoreMatch() {
this.isMatchIgnored = true;
}
}
/**
* @param {string} value
* @returns {string}
*/
function escapeHTML(value) {
return value
.replace(/&/g, '&')
.replace(//g, '>')
.replace(/"/g, '"')
.replace(/'/g, ''');
}
/**
* performs a shallow merge of multiple objects into one
*
* @template T
* @param {T} original
* @param {Record[]} objects
* @returns {T} a single new object
*/
function inherit$1(original, ...objects) {
/** @type Record */
const result = Object.create(null);
for (const key in original) {
result[key] = original[key];
}
objects.forEach(function(obj) {
for (const key in obj) {
result[key] = obj[key];
}
});
return /** @type {T} */ (result);
}
/**
* @typedef {object} Renderer
* @property {(text: string) => void} addText
* @property {(node: Node) => void} openNode
* @property {(node: Node) => void} closeNode
* @property {() => string} value
*/
/** @typedef {{scope?: string, language?: string, sublanguage?: boolean}} Node */
/** @typedef {{walk: (r: Renderer) => void}} Tree */
/** */
const SPAN_CLOSE = ' ';
/**
* Determines if a node needs to be wrapped in
*
* @param {Node} node */
const emitsWrappingTags = (node) => {
// rarely we can have a sublanguage where language is undefined
// TODO: track down why
return !!node.scope;
};
/**
*
* @param {string} name
* @param {{prefix:string}} options
*/
const scopeToCSSClass = (name, { prefix }) => {
// sub-language
if (name.startsWith("language:")) {
return name.replace("language:", "language-");
}
// tiered scope: comment.line
if (name.includes(".")) {
const pieces = name.split(".");
return [
`${prefix}${pieces.shift()}`,
...(pieces.map((x, i) => `${x}${"_".repeat(i + 1)}`))
].join(" ");
}
// simple scope
return `${prefix}${name}`;
};
/** @type {Renderer} */
class HTMLRenderer {
/**
* Creates a new HTMLRenderer
*
* @param {Tree} parseTree - the parse tree (must support `walk` API)
* @param {{classPrefix: string}} options
*/
constructor(parseTree, options) {
this.buffer = "";
this.classPrefix = options.classPrefix;
parseTree.walk(this);
}
/**
* Adds texts to the output stream
*
* @param {string} text */
addText(text) {
this.buffer += escapeHTML(text);
}
/**
* Adds a node open to the output stream (if needed)
*
* @param {Node} node */
openNode(node) {
if (!emitsWrappingTags(node)) return;
const className = scopeToCSSClass(node.scope,
{ prefix: this.classPrefix });
this.span(className);
}
/**
* Adds a node close to the output stream (if needed)
*
* @param {Node} node */
closeNode(node) {
if (!emitsWrappingTags(node)) return;
this.buffer += SPAN_CLOSE;
}
/**
* returns the accumulated buffer
*/
value() {
return this.buffer;
}
// helpers
/**
* Builds a span element
*
* @param {string} className */
span(className) {
this.buffer += ``;
}
}
/** @typedef {{scope?: string, language?: string, children: Node[]} | string} Node */
/** @typedef {{scope?: string, language?: string, children: Node[]} } DataNode */
/** @typedef {import('highlight.js').Emitter} Emitter */
/** */
/** @returns {DataNode} */
const newNode = (opts = {}) => {
/** @type DataNode */
const result = { children: [] };
Object.assign(result, opts);
return result;
};
class TokenTree {
constructor() {
/** @type DataNode */
this.rootNode = newNode();
this.stack = [this.rootNode];
}
get top() {
return this.stack[this.stack.length - 1];
}
get root() { return this.rootNode; }
/** @param {Node} node */
add(node) {
this.top.children.push(node);
}
/** @param {string} scope */
openNode(scope) {
/** @type Node */
const node = newNode({ scope });
this.add(node);
this.stack.push(node);
}
closeNode() {
if (this.stack.length > 1) {
return this.stack.pop();
}
// eslint-disable-next-line no-undefined
return undefined;
}
closeAllNodes() {
while (this.closeNode());
}
toJSON() {
return JSON.stringify(this.rootNode, null, 4);
}
/**
* @typedef { import("./html_renderer").Renderer } Renderer
* @param {Renderer} builder
*/
walk(builder) {
// this does not
return this.constructor._walk(builder, this.rootNode);
// this works
// return TokenTree._walk(builder, this.rootNode);
}
/**
* @param {Renderer} builder
* @param {Node} node
*/
static _walk(builder, node) {
if (typeof node === "string") {
builder.addText(node);
} else if (node.children) {
builder.openNode(node);
node.children.forEach((child) => this._walk(builder, child));
builder.closeNode(node);
}
return builder;
}
/**
* @param {Node} node
*/
static _collapse(node) {
if (typeof node === "string") return;
if (!node.children) return;
if (node.children.every(el => typeof el === "string")) {
// node.text = node.children.join("");
// delete node.children;
node.children = [node.children.join("")];
} else {
node.children.forEach((child) => {
TokenTree._collapse(child);
});
}
}
}
/**
Currently this is all private API, but this is the minimal API necessary
that an Emitter must implement to fully support the parser.
Minimal interface:
- addText(text)
- __addSublanguage(emitter, subLanguageName)
- startScope(scope)
- endScope()
- finalize()
- toHTML()
*/
/**
* @implements {Emitter}
*/
class TokenTreeEmitter extends TokenTree {
/**
* @param {*} options
*/
constructor(options) {
super();
this.options = options;
}
/**
* @param {string} text
*/
addText(text) {
if (text === "") { return; }
this.add(text);
}
/** @param {string} scope */
startScope(scope) {
this.openNode(scope);
}
endScope() {
this.closeNode();
}
/**
* @param {Emitter & {root: DataNode}} emitter
* @param {string} name
*/
__addSublanguage(emitter, name) {
/** @type DataNode */
const node = emitter.root;
if (name) node.scope = `language:${name}`;
this.add(node);
}
toHTML() {
const renderer = new HTMLRenderer(this, this.options);
return renderer.value();
}
finalize() {
this.closeAllNodes();
return true;
}
}
/**
* @param {string} value
* @returns {RegExp}
* */
/**
* @param {RegExp | string } re
* @returns {string}
*/
function source(re) {
if (!re) return null;
if (typeof re === "string") return re;
return re.source;
}
/**
* @param {RegExp | string } re
* @returns {string}
*/
function lookahead(re) {
return concat('(?=', re, ')');
}
/**
* @param {RegExp | string } re
* @returns {string}
*/
function anyNumberOfTimes(re) {
return concat('(?:', re, ')*');
}
/**
* @param {RegExp | string } re
* @returns {string}
*/
function optional(re) {
return concat('(?:', re, ')?');
}
/**
* @param {...(RegExp | string) } args
* @returns {string}
*/
function concat(...args) {
const joined = args.map((x) => source(x)).join("");
return joined;
}
/**
* @param { Array } args
* @returns {object}
*/
function stripOptionsFromArgs(args) {
const opts = args[args.length - 1];
if (typeof opts === 'object' && opts.constructor === Object) {
args.splice(args.length - 1, 1);
return opts;
} else {
return {};
}
}
/** @typedef { {capture?: boolean} } RegexEitherOptions */
/**
* Any of the passed expresssions may match
*
* Creates a huge this | this | that | that match
* @param {(RegExp | string)[] | [...(RegExp | string)[], RegexEitherOptions]} args
* @returns {string}
*/
function either(...args) {
/** @type { object & {capture?: boolean} } */
const opts = stripOptionsFromArgs(args);
const joined = '('
+ (opts.capture ? "" : "?:")
+ args.map((x) => source(x)).join("|") + ")";
return joined;
}
/**
* @param {RegExp | string} re
* @returns {number}
*/
function countMatchGroups(re) {
return (new RegExp(re.toString() + '|')).exec('').length - 1;
}
/**
* Does lexeme start with a regular expression match at the beginning
* @param {RegExp} re
* @param {string} lexeme
*/
function startsWith(re, lexeme) {
const match = re && re.exec(lexeme);
return match && match.index === 0;
}
// BACKREF_RE matches an open parenthesis or backreference. To avoid
// an incorrect parse, it additionally matches the following:
// - [...] elements, where the meaning of parentheses and escapes change
// - other escape sequences, so we do not misparse escape sequences as
// interesting elements
// - non-matching or lookahead parentheses, which do not capture. These
// follow the '(' with a '?'.
const BACKREF_RE = /\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;
// **INTERNAL** Not intended for outside usage
// join logically computes regexps.join(separator), but fixes the
// backreferences so they continue to match.
// it also places each individual regular expression into it's own
// match group, keeping track of the sequencing of those match groups
// is currently an exercise for the caller. :-)
/**
* @param {(string | RegExp)[]} regexps
* @param {{joinWith: string}} opts
* @returns {string}
*/
function _rewriteBackreferences(regexps, { joinWith }) {
let numCaptures = 0;
return regexps.map((regex) => {
numCaptures += 1;
const offset = numCaptures;
let re = source(regex);
let out = '';
while (re.length > 0) {
const match = BACKREF_RE.exec(re);
if (!match) {
out += re;
break;
}
out += re.substring(0, match.index);
re = re.substring(match.index + match[0].length);
if (match[0][0] === '\\' && match[1]) {
// Adjust the backreference.
out += '\\' + String(Number(match[1]) + offset);
} else {
out += match[0];
if (match[0] === '(') {
numCaptures++;
}
}
}
return out;
}).map(re => `(${re})`).join(joinWith);
}
/** @typedef {import('highlight.js').Mode} Mode */
/** @typedef {import('highlight.js').ModeCallback} ModeCallback */
// Common regexps
const MATCH_NOTHING_RE = /\b\B/;
const IDENT_RE = '[a-zA-Z]\\w*';
const UNDERSCORE_IDENT_RE = '[a-zA-Z_]\\w*';
const NUMBER_RE = '\\b\\d+(\\.\\d+)?';
const C_NUMBER_RE = '(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)'; // 0x..., 0..., decimal, float
const BINARY_NUMBER_RE = '\\b(0b[01]+)'; // 0b...
const RE_STARTERS_RE = '!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~';
/**
* @param { Partial & {binary?: string | RegExp} } opts
*/
const SHEBANG = (opts = {}) => {
const beginShebang = /^#![ ]*\//;
if (opts.binary) {
opts.begin = concat(
beginShebang,
/.*\b/,
opts.binary,
/\b.*/);
}
return inherit$1({
scope: 'meta',
begin: beginShebang,
end: /$/,
relevance: 0,
/** @type {ModeCallback} */
"on:begin": (m, resp) => {
if (m.index !== 0) resp.ignoreMatch();
}
}, opts);
};
// Common modes
const BACKSLASH_ESCAPE = {
begin: '\\\\[\\s\\S]', relevance: 0
};
const APOS_STRING_MODE = {
scope: 'string',
begin: '\'',
end: '\'',
illegal: '\\n',
contains: [BACKSLASH_ESCAPE]
};
const QUOTE_STRING_MODE = {
scope: 'string',
begin: '"',
end: '"',
illegal: '\\n',
contains: [BACKSLASH_ESCAPE]
};
const PHRASAL_WORDS_MODE = {
begin: /\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/
};
/**
* Creates a comment mode
*
* @param {string | RegExp} begin
* @param {string | RegExp} end
* @param {Mode | {}} [modeOptions]
* @returns {Partial}
*/
const COMMENT = function(begin, end, modeOptions = {}) {
const mode = inherit$1(
{
scope: 'comment',
begin,
end,
contains: []
},
modeOptions
);
mode.contains.push({
scope: 'doctag',
// hack to avoid the space from being included. the space is necessary to
// match here to prevent the plain text rule below from gobbling up doctags
begin: '[ ]*(?=(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):)',
end: /(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):/,
excludeBegin: true,
relevance: 0
});
const ENGLISH_WORD = either(
// list of common 1 and 2 letter words in English
"I",
"a",
"is",
"so",
"us",
"to",
"at",
"if",
"in",
"it",
"on",
// note: this is not an exhaustive list of contractions, just popular ones
/[A-Za-z]+['](d|ve|re|ll|t|s|n)/, // contractions - can't we'd they're let's, etc
/[A-Za-z]+[-][a-z]+/, // `no-way`, etc.
/[A-Za-z][a-z]{2,}/ // allow capitalized words at beginning of sentences
);
// looking like plain text, more likely to be a comment
mode.contains.push(
{
// TODO: how to include ", (, ) without breaking grammars that use these for
// comment delimiters?
// begin: /[ ]+([()"]?([A-Za-z'-]{3,}|is|a|I|so|us|[tT][oO]|at|if|in|it|on)[.]?[()":]?([.][ ]|[ ]|\))){3}/
// ---
// this tries to find sequences of 3 english words in a row (without any
// "programming" type syntax) this gives us a strong signal that we've
// TRULY found a comment - vs perhaps scanning with the wrong language.
// It's possible to find something that LOOKS like the start of the
// comment - but then if there is no readable text - good chance it is a
// false match and not a comment.
//
// for a visual example please see:
// https://github.com/highlightjs/highlight.js/issues/2827
begin: concat(
/[ ]+/, // necessary to prevent us gobbling up doctags like /* @author Bob Mcgill */
'(',
ENGLISH_WORD,
/[.]?[:]?([.][ ]|[ ])/,
'){3}') // look for 3 words in a row
}
);
return mode;
};
const C_LINE_COMMENT_MODE = COMMENT('//', '$');
const C_BLOCK_COMMENT_MODE = COMMENT('/\\*', '\\*/');
const HASH_COMMENT_MODE = COMMENT('#', '$');
const NUMBER_MODE = {
scope: 'number',
begin: NUMBER_RE,
relevance: 0
};
const C_NUMBER_MODE = {
scope: 'number',
begin: C_NUMBER_RE,
relevance: 0
};
const BINARY_NUMBER_MODE = {
scope: 'number',
begin: BINARY_NUMBER_RE,
relevance: 0
};
const REGEXP_MODE = {
scope: "regexp",
begin: /\/(?=[^/\n]*\/)/,
end: /\/[gimuy]*/,
contains: [
BACKSLASH_ESCAPE,
{
begin: /\[/,
end: /\]/,
relevance: 0,
contains: [BACKSLASH_ESCAPE]
}
]
};
const TITLE_MODE = {
scope: 'title',
begin: IDENT_RE,
relevance: 0
};
const UNDERSCORE_TITLE_MODE = {
scope: 'title',
begin: UNDERSCORE_IDENT_RE,
relevance: 0
};
const METHOD_GUARD = {
// excludes method names from keyword processing
begin: '\\.\\s*' + UNDERSCORE_IDENT_RE,
relevance: 0
};
/**
* Adds end same as begin mechanics to a mode
*
* Your mode must include at least a single () match group as that first match
* group is what is used for comparison
* @param {Partial} mode
*/
const END_SAME_AS_BEGIN = function(mode) {
return Object.assign(mode,
{
/** @type {ModeCallback} */
'on:begin': (m, resp) => { resp.data._beginMatch = m[1]; },
/** @type {ModeCallback} */
'on:end': (m, resp) => { if (resp.data._beginMatch !== m[1]) resp.ignoreMatch(); }
});
};
var MODES = /*#__PURE__*/Object.freeze({
__proto__: null,
APOS_STRING_MODE: APOS_STRING_MODE,
BACKSLASH_ESCAPE: BACKSLASH_ESCAPE,
BINARY_NUMBER_MODE: BINARY_NUMBER_MODE,
BINARY_NUMBER_RE: BINARY_NUMBER_RE,
COMMENT: COMMENT,
C_BLOCK_COMMENT_MODE: C_BLOCK_COMMENT_MODE,
C_LINE_COMMENT_MODE: C_LINE_COMMENT_MODE,
C_NUMBER_MODE: C_NUMBER_MODE,
C_NUMBER_RE: C_NUMBER_RE,
END_SAME_AS_BEGIN: END_SAME_AS_BEGIN,
HASH_COMMENT_MODE: HASH_COMMENT_MODE,
IDENT_RE: IDENT_RE,
MATCH_NOTHING_RE: MATCH_NOTHING_RE,
METHOD_GUARD: METHOD_GUARD,
NUMBER_MODE: NUMBER_MODE,
NUMBER_RE: NUMBER_RE,
PHRASAL_WORDS_MODE: PHRASAL_WORDS_MODE,
QUOTE_STRING_MODE: QUOTE_STRING_MODE,
REGEXP_MODE: REGEXP_MODE,
RE_STARTERS_RE: RE_STARTERS_RE,
SHEBANG: SHEBANG,
TITLE_MODE: TITLE_MODE,
UNDERSCORE_IDENT_RE: UNDERSCORE_IDENT_RE,
UNDERSCORE_TITLE_MODE: UNDERSCORE_TITLE_MODE
});
/**
@typedef {import('highlight.js').CallbackResponse} CallbackResponse
@typedef {import('highlight.js').CompilerExt} CompilerExt
*/
// Grammar extensions / plugins
// See: https://github.com/highlightjs/highlight.js/issues/2833
// Grammar extensions allow "syntactic sugar" to be added to the grammar modes
// without requiring any underlying changes to the compiler internals.
// `compileMatch` being the perfect small example of now allowing a grammar
// author to write `match` when they desire to match a single expression rather
// than being forced to use `begin`. The extension then just moves `match` into
// `begin` when it runs. Ie, no features have been added, but we've just made
// the experience of writing (and reading grammars) a little bit nicer.
// ------
// TODO: We need negative look-behind support to do this properly
/**
* Skip a match if it has a preceding dot
*
* This is used for `beginKeywords` to prevent matching expressions such as
* `bob.keyword.do()`. The mode compiler automatically wires this up as a
* special _internal_ 'on:begin' callback for modes with `beginKeywords`
* @param {RegExpMatchArray} match
* @param {CallbackResponse} response
*/
function skipIfHasPrecedingDot(match, response) {
const before = match.input[match.index - 1];
if (before === ".") {
response.ignoreMatch();
}
}
/**
*
* @type {CompilerExt}
*/
function scopeClassName(mode, _parent) {
// eslint-disable-next-line no-undefined
if (mode.className !== undefined) {
mode.scope = mode.className;
delete mode.className;
}
}
/**
* `beginKeywords` syntactic sugar
* @type {CompilerExt}
*/
function beginKeywords(mode, parent) {
if (!parent) return;
if (!mode.beginKeywords) return;
// for languages with keywords that include non-word characters checking for
// a word boundary is not sufficient, so instead we check for a word boundary
// or whitespace - this does no harm in any case since our keyword engine
// doesn't allow spaces in keywords anyways and we still check for the boundary
// first
mode.begin = '\\b(' + mode.beginKeywords.split(' ').join('|') + ')(?!\\.)(?=\\b|\\s)';
mode.__beforeBegin = skipIfHasPrecedingDot;
mode.keywords = mode.keywords || mode.beginKeywords;
delete mode.beginKeywords;
// prevents double relevance, the keywords themselves provide
// relevance, the mode doesn't need to double it
// eslint-disable-next-line no-undefined
if (mode.relevance === undefined) mode.relevance = 0;
}
/**
* Allow `illegal` to contain an array of illegal values
* @type {CompilerExt}
*/
function compileIllegal(mode, _parent) {
if (!Array.isArray(mode.illegal)) return;
mode.illegal = either(...mode.illegal);
}
/**
* `match` to match a single expression for readability
* @type {CompilerExt}
*/
function compileMatch(mode, _parent) {
if (!mode.match) return;
if (mode.begin || mode.end) throw new Error("begin & end are not supported with match");
mode.begin = mode.match;
delete mode.match;
}
/**
* provides the default 1 relevance to all modes
* @type {CompilerExt}
*/
function compileRelevance(mode, _parent) {
// eslint-disable-next-line no-undefined
if (mode.relevance === undefined) mode.relevance = 1;
}
// allow beforeMatch to act as a "qualifier" for the match
// the full match begin must be [beforeMatch][begin]
const beforeMatchExt = (mode, parent) => {
if (!mode.beforeMatch) return;
// starts conflicts with endsParent which we need to make sure the child
// rule is not matched multiple times
if (mode.starts) throw new Error("beforeMatch cannot be used with starts");
const originalMode = Object.assign({}, mode);
Object.keys(mode).forEach((key) => { delete mode[key]; });
mode.keywords = originalMode.keywords;
mode.begin = concat(originalMode.beforeMatch, lookahead(originalMode.begin));
mode.starts = {
relevance: 0,
contains: [
Object.assign(originalMode, { endsParent: true })
]
};
mode.relevance = 0;
delete originalMode.beforeMatch;
};
// keywords that should have no default relevance value
const COMMON_KEYWORDS = [
'of',
'and',
'for',
'in',
'not',
'or',
'if',
'then',
'parent', // common variable name
'list', // common variable name
'value' // common variable name
];
const DEFAULT_KEYWORD_SCOPE = "keyword";
/**
* Given raw keywords from a language definition, compile them.
*
* @param {string | Record | Array} rawKeywords
* @param {boolean} caseInsensitive
*/
function compileKeywords(rawKeywords, caseInsensitive, scopeName = DEFAULT_KEYWORD_SCOPE) {
/** @type {import("highlight.js/private").KeywordDict} */
const compiledKeywords = Object.create(null);
// input can be a string of keywords, an array of keywords, or a object with
// named keys representing scopeName (which can then point to a string or array)
if (typeof rawKeywords === 'string') {
compileList(scopeName, rawKeywords.split(" "));
} else if (Array.isArray(rawKeywords)) {
compileList(scopeName, rawKeywords);
} else {
Object.keys(rawKeywords).forEach(function(scopeName) {
// collapse all our objects back into the parent object
Object.assign(
compiledKeywords,
compileKeywords(rawKeywords[scopeName], caseInsensitive, scopeName)
);
});
}
return compiledKeywords;
// ---
/**
* Compiles an individual list of keywords
*
* Ex: "for if when while|5"
*
* @param {string} scopeName
* @param {Array} keywordList
*/
function compileList(scopeName, keywordList) {
if (caseInsensitive) {
keywordList = keywordList.map(x => x.toLowerCase());
}
keywordList.forEach(function(keyword) {
const pair = keyword.split('|');
compiledKeywords[pair[0]] = [scopeName, scoreForKeyword(pair[0], pair[1])];
});
}
}
/**
* Returns the proper score for a given keyword
*
* Also takes into account comment keywords, which will be scored 0 UNLESS
* another score has been manually assigned.
* @param {string} keyword
* @param {string} [providedScore]
*/
function scoreForKeyword(keyword, providedScore) {
// manual scores always win over common keywords
// so you can force a score of 1 if you really insist
if (providedScore) {
return Number(providedScore);
}
return commonKeyword(keyword) ? 0 : 1;
}
/**
* Determines if a given keyword is common or not
*
* @param {string} keyword */
function commonKeyword(keyword) {
return COMMON_KEYWORDS.includes(keyword.toLowerCase());
}
/*
For the reasoning behind this please see:
https://github.com/highlightjs/highlight.js/issues/2880#issuecomment-747275419
*/
/**
* @type {Record}
*/
const seenDeprecations = {};
/**
* @param {string} message
*/
const error = (message) => {
console.error(message);
};
/**
* @param {string} message
* @param {any} args
*/
const warn = (message, ...args) => {
console.log(`WARN: ${message}`, ...args);
};
/**
* @param {string} version
* @param {string} message
*/
const deprecated = (version, message) => {
if (seenDeprecations[`${version}/${message}`]) return;
console.log(`Deprecated as of ${version}. ${message}`);
seenDeprecations[`${version}/${message}`] = true;
};
/* eslint-disable no-throw-literal */
/**
@typedef {import('highlight.js').CompiledMode} CompiledMode
*/
const MultiClassError = new Error();
/**
* Renumbers labeled scope names to account for additional inner match
* groups that otherwise would break everything.
*
* Lets say we 3 match scopes:
*
* { 1 => ..., 2 => ..., 3 => ... }
*
* So what we need is a clean match like this:
*
* (a)(b)(c) => [ "a", "b", "c" ]
*
* But this falls apart with inner match groups:
*
* (a)(((b)))(c) => ["a", "b", "b", "b", "c" ]
*
* Our scopes are now "out of alignment" and we're repeating `b` 3 times.
* What needs to happen is the numbers are remapped:
*
* { 1 => ..., 2 => ..., 5 => ... }
*
* We also need to know that the ONLY groups that should be output
* are 1, 2, and 5. This function handles this behavior.
*
* @param {CompiledMode} mode
* @param {Array} regexes
* @param {{key: "beginScope"|"endScope"}} opts
*/
function remapScopeNames(mode, regexes, { key }) {
let offset = 0;
const scopeNames = mode[key];
/** @type Record */
const emit = {};
/** @type Record */
const positions = {};
for (let i = 1; i <= regexes.length; i++) {
positions[i + offset] = scopeNames[i];
emit[i + offset] = true;
offset += countMatchGroups(regexes[i - 1]);
}
// we use _emit to keep track of which match groups are "top-level" to avoid double
// output from inside match groups
mode[key] = positions;
mode[key]._emit = emit;
mode[key]._multi = true;
}
/**
* @param {CompiledMode} mode
*/
function beginMultiClass(mode) {
if (!Array.isArray(mode.begin)) return;
if (mode.skip || mode.excludeBegin || mode.returnBegin) {
error("skip, excludeBegin, returnBegin not compatible with beginScope: {}");
throw MultiClassError;
}
if (typeof mode.beginScope !== "object" || mode.beginScope === null) {
error("beginScope must be object");
throw MultiClassError;
}
remapScopeNames(mode, mode.begin, { key: "beginScope" });
mode.begin = _rewriteBackreferences(mode.begin, { joinWith: "" });
}
/**
* @param {CompiledMode} mode
*/
function endMultiClass(mode) {
if (!Array.isArray(mode.end)) return;
if (mode.skip || mode.excludeEnd || mode.returnEnd) {
error("skip, excludeEnd, returnEnd not compatible with endScope: {}");
throw MultiClassError;
}
if (typeof mode.endScope !== "object" || mode.endScope === null) {
error("endScope must be object");
throw MultiClassError;
}
remapScopeNames(mode, mode.end, { key: "endScope" });
mode.end = _rewriteBackreferences(mode.end, { joinWith: "" });
}
/**
* this exists only to allow `scope: {}` to be used beside `match:`
* Otherwise `beginScope` would necessary and that would look weird
{
match: [ /def/, /\w+/ ]
scope: { 1: "keyword" , 2: "title" }
}
* @param {CompiledMode} mode
*/
function scopeSugar(mode) {
if (mode.scope && typeof mode.scope === "object" && mode.scope !== null) {
mode.beginScope = mode.scope;
delete mode.scope;
}
}
/**
* @param {CompiledMode} mode
*/
function MultiClass(mode) {
scopeSugar(mode);
if (typeof mode.beginScope === "string") {
mode.beginScope = { _wrap: mode.beginScope };
}
if (typeof mode.endScope === "string") {
mode.endScope = { _wrap: mode.endScope };
}
beginMultiClass(mode);
endMultiClass(mode);
}
/**
@typedef {import('highlight.js').Mode} Mode
@typedef {import('highlight.js').CompiledMode} CompiledMode
@typedef {import('highlight.js').Language} Language
@typedef {import('highlight.js').HLJSPlugin} HLJSPlugin
@typedef {import('highlight.js').CompiledLanguage} CompiledLanguage
*/
// compilation
/**
* Compiles a language definition result
*
* Given the raw result of a language definition (Language), compiles this so
* that it is ready for highlighting code.
* @param {Language} language
* @returns {CompiledLanguage}
*/
function compileLanguage(language) {
/**
* Builds a regex with the case sensitivity of the current language
*
* @param {RegExp | string} value
* @param {boolean} [global]
*/
function langRe(value, global) {
return new RegExp(
source(value),
'm'
+ (language.case_insensitive ? 'i' : '')
+ (language.unicodeRegex ? 'u' : '')
+ (global ? 'g' : '')
);
}
/**
Stores multiple regular expressions and allows you to quickly search for
them all in a string simultaneously - returning the first match. It does
this by creating a huge (a|b|c) regex - each individual item wrapped with ()
and joined by `|` - using match groups to track position. When a match is
found checking which position in the array has content allows us to figure
out which of the original regexes / match groups triggered the match.
The match object itself (the result of `Regex.exec`) is returned but also
enhanced by merging in any meta-data that was registered with the regex.
This is how we keep track of which mode matched, and what type of rule
(`illegal`, `begin`, end, etc).
*/
class MultiRegex {
constructor() {
this.matchIndexes = {};
// @ts-ignore
this.regexes = [];
this.matchAt = 1;
this.position = 0;
}
// @ts-ignore
addRule(re, opts) {
opts.position = this.position++;
// @ts-ignore
this.matchIndexes[this.matchAt] = opts;
this.regexes.push([opts, re]);
this.matchAt += countMatchGroups(re) + 1;
}
compile() {
if (this.regexes.length === 0) {
// avoids the need to check length every time exec is called
// @ts-ignore
this.exec = () => null;
}
const terminators = this.regexes.map(el => el[1]);
this.matcherRe = langRe(_rewriteBackreferences(terminators, { joinWith: '|' }), true);
this.lastIndex = 0;
}
/** @param {string} s */
exec(s) {
this.matcherRe.lastIndex = this.lastIndex;
const match = this.matcherRe.exec(s);
if (!match) { return null; }
// eslint-disable-next-line no-undefined
const i = match.findIndex((el, i) => i > 0 && el !== undefined);
// @ts-ignore
const matchData = this.matchIndexes[i];
// trim off any earlier non-relevant match groups (ie, the other regex
// match groups that make up the multi-matcher)
match.splice(0, i);
return Object.assign(match, matchData);
}
}
/*
Created to solve the key deficiently with MultiRegex - there is no way to
test for multiple matches at a single location. Why would we need to do
that? In the future a more dynamic engine will allow certain matches to be
ignored. An example: if we matched say the 3rd regex in a large group but
decided to ignore it - we'd need to started testing again at the 4th
regex... but MultiRegex itself gives us no real way to do that.
So what this class creates MultiRegexs on the fly for whatever search
position they are needed.
NOTE: These additional MultiRegex objects are created dynamically. For most
grammars most of the time we will never actually need anything more than the
first MultiRegex - so this shouldn't have too much overhead.
Say this is our search group, and we match regex3, but wish to ignore it.
regex1 | regex2 | regex3 | regex4 | regex5 ' ie, startAt = 0
What we need is a new MultiRegex that only includes the remaining
possibilities:
regex4 | regex5 ' ie, startAt = 3
This class wraps all that complexity up in a simple API... `startAt` decides
where in the array of expressions to start doing the matching. It
auto-increments, so if a match is found at position 2, then startAt will be
set to 3. If the end is reached startAt will return to 0.
MOST of the time the parser will be setting startAt manually to 0.
*/
class ResumableMultiRegex {
constructor() {
// @ts-ignore
this.rules = [];
// @ts-ignore
this.multiRegexes = [];
this.count = 0;
this.lastIndex = 0;
this.regexIndex = 0;
}
// @ts-ignore
getMatcher(index) {
if (this.multiRegexes[index]) return this.multiRegexes[index];
const matcher = new MultiRegex();
this.rules.slice(index).forEach(([re, opts]) => matcher.addRule(re, opts));
matcher.compile();
this.multiRegexes[index] = matcher;
return matcher;
}
resumingScanAtSamePosition() {
return this.regexIndex !== 0;
}
considerAll() {
this.regexIndex = 0;
}
// @ts-ignore
addRule(re, opts) {
this.rules.push([re, opts]);
if (opts.type === "begin") this.count++;
}
/** @param {string} s */
exec(s) {
const m = this.getMatcher(this.regexIndex);
m.lastIndex = this.lastIndex;
let result = m.exec(s);
// The following is because we have no easy way to say "resume scanning at the
// existing position but also skip the current rule ONLY". What happens is
// all prior rules are also skipped which can result in matching the wrong
// thing. Example of matching "booger":
// our matcher is [string, "booger", number]
//
// ....booger....
// if "booger" is ignored then we'd really need a regex to scan from the
// SAME position for only: [string, number] but ignoring "booger" (if it
// was the first match), a simple resume would scan ahead who knows how
// far looking only for "number", ignoring potential string matches (or
// future "booger" matches that might be valid.)
// So what we do: We execute two matchers, one resuming at the same
// position, but the second full matcher starting at the position after:
// /--- resume first regex match here (for [number])
// |/---- full match here for [string, "booger", number]
// vv
// ....booger....
// Which ever results in a match first is then used. So this 3-4 step
// process essentially allows us to say "match at this position, excluding
// a prior rule that was ignored".
//
// 1. Match "booger" first, ignore. Also proves that [string] does non match.
// 2. Resume matching for [number]
// 3. Match at index + 1 for [string, "booger", number]
// 4. If #2 and #3 result in matches, which came first?
if (this.resumingScanAtSamePosition()) {
if (result && result.index === this.lastIndex) ; else { // use the second matcher result
const m2 = this.getMatcher(0);
m2.lastIndex = this.lastIndex + 1;
result = m2.exec(s);
}
}
if (result) {
this.regexIndex += result.position + 1;
if (this.regexIndex === this.count) {
// wrap-around to considering all matches again
this.considerAll();
}
}
return result;
}
}
/**
* Given a mode, builds a huge ResumableMultiRegex that can be used to walk
* the content and find matches.
*
* @param {CompiledMode} mode
* @returns {ResumableMultiRegex}
*/
function buildModeRegex(mode) {
const mm = new ResumableMultiRegex();
mode.contains.forEach(term => mm.addRule(term.begin, { rule: term, type: "begin" }));
if (mode.terminatorEnd) {
mm.addRule(mode.terminatorEnd, { type: "end" });
}
if (mode.illegal) {
mm.addRule(mode.illegal, { type: "illegal" });
}
return mm;
}
/** skip vs abort vs ignore
*
* @skip - The mode is still entered and exited normally (and contains rules apply),
* but all content is held and added to the parent buffer rather than being
* output when the mode ends. Mostly used with `sublanguage` to build up
* a single large buffer than can be parsed by sublanguage.
*
* - The mode begin ands ends normally.
* - Content matched is added to the parent mode buffer.
* - The parser cursor is moved forward normally.
*
* @abort - A hack placeholder until we have ignore. Aborts the mode (as if it
* never matched) but DOES NOT continue to match subsequent `contains`
* modes. Abort is bad/suboptimal because it can result in modes
* farther down not getting applied because an earlier rule eats the
* content but then aborts.
*
* - The mode does not begin.
* - Content matched by `begin` is added to the mode buffer.
* - The parser cursor is moved forward accordingly.
*
* @ignore - Ignores the mode (as if it never matched) and continues to match any
* subsequent `contains` modes. Ignore isn't technically possible with
* the current parser implementation.
*
* - The mode does not begin.
* - Content matched by `begin` is ignored.
* - The parser cursor is not moved forward.
*/
/**
* Compiles an individual mode
*
* This can raise an error if the mode contains certain detectable known logic
* issues.
* @param {Mode} mode
* @param {CompiledMode | null} [parent]
* @returns {CompiledMode | never}
*/
function compileMode(mode, parent) {
const cmode = /** @type CompiledMode */ (mode);
if (mode.isCompiled) return cmode;
[
scopeClassName,
// do this early so compiler extensions generally don't have to worry about
// the distinction between match/begin
compileMatch,
MultiClass,
beforeMatchExt
].forEach(ext => ext(mode, parent));
language.compilerExtensions.forEach(ext => ext(mode, parent));
// __beforeBegin is considered private API, internal use only
mode.__beforeBegin = null;
[
beginKeywords,
// do this later so compiler extensions that come earlier have access to the
// raw array if they wanted to perhaps manipulate it, etc.
compileIllegal,
// default to 1 relevance if not specified
compileRelevance
].forEach(ext => ext(mode, parent));
mode.isCompiled = true;
let keywordPattern = null;
if (typeof mode.keywords === "object" && mode.keywords.$pattern) {
// we need a copy because keywords might be compiled multiple times
// so we can't go deleting $pattern from the original on the first
// pass
mode.keywords = Object.assign({}, mode.keywords);
keywordPattern = mode.keywords.$pattern;
delete mode.keywords.$pattern;
}
keywordPattern = keywordPattern || /\w+/;
if (mode.keywords) {
mode.keywords = compileKeywords(mode.keywords, language.case_insensitive);
}
cmode.keywordPatternRe = langRe(keywordPattern, true);
if (parent) {
if (!mode.begin) mode.begin = /\B|\b/;
cmode.beginRe = langRe(cmode.begin);
if (!mode.end && !mode.endsWithParent) mode.end = /\B|\b/;
if (mode.end) cmode.endRe = langRe(cmode.end);
cmode.terminatorEnd = source(cmode.end) || '';
if (mode.endsWithParent && parent.terminatorEnd) {
cmode.terminatorEnd += (mode.end ? '|' : '') + parent.terminatorEnd;
}
}
if (mode.illegal) cmode.illegalRe = langRe(/** @type {RegExp | string} */ (mode.illegal));
if (!mode.contains) mode.contains = [];
mode.contains = [].concat(...mode.contains.map(function(c) {
return expandOrCloneMode(c === 'self' ? mode : c);
}));
mode.contains.forEach(function(c) { compileMode(/** @type Mode */ (c), cmode); });
if (mode.starts) {
compileMode(mode.starts, parent);
}
cmode.matcher = buildModeRegex(cmode);
return cmode;
}
if (!language.compilerExtensions) language.compilerExtensions = [];
// self is not valid at the top-level
if (language.contains && language.contains.includes('self')) {
throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");
}
// we need a null object, which inherit will guarantee
language.classNameAliases = inherit$1(language.classNameAliases || {});
return compileMode(/** @type Mode */ (language));
}
/**
* Determines if a mode has a dependency on it's parent or not
*
* If a mode does have a parent dependency then often we need to clone it if
* it's used in multiple places so that each copy points to the correct parent,
* where-as modes without a parent can often safely be re-used at the bottom of
* a mode chain.
*
* @param {Mode | null} mode
* @returns {boolean} - is there a dependency on the parent?
* */
function dependencyOnParent(mode) {
if (!mode) return false;
return mode.endsWithParent || dependencyOnParent(mode.starts);
}
/**
* Expands a mode or clones it if necessary
*
* This is necessary for modes with parental dependenceis (see notes on
* `dependencyOnParent`) and for nodes that have `variants` - which must then be
* exploded into their own individual modes at compile time.
*
* @param {Mode} mode
* @returns {Mode | Mode[]}
* */
function expandOrCloneMode(mode) {
if (mode.variants && !mode.cachedVariants) {
mode.cachedVariants = mode.variants.map(function(variant) {
return inherit$1(mode, { variants: null }, variant);
});
}
// EXPAND
// if we have variants then essentially "replace" the mode with the variants
// this happens in compileMode, where this function is called from
if (mode.cachedVariants) {
return mode.cachedVariants;
}
// CLONE
// if we have dependencies on parents then we need a unique
// instance of ourselves, so we can be reused with many
// different parents without issue
if (dependencyOnParent(mode)) {
return inherit$1(mode, { starts: mode.starts ? inherit$1(mode.starts) : null });
}
if (Object.isFrozen(mode)) {
return inherit$1(mode);
}
// no special dependency issues, just return ourselves
return mode;
}
var version = "11.11.1";
class HTMLInjectionError extends Error {
constructor(reason, html) {
super(reason);
this.name = "HTMLInjectionError";
this.html = html;
}
}
/*
Syntax highlighting with language autodetection.
https://highlightjs.org/
*/
/**
@typedef {import('highlight.js').Mode} Mode
@typedef {import('highlight.js').CompiledMode} CompiledMode
@typedef {import('highlight.js').CompiledScope} CompiledScope
@typedef {import('highlight.js').Language} Language
@typedef {import('highlight.js').HLJSApi} HLJSApi
@typedef {import('highlight.js').HLJSPlugin} HLJSPlugin
@typedef {import('highlight.js').PluginEvent} PluginEvent
@typedef {import('highlight.js').HLJSOptions} HLJSOptions
@typedef {import('highlight.js').LanguageFn} LanguageFn
@typedef {import('highlight.js').HighlightedHTMLElement} HighlightedHTMLElement
@typedef {import('highlight.js').BeforeHighlightContext} BeforeHighlightContext
@typedef {import('highlight.js/private').MatchType} MatchType
@typedef {import('highlight.js/private').KeywordData} KeywordData
@typedef {import('highlight.js/private').EnhancedMatch} EnhancedMatch
@typedef {import('highlight.js/private').AnnotatedError} AnnotatedError
@typedef {import('highlight.js').AutoHighlightResult} AutoHighlightResult
@typedef {import('highlight.js').HighlightOptions} HighlightOptions
@typedef {import('highlight.js').HighlightResult} HighlightResult
*/
const escape = escapeHTML;
const inherit = inherit$1;
const NO_MATCH = Symbol("nomatch");
const MAX_KEYWORD_HITS = 7;
/**
* @param {any} hljs - object that is extended (legacy)
* @returns {HLJSApi}
*/
const HLJS = function(hljs) {
// Global internal variables used within the highlight.js library.
/** @type {Record} */
const languages = Object.create(null);
/** @type {Record} */
const aliases = Object.create(null);
/** @type {HLJSPlugin[]} */
const plugins = [];
// safe/production mode - swallows more errors, tries to keep running
// even if a single syntax or parse hits a fatal error
let SAFE_MODE = true;
const LANGUAGE_NOT_FOUND = "Could not find the language '{}', did you forget to load/include a language module?";
/** @type {Language} */
const PLAINTEXT_LANGUAGE = { disableAutodetect: true, name: 'Plain text', contains: [] };
// Global options used when within external APIs. This is modified when
// calling the `hljs.configure` function.
/** @type HLJSOptions */
let options = {
ignoreUnescapedHTML: false,
throwUnescapedHTML: false,
noHighlightRe: /^(no-?highlight)$/i,
languageDetectRe: /\blang(?:uage)?-([\w-]+)\b/i,
classPrefix: 'hljs-',
cssSelector: 'pre code',
languages: null,
// beta configuration options, subject to change, welcome to discuss
// https://github.com/highlightjs/highlight.js/issues/1086
__emitter: TokenTreeEmitter
};
/* Utility functions */
/**
* Tests a language name to see if highlighting should be skipped
* @param {string} languageName
*/
function shouldNotHighlight(languageName) {
return options.noHighlightRe.test(languageName);
}
/**
* @param {HighlightedHTMLElement} block - the HTML element to determine language for
*/
function blockLanguage(block) {
let classes = block.className + ' ';
classes += block.parentNode ? block.parentNode.className : '';
// language-* takes precedence over non-prefixed class names.
const match = options.languageDetectRe.exec(classes);
if (match) {
const language = getLanguage(match[1]);
if (!language) {
warn(LANGUAGE_NOT_FOUND.replace("{}", match[1]));
warn("Falling back to no-highlight mode for this block.", block);
}
return language ? match[1] : 'no-highlight';
}
return classes
.split(/\s+/)
.find((_class) => shouldNotHighlight(_class) || getLanguage(_class));
}
/**
* Core highlighting function.
*
* OLD API
* highlight(lang, code, ignoreIllegals, continuation)
*
* NEW API
* highlight(code, {lang, ignoreIllegals})
*
* @param {string} codeOrLanguageName - the language to use for highlighting
* @param {string | HighlightOptions} optionsOrCode - the code to highlight
* @param {boolean} [ignoreIllegals] - whether to ignore illegal matches, default is to bail
*
* @returns {HighlightResult} Result - an object that represents the result
* @property {string} language - the language name
* @property {number} relevance - the relevance score
* @property {string} value - the highlighted HTML code
* @property {string} code - the original raw code
* @property {CompiledMode} top - top of the current mode stack
* @property {boolean} illegal - indicates whether any illegal matches were found
*/
function highlight(codeOrLanguageName, optionsOrCode, ignoreIllegals) {
let code = "";
let languageName = "";
if (typeof optionsOrCode === "object") {
code = codeOrLanguageName;
ignoreIllegals = optionsOrCode.ignoreIllegals;
languageName = optionsOrCode.language;
} else {
// old API
deprecated("10.7.0", "highlight(lang, code, ...args) has been deprecated.");
deprecated("10.7.0", "Please use highlight(code, options) instead.\nhttps://github.com/highlightjs/highlight.js/issues/2277");
languageName = codeOrLanguageName;
code = optionsOrCode;
}
// https://github.com/highlightjs/highlight.js/issues/3149
// eslint-disable-next-line no-undefined
if (ignoreIllegals === undefined) { ignoreIllegals = true; }
/** @type {BeforeHighlightContext} */
const context = {
code,
language: languageName
};
// the plugin can change the desired language or the code to be highlighted
// just be changing the object it was passed
fire("before:highlight", context);
// a before plugin can usurp the result completely by providing it's own
// in which case we don't even need to call highlight
const result = context.result
? context.result
: _highlight(context.language, context.code, ignoreIllegals);
result.code = context.code;
// the plugin can change anything in result to suite it
fire("after:highlight", result);
return result;
}
/**
* private highlight that's used internally and does not fire callbacks
*
* @param {string} languageName - the language to use for highlighting
* @param {string} codeToHighlight - the code to highlight
* @param {boolean?} [ignoreIllegals] - whether to ignore illegal matches, default is to bail
* @param {CompiledMode?} [continuation] - current continuation mode, if any
* @returns {HighlightResult} - result of the highlight operation
*/
function _highlight(languageName, codeToHighlight, ignoreIllegals, continuation) {
const keywordHits = Object.create(null);
/**
* Return keyword data if a match is a keyword
* @param {CompiledMode} mode - current mode
* @param {string} matchText - the textual match
* @returns {KeywordData | false}
*/
function keywordData(mode, matchText) {
return mode.keywords[matchText];
}
function processKeywords() {
if (!top.keywords) {
emitter.addText(modeBuffer);
return;
}
let lastIndex = 0;
top.keywordPatternRe.lastIndex = 0;
let match = top.keywordPatternRe.exec(modeBuffer);
let buf = "";
while (match) {
buf += modeBuffer.substring(lastIndex, match.index);
const word = language.case_insensitive ? match[0].toLowerCase() : match[0];
const data = keywordData(top, word);
if (data) {
const [kind, keywordRelevance] = data;
emitter.addText(buf);
buf = "";
keywordHits[word] = (keywordHits[word] || 0) + 1;
if (keywordHits[word] <= MAX_KEYWORD_HITS) relevance += keywordRelevance;
if (kind.startsWith("_")) {
// _ implied for relevance only, do not highlight
// by applying a class name
buf += match[0];
} else {
const cssClass = language.classNameAliases[kind] || kind;
emitKeyword(match[0], cssClass);
}
} else {
buf += match[0];
}
lastIndex = top.keywordPatternRe.lastIndex;
match = top.keywordPatternRe.exec(modeBuffer);
}
buf += modeBuffer.substring(lastIndex);
emitter.addText(buf);
}
function processSubLanguage() {
if (modeBuffer === "") return;
/** @type HighlightResult */
let result = null;
if (typeof top.subLanguage === 'string') {
if (!languages[top.subLanguage]) {
emitter.addText(modeBuffer);
return;
}
result = _highlight(top.subLanguage, modeBuffer, true, continuations[top.subLanguage]);
continuations[top.subLanguage] = /** @type {CompiledMode} */ (result._top);
} else {
result = highlightAuto(modeBuffer, top.subLanguage.length ? top.subLanguage : null);
}
// Counting embedded language score towards the host language may be disabled
// with zeroing the containing mode relevance. Use case in point is Markdown that
// allows XML everywhere and makes every XML snippet to have a much larger Markdown
// score.
if (top.relevance > 0) {
relevance += result.relevance;
}
emitter.__addSublanguage(result._emitter, result.language);
}
function processBuffer() {
if (top.subLanguage != null) {
processSubLanguage();
} else {
processKeywords();
}
modeBuffer = '';
}
/**
* @param {string} text
* @param {string} scope
*/
function emitKeyword(keyword, scope) {
if (keyword === "") return;
emitter.startScope(scope);
emitter.addText(keyword);
emitter.endScope();
}
/**
* @param {CompiledScope} scope
* @param {RegExpMatchArray} match
*/
function emitMultiClass(scope, match) {
let i = 1;
const max = match.length - 1;
while (i <= max) {
if (!scope._emit[i]) { i++; continue; }
const klass = language.classNameAliases[scope[i]] || scope[i];
const text = match[i];
if (klass) {
emitKeyword(text, klass);
} else {
modeBuffer = text;
processKeywords();
modeBuffer = "";
}
i++;
}
}
/**
* @param {CompiledMode} mode - new mode to start
* @param {RegExpMatchArray} match
*/
function startNewMode(mode, match) {
if (mode.scope && typeof mode.scope === "string") {
emitter.openNode(language.classNameAliases[mode.scope] || mode.scope);
}
if (mode.beginScope) {
// beginScope just wraps the begin match itself in a scope
if (mode.beginScope._wrap) {
emitKeyword(modeBuffer, language.classNameAliases[mode.beginScope._wrap] || mode.beginScope._wrap);
modeBuffer = "";
} else if (mode.beginScope._multi) {
// at this point modeBuffer should just be the match
emitMultiClass(mode.beginScope, match);
modeBuffer = "";
}
}
top = Object.create(mode, { parent: { value: top } });
return top;
}
/**
* @param {CompiledMode } mode - the mode to potentially end
* @param {RegExpMatchArray} match - the latest match
* @param {string} matchPlusRemainder - match plus remainder of content
* @returns {CompiledMode | void} - the next mode, or if void continue on in current mode
*/
function endOfMode(mode, match, matchPlusRemainder) {
let matched = startsWith(mode.endRe, matchPlusRemainder);
if (matched) {
if (mode["on:end"]) {
const resp = new Response(mode);
mode["on:end"](match, resp);
if (resp.isMatchIgnored) matched = false;
}
if (matched) {
while (mode.endsParent && mode.parent) {
mode = mode.parent;
}
return mode;
}
}
// even if on:end fires an `ignore` it's still possible
// that we might trigger the end node because of a parent mode
if (mode.endsWithParent) {
return endOfMode(mode.parent, match, matchPlusRemainder);
}
}
/**
* Handle matching but then ignoring a sequence of text
*
* @param {string} lexeme - string containing full match text
*/
function doIgnore(lexeme) {
if (top.matcher.regexIndex === 0) {
// no more regexes to potentially match here, so we move the cursor forward one
// space
modeBuffer += lexeme[0];
return 1;
} else {
// no need to move the cursor, we still have additional regexes to try and
// match at this very spot
resumeScanAtSamePosition = true;
return 0;
}
}
/**
* Handle the start of a new potential mode match
*
* @param {EnhancedMatch} match - the current match
* @returns {number} how far to advance the parse cursor
*/
function doBeginMatch(match) {
const lexeme = match[0];
const newMode = match.rule;
const resp = new Response(newMode);
// first internal before callbacks, then the public ones
const beforeCallbacks = [newMode.__beforeBegin, newMode["on:begin"]];
for (const cb of beforeCallbacks) {
if (!cb) continue;
cb(match, resp);
if (resp.isMatchIgnored) return doIgnore(lexeme);
}
if (newMode.skip) {
modeBuffer += lexeme;
} else {
if (newMode.excludeBegin) {
modeBuffer += lexeme;
}
processBuffer();
if (!newMode.returnBegin && !newMode.excludeBegin) {
modeBuffer = lexeme;
}
}
startNewMode(newMode, match);
return newMode.returnBegin ? 0 : lexeme.length;
}
/**
* Handle the potential end of mode
*
* @param {RegExpMatchArray} match - the current match
*/
function doEndMatch(match) {
const lexeme = match[0];
const matchPlusRemainder = codeToHighlight.substring(match.index);
const endMode = endOfMode(top, match, matchPlusRemainder);
if (!endMode) { return NO_MATCH; }
const origin = top;
if (top.endScope && top.endScope._wrap) {
processBuffer();
emitKeyword(lexeme, top.endScope._wrap);
} else if (top.endScope && top.endScope._multi) {
processBuffer();
emitMultiClass(top.endScope, match);
} else if (origin.skip) {
modeBuffer += lexeme;
} else {
if (!(origin.returnEnd || origin.excludeEnd)) {
modeBuffer += lexeme;
}
processBuffer();
if (origin.excludeEnd) {
modeBuffer = lexeme;
}
}
do {
if (top.scope) {
emitter.closeNode();
}
if (!top.skip && !top.subLanguage) {
relevance += top.relevance;
}
top = top.parent;
} while (top !== endMode.parent);
if (endMode.starts) {
startNewMode(endMode.starts, match);
}
return origin.returnEnd ? 0 : lexeme.length;
}
function processContinuations() {
const list = [];
for (let current = top; current !== language; current = current.parent) {
if (current.scope) {
list.unshift(current.scope);
}
}
list.forEach(item => emitter.openNode(item));
}
/** @type {{type?: MatchType, index?: number, rule?: Mode}}} */
let lastMatch = {};
/**
* Process an individual match
*
* @param {string} textBeforeMatch - text preceding the match (since the last match)
* @param {EnhancedMatch} [match] - the match itself
*/
function processLexeme(textBeforeMatch, match) {
const lexeme = match && match[0];
// add non-matched text to the current mode buffer
modeBuffer += textBeforeMatch;
if (lexeme == null) {
processBuffer();
return 0;
}
// we've found a 0 width match and we're stuck, so we need to advance
// this happens when we have badly behaved rules that have optional matchers to the degree that
// sometimes they can end up matching nothing at all
// Ref: https://github.com/highlightjs/highlight.js/issues/2140
if (lastMatch.type === "begin" && match.type === "end" && lastMatch.index === match.index && lexeme === "") {
// spit the "skipped" character that our regex choked on back into the output sequence
modeBuffer += codeToHighlight.slice(match.index, match.index + 1);
if (!SAFE_MODE) {
/** @type {AnnotatedError} */
const err = new Error(`0 width match regex (${languageName})`);
err.languageName = languageName;
err.badRule = lastMatch.rule;
throw err;
}
return 1;
}
lastMatch = match;
if (match.type === "begin") {
return doBeginMatch(match);
} else if (match.type === "illegal" && !ignoreIllegals) {
// illegal match, we do not continue processing
/** @type {AnnotatedError} */
const err = new Error('Illegal lexeme "' + lexeme + '" for mode "' + (top.scope || '') + '"');
err.mode = top;
throw err;
} else if (match.type === "end") {
const processed = doEndMatch(match);
if (processed !== NO_MATCH) {
return processed;
}
}
// edge case for when illegal matches $ (end of line) which is technically
// a 0 width match but not a begin/end match so it's not caught by the
// first handler (when ignoreIllegals is true)
if (match.type === "illegal" && lexeme === "") {
// advance so we aren't stuck in an infinite loop
modeBuffer += "\n";
return 1;
}
// infinite loops are BAD, this is a last ditch catch all. if we have a
// decent number of iterations yet our index (cursor position in our
// parsing) still 3x behind our index then something is very wrong
// so we bail
if (iterations > 100000 && iterations > match.index * 3) {
const err = new Error('potential infinite loop, way more iterations than matches');
throw err;
}
/*
Why might be find ourselves here? An potential end match that was
triggered but could not be completed. IE, `doEndMatch` returned NO_MATCH.
(this could be because a callback requests the match be ignored, etc)
This causes no real harm other than stopping a few times too many.
*/
modeBuffer += lexeme;
return lexeme.length;
}
const language = getLanguage(languageName);
if (!language) {
error(LANGUAGE_NOT_FOUND.replace("{}", languageName));
throw new Error('Unknown language: "' + languageName + '"');
}
const md = compileLanguage(language);
let result = '';
/** @type {CompiledMode} */
let top = continuation || md;
/** @type Record */
const continuations = {}; // keep continuations for sub-languages
const emitter = new options.__emitter(options);
processContinuations();
let modeBuffer = '';
let relevance = 0;
let index = 0;
let iterations = 0;
let resumeScanAtSamePosition = false;
try {
if (!language.__emitTokens) {
top.matcher.considerAll();
for (;;) {
iterations++;
if (resumeScanAtSamePosition) {
// only regexes not matched previously will now be
// considered for a potential match
resumeScanAtSamePosition = false;
} else {
top.matcher.considerAll();
}
top.matcher.lastIndex = index;
const match = top.matcher.exec(codeToHighlight);
// console.log("match", match[0], match.rule && match.rule.begin)
if (!match) break;
const beforeMatch = codeToHighlight.substring(index, match.index);
const processedCount = processLexeme(beforeMatch, match);
index = match.index + processedCount;
}
processLexeme(codeToHighlight.substring(index));
} else {
language.__emitTokens(codeToHighlight, emitter);
}
emitter.finalize();
result = emitter.toHTML();
return {
language: languageName,
value: result,
relevance,
illegal: false,
_emitter: emitter,
_top: top
};
} catch (err) {
if (err.message && err.message.includes('Illegal')) {
return {
language: languageName,
value: escape(codeToHighlight),
illegal: true,
relevance: 0,
_illegalBy: {
message: err.message,
index,
context: codeToHighlight.slice(index - 100, index + 100),
mode: err.mode,
resultSoFar: result
},
_emitter: emitter
};
} else if (SAFE_MODE) {
return {
language: languageName,
value: escape(codeToHighlight),
illegal: false,
relevance: 0,
errorRaised: err,
_emitter: emitter,
_top: top
};
} else {
throw err;
}
}
}
/**
* returns a valid highlight result, without actually doing any actual work,
* auto highlight starts with this and it's possible for small snippets that
* auto-detection may not find a better match
* @param {string} code
* @returns {HighlightResult}
*/
function justTextHighlightResult(code) {
const result = {
value: escape(code),
illegal: false,
relevance: 0,
_top: PLAINTEXT_LANGUAGE,
_emitter: new options.__emitter(options)
};
result._emitter.addText(code);
return result;
}
/**
Highlighting with language detection. Accepts a string with the code to
highlight. Returns an object with the following properties:
- language (detected language)
- relevance (int)
- value (an HTML string with highlighting markup)
- secondBest (object with the same structure for second-best heuristically
detected language, may be absent)
@param {string} code
@param {Array} [languageSubset]
@returns {AutoHighlightResult}
*/
function highlightAuto(code, languageSubset) {
languageSubset = languageSubset || options.languages || Object.keys(languages);
const plaintext = justTextHighlightResult(code);
const results = languageSubset.filter(getLanguage).filter(autoDetection).map(name =>
_highlight(name, code, false)
);
results.unshift(plaintext); // plaintext is always an option
const sorted = results.sort((a, b) => {
// sort base on relevance
if (a.relevance !== b.relevance) return b.relevance - a.relevance;
// always award the tie to the base language
// ie if C++ and Arduino are tied, it's more likely to be C++
if (a.language && b.language) {
if (getLanguage(a.language).supersetOf === b.language) {
return 1;
} else if (getLanguage(b.language).supersetOf === a.language) {
return -1;
}
}
// otherwise say they are equal, which has the effect of sorting on
// relevance while preserving the original ordering - which is how ties
// have historically been settled, ie the language that comes first always
// wins in the case of a tie
return 0;
});
const [best, secondBest] = sorted;
/** @type {AutoHighlightResult} */
const result = best;
result.secondBest = secondBest;
return result;
}
/**
* Builds new class name for block given the language name
*
* @param {HTMLElement} element
* @param {string} [currentLang]
* @param {string} [resultLang]
*/
function updateClassName(element, currentLang, resultLang) {
const language = (currentLang && aliases[currentLang]) || resultLang;
element.classList.add("hljs");
element.classList.add(`language-${language}`);
}
/**
* Applies highlighting to a DOM node containing code.
*
* @param {HighlightedHTMLElement} element - the HTML element to highlight
*/
function highlightElement(element) {
/** @type HTMLElement */
let node = null;
const language = blockLanguage(element);
if (shouldNotHighlight(language)) return;
fire("before:highlightElement",
{ el: element, language });
if (element.dataset.highlighted) {
console.log("Element previously highlighted. To highlight again, first unset `dataset.highlighted`.", element);
return;
}
// we should be all text, no child nodes (unescaped HTML) - this is possibly
// an HTML injection attack - it's likely too late if this is already in
// production (the code has likely already done its damage by the time
// we're seeing it)... but we yell loudly about this so that hopefully it's
// more likely to be caught in development before making it to production
if (element.children.length > 0) {
if (!options.ignoreUnescapedHTML) {
console.warn("One of your code blocks includes unescaped HTML. This is a potentially serious security risk.");
console.warn("https://github.com/highlightjs/highlight.js/wiki/security");
console.warn("The element with unescaped HTML:");
console.warn(element);
}
if (options.throwUnescapedHTML) {
const err = new HTMLInjectionError(
"One of your code blocks includes unescaped HTML.",
element.innerHTML
);
throw err;
}
}
node = element;
const text = node.textContent;
const result = language ? highlight(text, { language, ignoreIllegals: true }) : highlightAuto(text);
element.innerHTML = result.value;
element.dataset.highlighted = "yes";
updateClassName(element, language, result.language);
element.result = {
language: result.language,
// TODO: remove with version 11.0
re: result.relevance,
relevance: result.relevance
};
if (result.secondBest) {
element.secondBest = {
language: result.secondBest.language,
relevance: result.secondBest.relevance
};
}
fire("after:highlightElement", { el: element, result, text });
}
/**
* Updates highlight.js global options with the passed options
*
* @param {Partial} userOptions
*/
function configure(userOptions) {
options = inherit(options, userOptions);
}
// TODO: remove v12, deprecated
const initHighlighting = () => {
highlightAll();
deprecated("10.6.0", "initHighlighting() deprecated. Use highlightAll() now.");
};
// TODO: remove v12, deprecated
function initHighlightingOnLoad() {
highlightAll();
deprecated("10.6.0", "initHighlightingOnLoad() deprecated. Use highlightAll() now.");
}
let wantsHighlight = false;
/**
* auto-highlights all pre>code elements on the page
*/
function highlightAll() {
function boot() {
// if a highlight was requested before DOM was loaded, do now
highlightAll();
}
// if we are called too early in the loading process
if (document.readyState === "loading") {
// make sure the event listener is only added once
if (!wantsHighlight) {
window.addEventListener('DOMContentLoaded', boot, false);
}
wantsHighlight = true;
return;
}
const blocks = document.querySelectorAll(options.cssSelector);
blocks.forEach(highlightElement);
}
/**
* Register a language grammar module
*
* @param {string} languageName
* @param {LanguageFn} languageDefinition
*/
function registerLanguage(languageName, languageDefinition) {
let lang = null;
try {
lang = languageDefinition(hljs);
} catch (error$1) {
error("Language definition for '{}' could not be registered.".replace("{}", languageName));
// hard or soft error
if (!SAFE_MODE) { throw error$1; } else { error(error$1); }
// languages that have serious errors are replaced with essentially a
// "plaintext" stand-in so that the code blocks will still get normal
// css classes applied to them - and one bad language won't break the
// entire highlighter
lang = PLAINTEXT_LANGUAGE;
}
// give it a temporary name if it doesn't have one in the meta-data
if (!lang.name) lang.name = languageName;
languages[languageName] = lang;
lang.rawDefinition = languageDefinition.bind(null, hljs);
if (lang.aliases) {
registerAliases(lang.aliases, { languageName });
}
}
/**
* Remove a language grammar module
*
* @param {string} languageName
*/
function unregisterLanguage(languageName) {
delete languages[languageName];
for (const alias of Object.keys(aliases)) {
if (aliases[alias] === languageName) {
delete aliases[alias];
}
}
}
/**
* @returns {string[]} List of language internal names
*/
function listLanguages() {
return Object.keys(languages);
}
/**
* @param {string} name - name of the language to retrieve
* @returns {Language | undefined}
*/
function getLanguage(name) {
name = (name || '').toLowerCase();
return languages[name] || languages[aliases[name]];
}
/**
*
* @param {string|string[]} aliasList - single alias or list of aliases
* @param {{languageName: string}} opts
*/
function registerAliases(aliasList, { languageName }) {
if (typeof aliasList === 'string') {
aliasList = [aliasList];
}
aliasList.forEach(alias => { aliases[alias.toLowerCase()] = languageName; });
}
/**
* Determines if a given language has auto-detection enabled
* @param {string} name - name of the language
*/
function autoDetection(name) {
const lang = getLanguage(name);
return lang && !lang.disableAutodetect;
}
/**
* Upgrades the old highlightBlock plugins to the new
* highlightElement API
* @param {HLJSPlugin} plugin
*/
function upgradePluginAPI(plugin) {
// TODO: remove with v12
if (plugin["before:highlightBlock"] && !plugin["before:highlightElement"]) {
plugin["before:highlightElement"] = (data) => {
plugin["before:highlightBlock"](
Object.assign({ block: data.el }, data)
);
};
}
if (plugin["after:highlightBlock"] && !plugin["after:highlightElement"]) {
plugin["after:highlightElement"] = (data) => {
plugin["after:highlightBlock"](
Object.assign({ block: data.el }, data)
);
};
}
}
/**
* @param {HLJSPlugin} plugin
*/
function addPlugin(plugin) {
upgradePluginAPI(plugin);
plugins.push(plugin);
}
/**
* @param {HLJSPlugin} plugin
*/
function removePlugin(plugin) {
const index = plugins.indexOf(plugin);
if (index !== -1) {
plugins.splice(index, 1);
}
}
/**
*
* @param {PluginEvent} event
* @param {any} args
*/
function fire(event, args) {
const cb = event;
plugins.forEach(function(plugin) {
if (plugin[cb]) {
plugin[cb](args);
}
});
}
/**
* DEPRECATED
* @param {HighlightedHTMLElement} el
*/
function deprecateHighlightBlock(el) {
deprecated("10.7.0", "highlightBlock will be removed entirely in v12.0");
deprecated("10.7.0", "Please use highlightElement now.");
return highlightElement(el);
}
/* Interface definition */
Object.assign(hljs, {
highlight,
highlightAuto,
highlightAll,
highlightElement,
// TODO: Remove with v12 API
highlightBlock: deprecateHighlightBlock,
configure,
initHighlighting,
initHighlightingOnLoad,
registerLanguage,
unregisterLanguage,
listLanguages,
getLanguage,
registerAliases,
autoDetection,
inherit,
addPlugin,
removePlugin
});
hljs.debugMode = function() { SAFE_MODE = false; };
hljs.safeMode = function() { SAFE_MODE = true; };
hljs.versionString = version;
hljs.regex = {
concat: concat,
lookahead: lookahead,
either: either,
optional: optional,
anyNumberOfTimes: anyNumberOfTimes
};
for (const key in MODES) {
// @ts-ignore
if (typeof MODES[key] === "object") {
// @ts-ignore
deepFreeze(MODES[key]);
}
}
// merge all the modes/regexes into our main object
Object.assign(hljs, MODES);
return hljs;
};
// Other names for the variable may break build script
const highlight = HLJS({});
// returns a new instance of the highlighter to be used for extensions
// check https://github.com/wooorm/lowlight/issues/47
highlight.newInstance = () => HLJS({});
return highlight;
})();
if (typeof exports === 'object' && typeof module !== 'undefined') { module.exports = hljs; }
/*! `1c` grammar compiled for Highlight.js 11.11.1 */
(function(){
var hljsGrammar = (function () {
'use strict';
/*
Language: 1C:Enterprise
Author: Stanislav Belov
Description: built-in language 1C:Enterprise (v7, v8)
Category: enterprise
*/
function _1c(hljs) {
// общий паттерн для определения идентификаторов
const UNDERSCORE_IDENT_RE = '[A-Za-zА-Яа-яёЁ_][A-Za-zА-Яа-яёЁ_0-9]+';
// v7 уникальные ключевые слова, отсутствующие в v8 ==> keyword
const v7_keywords =
'далее ';
// v8 ключевые слова ==> keyword
const v8_keywords =
'возврат вызватьисключение выполнить для если и из или иначе иначеесли исключение каждого конецесли '
+ 'конецпопытки конеццикла не новый перейти перем по пока попытка прервать продолжить тогда цикл экспорт ';
// keyword : ключевые слова
const KEYWORD = v7_keywords + v8_keywords;
// v7 уникальные директивы, отсутствующие в v8 ==> meta-keyword
const v7_meta_keywords =
'загрузитьизфайла ';
// v8 ключевые слова в инструкциях препроцессора, директивах компиляции, аннотациях ==> meta-keyword
const v8_meta_keywords =
'вебклиент вместо внешнеесоединение клиент конецобласти мобильноеприложениеклиент мобильноеприложениесервер '
+ 'наклиенте наклиентенасервере наклиентенасерверебезконтекста насервере насерверебезконтекста область перед '
+ 'после сервер толстыйклиентобычноеприложение толстыйклиентуправляемоеприложение тонкийклиент ';
// meta-keyword : ключевые слова в инструкциях препроцессора, директивах компиляции, аннотациях
const METAKEYWORD = v7_meta_keywords + v8_meta_keywords;
// v7 системные константы ==> built_in
const v7_system_constants =
'разделительстраниц разделительстрок символтабуляции ';
// v7 уникальные методы глобального контекста, отсутствующие в v8 ==> built_in
const v7_global_context_methods =
'ansitooem oemtoansi ввестивидсубконто ввестиперечисление ввестипериод ввестиплансчетов выбранныйплансчетов '
+ 'датагод датамесяц датачисло заголовоксистемы значениевстроку значениеизстроки каталогиб каталогпользователя '
+ 'кодсимв конгода конецпериодаби конецрассчитанногопериодаби конецстандартногоинтервала конквартала конмесяца '
+ 'коннедели лог лог10 максимальноеколичествосубконто названиеинтерфейса названиенабораправ назначитьвид '
+ 'назначитьсчет найтиссылки началопериодаби началостандартногоинтервала начгода начквартала начмесяца '
+ 'начнедели номерднягода номерднянедели номернеделигода обработкаожидания основнойжурналрасчетов '
+ 'основнойплансчетов основнойязык очиститьокносообщений периодстр получитьвремята получитьдатута '
+ 'получитьдокументта получитьзначенияотбора получитьпозициюта получитьпустоезначение получитьта '
+ 'префиксавтонумерации пропись пустоезначение разм разобратьпозициюдокумента рассчитатьрегистрына '
+ 'рассчитатьрегистрыпо симв создатьобъект статусвозврата стрколичествострок сформироватьпозициюдокумента '
+ 'счетпокоду текущеевремя типзначения типзначениястр установитьтана установитьтапо фиксшаблон шаблон ';
// v8 методы глобального контекста ==> built_in
const v8_global_context_methods =
'acos asin atan base64значение base64строка cos exp log log10 pow sin sqrt tan xmlзначение xmlстрока '
+ 'xmlтип xmlтипзнч активноеокно безопасныйрежим безопасныйрежимразделенияданных булево ввестидату ввестизначение '
+ 'ввестистроку ввестичисло возможностьчтенияxml вопрос восстановитьзначение врег выгрузитьжурналрегистрации '
+ 'выполнитьобработкуоповещения выполнитьпроверкуправдоступа вычислить год данныеформывзначение дата день деньгода '
+ 'деньнедели добавитьмесяц заблокироватьданныедляредактирования заблокироватьработупользователя завершитьработусистемы '
+ 'загрузитьвнешнююкомпоненту закрытьсправку записатьjson записатьxml записатьдатуjson записьжурналарегистрации '
+ 'заполнитьзначениясвойств запроситьразрешениепользователя запуститьприложение запуститьсистему зафиксироватьтранзакцию '
+ 'значениевданныеформы значениевстрокувнутр значениевфайл значениезаполнено значениеизстрокивнутр значениеизфайла '
+ 'изxmlтипа импортмоделиxdto имякомпьютера имяпользователя инициализироватьпредопределенныеданные информацияобошибке '
+ 'каталогбиблиотекимобильногоустройства каталогвременныхфайлов каталогдокументов каталогпрограммы кодироватьстроку '
+ 'кодлокализацииинформационнойбазы кодсимвола командасистемы конецгода конецдня конецквартала конецмесяца конецминуты '
+ 'конецнедели конецчаса конфигурациябазыданныхизмененадинамически конфигурацияизменена копироватьданныеформы '
+ 'копироватьфайл краткоепредставлениеошибки лев макс местноевремя месяц мин минута монопольныйрежим найти '
+ 'найтинедопустимыесимволыxml найтиокнопонавигационнойссылке найтипомеченныенаудаление найтипоссылкам найтифайлы '
+ 'началогода началодня началоквартала началомесяца началоминуты началонедели началочаса начатьзапросразрешенияпользователя '
+ 'начатьзапускприложения начатькопированиефайла начатьперемещениефайла начатьподключениевнешнейкомпоненты '
+ 'начатьподключениерасширенияработыскриптографией начатьподключениерасширенияработысфайлами начатьпоискфайлов '
+ 'начатьполучениекаталогавременныхфайлов начатьполучениекаталогадокументов начатьполучениерабочегокаталогаданныхпользователя '
+ 'начатьполучениефайлов начатьпомещениефайла начатьпомещениефайлов начатьсозданиедвоичныхданныхизфайла начатьсозданиекаталога '
+ 'начатьтранзакцию начатьудалениефайлов начатьустановкувнешнейкомпоненты начатьустановкурасширенияработыскриптографией '
+ 'начатьустановкурасширенияработысфайлами неделягода необходимостьзавершениясоединения номерсеансаинформационнойбазы '
+ 'номерсоединенияинформационнойбазы нрег нстр обновитьинтерфейс обновитьнумерациюобъектов обновитьповторноиспользуемыезначения '
+ 'обработкапрерыванияпользователя объединитьфайлы окр описаниеошибки оповестить оповеститьобизменении '
+ 'отключитьобработчикзапросанастроекклиенталицензирования отключитьобработчикожидания отключитьобработчикоповещения '
+ 'открытьзначение открытьиндекссправки открытьсодержаниесправки открытьсправку открытьформу открытьформумодально '
+ 'отменитьтранзакцию очиститьжурналрегистрации очиститьнастройкипользователя очиститьсообщения параметрыдоступа '
+ 'перейтипонавигационнойссылке переместитьфайл подключитьвнешнююкомпоненту '
+ 'подключитьобработчикзапросанастроекклиенталицензирования подключитьобработчикожидания подключитьобработчикоповещения '
+ 'подключитьрасширениеработыскриптографией подключитьрасширениеработысфайлами подробноепредставлениеошибки '
+ 'показатьвводдаты показатьвводзначения показатьвводстроки показатьвводчисла показатьвопрос показатьзначение '
+ 'показатьинформациюобошибке показатьнакарте показатьоповещениепользователя показатьпредупреждение полноеимяпользователя '
+ 'получитьcomобъект получитьxmlтип получитьадреспоместоположению получитьблокировкусеансов получитьвремязавершенияспящегосеанса '
+ 'получитьвремязасыпанияпассивногосеанса получитьвремяожиданияблокировкиданных получитьданныевыбора '
+ 'получитьдополнительныйпараметрклиенталицензирования получитьдопустимыекодылокализации получитьдопустимыечасовыепояса '
+ 'получитьзаголовокклиентскогоприложения получитьзаголовоксистемы получитьзначенияотборажурналарегистрации '
+ 'получитьидентификаторконфигурации получитьизвременногохранилища получитьимявременногофайла '
+ 'получитьимяклиенталицензирования получитьинформациюэкрановклиента получитьиспользованиежурналарегистрации '
+ 'получитьиспользованиесобытияжурналарегистрации получитькраткийзаголовокприложения получитьмакетоформления '
+ 'получитьмаскувсефайлы получитьмаскувсефайлыклиента получитьмаскувсефайлысервера получитьместоположениепоадресу '
+ 'получитьминимальнуюдлинупаролейпользователей получитьнавигационнуюссылку получитьнавигационнуюссылкуинформационнойбазы '
+ 'получитьобновлениеконфигурациибазыданных получитьобновлениепредопределенныхданныхинформационнойбазы получитьобщиймакет '
+ 'получитьобщуюформу получитьокна получитьоперативнуюотметкувремени получитьотключениебезопасногорежима '
+ 'получитьпараметрыфункциональныхопцийинтерфейса получитьполноеимяпредопределенногозначения '
+ 'получитьпредставлениянавигационныхссылок получитьпроверкусложностипаролейпользователей получитьразделительпути '
+ 'получитьразделительпутиклиента получитьразделительпутисервера получитьсеансыинформационнойбазы '
+ 'получитьскоростьклиентскогосоединения получитьсоединенияинформационнойбазы получитьсообщенияпользователю '
+ 'получитьсоответствиеобъектаиформы получитьсоставстандартногоинтерфейсаodata получитьструктурухранениябазыданных '
+ 'получитьтекущийсеансинформационнойбазы получитьфайл получитьфайлы получитьформу получитьфункциональнуюопцию '
+ 'получитьфункциональнуюопциюинтерфейса получитьчасовойпоясинформационнойбазы пользователиос поместитьвовременноехранилище '
+ 'поместитьфайл поместитьфайлы прав праводоступа предопределенноезначение представлениекодалокализации представлениепериода '
+ 'представлениеправа представлениеприложения представлениесобытияжурналарегистрации представлениечасовогопояса предупреждение '
+ 'прекратитьработусистемы привилегированныйрежим продолжитьвызов прочитатьjson прочитатьxml прочитатьдатуjson пустаястрока '
+ 'рабочийкаталогданныхпользователя разблокироватьданныедляредактирования разделитьфайл разорватьсоединениесвнешнимисточникомданных '
+ 'раскодироватьстроку рольдоступна секунда сигнал символ скопироватьжурналрегистрации смещениелетнеговремени '
+ 'смещениестандартноговремени соединитьбуферыдвоичныхданных создатькаталог создатьфабрикуxdto сокрл сокрлп сокрп сообщить '
+ 'состояние сохранитьзначение сохранитьнастройкипользователя сред стрдлина стрзаканчиваетсяна стрзаменить стрнайти стрначинаетсяс '
+ 'строка строкасоединенияинформационнойбазы стрполучитьстроку стрразделить стрсоединить стрсравнить стрчисловхождений '
+ 'стрчислострок стршаблон текущаядата текущаядатасеанса текущаяуниверсальнаядата текущаяуниверсальнаядатавмиллисекундах '
+ 'текущийвариантинтерфейсаклиентскогоприложения текущийвариантосновногошрифтаклиентскогоприложения текущийкодлокализации '
+ 'текущийрежимзапуска текущийязык текущийязыксистемы тип типзнч транзакцияактивна трег удалитьданныеинформационнойбазы '
+ 'удалитьизвременногохранилища удалитьобъекты удалитьфайлы универсальноевремя установитьбезопасныйрежим '
+ 'установитьбезопасныйрежимразделенияданных установитьблокировкусеансов установитьвнешнююкомпоненту '
+ 'установитьвремязавершенияспящегосеанса установитьвремязасыпанияпассивногосеанса установитьвремяожиданияблокировкиданных '
+ 'установитьзаголовокклиентскогоприложения установитьзаголовоксистемы установитьиспользованиежурналарегистрации '
+ 'установитьиспользованиесобытияжурналарегистрации установитькраткийзаголовокприложения '
+ 'установитьминимальнуюдлинупаролейпользователей установитьмонопольныйрежим установитьнастройкиклиенталицензирования '
+ 'установитьобновлениепредопределенныхданныхинформационнойбазы установитьотключениебезопасногорежима '
+ 'установитьпараметрыфункциональныхопцийинтерфейса установитьпривилегированныйрежим '
+ 'установитьпроверкусложностипаролейпользователей установитьрасширениеработыскриптографией '
+ 'установитьрасширениеработысфайлами установитьсоединениесвнешнимисточникомданных установитьсоответствиеобъектаиформы '
+ 'установитьсоставстандартногоинтерфейсаodata установитьчасовойпоясинформационнойбазы установитьчасовойпояссеанса '
+ 'формат цел час часовойпояс часовойпояссеанса число числопрописью этоадресвременногохранилища ';
// v8 свойства глобального контекста ==> built_in
const v8_global_context_property =
'wsссылки библиотекакартинок библиотекамакетовоформлениякомпоновкиданных библиотекастилей бизнеспроцессы '
+ 'внешниеисточникиданных внешниеобработки внешниеотчеты встроенныепокупки главныйинтерфейс главныйстиль '
+ 'документы доставляемыеуведомления журналыдокументов задачи информацияобинтернетсоединении использованиерабочейдаты '
+ 'историяработыпользователя константы критерииотбора метаданные обработки отображениерекламы отправкадоставляемыхуведомлений '
+ 'отчеты панельзадачос параметрзапуска параметрысеанса перечисления планывидоврасчета планывидовхарактеристик '
+ 'планыобмена планысчетов полнотекстовыйпоиск пользователиинформационнойбазы последовательности проверкавстроенныхпокупок '
+ 'рабочаядата расширенияконфигурации регистрыбухгалтерии регистрынакопления регистрырасчета регистрысведений '
+ 'регламентныезадания сериализаторxdto справочники средствагеопозиционирования средствакриптографии средствамультимедиа '
+ 'средстваотображениярекламы средствапочты средствателефонии фабрикаxdto файловыепотоки фоновыезадания хранилищанастроек '
+ 'хранилищевариантовотчетов хранилищенастроекданныхформ хранилищеобщихнастроек хранилищепользовательскихнастроекдинамическихсписков '
+ 'хранилищепользовательскихнастроекотчетов хранилищесистемныхнастроек ';
// built_in : встроенные или библиотечные объекты (константы, классы, функции)
const BUILTIN =
v7_system_constants
+ v7_global_context_methods + v8_global_context_methods
+ v8_global_context_property;
// v8 системные наборы значений ==> class
const v8_system_sets_of_values =
'webцвета windowsцвета windowsшрифты библиотекакартинок рамкистиля символы цветастиля шрифтыстиля ';
// v8 системные перечисления - интерфейсные ==> class
const v8_system_enums_interface =
'автоматическоесохранениеданныхформывнастройках автонумерациявформе автораздвижениесерий '
+ 'анимациядиаграммы вариантвыравниванияэлементовизаголовков вариантуправлениявысотойтаблицы '
+ 'вертикальнаяпрокруткаформы вертикальноеположение вертикальноеположениеэлемента видгруппыформы '
+ 'виддекорацииформы виддополненияэлементаформы видизмененияданных видкнопкиформы видпереключателя '
+ 'видподписейкдиаграмме видполяформы видфлажка влияниеразмеранапузырекдиаграммы горизонтальноеположение '
+ 'горизонтальноеположениеэлемента группировкаколонок группировкаподчиненныхэлементовформы '
+ 'группыиэлементы действиеперетаскивания дополнительныйрежимотображения допустимыедействияперетаскивания '
+ 'интервалмеждуэлементамиформы использованиевывода использованиеполосыпрокрутки '
+ 'используемоезначениеточкибиржевойдиаграммы историявыборапривводе источникзначенийоситочекдиаграммы '
+ 'источникзначенияразмерапузырькадиаграммы категориягруппыкоманд максимумсерий начальноеотображениедерева '
+ 'начальноеотображениесписка обновлениетекстаредактирования ориентациядендрограммы ориентациядиаграммы '
+ 'ориентацияметокдиаграммы ориентацияметоксводнойдиаграммы ориентацияэлементаформы отображениевдиаграмме '
+ 'отображениевлегендедиаграммы отображениегруппыкнопок отображениезаголовкашкалыдиаграммы '
+ 'отображениезначенийсводнойдиаграммы отображениезначенияизмерительнойдиаграммы '
+ 'отображениеинтерваладиаграммыганта отображениекнопки отображениекнопкивыбора отображениеобсужденийформы '
+ 'отображениеобычнойгруппы отображениеотрицательныхзначенийпузырьковойдиаграммы отображениепанелипоиска '
+ 'отображениеподсказки отображениепредупрежденияприредактировании отображениеразметкиполосырегулирования '
+ 'отображениестраницформы отображениетаблицы отображениетекстазначениядиаграммыганта '
+ 'отображениеуправленияобычнойгруппы отображениефигурыкнопки палитрацветовдиаграммы поведениеобычнойгруппы '
+ 'поддержкамасштабадендрограммы поддержкамасштабадиаграммыганта поддержкамасштабасводнойдиаграммы '
+ 'поисквтаблицепривводе положениезаголовкаэлементаформы положениекартинкикнопкиформы '
+ 'положениекартинкиэлементаграфическойсхемы положениекоманднойпанелиформы положениекоманднойпанелиэлементаформы '
+ 'положениеопорнойточкиотрисовки положениеподписейкдиаграмме положениеподписейшкалызначенийизмерительнойдиаграммы '
+ 'положениесостоянияпросмотра положениестрокипоиска положениетекстасоединительнойлинии положениеуправленияпоиском '
+ 'положениешкалывремени порядокотображенияточекгоризонтальнойгистограммы порядоксерийвлегендедиаграммы '
+ 'размеркартинки расположениезаголовкашкалыдиаграммы растягиваниеповертикалидиаграммыганта '
+ 'режимавтоотображениясостояния режимвводастроктаблицы режимвыборанезаполненного режимвыделениядаты '
+ 'режимвыделениястрокитаблицы режимвыделениятаблицы режимизмененияразмера режимизменениясвязанногозначения '
+ 'режимиспользованиядиалогапечати режимиспользованияпараметракоманды режиммасштабированияпросмотра '
+ 'режимосновногоокнаклиентскогоприложения режимоткрытияокнаформы режимотображениявыделения '
+ 'режимотображениягеографическойсхемы режимотображениязначенийсерии режимотрисовкисеткиграфическойсхемы '
+ 'режимполупрозрачностидиаграммы режимпробеловдиаграммы режимразмещениянастранице режимредактированияколонки '
+ 'режимсглаживаниядиаграммы режимсглаживанияиндикатора режимсписказадач сквозноевыравнивание '
+ 'сохранениеданныхформывнастройках способзаполнениятекстазаголовкашкалыдиаграммы '
+ 'способопределенияограничивающегозначениядиаграммы стандартнаягруппакоманд стандартноеоформление '
+ 'статусоповещенияпользователя стильстрелки типаппроксимациилиниитрендадиаграммы типдиаграммы '
+ 'типединицышкалывремени типимпортасерийслоягеографическойсхемы типлиниигеографическойсхемы типлиниидиаграммы '
+ 'типмаркерагеографическойсхемы типмаркерадиаграммы типобластиоформления '
+ 'типорганизацииисточникаданныхгеографическойсхемы типотображениясериислоягеографическойсхемы '
+ 'типотображенияточечногообъектагеографическойсхемы типотображенияшкалыэлементалегендыгеографическойсхемы '
+ 'типпоискаобъектовгеографическойсхемы типпроекциигеографическойсхемы типразмещенияизмерений '
+ 'типразмещенияреквизитовизмерений типрамкиэлементауправления типсводнойдиаграммы '
+ 'типсвязидиаграммыганта типсоединениязначенийпосериямдиаграммы типсоединенияточекдиаграммы '
+ 'типсоединительнойлинии типстороныэлементаграфическойсхемы типформыотчета типшкалырадарнойдиаграммы '
+ 'факторлиниитрендадиаграммы фигуракнопки фигурыграфическойсхемы фиксациявтаблице форматдняшкалывремени '
+ 'форматкартинки ширинаподчиненныхэлементовформы ';
// v8 системные перечисления - свойства прикладных объектов ==> class
const v8_system_enums_objects_properties =
'виддвижениябухгалтерии виддвижениянакопления видпериодарегистрарасчета видсчета видточкимаршрутабизнеспроцесса '
+ 'использованиеагрегатарегистранакопления использованиегруппиэлементов использованиережимапроведения '
+ 'использованиесреза периодичностьагрегатарегистранакопления режимавтовремя режимзаписидокумента режимпроведениядокумента ';
// v8 системные перечисления - планы обмена ==> class
const v8_system_enums_exchange_plans =
'авторегистрацияизменений допустимыйномерсообщения отправкаэлементаданных получениеэлементаданных ';
// v8 системные перечисления - табличный документ ==> class
const v8_system_enums_tabular_document =
'использованиерасшифровкитабличногодокумента ориентациястраницы положениеитоговколоноксводнойтаблицы '
+ 'положениеитоговстроксводнойтаблицы положениетекстаотносительнокартинки расположениезаголовкагруппировкитабличногодокумента '
+ 'способчтениязначенийтабличногодокумента типдвустороннейпечати типзаполненияобластитабличногодокумента '
+ 'типкурсоровтабличногодокумента типлиниирисункатабличногодокумента типлинииячейкитабличногодокумента '
+ 'типнаправленияпереходатабличногодокумента типотображениявыделениятабличногодокумента типотображениялинийсводнойтаблицы '
+ 'типразмещениятекстатабличногодокумента типрисункатабличногодокумента типсмещениятабличногодокумента '
+ 'типузоратабличногодокумента типфайлатабличногодокумента точностьпечати чередованиерасположениястраниц ';
// v8 системные перечисления - планировщик ==> class
const v8_system_enums_sheduler =
'отображениевремениэлементовпланировщика ';
// v8 системные перечисления - форматированный документ ==> class
const v8_system_enums_formatted_document =
'типфайлаформатированногодокумента ';
// v8 системные перечисления - запрос ==> class
const v8_system_enums_query =
'обходрезультатазапроса типзаписизапроса ';
// v8 системные перечисления - построитель отчета ==> class
const v8_system_enums_report_builder =
'видзаполнениярасшифровкипостроителяотчета типдобавленияпредставлений типизмеренияпостроителяотчета типразмещенияитогов ';
// v8 системные перечисления - работа с файлами ==> class
const v8_system_enums_files =
'доступкфайлу режимдиалогавыборафайла режимоткрытияфайла ';
// v8 системные перечисления - построитель запроса ==> class
const v8_system_enums_query_builder =
'типизмеренияпостроителязапроса ';
// v8 системные перечисления - анализ данных ==> class
const v8_system_enums_data_analysis =
'видданныханализа методкластеризации типединицыинтервалавременианализаданных типзаполнениятаблицырезультатаанализаданных '
+ 'типиспользованиячисловыхзначенийанализаданных типисточникаданныхпоискаассоциаций типколонкианализаданныхдереворешений '
+ 'типколонкианализаданныхкластеризация типколонкианализаданныхобщаястатистика типколонкианализаданныхпоискассоциаций '
+ 'типколонкианализаданныхпоискпоследовательностей типколонкимоделипрогноза типмерырасстоянияанализаданных '
+ 'типотсеченияправилассоциации типполяанализаданных типстандартизациианализаданных типупорядочиванияправилассоциациианализаданных '
+ 'типупорядочиванияшаблоновпоследовательностейанализаданных типупрощениядереварешений ';
// v8 системные перечисления - xml, json, xs, dom, xdto, web-сервисы ==> class
const v8_system_enums_xml_json_xs_dom_xdto_ws =
'wsнаправлениепараметра вариантxpathxs вариантзаписидатыjson вариантпростоготипаxs видгруппымоделиxs видфасетаxdto '
+ 'действиепостроителяdom завершенностьпростоготипаxs завершенностьсоставноготипаxs завершенностьсхемыxs запрещенныеподстановкиxs '
+ 'исключениягруппподстановкиxs категорияиспользованияатрибутаxs категорияограниченияидентичностиxs категорияограниченияпространствименxs '
+ 'методнаследованияxs модельсодержимогоxs назначениетипаxml недопустимыеподстановкиxs обработкапробельныхсимволовxs обработкасодержимогоxs '
+ 'ограничениезначенияxs параметрыотбораузловdom переносстрокjson позициявдокументеdom пробельныесимволыxml типатрибутаxml типзначенияjson '
+ 'типканоническогоxml типкомпонентыxs типпроверкиxml типрезультатаdomxpath типузлаdom типузлаxml формаxml формапредставленияxs '
+ 'форматдатыjson экранированиесимволовjson ';
// v8 системные перечисления - система компоновки данных ==> class
const v8_system_enums_data_composition_system =
'видсравнениякомпоновкиданных действиеобработкирасшифровкикомпоновкиданных направлениесортировкикомпоновкиданных '
+ 'расположениевложенныхэлементоврезультатакомпоновкиданных расположениеитоговкомпоновкиданных расположениегруппировкикомпоновкиданных '
+ 'расположениеполейгруппировкикомпоновкиданных расположениеполякомпоновкиданных расположениереквизитовкомпоновкиданных '
+ 'расположениересурсовкомпоновкиданных типбухгалтерскогоостаткакомпоновкиданных типвыводатекстакомпоновкиданных '
+ 'типгруппировкикомпоновкиданных типгруппыэлементовотборакомпоновкиданных типдополненияпериодакомпоновкиданных '
+ 'типзаголовкаполейкомпоновкиданных типмакетагруппировкикомпоновкиданных типмакетаобластикомпоновкиданных типостаткакомпоновкиданных '
+ 'типпериодакомпоновкиданных типразмещениятекстакомпоновкиданных типсвязинаборовданныхкомпоновкиданных типэлементарезультатакомпоновкиданных '
+ 'расположениелегендыдиаграммыкомпоновкиданных типпримененияотборакомпоновкиданных режимотображенияэлементанастройкикомпоновкиданных '
+ 'режимотображениянастроеккомпоновкиданных состояниеэлементанастройкикомпоновкиданных способвосстановлениянастроеккомпоновкиданных '
+ 'режимкомпоновкирезультата использованиепараметракомпоновкиданных автопозицияресурсовкомпоновкиданных '
+ 'вариантиспользованиягруппировкикомпоновкиданных расположениересурсоввдиаграммекомпоновкиданных фиксациякомпоновкиданных '
+ 'использованиеусловногооформлениякомпоновкиданных ';
// v8 системные перечисления - почта ==> class
const v8_system_enums_email =
'важностьинтернетпочтовогосообщения обработкатекстаинтернетпочтовогосообщения способкодированияинтернетпочтовоговложения '
+ 'способкодированиянеasciiсимволовинтернетпочтовогосообщения типтекстапочтовогосообщения протоколинтернетпочты '
+ 'статусразборапочтовогосообщения ';
// v8 системные перечисления - журнал регистрации ==> class
const v8_system_enums_logbook =
'режимтранзакциизаписижурналарегистрации статустранзакциизаписижурналарегистрации уровеньжурналарегистрации ';
// v8 системные перечисления - криптография ==> class
const v8_system_enums_cryptography =
'расположениехранилищасертификатовкриптографии режимвключениясертификатовкриптографии режимпроверкисертификатакриптографии '
+ 'типхранилищасертификатовкриптографии ';
// v8 системные перечисления - ZIP ==> class
const v8_system_enums_zip =
'кодировкаименфайловвzipфайле методсжатияzip методшифрованияzip режимвосстановленияпутейфайловzip режимобработкиподкаталоговzip '
+ 'режимсохраненияпутейzip уровеньсжатияzip ';
// v8 системные перечисления -
// Блокировка данных, Фоновые задания, Автоматизированное тестирование,
// Доставляемые уведомления, Встроенные покупки, Интернет, Работа с двоичными данными ==> class
const v8_system_enums_other =
'звуковоеоповещение направлениепереходакстроке позициявпотоке порядокбайтов режимблокировкиданных режимуправленияблокировкойданных '
+ 'сервисвстроенныхпокупок состояниефоновогозадания типподписчикадоставляемыхуведомлений уровеньиспользованиязащищенногосоединенияftp ';
// v8 системные перечисления - схема запроса ==> class
const v8_system_enums_request_schema =
'направлениепорядкасхемызапроса типдополненияпериодамисхемызапроса типконтрольнойточкисхемызапроса типобъединениясхемызапроса '
+ 'типпараметрадоступнойтаблицысхемызапроса типсоединениясхемызапроса ';
// v8 системные перечисления - свойства объектов метаданных ==> class
const v8_system_enums_properties_of_metadata_objects =
'httpметод автоиспользованиеобщегореквизита автопрефиксномеразадачи вариантвстроенногоязыка видиерархии видрегистранакопления '
+ 'видтаблицывнешнегоисточникаданных записьдвиженийприпроведении заполнениепоследовательностей индексирование '
+ 'использованиебазыпланавидоврасчета использованиебыстроговыбора использованиеобщегореквизита использованиеподчинения '
+ 'использованиеполнотекстовогопоиска использованиеразделяемыхданныхобщегореквизита использованиереквизита '
+ 'назначениеиспользованияприложения назначениерасширенияконфигурации направлениепередачи обновлениепредопределенныхданных '
+ 'оперативноепроведение основноепредставлениевидарасчета основноепредставлениевидахарактеристики основноепредставлениезадачи '
+ 'основноепредставлениепланаобмена основноепредставлениесправочника основноепредставлениесчета перемещениеграницыприпроведении '
+ 'периодичностьномерабизнеспроцесса периодичностьномерадокумента периодичностьрегистрарасчета периодичностьрегистрасведений '
+ 'повторноеиспользованиевозвращаемыхзначений полнотекстовыйпоискпривводепостроке принадлежностьобъекта проведение '
+ 'разделениеаутентификацииобщегореквизита разделениеданныхобщегореквизита разделениерасширенийконфигурацииобщегореквизита '
+ 'режимавтонумерацииобъектов режимзаписирегистра режимиспользованиямодальности '
+ 'режимиспользованиясинхронныхвызововрасширенийплатформыивнешнихкомпонент режимповторногоиспользованиясеансов '
+ 'режимполученияданныхвыборапривводепостроке режимсовместимости режимсовместимостиинтерфейса '
+ 'режимуправленияблокировкойданныхпоумолчанию сериикодовпланавидовхарактеристик сериикодовпланасчетов '
+ 'сериикодовсправочника созданиепривводе способвыбора способпоискастрокипривводепостроке способредактирования '
+ 'типданныхтаблицывнешнегоисточникаданных типкодапланавидоврасчета типкодасправочника типмакета типномерабизнеспроцесса '
+ 'типномерадокумента типномеразадачи типформы удалениедвижений ';
// v8 системные перечисления - разные ==> class
const v8_system_enums_differents =
'важностьпроблемыприменениярасширенияконфигурации вариантинтерфейсаклиентскогоприложения вариантмасштабаформклиентскогоприложения '
+ 'вариантосновногошрифтаклиентскогоприложения вариантстандартногопериода вариантстандартнойдатыначала видграницы видкартинки '
+ 'видотображенияполнотекстовогопоиска видрамки видсравнения видцвета видчисловогозначения видшрифта допустимаядлина допустимыйзнак '
+ 'использованиеbyteordermark использованиеметаданныхполнотекстовогопоиска источникрасширенийконфигурации клавиша кодвозвратадиалога '
+ 'кодировкаxbase кодировкатекста направлениепоиска направлениесортировки обновлениепредопределенныхданных обновлениеприизмененииданных '
+ 'отображениепанелиразделов проверказаполнения режимдиалогавопрос режимзапускаклиентскогоприложения режимокругления режимоткрытияформприложения '
+ 'режимполнотекстовогопоиска скоростьклиентскогосоединения состояниевнешнегоисточникаданных состояниеобновленияконфигурациибазыданных '
+ 'способвыборасертификатаwindows способкодированиястроки статуссообщения типвнешнейкомпоненты типплатформы типповеденияклавишиenter '
+ 'типэлементаинформацииовыполненииобновленияконфигурациибазыданных уровеньизоляциитранзакций хешфункция частидаты';
// class: встроенные наборы значений, системные перечисления (содержат дочерние значения, обращения к которым через разыменование)
const CLASS =
v8_system_sets_of_values
+ v8_system_enums_interface
+ v8_system_enums_objects_properties
+ v8_system_enums_exchange_plans
+ v8_system_enums_tabular_document
+ v8_system_enums_sheduler
+ v8_system_enums_formatted_document
+ v8_system_enums_query
+ v8_system_enums_report_builder
+ v8_system_enums_files
+ v8_system_enums_query_builder
+ v8_system_enums_data_analysis
+ v8_system_enums_xml_json_xs_dom_xdto_ws
+ v8_system_enums_data_composition_system
+ v8_system_enums_email
+ v8_system_enums_logbook
+ v8_system_enums_cryptography
+ v8_system_enums_zip
+ v8_system_enums_other
+ v8_system_enums_request_schema
+ v8_system_enums_properties_of_metadata_objects
+ v8_system_enums_differents;
// v8 общие объекты (у объектов есть конструктор, экземпляры создаются методом НОВЫЙ) ==> type
const v8_shared_object =
'comобъект ftpсоединение httpзапрос httpсервисответ httpсоединение wsопределения wsпрокси xbase анализданных аннотацияxs '
+ 'блокировкаданных буфердвоичныхданных включениеxs выражениекомпоновкиданных генераторслучайныхчисел географическаясхема '
+ 'географическиекоординаты графическаясхема группамоделиxs данныерасшифровкикомпоновкиданных двоичныеданные дендрограмма '
+ 'диаграмма диаграммаганта диалогвыборафайла диалогвыборацвета диалогвыборашрифта диалограсписаниярегламентногозадания '
+ 'диалогредактированиястандартногопериода диапазон документdom документhtml документацияxs доставляемоеуведомление '
+ 'записьdom записьfastinfoset записьhtml записьjson записьxml записьzipфайла записьданных записьтекста записьузловdom '
+ 'запрос защищенноесоединениеopenssl значенияполейрасшифровкикомпоновкиданных извлечениетекста импортxs интернетпочта '
+ 'интернетпочтовоесообщение интернетпочтовыйпрофиль интернетпрокси интернетсоединение информациядляприложенияxs '
+ 'использованиеатрибутаxs использованиесобытияжурналарегистрации источникдоступныхнастроеккомпоновкиданных '
+ 'итераторузловdom картинка квалификаторыдаты квалификаторыдвоичныхданных квалификаторыстроки квалификаторычисла '
+ 'компоновщикмакетакомпоновкиданных компоновщикнастроеккомпоновкиданных конструктормакетаоформлениякомпоновкиданных '
+ 'конструкторнастроеккомпоновкиданных конструкторформатнойстроки линия макеткомпоновкиданных макетобластикомпоновкиданных '
+ 'макетоформлениякомпоновкиданных маскаxs менеджеркриптографии наборсхемxml настройкикомпоновкиданных настройкисериализацииjson '
+ 'обработкакартинок обработкарасшифровкикомпоновкиданных обходдереваdom объявлениеатрибутаxs объявлениенотацииxs '
+ 'объявлениеэлементаxs описаниеиспользованиясобытиядоступжурналарегистрации '
+ 'описаниеиспользованиясобытияотказвдоступежурналарегистрации описаниеобработкирасшифровкикомпоновкиданных '
+ 'описаниепередаваемогофайла описаниетипов определениегруппыатрибутовxs определениегруппымоделиxs '
+ 'определениеограниченияидентичностиxs определениепростоготипаxs определениесоставноготипаxs определениетипадокументаdom '
+ 'определенияxpathxs отборкомпоновкиданных пакетотображаемыхдокументов параметрвыбора параметркомпоновкиданных '
+ 'параметрызаписиjson параметрызаписиxml параметрычтенияxml переопределениеxs планировщик полеанализаданных '
+ 'полекомпоновкиданных построительdom построительзапроса построительотчета построительотчетаанализаданных '
+ 'построительсхемxml поток потоквпамяти почта почтовоесообщение преобразованиеxsl преобразованиекканоническомуxml '
+ 'процессорвыводарезультатакомпоновкиданныхвколлекциюзначений процессорвыводарезультатакомпоновкиданныхвтабличныйдокумент '
+ 'процессоркомпоновкиданных разыменовательпространствименdom рамка расписаниерегламентногозадания расширенноеимяxml '
+ 'результатчтенияданных своднаядиаграмма связьпараметравыбора связьпотипу связьпотипукомпоновкиданных сериализаторxdto '
+ 'сертификатклиентаwindows сертификатклиентафайл сертификаткриптографии сертификатыудостоверяющихцентровwindows '
+ 'сертификатыудостоверяющихцентровфайл сжатиеданных системнаяинформация сообщениепользователю сочетаниеклавиш '
+ 'сравнениезначений стандартнаядатаначала стандартныйпериод схемаxml схемакомпоновкиданных табличныйдокумент '
+ 'текстовыйдокумент тестируемоеприложение типданныхxml уникальныйидентификатор фабрикаxdto файл файловыйпоток '
+ 'фасетдлиныxs фасетколичестваразрядовдробнойчастиxs фасетмаксимальноговключающегозначенияxs '
+ 'фасетмаксимальногоисключающегозначенияxs фасетмаксимальнойдлиныxs фасетминимальноговключающегозначенияxs '
+ 'фасетминимальногоисключающегозначенияxs фасетминимальнойдлиныxs фасетобразцаxs фасетобщегоколичестваразрядовxs '
+ 'фасетперечисленияxs фасетпробельныхсимволовxs фильтрузловdom форматированнаястрока форматированныйдокумент '
+ 'фрагментxs хешированиеданных хранилищезначения цвет чтениеfastinfoset чтениеhtml чтениеjson чтениеxml чтениеzipфайла '
+ 'чтениеданных чтениетекста чтениеузловdom шрифт элементрезультатакомпоновкиданных ';
// v8 универсальные коллекции значений ==> type
const v8_universal_collection =
'comsafearray деревозначений массив соответствие списокзначений структура таблицазначений фиксированнаяструктура '
+ 'фиксированноесоответствие фиксированныймассив ';
// type : встроенные типы
const TYPE =
v8_shared_object
+ v8_universal_collection;
// literal : примитивные типы
const LITERAL = 'null истина ложь неопределено';
// number : числа
const NUMBERS = hljs.inherit(hljs.NUMBER_MODE);
// string : строки
const STRINGS = {
className: 'string',
begin: '"|\\|',
end: '"|$',
contains: [ { begin: '""' } ]
};
// number : даты
const DATE = {
begin: "'",
end: "'",
excludeBegin: true,
excludeEnd: true,
contains: [
{
className: 'number',
begin: '\\d{4}([\\.\\\\/:-]?\\d{2}){0,5}'
}
]
};
const PUNCTUATION = {
match: /[;()+\-:=,]/,
className: "punctuation",
relevance: 0
};
// comment : комментарии
const COMMENTS = hljs.inherit(hljs.C_LINE_COMMENT_MODE);
// meta : инструкции препроцессора, директивы компиляции
const META = {
className: 'meta',
begin: '#|&',
end: '$',
keywords: {
$pattern: UNDERSCORE_IDENT_RE,
keyword: KEYWORD + METAKEYWORD
},
contains: [ COMMENTS ]
};
// symbol : метка goto
const SYMBOL = {
className: 'symbol',
begin: '~',
end: ';|:',
excludeEnd: true
};
// function : объявление процедур и функций
const FUNCTION = {
className: 'function',
variants: [
{
begin: 'процедура|функция',
end: '\\)',
keywords: 'процедура функция'
},
{
begin: 'конецпроцедуры|конецфункции',
keywords: 'конецпроцедуры конецфункции'
}
],
contains: [
{
begin: '\\(',
end: '\\)',
endsParent: true,
contains: [
{
className: 'params',
begin: UNDERSCORE_IDENT_RE,
end: ',',
excludeEnd: true,
endsWithParent: true,
keywords: {
$pattern: UNDERSCORE_IDENT_RE,
keyword: 'знач',
literal: LITERAL
},
contains: [
NUMBERS,
STRINGS,
DATE
]
},
COMMENTS
]
},
hljs.inherit(hljs.TITLE_MODE, { begin: UNDERSCORE_IDENT_RE })
]
};
return {
name: '1C:Enterprise',
case_insensitive: true,
keywords: {
$pattern: UNDERSCORE_IDENT_RE,
keyword: KEYWORD,
built_in: BUILTIN,
class: CLASS,
type: TYPE,
literal: LITERAL
},
contains: [
META,
FUNCTION,
COMMENTS,
SYMBOL,
NUMBERS,
STRINGS,
DATE,
PUNCTUATION
]
};
}
return _1c;
})();
hljs.registerLanguage('1c', hljsGrammar);
})();/*! `abnf` grammar compiled for Highlight.js 11.11.1 */
(function(){
var hljsGrammar = (function () {
'use strict';
/*
Language: Augmented Backus-Naur Form
Author: Alex McKibben
Website: https://tools.ietf.org/html/rfc5234
Category: syntax
Audit: 2020
*/
/** @type LanguageFn */
function abnf(hljs) {
const regex = hljs.regex;
const IDENT = /^[a-zA-Z][a-zA-Z0-9-]*/;
const KEYWORDS = [
"ALPHA",
"BIT",
"CHAR",
"CR",
"CRLF",
"CTL",
"DIGIT",
"DQUOTE",
"HEXDIG",
"HTAB",
"LF",
"LWSP",
"OCTET",
"SP",
"VCHAR",
"WSP"
];
const COMMENT = hljs.COMMENT(/;/, /$/);
const TERMINAL_BINARY = {
scope: "symbol",
match: /%b[0-1]+(-[0-1]+|(\.[0-1]+)+)?/
};
const TERMINAL_DECIMAL = {
scope: "symbol",
match: /%d[0-9]+(-[0-9]+|(\.[0-9]+)+)?/
};
const TERMINAL_HEXADECIMAL = {
scope: "symbol",
match: /%x[0-9A-F]+(-[0-9A-F]+|(\.[0-9A-F]+)+)?/
};
const CASE_SENSITIVITY = {
scope: "symbol",
match: /%[si](?=".*")/
};
const RULE_DECLARATION = {
scope: "attribute",
match: regex.concat(IDENT, /(?=\s*=)/)
};
const ASSIGNMENT = {
scope: "operator",
match: /=\/?/
};
return {
name: 'Augmented Backus-Naur Form',
illegal: /[!@#$^&',?+~`|:]/,
keywords: KEYWORDS,
contains: [
ASSIGNMENT,
RULE_DECLARATION,
COMMENT,
TERMINAL_BINARY,
TERMINAL_DECIMAL,
TERMINAL_HEXADECIMAL,
CASE_SENSITIVITY,
hljs.QUOTE_STRING_MODE,
hljs.NUMBER_MODE
]
};
}
return abnf;
})();
hljs.registerLanguage('abnf', hljsGrammar);
})();/*! `accesslog` grammar compiled for Highlight.js 11.11.1 */
(function(){
var hljsGrammar = (function () {
'use strict';
/*
Language: Apache Access Log
Author: Oleg Efimov
Description: Apache/Nginx Access Logs
Website: https://httpd.apache.org/docs/2.4/logs.html#accesslog
Category: web, logs
Audit: 2020
*/
/** @type LanguageFn */
function accesslog(hljs) {
const regex = hljs.regex;
// https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods
const HTTP_VERBS = [
"GET",
"POST",
"HEAD",
"PUT",
"DELETE",
"CONNECT",
"OPTIONS",
"PATCH",
"TRACE"
];
return {
name: 'Apache Access Log',
contains: [
// IP
{
className: 'number',
begin: /^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}(:\d{1,5})?\b/,
relevance: 5
},
// Other numbers
{
className: 'number',
begin: /\b\d+\b/,
relevance: 0
},
// Requests
{
className: 'string',
begin: regex.concat(/"/, regex.either(...HTTP_VERBS)),
end: /"/,
keywords: HTTP_VERBS,
illegal: /\n/,
relevance: 5,
contains: [
{
begin: /HTTP\/[12]\.\d'/,
relevance: 5
}
]
},
// Dates
{
className: 'string',
// dates must have a certain length, this prevents matching
// simple array accesses a[123] and [] and other common patterns
// found in other languages
begin: /\[\d[^\]\n]{8,}\]/,
illegal: /\n/,
relevance: 1
},
{
className: 'string',
begin: /\[/,
end: /\]/,
illegal: /\n/,
relevance: 0
},
// User agent / relevance boost
{
className: 'string',
begin: /"Mozilla\/\d\.\d \(/,
end: /"/,
illegal: /\n/,
relevance: 3
},
// Strings
{
className: 'string',
begin: /"/,
end: /"/,
illegal: /\n/,
relevance: 0
}
]
};
}
return accesslog;
})();
hljs.registerLanguage('accesslog', hljsGrammar);
})();/*! `actionscript` grammar compiled for Highlight.js 11.11.1 */
(function(){
var hljsGrammar = (function () {
'use strict';
/*
Language: ActionScript
Author: Alexander Myadzel
Category: scripting
Audit: 2020
*/
/** @type LanguageFn */
function actionscript(hljs) {
const regex = hljs.regex;
const IDENT_RE = /[a-zA-Z_$][a-zA-Z0-9_$]*/;
const PKG_NAME_RE = regex.concat(
IDENT_RE,
regex.concat("(\\.", IDENT_RE, ")*")
);
const IDENT_FUNC_RETURN_TYPE_RE = /([*]|[a-zA-Z_$][a-zA-Z0-9_$]*)/;
const AS3_REST_ARG_MODE = {
className: 'rest_arg',
begin: /[.]{3}/,
end: IDENT_RE,
relevance: 10
};
const KEYWORDS = [
"as",
"break",
"case",
"catch",
"class",
"const",
"continue",
"default",
"delete",
"do",
"dynamic",
"each",
"else",
"extends",
"final",
"finally",
"for",
"function",
"get",
"if",
"implements",
"import",
"in",
"include",
"instanceof",
"interface",
"internal",
"is",
"namespace",
"native",
"new",
"override",
"package",
"private",
"protected",
"public",
"return",
"set",
"static",
"super",
"switch",
"this",
"throw",
"try",
"typeof",
"use",
"var",
"void",
"while",
"with"
];
const LITERALS = [
"true",
"false",
"null",
"undefined"
];
return {
name: 'ActionScript',
aliases: [ 'as' ],
keywords: {
keyword: KEYWORDS,
literal: LITERALS
},
contains: [
hljs.APOS_STRING_MODE,
hljs.QUOTE_STRING_MODE,
hljs.C_LINE_COMMENT_MODE,
hljs.C_BLOCK_COMMENT_MODE,
hljs.C_NUMBER_MODE,
{
match: [
/\bpackage/,
/\s+/,
PKG_NAME_RE
],
className: {
1: "keyword",
3: "title.class"
}
},
{
match: [
/\b(?:class|interface|extends|implements)/,
/\s+/,
IDENT_RE
],
className: {
1: "keyword",
3: "title.class"
}
},
{
className: 'meta',
beginKeywords: 'import include',
end: /;/,
keywords: { keyword: 'import include' }
},
{
beginKeywords: 'function',
end: /[{;]/,
excludeEnd: true,
illegal: /\S/,
contains: [
hljs.inherit(hljs.TITLE_MODE, { className: "title.function" }),
{
className: 'params',
begin: /\(/,
end: /\)/,
contains: [
hljs.APOS_STRING_MODE,
hljs.QUOTE_STRING_MODE,
hljs.C_LINE_COMMENT_MODE,
hljs.C_BLOCK_COMMENT_MODE,
AS3_REST_ARG_MODE
]
},
{ begin: regex.concat(/:\s*/, IDENT_FUNC_RETURN_TYPE_RE) }
]
},
hljs.METHOD_GUARD
],
illegal: /#/
};
}
return actionscript;
})();
hljs.registerLanguage('actionscript', hljsGrammar);
})();/*! `ada` grammar compiled for Highlight.js 11.11.1 */
(function(){
var hljsGrammar = (function () {
'use strict';
/*
Language: Ada
Author: Lars Schulna
Description: Ada is a general-purpose programming language that has great support for saftey critical and real-time applications.
It has been developed by the DoD and thus has been used in military and safety-critical applications (like civil aviation).
The first version appeared in the 80s, but it's still actively developed today with
the newest standard being Ada2012.
*/
// We try to support full Ada2012
//
// We highlight all appearances of types, keywords, literals (string, char, number, bool)
// and titles (user defined function/procedure/package)
// CSS classes are set accordingly
//
// Languages causing problems for language detection:
// xml (broken by Foo : Bar type), elm (broken by Foo : Bar type), vbscript-html (broken by body keyword)
// sql (ada default.txt has a lot of sql keywords)
/** @type LanguageFn */
function ada(hljs) {
// Regular expression for Ada numeric literals.
// stolen form the VHDL highlighter
// Decimal literal:
const INTEGER_RE = '\\d(_|\\d)*';
const EXPONENT_RE = '[eE][-+]?' + INTEGER_RE;
const DECIMAL_LITERAL_RE = INTEGER_RE + '(\\.' + INTEGER_RE + ')?' + '(' + EXPONENT_RE + ')?';
// Based literal:
const BASED_INTEGER_RE = '\\w+';
const BASED_LITERAL_RE = INTEGER_RE + '#' + BASED_INTEGER_RE + '(\\.' + BASED_INTEGER_RE + ')?' + '#' + '(' + EXPONENT_RE + ')?';
const NUMBER_RE = '\\b(' + BASED_LITERAL_RE + '|' + DECIMAL_LITERAL_RE + ')';
// Identifier regex
const ID_REGEX = '[A-Za-z](_?[A-Za-z0-9.])*';
// bad chars, only allowed in literals
const BAD_CHARS = `[]\\{\\}%#'"`;
// Ada doesn't have block comments, only line comments
const COMMENTS = hljs.COMMENT('--', '$');
// variable declarations of the form
// Foo : Bar := Baz;
// where only Bar will be highlighted
const VAR_DECLS = {
// TODO: These spaces are not required by the Ada syntax
// however, I have yet to see handwritten Ada code where
// someone does not put spaces around :
begin: '\\s+:\\s+',
end: '\\s*(:=|;|\\)|=>|$)',
// endsWithParent: true,
// returnBegin: true,
illegal: BAD_CHARS,
contains: [
{
// workaround to avoid highlighting
// named loops and declare blocks
beginKeywords: 'loop for declare others',
endsParent: true
},
{
// properly highlight all modifiers
className: 'keyword',
beginKeywords: 'not null constant access function procedure in out aliased exception'
},
{
className: 'type',
begin: ID_REGEX,
endsParent: true,
relevance: 0
}
]
};
const KEYWORDS = [
"abort",
"else",
"new",
"return",
"abs",
"elsif",
"not",
"reverse",
"abstract",
"end",
"accept",
"entry",
"select",
"access",
"exception",
"of",
"separate",
"aliased",
"exit",
"or",
"some",
"all",
"others",
"subtype",
"and",
"for",
"out",
"synchronized",
"array",
"function",
"overriding",
"at",
"tagged",
"generic",
"package",
"task",
"begin",
"goto",
"pragma",
"terminate",
"body",
"private",
"then",
"if",
"procedure",
"type",
"case",
"in",
"protected",
"constant",
"interface",
"is",
"raise",
"use",
"declare",
"range",
"delay",
"limited",
"record",
"when",
"delta",
"loop",
"rem",
"while",
"digits",
"renames",
"with",
"do",
"mod",
"requeue",
"xor"
];
return {
name: 'Ada',
case_insensitive: true,
keywords: {
keyword: KEYWORDS,
literal: [
"True",
"False"
]
},
contains: [
COMMENTS,
// strings "foobar"
{
className: 'string',
begin: /"/,
end: /"/,
contains: [
{
begin: /""/,
relevance: 0
}
]
},
// characters ''
{
// character literals always contain one char
className: 'string',
begin: /'.'/
},
{
// number literals
className: 'number',
begin: NUMBER_RE,
relevance: 0
},
{
// Attributes
className: 'symbol',
begin: "'" + ID_REGEX
},
{
// package definition, maybe inside generic
className: 'title',
begin: '(\\bwith\\s+)?(\\bprivate\\s+)?\\bpackage\\s+(\\bbody\\s+)?',
end: '(is|$)',
keywords: 'package body',
excludeBegin: true,
excludeEnd: true,
illegal: BAD_CHARS
},
{
// function/procedure declaration/definition
// maybe inside generic
begin: '(\\b(with|overriding)\\s+)?\\b(function|procedure)\\s+',
end: '(\\bis|\\bwith|\\brenames|\\)\\s*;)',
keywords: 'overriding function procedure with is renames return',
// we need to re-match the 'function' keyword, so that
// the title mode below matches only exactly once
returnBegin: true,
contains:
[
COMMENTS,
{
// name of the function/procedure
className: 'title',
begin: '(\\bwith\\s+)?\\b(function|procedure)\\s+',
end: '(\\(|\\s+|$)',
excludeBegin: true,
excludeEnd: true,
illegal: BAD_CHARS
},
// 'self'
// // parameter types
VAR_DECLS,
{
// return type
className: 'type',
begin: '\\breturn\\s+',
end: '(\\s+|;|$)',
keywords: 'return',
excludeBegin: true,
excludeEnd: true,
// we are done with functions
endsParent: true,
illegal: BAD_CHARS
}
]
},
{
// new type declarations
// maybe inside generic
className: 'type',
begin: '\\b(sub)?type\\s+',
end: '\\s+',
keywords: 'type',
excludeBegin: true,
illegal: BAD_CHARS
},
// see comment above the definition
VAR_DECLS
// no markup
// relevance boosters for small snippets
// {begin: '\\s*=>\\s*'},
// {begin: '\\s*:=\\s*'},
// {begin: '\\s+:=\\s+'},
]
};
}
return ada;
})();
hljs.registerLanguage('ada', hljsGrammar);
})();/*! `angelscript` grammar compiled for Highlight.js 11.11.1 */
(function(){
var hljsGrammar = (function () {
'use strict';
/*
Language: AngelScript
Author: Melissa Geels
Category: scripting
Website: https://www.angelcode.com/angelscript/
*/
/** @type LanguageFn */
function angelscript(hljs) {
const builtInTypeMode = {
className: 'built_in',
begin: '\\b(void|bool|int8|int16|int32|int64|int|uint8|uint16|uint32|uint64|uint|string|ref|array|double|float|auto|dictionary)'
};
const objectHandleMode = {
className: 'symbol',
begin: '[a-zA-Z0-9_]+@'
};
const genericMode = {
className: 'keyword',
begin: '<',
end: '>',
contains: [
builtInTypeMode,
objectHandleMode
]
};
builtInTypeMode.contains = [ genericMode ];
objectHandleMode.contains = [ genericMode ];
const KEYWORDS = [
"for",
"in|0",
"break",
"continue",
"while",
"do|0",
"return",
"if",
"else",
"case",
"switch",
"namespace",
"is",
"cast",
"or",
"and",
"xor",
"not",
"get|0",
"in",
"inout|10",
"out",
"override",
"set|0",
"private",
"public",
"const",
"default|0",
"final",
"shared",
"external",
"mixin|10",
"enum",
"typedef",
"funcdef",
"this",
"super",
"import",
"from",
"interface",
"abstract|0",
"try",
"catch",
"protected",
"explicit",
"property"
];
return {
name: 'AngelScript',
aliases: [ 'asc' ],
keywords: KEYWORDS,
// avoid close detection with C# and JS
illegal: '(^using\\s+[A-Za-z0-9_\\.]+;$|\\bfunction\\s*[^\\(])',
contains: [
{ // 'strings'
className: 'string',
begin: '\'',
end: '\'',
illegal: '\\n',
contains: [ hljs.BACKSLASH_ESCAPE ],
relevance: 0
},
// """heredoc strings"""
{
className: 'string',
begin: '"""',
end: '"""'
},
{ // "strings"
className: 'string',
begin: '"',
end: '"',
illegal: '\\n',
contains: [ hljs.BACKSLASH_ESCAPE ],
relevance: 0
},
hljs.C_LINE_COMMENT_MODE, // single-line comments
hljs.C_BLOCK_COMMENT_MODE, // comment blocks
{ // metadata
className: 'string',
begin: '^\\s*\\[',
end: '\\]'
},
{ // interface or namespace declaration
beginKeywords: 'interface namespace',
end: /\{/,
illegal: '[;.\\-]',
contains: [
{ // interface or namespace name
className: 'symbol',
begin: '[a-zA-Z0-9_]+'
}
]
},
{ // class declaration
beginKeywords: 'class',
end: /\{/,
illegal: '[;.\\-]',
contains: [
{ // class name
className: 'symbol',
begin: '[a-zA-Z0-9_]+',
contains: [
{
begin: '[:,]\\s*',
contains: [
{
className: 'symbol',
begin: '[a-zA-Z0-9_]+'
}
]
}
]
}
]
},
builtInTypeMode, // built-in types
objectHandleMode, // object handles
{ // literals
className: 'literal',
begin: '\\b(null|true|false)'
},
{ // numbers
className: 'number',
relevance: 0,
begin: '(-?)(\\b0[xXbBoOdD][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?f?|\\.\\d+f?)([eE][-+]?\\d+f?)?)'
}
]
};
}
return angelscript;
})();
hljs.registerLanguage('angelscript', hljsGrammar);
})();/*! `apache` grammar compiled for Highlight.js 11.11.1 */
(function(){
var hljsGrammar = (function () {
'use strict';
/*
Language: Apache config
Author: Ruslan Keba
Contributors: Ivan Sagalaev
Website: https://httpd.apache.org
Description: language definition for Apache configuration files (httpd.conf & .htaccess)
Category: config, web
Audit: 2020
*/
/** @type LanguageFn */
function apache(hljs) {
const NUMBER_REF = {
className: 'number',
begin: /[$%]\d+/
};
const NUMBER = {
className: 'number',
begin: /\b\d+/
};
const IP_ADDRESS = {
className: "number",
begin: /\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}(:\d{1,5})?/
};
const PORT_NUMBER = {
className: "number",
begin: /:\d{1,5}/
};
return {
name: 'Apache config',
aliases: [ 'apacheconf' ],
case_insensitive: true,
contains: [
hljs.HASH_COMMENT_MODE,
{
className: 'section',
begin: /<\/?/,
end: />/,
contains: [
IP_ADDRESS,
PORT_NUMBER,
// low relevance prevents us from claming XML/HTML where this rule would
// match strings inside of XML tags
hljs.inherit(hljs.QUOTE_STRING_MODE, { relevance: 0 })
]
},
{
className: 'attribute',
begin: /\w+/,
relevance: 0,
// keywords aren’t needed for highlighting per se, they only boost relevance
// for a very generally defined mode (starts with a word, ends with line-end
keywords: { _: [
"order",
"deny",
"allow",
"setenv",
"rewriterule",
"rewriteengine",
"rewritecond",
"documentroot",
"sethandler",
"errordocument",
"loadmodule",
"options",
"header",
"listen",
"serverroot",
"servername"
] },
starts: {
end: /$/,
relevance: 0,
keywords: { literal: 'on off all deny allow' },
contains: [
{
scope: "punctuation",
match: /\\\n/
},
{
className: 'meta',
begin: /\s\[/,
end: /\]$/
},
{
className: 'variable',
begin: /[\$%]\{/,
end: /\}/,
contains: [
'self',
NUMBER_REF
]
},
IP_ADDRESS,
NUMBER,
hljs.QUOTE_STRING_MODE
]
}
}
],
illegal: /\S/
};
}
return apache;
})();
hljs.registerLanguage('apache', hljsGrammar);
})();/*! `applescript` grammar compiled for Highlight.js 11.11.1 */
(function(){
var hljsGrammar = (function () {
'use strict';
/*
Language: AppleScript
Authors: Nathan Grigg , Dr. Drang
Category: scripting
Website: https://developer.apple.com/library/archive/documentation/AppleScript/Conceptual/AppleScriptLangGuide/introduction/ASLR_intro.html
Audit: 2020
*/
/** @type LanguageFn */
function applescript(hljs) {
const regex = hljs.regex;
const STRING = hljs.inherit(
hljs.QUOTE_STRING_MODE, { illegal: null });
const PARAMS = {
className: 'params',
begin: /\(/,
end: /\)/,
contains: [
'self',
hljs.C_NUMBER_MODE,
STRING
]
};
const COMMENT_MODE_1 = hljs.COMMENT(/--/, /$/);
const COMMENT_MODE_2 = hljs.COMMENT(
/\(\*/,
/\*\)/,
{ contains: [
'self', // allow nesting
COMMENT_MODE_1
] }
);
const COMMENTS = [
COMMENT_MODE_1,
COMMENT_MODE_2,
hljs.HASH_COMMENT_MODE
];
const KEYWORD_PATTERNS = [
/apart from/,
/aside from/,
/instead of/,
/out of/,
/greater than/,
/isn't|(doesn't|does not) (equal|come before|come after|contain)/,
/(greater|less) than( or equal)?/,
/(starts?|ends|begins?) with/,
/contained by/,
/comes (before|after)/,
/a (ref|reference)/,
/POSIX (file|path)/,
/(date|time) string/,
/quoted form/
];
const BUILT_IN_PATTERNS = [
/clipboard info/,
/the clipboard/,
/info for/,
/list (disks|folder)/,
/mount volume/,
/path to/,
/(close|open for) access/,
/(get|set) eof/,
/current date/,
/do shell script/,
/get volume settings/,
/random number/,
/set volume/,
/system attribute/,
/system info/,
/time to GMT/,
/(load|run|store) script/,
/scripting components/,
/ASCII (character|number)/,
/localized string/,
/choose (application|color|file|file name|folder|from list|remote application|URL)/,
/display (alert|dialog)/
];
return {
name: 'AppleScript',
aliases: [ 'osascript' ],
keywords: {
keyword:
'about above after against and around as at back before beginning '
+ 'behind below beneath beside between but by considering '
+ 'contain contains continue copy div does eighth else end equal '
+ 'equals error every exit fifth first for fourth from front '
+ 'get given global if ignoring in into is it its last local me '
+ 'middle mod my ninth not of on onto or over prop property put ref '
+ 'reference repeat returning script second set seventh since '
+ 'sixth some tell tenth that the|0 then third through thru '
+ 'timeout times to transaction try until where while whose with '
+ 'without',
literal:
'AppleScript false linefeed return pi quote result space tab true',
built_in:
'alias application boolean class constant date file integer list '
+ 'number real record string text '
+ 'activate beep count delay launch log offset read round '
+ 'run say summarize write '
+ 'character characters contents day frontmost id item length '
+ 'month name|0 paragraph paragraphs rest reverse running time version '
+ 'weekday word words year'
},
contains: [
STRING,
hljs.C_NUMBER_MODE,
{
className: 'built_in',
begin: regex.concat(
/\b/,
regex.either(...BUILT_IN_PATTERNS),
/\b/
)
},
{
className: 'built_in',
begin: /^\s*return\b/
},
{
className: 'literal',
begin:
/\b(text item delimiters|current application|missing value)\b/
},
{
className: 'keyword',
begin: regex.concat(
/\b/,
regex.either(...KEYWORD_PATTERNS),
/\b/
)
},
{
beginKeywords: 'on',
illegal: /[${=;\n]/,
contains: [
hljs.UNDERSCORE_TITLE_MODE,
PARAMS
]
},
...COMMENTS
],
illegal: /\/\/|->|=>|\[\[/
};
}
return applescript;
})();
hljs.registerLanguage('applescript', hljsGrammar);
})();/*! `arcade` grammar compiled for Highlight.js 11.11.1 */
(function(){
var hljsGrammar = (function () {
'use strict';
/*
Language: ArcGIS Arcade
Category: scripting
Website: https://developers.arcgis.com/arcade/
Description: ArcGIS Arcade is an expression language used in many Esri ArcGIS products such as Pro, Online, Server, Runtime, JavaScript, and Python
*/
/** @type LanguageFn */
function arcade(hljs) {
const regex = hljs.regex;
const IDENT_RE = '[A-Za-z_][0-9A-Za-z_]*';
const KEYWORDS = {
keyword: [
"break",
"case",
"catch",
"continue",
"debugger",
"do",
"else",
"export",
"for",
"function",
"if",
"import",
"in",
"new",
"of",
"return",
"switch",
"try",
"var",
"void",
"while"
],
literal: [
"BackSlash",
"DoubleQuote",
"ForwardSlash",
"Infinity",
"NaN",
"NewLine",
"PI",
"SingleQuote",
"Tab",
"TextFormatting",
"false",
"null",
"true",
"undefined"
],
built_in: [
"Abs",
"Acos",
"All",
"Angle",
"Any",
"Area",
"AreaGeodetic",
"Array",
"Asin",
"Atan",
"Atan2",
"Attachments",
"Average",
"Back",
"Bearing",
"Boolean",
"Buffer",
"BufferGeodetic",
"Ceil",
"Centroid",
"ChangeTimeZone",
"Clip",
"Concatenate",
"Console",
"Constrain",
"Contains",
"ConvertDirection",
"ConvexHull",
"Cos",
"Count",
"Crosses",
"Cut",
"Date|0",
"DateAdd",
"DateDiff",
"DateOnly",
"Day",
"Decode",
"DefaultValue",
"Densify",
"DensifyGeodetic",
"Dictionary",
"Difference",
"Disjoint",
"Distance",
"DistanceGeodetic",
"DistanceToCoordinate",
"Distinct",
"Domain",
"DomainCode",
"DomainName",
"EnvelopeIntersects",
"Equals",
"Erase",
"Exp",
"Expects",
"Extent",
"Feature",
"FeatureInFilter",
"FeatureSet",
"FeatureSetByAssociation",
"FeatureSetById",
"FeatureSetByName",
"FeatureSetByPortalItem",
"FeatureSetByRelationshipClass",
"FeatureSetByRelationshipName",
"Filter",
"FilterBySubtypeCode",
"Find",
"First|0",
"Floor",
"FromCharCode",
"FromCodePoint",
"FromJSON",
"Front",
"GdbVersion",
"Generalize",
"Geometry",
"GetEnvironment",
"GetFeatureSet",
"GetFeatureSetInfo",
"GetUser",
"GroupBy",
"Guid",
"HasKey",
"HasValue",
"Hash",
"Hour",
"IIf",
"ISOMonth",
"ISOWeek",
"ISOWeekday",
"ISOYear",
"Includes",
"IndexOf",
"Insert",
"Intersection",
"Intersects",
"IsEmpty",
"IsNan",
"IsSelfIntersecting",
"IsSimple",
"KnowledgeGraphByPortalItem",
"Left|0",
"Length",
"Length3D",
"LengthGeodetic",
"Log",
"Lower",
"Map",
"Max",
"Mean",
"MeasureToCoordinate",
"Mid",
"Millisecond",
"Min",
"Minute",
"Month",
"MultiPartToSinglePart",
"Multipoint",
"NearestCoordinate",
"NearestVertex",
"NextSequenceValue",
"None",
"Now",
"Number",
"Offset",
"OrderBy",
"Overlaps",
"Point",
"PointToCoordinate",
"Polygon",
"Polyline",
"Pop",
"Portal",
"Pow",
"Proper",
"Push",
"QueryGraph",
"Random",
"Reduce",
"Relate",
"Replace",
"Resize",
"Reverse",
"Right|0",
"RingIsClockwise",
"Rotate",
"Round",
"Schema",
"Second",
"SetGeometry",
"Simplify",
"Sin",
"Slice",
"Sort",
"Splice",
"Split",
"Sqrt",
"StandardizeFilename",
"StandardizeGuid",
"Stdev",
"SubtypeCode",
"SubtypeName",
"Subtypes",
"Sum",
"SymmetricDifference",
"Tan",
"Text",
"Time",
"TimeZone",
"TimeZoneOffset",
"Timestamp",
"ToCharCode",
"ToCodePoint",
"ToHex",
"ToLocal",
"ToUTC",
"Today",
"Top|0",
"Touches",
"TrackAccelerationAt",
"TrackAccelerationWindow",
"TrackCurrentAcceleration",
"TrackCurrentDistance",
"TrackCurrentSpeed",
"TrackCurrentTime",
"TrackDistanceAt",
"TrackDistanceWindow",
"TrackDuration",
"TrackFieldWindow",
"TrackGeometryWindow",
"TrackIndex",
"TrackSpeedAt",
"TrackSpeedWindow",
"TrackStartTime",
"TrackWindow",
"Trim",
"TypeOf",
"Union",
"Upper",
"UrlEncode",
"Variance",
"Week",
"Weekday",
"When|0",
"Within",
"Year|0",
]
};
const PROFILE_VARS = [
"aggregatedFeatures",
"analytic",
"config",
"datapoint",
"datastore",
"editcontext",
"feature",
"featureSet",
"feedfeature",
"fencefeature",
"fencenotificationtype",
"graph",
"join",
"layer",
"locationupdate",
"map",
"measure",
"measure",
"originalFeature",
"record",
"reference",
"rowindex",
"sourcedatastore",
"sourcefeature",
"sourcelayer",
"target",
"targetdatastore",
"targetfeature",
"targetlayer",
"userInput",
"value",
"variables",
"view"
];
const SYMBOL = {
className: 'symbol',
begin: '\\$' + regex.either(...PROFILE_VARS)
};
const NUMBER = {
className: 'number',
variants: [
{ begin: '\\b(0[bB][01]+)' },
{ begin: '\\b(0[oO][0-7]+)' },
{ begin: hljs.C_NUMBER_RE }
],
relevance: 0
};
const SUBST = {
className: 'subst',
begin: '\\$\\{',
end: '\\}',
keywords: KEYWORDS,
contains: [] // defined later
};
const TEMPLATE_STRING = {
className: 'string',
begin: '`',
end: '`',
contains: [
hljs.BACKSLASH_ESCAPE,
SUBST
]
};
SUBST.contains = [
hljs.APOS_STRING_MODE,
hljs.QUOTE_STRING_MODE,
TEMPLATE_STRING,
NUMBER,
hljs.REGEXP_MODE
];
const PARAMS_CONTAINS = SUBST.contains.concat([
hljs.C_BLOCK_COMMENT_MODE,
hljs.C_LINE_COMMENT_MODE
]);
return {
name: 'ArcGIS Arcade',
case_insensitive: true,
keywords: KEYWORDS,
contains: [
hljs.APOS_STRING_MODE,
hljs.QUOTE_STRING_MODE,
TEMPLATE_STRING,
hljs.C_LINE_COMMENT_MODE,
hljs.C_BLOCK_COMMENT_MODE,
SYMBOL,
NUMBER,
{ // object attr container
begin: /[{,]\s*/,
relevance: 0,
contains: [
{
begin: IDENT_RE + '\\s*:',
returnBegin: true,
relevance: 0,
contains: [
{
className: 'attr',
begin: IDENT_RE,
relevance: 0
}
]
}
]
},
{ // "value" container
begin: '(' + hljs.RE_STARTERS_RE + '|\\b(return)\\b)\\s*',
keywords: 'return',
contains: [
hljs.C_LINE_COMMENT_MODE,
hljs.C_BLOCK_COMMENT_MODE,
hljs.REGEXP_MODE,
{
className: 'function',
begin: '(\\(.*?\\)|' + IDENT_RE + ')\\s*=>',
returnBegin: true,
end: '\\s*=>',
contains: [
{
className: 'params',
variants: [
{ begin: IDENT_RE },
{ begin: /\(\s*\)/ },
{
begin: /\(/,
end: /\)/,
excludeBegin: true,
excludeEnd: true,
keywords: KEYWORDS,
contains: PARAMS_CONTAINS
}
]
}
]
}
],
relevance: 0
},
{
beginKeywords: 'function',
end: /\{/,
excludeEnd: true,
contains: [
hljs.inherit(hljs.TITLE_MODE, {
className: "title.function",
begin: IDENT_RE
}),
{
className: 'params',
begin: /\(/,
end: /\)/,
excludeBegin: true,
excludeEnd: true,
contains: PARAMS_CONTAINS
}
],
illegal: /\[|%/
},
{ begin: /\$[(.]/ }
],
illegal: /#(?!!)/
};
}
return arcade;
})();
hljs.registerLanguage('arcade', hljsGrammar);
})();/*! `arduino` grammar compiled for Highlight.js 11.11.1 */
(function(){
var hljsGrammar = (function () {
'use strict';
/*
Language: C++
Category: common, system
Website: https://isocpp.org
*/
/** @type LanguageFn */
function cPlusPlus(hljs) {
const regex = hljs.regex;
// added for historic reasons because `hljs.C_LINE_COMMENT_MODE` does
// not include such support nor can we be sure all the grammars depending
// on it would desire this behavior
const C_LINE_COMMENT_MODE = hljs.COMMENT('//', '$', { contains: [ { begin: /\\\n/ } ] });
const DECLTYPE_AUTO_RE = 'decltype\\(auto\\)';
const NAMESPACE_RE = '[a-zA-Z_]\\w*::';
const TEMPLATE_ARGUMENT_RE = '<[^<>]+>';
const FUNCTION_TYPE_RE = '(?!struct)('
+ DECLTYPE_AUTO_RE + '|'
+ regex.optional(NAMESPACE_RE)
+ '[a-zA-Z_]\\w*' + regex.optional(TEMPLATE_ARGUMENT_RE)
+ ')';
const CPP_PRIMITIVE_TYPES = {
className: 'type',
begin: '\\b[a-z\\d_]*_t\\b'
};
// https://en.cppreference.com/w/cpp/language/escape
// \\ \x \xFF \u2837 \u00323747 \374
const CHARACTER_ESCAPES = '\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)';
const STRINGS = {
className: 'string',
variants: [
{
begin: '(u8?|U|L)?"',
end: '"',
illegal: '\\n',
contains: [ hljs.BACKSLASH_ESCAPE ]
},
{
begin: '(u8?|U|L)?\'(' + CHARACTER_ESCAPES + '|.)',
end: '\'',
illegal: '.'
},
hljs.END_SAME_AS_BEGIN({
begin: /(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,
end: /\)([^()\\ ]{0,16})"/
})
]
};
const NUMBERS = {
className: 'number',
variants: [
// Floating-point literal.
{ begin:
"[+-]?(?:" // Leading sign.
// Decimal.
+ "(?:"
+"[0-9](?:'?[0-9])*\\.(?:[0-9](?:'?[0-9])*)?"
+ "|\\.[0-9](?:'?[0-9])*"
+ ")(?:[Ee][+-]?[0-9](?:'?[0-9])*)?"
+ "|[0-9](?:'?[0-9])*[Ee][+-]?[0-9](?:'?[0-9])*"
// Hexadecimal.
+ "|0[Xx](?:"
+"[0-9A-Fa-f](?:'?[0-9A-Fa-f])*(?:\\.(?:[0-9A-Fa-f](?:'?[0-9A-Fa-f])*)?)?"
+ "|\\.[0-9A-Fa-f](?:'?[0-9A-Fa-f])*"
+ ")[Pp][+-]?[0-9](?:'?[0-9])*"
+ ")(?:" // Literal suffixes.
+ "[Ff](?:16|32|64|128)?"
+ "|(BF|bf)16"
+ "|[Ll]"
+ "|" // Literal suffix is optional.
+ ")"
},
// Integer literal.
{ begin:
"[+-]?\\b(?:" // Leading sign.
+ "0[Bb][01](?:'?[01])*" // Binary.
+ "|0[Xx][0-9A-Fa-f](?:'?[0-9A-Fa-f])*" // Hexadecimal.
+ "|0(?:'?[0-7])*" // Octal or just a lone zero.
+ "|[1-9](?:'?[0-9])*" // Decimal.
+ ")(?:" // Literal suffixes.
+ "[Uu](?:LL?|ll?)"
+ "|[Uu][Zz]?"
+ "|(?:LL?|ll?)[Uu]?"
+ "|[Zz][Uu]"
+ "|" // Literal suffix is optional.
+ ")"
// Note: there are user-defined literal suffixes too, but perhaps having the custom suffix not part of the
// literal highlight actually makes it stand out more.
}
],
relevance: 0
};
const PREPROCESSOR = {
className: 'meta',
begin: /#\s*[a-z]+\b/,
end: /$/,
keywords: { keyword:
'if else elif endif define undef warning error line '
+ 'pragma _Pragma ifdef ifndef include' },
contains: [
{
begin: /\\\n/,
relevance: 0
},
hljs.inherit(STRINGS, { className: 'string' }),
{
className: 'string',
begin: /<.*?>/
},
C_LINE_COMMENT_MODE,
hljs.C_BLOCK_COMMENT_MODE
]
};
const TITLE_MODE = {
className: 'title',
begin: regex.optional(NAMESPACE_RE) + hljs.IDENT_RE,
relevance: 0
};
const FUNCTION_TITLE = regex.optional(NAMESPACE_RE) + hljs.IDENT_RE + '\\s*\\(';
// https://en.cppreference.com/w/cpp/keyword
const RESERVED_KEYWORDS = [
'alignas',
'alignof',
'and',
'and_eq',
'asm',
'atomic_cancel',
'atomic_commit',
'atomic_noexcept',
'auto',
'bitand',
'bitor',
'break',
'case',
'catch',
'class',
'co_await',
'co_return',
'co_yield',
'compl',
'concept',
'const_cast|10',
'consteval',
'constexpr',
'constinit',
'continue',
'decltype',
'default',
'delete',
'do',
'dynamic_cast|10',
'else',
'enum',
'explicit',
'export',
'extern',
'false',
'final',
'for',
'friend',
'goto',
'if',
'import',
'inline',
'module',
'mutable',
'namespace',
'new',
'noexcept',
'not',
'not_eq',
'nullptr',
'operator',
'or',
'or_eq',
'override',
'private',
'protected',
'public',
'reflexpr',
'register',
'reinterpret_cast|10',
'requires',
'return',
'sizeof',
'static_assert',
'static_cast|10',
'struct',
'switch',
'synchronized',
'template',
'this',
'thread_local',
'throw',
'transaction_safe',
'transaction_safe_dynamic',
'true',
'try',
'typedef',
'typeid',
'typename',
'union',
'using',
'virtual',
'volatile',
'while',
'xor',
'xor_eq'
];
// https://en.cppreference.com/w/cpp/keyword
const RESERVED_TYPES = [
'bool',
'char',
'char16_t',
'char32_t',
'char8_t',
'double',
'float',
'int',
'long',
'short',
'void',
'wchar_t',
'unsigned',
'signed',
'const',
'static'
];
const TYPE_HINTS = [
'any',
'auto_ptr',
'barrier',
'binary_semaphore',
'bitset',
'complex',
'condition_variable',
'condition_variable_any',
'counting_semaphore',
'deque',
'false_type',
'flat_map',
'flat_set',
'future',
'imaginary',
'initializer_list',
'istringstream',
'jthread',
'latch',
'lock_guard',
'multimap',
'multiset',
'mutex',
'optional',
'ostringstream',
'packaged_task',
'pair',
'promise',
'priority_queue',
'queue',
'recursive_mutex',
'recursive_timed_mutex',
'scoped_lock',
'set',
'shared_future',
'shared_lock',
'shared_mutex',
'shared_timed_mutex',
'shared_ptr',
'stack',
'string_view',
'stringstream',
'timed_mutex',
'thread',
'true_type',
'tuple',
'unique_lock',
'unique_ptr',
'unordered_map',
'unordered_multimap',
'unordered_multiset',
'unordered_set',
'variant',
'vector',
'weak_ptr',
'wstring',
'wstring_view'
];
const FUNCTION_HINTS = [
'abort',
'abs',
'acos',
'apply',
'as_const',
'asin',
'atan',
'atan2',
'calloc',
'ceil',
'cerr',
'cin',
'clog',
'cos',
'cosh',
'cout',
'declval',
'endl',
'exchange',
'exit',
'exp',
'fabs',
'floor',
'fmod',
'forward',
'fprintf',
'fputs',
'free',
'frexp',
'fscanf',
'future',
'invoke',
'isalnum',
'isalpha',
'iscntrl',
'isdigit',
'isgraph',
'islower',
'isprint',
'ispunct',
'isspace',
'isupper',
'isxdigit',
'labs',
'launder',
'ldexp',
'log',
'log10',
'make_pair',
'make_shared',
'make_shared_for_overwrite',
'make_tuple',
'make_unique',
'malloc',
'memchr',
'memcmp',
'memcpy',
'memset',
'modf',
'move',
'pow',
'printf',
'putchar',
'puts',
'realloc',
'scanf',
'sin',
'sinh',
'snprintf',
'sprintf',
'sqrt',
'sscanf',
'std',
'stderr',
'stdin',
'stdout',
'strcat',
'strchr',
'strcmp',
'strcpy',
'strcspn',
'strlen',
'strncat',
'strncmp',
'strncpy',
'strpbrk',
'strrchr',
'strspn',
'strstr',
'swap',
'tan',
'tanh',
'terminate',
'to_underlying',
'tolower',
'toupper',
'vfprintf',
'visit',
'vprintf',
'vsprintf'
];
const LITERALS = [
'NULL',
'false',
'nullopt',
'nullptr',
'true'
];
// https://en.cppreference.com/w/cpp/keyword
const BUILT_IN = [ '_Pragma' ];
const CPP_KEYWORDS = {
type: RESERVED_TYPES,
keyword: RESERVED_KEYWORDS,
literal: LITERALS,
built_in: BUILT_IN,
_type_hints: TYPE_HINTS
};
const FUNCTION_DISPATCH = {
className: 'function.dispatch',
relevance: 0,
keywords: {
// Only for relevance, not highlighting.
_hint: FUNCTION_HINTS },
begin: regex.concat(
/\b/,
/(?!decltype)/,
/(?!if)/,
/(?!for)/,
/(?!switch)/,
/(?!while)/,
hljs.IDENT_RE,
regex.lookahead(/(<[^<>]+>|)\s*\(/))
};
const EXPRESSION_CONTAINS = [
FUNCTION_DISPATCH,
PREPROCESSOR,
CPP_PRIMITIVE_TYPES,
C_LINE_COMMENT_MODE,
hljs.C_BLOCK_COMMENT_MODE,
NUMBERS,
STRINGS
];
const EXPRESSION_CONTEXT = {
// This mode covers expression context where we can't expect a function
// definition and shouldn't highlight anything that looks like one:
// `return some()`, `else if()`, `(x*sum(1, 2))`
variants: [
{
begin: /=/,
end: /;/
},
{
begin: /\(/,
end: /\)/
},
{
beginKeywords: 'new throw return else',
end: /;/
}
],
keywords: CPP_KEYWORDS,
contains: EXPRESSION_CONTAINS.concat([
{
begin: /\(/,
end: /\)/,
keywords: CPP_KEYWORDS,
contains: EXPRESSION_CONTAINS.concat([ 'self' ]),
relevance: 0
}
]),
relevance: 0
};
const FUNCTION_DECLARATION = {
className: 'function',
begin: '(' + FUNCTION_TYPE_RE + '[\\*&\\s]+)+' + FUNCTION_TITLE,
returnBegin: true,
end: /[{;=]/,
excludeEnd: true,
keywords: CPP_KEYWORDS,
illegal: /[^\w\s\*&:<>.]/,
contains: [
{ // to prevent it from being confused as the function title
begin: DECLTYPE_AUTO_RE,
keywords: CPP_KEYWORDS,
relevance: 0
},
{
begin: FUNCTION_TITLE,
returnBegin: true,
contains: [ TITLE_MODE ],
relevance: 0
},
// needed because we do not have look-behind on the below rule
// to prevent it from grabbing the final : in a :: pair
{
begin: /::/,
relevance: 0
},
// initializers
{
begin: /:/,
endsWithParent: true,
contains: [
STRINGS,
NUMBERS
]
},
// allow for multiple declarations, e.g.:
// extern void f(int), g(char);
{
relevance: 0,
match: /,/
},
{
className: 'params',
begin: /\(/,
end: /\)/,
keywords: CPP_KEYWORDS,
relevance: 0,
contains: [
C_LINE_COMMENT_MODE,
hljs.C_BLOCK_COMMENT_MODE,
STRINGS,
NUMBERS,
CPP_PRIMITIVE_TYPES,
// Count matching parentheses.
{
begin: /\(/,
end: /\)/,
keywords: CPP_KEYWORDS,
relevance: 0,
contains: [
'self',
C_LINE_COMMENT_MODE,
hljs.C_BLOCK_COMMENT_MODE,
STRINGS,
NUMBERS,
CPP_PRIMITIVE_TYPES
]
}
]
},
CPP_PRIMITIVE_TYPES,
C_LINE_COMMENT_MODE,
hljs.C_BLOCK_COMMENT_MODE,
PREPROCESSOR
]
};
return {
name: 'C++',
aliases: [
'cc',
'c++',
'h++',
'hpp',
'hh',
'hxx',
'cxx'
],
keywords: CPP_KEYWORDS,
illegal: '',
classNameAliases: { 'function.dispatch': 'built_in' },
contains: [].concat(
EXPRESSION_CONTEXT,
FUNCTION_DECLARATION,
FUNCTION_DISPATCH,
EXPRESSION_CONTAINS,
[
PREPROCESSOR,
{ // containers: ie, `vector rooms (9);`
begin: '\\b(deque|list|queue|priority_queue|pair|stack|vector|map|set|bitset|multiset|multimap|unordered_map|unordered_set|unordered_multiset|unordered_multimap|array|tuple|optional|variant|function|flat_map|flat_set)\\s*<(?!<)',
end: '>',
keywords: CPP_KEYWORDS,
contains: [
'self',
CPP_PRIMITIVE_TYPES
]
},
{
begin: hljs.IDENT_RE + '::',
keywords: CPP_KEYWORDS
},
{
match: [
// extra complexity to deal with `enum class` and `enum struct`
/\b(?:enum(?:\s+(?:class|struct))?|class|struct|union)/,
/\s+/,
/\w+/
],
className: {
1: 'keyword',
3: 'title.class'
}
}
])
};
}
/*
Language: Arduino
Author: Stefania Mellai
Description: The Arduino® Language is a superset of C++. This rules are designed to highlight the Arduino® source code. For info about language see http://www.arduino.cc.
Website: https://www.arduino.cc
Category: system
*/
/** @type LanguageFn */
function arduino(hljs) {
const ARDUINO_KW = {
type: [
"boolean",
"byte",
"word",
"String"
],
built_in: [
"KeyboardController",
"MouseController",
"SoftwareSerial",
"EthernetServer",
"EthernetClient",
"LiquidCrystal",
"RobotControl",
"GSMVoiceCall",
"EthernetUDP",
"EsploraTFT",
"HttpClient",
"RobotMotor",
"WiFiClient",
"GSMScanner",
"FileSystem",
"Scheduler",
"GSMServer",
"YunClient",
"YunServer",
"IPAddress",
"GSMClient",
"GSMModem",
"Keyboard",
"Ethernet",
"Console",
"GSMBand",
"Esplora",
"Stepper",
"Process",
"WiFiUDP",
"GSM_SMS",
"Mailbox",
"USBHost",
"Firmata",
"PImage",
"Client",
"Server",
"GSMPIN",
"FileIO",
"Bridge",
"Serial",
"EEPROM",
"Stream",
"Mouse",
"Audio",
"Servo",
"File",
"Task",
"GPRS",
"WiFi",
"Wire",
"TFT",
"GSM",
"SPI",
"SD"
],
_hints: [
"setup",
"loop",
"runShellCommandAsynchronously",
"analogWriteResolution",
"retrieveCallingNumber",
"printFirmwareVersion",
"analogReadResolution",
"sendDigitalPortPair",
"noListenOnLocalhost",
"readJoystickButton",
"setFirmwareVersion",
"readJoystickSwitch",
"scrollDisplayRight",
"getVoiceCallStatus",
"scrollDisplayLeft",
"writeMicroseconds",
"delayMicroseconds",
"beginTransmission",
"getSignalStrength",
"runAsynchronously",
"getAsynchronously",
"listenOnLocalhost",
"getCurrentCarrier",
"readAccelerometer",
"messageAvailable",
"sendDigitalPorts",
"lineFollowConfig",
"countryNameWrite",
"runShellCommand",
"readStringUntil",
"rewindDirectory",
"readTemperature",
"setClockDivider",
"readLightSensor",
"endTransmission",
"analogReference",
"detachInterrupt",
"countryNameRead",
"attachInterrupt",
"encryptionType",
"readBytesUntil",
"robotNameWrite",
"readMicrophone",
"robotNameRead",
"cityNameWrite",
"userNameWrite",
"readJoystickY",
"readJoystickX",
"mouseReleased",
"openNextFile",
"scanNetworks",
"noInterrupts",
"digitalWrite",
"beginSpeaker",
"mousePressed",
"isActionDone",
"mouseDragged",
"displayLogos",
"noAutoscroll",
"addParameter",
"remoteNumber",
"getModifiers",
"keyboardRead",
"userNameRead",
"waitContinue",
"processInput",
"parseCommand",
"printVersion",
"readNetworks",
"writeMessage",
"blinkVersion",
"cityNameRead",
"readMessage",
"setDataMode",
"parsePacket",
"isListening",
"setBitOrder",
"beginPacket",
"isDirectory",
"motorsWrite",
"drawCompass",
"digitalRead",
"clearScreen",
"serialEvent",
"rightToLeft",
"setTextSize",
"leftToRight",
"requestFrom",
"keyReleased",
"compassRead",
"analogWrite",
"interrupts",
"WiFiServer",
"disconnect",
"playMelody",
"parseFloat",
"autoscroll",
"getPINUsed",
"setPINUsed",
"setTimeout",
"sendAnalog",
"readSlider",
"analogRead",
"beginWrite",
"createChar",
"motorsStop",
"keyPressed",
"tempoWrite",
"readButton",
"subnetMask",
"debugPrint",
"macAddress",
"writeGreen",
"randomSeed",
"attachGPRS",
"readString",
"sendString",
"remotePort",
"releaseAll",
"mouseMoved",
"background",
"getXChange",
"getYChange",
"answerCall",
"getResult",
"voiceCall",
"endPacket",
"constrain",
"getSocket",
"writeJSON",
"getButton",
"available",
"connected",
"findUntil",
"readBytes",
"exitValue",
"readGreen",
"writeBlue",
"startLoop",
"IPAddress",
"isPressed",
"sendSysex",
"pauseMode",
"gatewayIP",
"setCursor",
"getOemKey",
"tuneWrite",
"noDisplay",
"loadImage",
"switchPIN",
"onRequest",
"onReceive",
"changePIN",
"playFile",
"noBuffer",
"parseInt",
"overflow",
"checkPIN",
"knobRead",
"beginTFT",
"bitClear",
"updateIR",
"bitWrite",
"position",
"writeRGB",
"highByte",
"writeRed",
"setSpeed",
"readBlue",
"noStroke",
"remoteIP",
"transfer",
"shutdown",
"hangCall",
"beginSMS",
"endWrite",
"attached",
"maintain",
"noCursor",
"checkReg",
"checkPUK",
"shiftOut",
"isValid",
"shiftIn",
"pulseIn",
"connect",
"println",
"localIP",
"pinMode",
"getIMEI",
"display",
"noBlink",
"process",
"getBand",
"running",
"beginSD",
"drawBMP",
"lowByte",
"setBand",
"release",
"bitRead",
"prepare",
"pointTo",
"readRed",
"setMode",
"noFill",
"remove",
"listen",
"stroke",
"detach",
"attach",
"noTone",
"exists",
"buffer",
"height",
"bitSet",
"circle",
"config",
"cursor",
"random",
"IRread",
"setDNS",
"endSMS",
"getKey",
"micros",
"millis",
"begin",
"print",
"write",
"ready",
"flush",
"width",
"isPIN",
"blink",
"clear",
"press",
"mkdir",
"rmdir",
"close",
"point",
"yield",
"image",
"BSSID",
"click",
"delay",
"read",
"text",
"move",
"peek",
"beep",
"rect",
"line",
"open",
"seek",
"fill",
"size",
"turn",
"stop",
"home",
"find",
"step",
"tone",
"sqrt",
"RSSI",
"SSID",
"end",
"bit",
"tan",
"cos",
"sin",
"pow",
"map",
"abs",
"max",
"min",
"get",
"run",
"put"
],
literal: [
"DIGITAL_MESSAGE",
"FIRMATA_STRING",
"ANALOG_MESSAGE",
"REPORT_DIGITAL",
"REPORT_ANALOG",
"INPUT_PULLUP",
"SET_PIN_MODE",
"INTERNAL2V56",
"SYSTEM_RESET",
"LED_BUILTIN",
"INTERNAL1V1",
"SYSEX_START",
"INTERNAL",
"EXTERNAL",
"DEFAULT",
"OUTPUT",
"INPUT",
"HIGH",
"LOW"
]
};
const ARDUINO = cPlusPlus(hljs);
const kws = /** @type {Record} */ (ARDUINO.keywords);
kws.type = [
...kws.type,
...ARDUINO_KW.type
];
kws.literal = [
...kws.literal,
...ARDUINO_KW.literal
];
kws.built_in = [
...kws.built_in,
...ARDUINO_KW.built_in
];
kws._hints = ARDUINO_KW._hints;
ARDUINO.name = 'Arduino';
ARDUINO.aliases = [ 'ino' ];
ARDUINO.supersetOf = "cpp";
return ARDUINO;
}
return arduino;
})();
hljs.registerLanguage('arduino', hljsGrammar);
})();/*! `armasm` grammar compiled for Highlight.js 11.11.1 */
(function(){
var hljsGrammar = (function () {
'use strict';
/*
Language: ARM Assembly
Author: Dan Panzarella
Description: ARM Assembly including Thumb and Thumb2 instructions
Category: assembler
*/
/** @type LanguageFn */
function armasm(hljs) {
// local labels: %?[FB]?[AT]?\d{1,2}\w+
const COMMENT = { variants: [
hljs.COMMENT('^[ \\t]*(?=#)', '$', {
relevance: 0,
excludeBegin: true
}),
hljs.COMMENT('[;@]', '$', { relevance: 0 }),
hljs.C_LINE_COMMENT_MODE,
hljs.C_BLOCK_COMMENT_MODE
] };
return {
name: 'ARM Assembly',
case_insensitive: true,
aliases: [ 'arm' ],
keywords: {
$pattern: '\\.?' + hljs.IDENT_RE,
meta:
// GNU preprocs
'.2byte .4byte .align .ascii .asciz .balign .byte .code .data .else .end .endif .endm .endr .equ .err .exitm .extern .global .hword .if .ifdef .ifndef .include .irp .long .macro .rept .req .section .set .skip .space .text .word .arm .thumb .code16 .code32 .force_thumb .thumb_func .ltorg '
// ARM directives
+ 'ALIAS ALIGN ARM AREA ASSERT ATTR CN CODE CODE16 CODE32 COMMON CP DATA DCB DCD DCDU DCDO DCFD DCFDU DCI DCQ DCQU DCW DCWU DN ELIF ELSE END ENDFUNC ENDIF ENDP ENTRY EQU EXPORT EXPORTAS EXTERN FIELD FILL FUNCTION GBLA GBLL GBLS GET GLOBAL IF IMPORT INCBIN INCLUDE INFO KEEP LCLA LCLL LCLS LTORG MACRO MAP MEND MEXIT NOFP OPT PRESERVE8 PROC QN READONLY RELOC REQUIRE REQUIRE8 RLIST FN ROUT SETA SETL SETS SN SPACE SUBT THUMB THUMBX TTL WHILE WEND ',
built_in:
'r0 r1 r2 r3 r4 r5 r6 r7 r8 r9 r10 r11 r12 r13 r14 r15 ' // standard registers
+ 'w0 w1 w2 w3 w4 w5 w6 w7 w8 w9 w10 w11 w12 w13 w14 w15 ' // 32 bit ARMv8 registers
+ 'w16 w17 w18 w19 w20 w21 w22 w23 w24 w25 w26 w27 w28 w29 w30 '
+ 'x0 x1 x2 x3 x4 x5 x6 x7 x8 x9 x10 x11 x12 x13 x14 x15 ' // 64 bit ARMv8 registers
+ 'x16 x17 x18 x19 x20 x21 x22 x23 x24 x25 x26 x27 x28 x29 x30 '
+ 'pc lr sp ip sl sb fp ' // typical regs plus backward compatibility
+ 'a1 a2 a3 a4 v1 v2 v3 v4 v5 v6 v7 v8 f0 f1 f2 f3 f4 f5 f6 f7 ' // more regs and fp
+ 'p0 p1 p2 p3 p4 p5 p6 p7 p8 p9 p10 p11 p12 p13 p14 p15 ' // coprocessor regs
+ 'c0 c1 c2 c3 c4 c5 c6 c7 c8 c9 c10 c11 c12 c13 c14 c15 ' // more coproc
+ 'q0 q1 q2 q3 q4 q5 q6 q7 q8 q9 q10 q11 q12 q13 q14 q15 ' // advanced SIMD NEON regs
// program status registers
+ 'cpsr_c cpsr_x cpsr_s cpsr_f cpsr_cx cpsr_cxs cpsr_xs cpsr_xsf cpsr_sf cpsr_cxsf '
+ 'spsr_c spsr_x spsr_s spsr_f spsr_cx spsr_cxs spsr_xs spsr_xsf spsr_sf spsr_cxsf '
// NEON and VFP registers
+ 's0 s1 s2 s3 s4 s5 s6 s7 s8 s9 s10 s11 s12 s13 s14 s15 '
+ 's16 s17 s18 s19 s20 s21 s22 s23 s24 s25 s26 s27 s28 s29 s30 s31 '
+ 'd0 d1 d2 d3 d4 d5 d6 d7 d8 d9 d10 d11 d12 d13 d14 d15 '
+ 'd16 d17 d18 d19 d20 d21 d22 d23 d24 d25 d26 d27 d28 d29 d30 d31 '
+ '{PC} {VAR} {TRUE} {FALSE} {OPT} {CONFIG} {ENDIAN} {CODESIZE} {CPU} {FPU} {ARCHITECTURE} {PCSTOREOFFSET} {ARMASM_VERSION} {INTER} {ROPI} {RWPI} {SWST} {NOSWST} . @'
},
contains: [
{
className: 'keyword',
begin: '\\b(' // mnemonics
+ 'adc|'
+ '(qd?|sh?|u[qh]?)?add(8|16)?|usada?8|(q|sh?|u[qh]?)?(as|sa)x|'
+ 'and|adrl?|sbc|rs[bc]|asr|b[lx]?|blx|bxj|cbn?z|tb[bh]|bic|'
+ 'bfc|bfi|[su]bfx|bkpt|cdp2?|clz|clrex|cmp|cmn|cpsi[ed]|cps|'
+ 'setend|dbg|dmb|dsb|eor|isb|it[te]{0,3}|lsl|lsr|ror|rrx|'
+ 'ldm(([id][ab])|f[ds])?|ldr((s|ex)?[bhd])?|movt?|mvn|mra|mar|'
+ 'mul|[us]mull|smul[bwt][bt]|smu[as]d|smmul|smmla|'
+ 'mla|umlaal|smlal?([wbt][bt]|d)|mls|smlsl?[ds]|smc|svc|sev|'
+ 'mia([bt]{2}|ph)?|mrr?c2?|mcrr2?|mrs|msr|orr|orn|pkh(tb|bt)|rbit|'
+ 'rev(16|sh)?|sel|[su]sat(16)?|nop|pop|push|rfe([id][ab])?|'
+ 'stm([id][ab])?|str(ex)?[bhd]?|(qd?)?sub|(sh?|q|u[qh]?)?sub(8|16)|'
+ '[su]xt(a?h|a?b(16)?)|srs([id][ab])?|swpb?|swi|smi|tst|teq|'
+ 'wfe|wfi|yield'
+ ')'
+ '(eq|ne|cs|cc|mi|pl|vs|vc|hi|ls|ge|lt|gt|le|al|hs|lo)?' // condition codes
+ '[sptrx]?' // legal postfixes
+ '(?=\\s)' // followed by space
},
COMMENT,
hljs.QUOTE_STRING_MODE,
{
className: 'string',
begin: '\'',
end: '[^\\\\]\'',
relevance: 0
},
{
className: 'title',
begin: '\\|',
end: '\\|',
illegal: '\\n',
relevance: 0
},
{
className: 'number',
variants: [
{ // hex
begin: '[#$=]?0x[0-9a-f]+' },
{ // bin
begin: '[#$=]?0b[01]+' },
{ // literal
begin: '[#$=]\\d+' },
{ // bare number
begin: '\\b\\d+' }
],
relevance: 0
},
{
className: 'symbol',
variants: [
{ // GNU ARM syntax
begin: '^[ \\t]*[a-z_\\.\\$][a-z0-9_\\.\\$]+:' },
{ // ARM syntax
begin: '^[a-z_\\.\\$][a-z0-9_\\.\\$]+' },
{ // label reference
begin: '[=#]\\w+' }
],
relevance: 0
}
]
};
}
return armasm;
})();
hljs.registerLanguage('armasm', hljsGrammar);
})();/*! `asciidoc` grammar compiled for Highlight.js 11.11.1 */
(function(){
var hljsGrammar = (function () {
'use strict';
/*
Language: AsciiDoc
Requires: xml.js
Author: Dan Allen
Website: http://asciidoc.org
Description: A semantic, text-based document format that can be exported to HTML, DocBook and other backends.
Category: markup
*/
/** @type LanguageFn */
function asciidoc(hljs) {
const regex = hljs.regex;
const HORIZONTAL_RULE = {
begin: '^\'{3,}[ \\t]*$',
relevance: 10
};
const ESCAPED_FORMATTING = [
// escaped constrained formatting marks (i.e., \* \_ or \`)
{ begin: /\\[*_`]/ },
// escaped unconstrained formatting marks (i.e., \\** \\__ or \\``)
// must ignore until the next formatting marks
// this rule might not be 100% compliant with Asciidoctor 2.0 but we are entering undefined behavior territory...
{ begin: /\\\\\*{2}[^\n]*?\*{2}/ },
{ begin: /\\\\_{2}[^\n]*_{2}/ },
{ begin: /\\\\`{2}[^\n]*`{2}/ },
// guard: constrained formatting mark may not be preceded by ":", ";" or
// "}". match these so the constrained rule doesn't see them
{ begin: /[:;}][*_`](?![*_`])/ }
];
const STRONG = [
// inline unconstrained strong (single line)
{
className: 'strong',
begin: /\*{2}([^\n]+?)\*{2}/
},
// inline unconstrained strong (multi-line)
{
className: 'strong',
begin: regex.concat(
/\*\*/,
/((\*(?!\*)|\\[^\n]|[^*\n\\])+\n)+/,
/(\*(?!\*)|\\[^\n]|[^*\n\\])*/,
/\*\*/
),
relevance: 0
},
// inline constrained strong (single line)
{
className: 'strong',
// must not precede or follow a word character
begin: /\B\*(\S|\S[^\n]*?\S)\*(?!\w)/
},
// inline constrained strong (multi-line)
{
className: 'strong',
// must not precede or follow a word character
begin: /\*[^\s]([^\n]+\n)+([^\n]+)\*/
}
];
const EMPHASIS = [
// inline unconstrained emphasis (single line)
{
className: 'emphasis',
begin: /_{2}([^\n]+?)_{2}/
},
// inline unconstrained emphasis (multi-line)
{
className: 'emphasis',
begin: regex.concat(
/__/,
/((_(?!_)|\\[^\n]|[^_\n\\])+\n)+/,
/(_(?!_)|\\[^\n]|[^_\n\\])*/,
/__/
),
relevance: 0
},
// inline constrained emphasis (single line)
{
className: 'emphasis',
// must not precede or follow a word character
begin: /\b_(\S|\S[^\n]*?\S)_(?!\w)/
},
// inline constrained emphasis (multi-line)
{
className: 'emphasis',
// must not precede or follow a word character
begin: /_[^\s]([^\n]+\n)+([^\n]+)_/
},
// inline constrained emphasis using single quote (legacy)
{
className: 'emphasis',
// must not follow a word character or be followed by a single quote or space
begin: '\\B\'(?![\'\\s])',
end: '(\\n{2}|\')',
// allow escaped single quote followed by word char
contains: [
{
begin: '\\\\\'\\w',
relevance: 0
}
],
relevance: 0
}
];
const ADMONITION = {
className: 'symbol',
begin: '^(NOTE|TIP|IMPORTANT|WARNING|CAUTION):\\s+',
relevance: 10
};
const BULLET_LIST = {
className: 'bullet',
begin: '^(\\*+|-+|\\.+|[^\\n]+?::)\\s+'
};
return {
name: 'AsciiDoc',
aliases: [ 'adoc' ],
contains: [
// block comment
hljs.COMMENT(
'^/{4,}\\n',
'\\n/{4,}$',
// can also be done as...
// '^/{4,}$',
// '^/{4,}$',
{ relevance: 10 }
),
// line comment
hljs.COMMENT(
'^//',
'$',
{ relevance: 0 }
),
// title
{
className: 'title',
begin: '^\\.\\w.*$'
},
// example, admonition & sidebar blocks
{
begin: '^[=\\*]{4,}\\n',
end: '\\n^[=\\*]{4,}$',
relevance: 10
},
// headings
{
className: 'section',
relevance: 10,
variants: [
{ begin: '^(={1,6})[ \t].+?([ \t]\\1)?$' },
{ begin: '^[^\\[\\]\\n]+?\\n[=\\-~\\^\\+]{2,}$' }
]
},
// document attributes
{
className: 'meta',
begin: '^:.+?:',
end: '\\s',
excludeEnd: true,
relevance: 10
},
// block attributes
{
className: 'meta',
begin: '^\\[.+?\\]$',
relevance: 0
},
// quoteblocks
{
className: 'quote',
begin: '^_{4,}\\n',
end: '\\n_{4,}$',
relevance: 10
},
// listing and literal blocks
{
className: 'code',
begin: '^[\\-\\.]{4,}\\n',
end: '\\n[\\-\\.]{4,}$',
relevance: 10
},
// passthrough blocks
{
begin: '^\\+{4,}\\n',
end: '\\n\\+{4,}$',
contains: [
{
begin: '<',
end: '>',
subLanguage: 'xml',
relevance: 0
}
],
relevance: 10
},
BULLET_LIST,
ADMONITION,
...ESCAPED_FORMATTING,
...STRONG,
...EMPHASIS,
// inline smart quotes
{
className: 'string',
variants: [
{ begin: "``.+?''" },
{ begin: "`.+?'" }
]
},
// inline unconstrained emphasis
{
className: 'code',
begin: /`{2}/,
end: /(\n{2}|`{2})/
},
// inline code snippets (TODO should get same treatment as strong and emphasis)
{
className: 'code',
begin: '(`.+?`|\\+.+?\\+)',
relevance: 0
},
// indented literal block
{
className: 'code',
begin: '^[ \\t]',
end: '$',
relevance: 0
},
HORIZONTAL_RULE,
// images and links
{
begin: '(link:)?(http|https|ftp|file|irc|image:?):\\S+?\\[[^[]*?\\]',
returnBegin: true,
contains: [
{
begin: '(link|image:?):',
relevance: 0
},
{
className: 'link',
begin: '\\w',
end: '[^\\[]+',
relevance: 0
},
{
className: 'string',
begin: '\\[',
end: '\\]',
excludeBegin: true,
excludeEnd: true,
relevance: 0
}
],
relevance: 10
}
]
};
}
return asciidoc;
})();
hljs.registerLanguage('asciidoc', hljsGrammar);
})();/*! `aspectj` grammar compiled for Highlight.js 11.11.1 */
(function(){
var hljsGrammar = (function () {
'use strict';
/*
Language: AspectJ
Author: Hakan Ozler
Website: https://www.eclipse.org/aspectj/
Description: Syntax Highlighting for the AspectJ Language which is a general-purpose aspect-oriented extension to the Java programming language.
Category: system
Audit: 2020
*/
/** @type LanguageFn */
function aspectj(hljs) {
const regex = hljs.regex;
const KEYWORDS = [
"false",
"synchronized",
"int",
"abstract",
"float",
"private",
"char",
"boolean",
"static",
"null",
"if",
"const",
"for",
"true",
"while",
"long",
"throw",
"strictfp",
"finally",
"protected",
"import",
"native",
"final",
"return",
"void",
"enum",
"else",
"extends",
"implements",
"break",
"transient",
"new",
"catch",
"instanceof",
"byte",
"super",
"volatile",
"case",
"assert",
"short",
"package",
"default",
"double",
"public",
"try",
"this",
"switch",
"continue",
"throws",
"privileged",
"aspectOf",
"adviceexecution",
"proceed",
"cflowbelow",
"cflow",
"initialization",
"preinitialization",
"staticinitialization",
"withincode",
"target",
"within",
"execution",
"getWithinTypeName",
"handler",
"thisJoinPoint",
"thisJoinPointStaticPart",
"thisEnclosingJoinPointStaticPart",
"declare",
"parents",
"warning",
"error",
"soft",
"precedence",
"thisAspectInstance"
];
const SHORTKEYS = [
"get",
"set",
"args",
"call"
];
return {
name: 'AspectJ',
keywords: KEYWORDS,
illegal: /<\/|#/,
contains: [
hljs.COMMENT(
/\/\*\*/,
/\*\//,
{
relevance: 0,
contains: [
{
// eat up @'s in emails to prevent them to be recognized as doctags
begin: /\w+@/,
relevance: 0
},
{
className: 'doctag',
begin: /@[A-Za-z]+/
}
]
}
),
hljs.C_LINE_COMMENT_MODE,
hljs.C_BLOCK_COMMENT_MODE,
hljs.APOS_STRING_MODE,
hljs.QUOTE_STRING_MODE,
{
className: 'class',
beginKeywords: 'aspect',
end: /[{;=]/,
excludeEnd: true,
illegal: /[:;"\[\]]/,
contains: [
{ beginKeywords: 'extends implements pertypewithin perthis pertarget percflowbelow percflow issingleton' },
hljs.UNDERSCORE_TITLE_MODE,
{
begin: /\([^\)]*/,
end: /[)]+/,
keywords: KEYWORDS.concat(SHORTKEYS),
excludeEnd: false
}
]
},
{
className: 'class',
beginKeywords: 'class interface',
end: /[{;=]/,
excludeEnd: true,
relevance: 0,
keywords: 'class interface',
illegal: /[:"\[\]]/,
contains: [
{ beginKeywords: 'extends implements' },
hljs.UNDERSCORE_TITLE_MODE
]
},
{
// AspectJ Constructs
beginKeywords: 'pointcut after before around throwing returning',
end: /[)]/,
excludeEnd: false,
illegal: /["\[\]]/,
contains: [
{
begin: regex.concat(hljs.UNDERSCORE_IDENT_RE, /\s*\(/),
returnBegin: true,
contains: [ hljs.UNDERSCORE_TITLE_MODE ]
}
]
},
{
begin: /[:]/,
returnBegin: true,
end: /[{;]/,
relevance: 0,
excludeEnd: false,
keywords: KEYWORDS,
illegal: /["\[\]]/,
contains: [
{
begin: regex.concat(hljs.UNDERSCORE_IDENT_RE, /\s*\(/),
keywords: KEYWORDS.concat(SHORTKEYS),
relevance: 0
},
hljs.QUOTE_STRING_MODE
]
},
{
// this prevents 'new Name(...), or throw ...' from being recognized as a function definition
beginKeywords: 'new throw',
relevance: 0
},
{
// the function class is a bit different for AspectJ compared to the Java language
className: 'function',
begin: /\w+ +\w+(\.\w+)?\s*\([^\)]*\)\s*((throws)[\w\s,]+)?[\{;]/,
returnBegin: true,
end: /[{;=]/,
keywords: KEYWORDS,
excludeEnd: true,
contains: [
{
begin: regex.concat(hljs.UNDERSCORE_IDENT_RE, /\s*\(/),
returnBegin: true,
relevance: 0,
contains: [ hljs.UNDERSCORE_TITLE_MODE ]
},
{
className: 'params',
begin: /\(/,
end: /\)/,
relevance: 0,
keywords: KEYWORDS,
contains: [
hljs.APOS_STRING_MODE,
hljs.QUOTE_STRING_MODE,
hljs.C_NUMBER_MODE,
hljs.C_BLOCK_COMMENT_MODE
]
},
hljs.C_LINE_COMMENT_MODE,
hljs.C_BLOCK_COMMENT_MODE
]
},
hljs.C_NUMBER_MODE,
{
// annotation is also used in this language
className: 'meta',
begin: /@[A-Za-z]+/
}
]
};
}
return aspectj;
})();
hljs.registerLanguage('aspectj', hljsGrammar);
})();/*! `autohotkey` grammar compiled for Highlight.js 11.11.1 */
(function(){
var hljsGrammar = (function () {
'use strict';
/*
Language: AutoHotkey
Author: Seongwon Lee
Description: AutoHotkey language definition
Category: scripting
*/
/** @type LanguageFn */
function autohotkey(hljs) {
const BACKTICK_ESCAPE = { begin: '`[\\s\\S]' };
return {
name: 'AutoHotkey',
case_insensitive: true,
aliases: [ 'ahk' ],
keywords: {
keyword: 'Break Continue Critical Exit ExitApp Gosub Goto New OnExit Pause return SetBatchLines SetTimer Suspend Thread Throw Until ahk_id ahk_class ahk_pid ahk_exe ahk_group',
literal: 'true false NOT AND OR',
built_in: 'ComSpec Clipboard ClipboardAll ErrorLevel'
},
contains: [
BACKTICK_ESCAPE,
hljs.inherit(hljs.QUOTE_STRING_MODE, { contains: [ BACKTICK_ESCAPE ] }),
hljs.COMMENT(';', '$', { relevance: 0 }),
hljs.C_BLOCK_COMMENT_MODE,
{
className: 'number',
begin: hljs.NUMBER_RE,
relevance: 0
},
{
// subst would be the most accurate however fails the point of
// highlighting. variable is comparably the most accurate that actually
// has some effect
className: 'variable',
begin: '%[a-zA-Z0-9#_$@]+%'
},
{
className: 'built_in',
begin: '^\\s*\\w+\\s*(,|%)'
// I don't really know if this is totally relevant
},
{
// symbol would be most accurate however is highlighted just like
// built_in and that makes up a lot of AutoHotkey code meaning that it
// would fail to highlight anything
className: 'title',
variants: [
{ begin: '^[^\\n";]+::(?!=)' },
{
begin: '^[^\\n";]+:(?!=)',
// zero relevance as it catches a lot of things
// followed by a single ':' in many languages
relevance: 0
}
]
},
{
className: 'meta',
begin: '^\\s*#\\w+',
end: '$',
relevance: 0
},
{
className: 'built_in',
begin: 'A_[a-zA-Z0-9]+'
},
{
// consecutive commas, not for highlighting but just for relevance
begin: ',\\s*,' }
]
};
}
return autohotkey;
})();
hljs.registerLanguage('autohotkey', hljsGrammar);
})();/*! `autoit` grammar compiled for Highlight.js 11.11.1 */
(function(){
var hljsGrammar = (function () {
'use strict';
/*
Language: AutoIt
Author: Manh Tuan
Description: AutoIt language definition
Category: scripting
*/
/** @type LanguageFn */
function autoit(hljs) {
const KEYWORDS = 'ByRef Case Const ContinueCase ContinueLoop '
+ 'Dim Do Else ElseIf EndFunc EndIf EndSelect '
+ 'EndSwitch EndWith Enum Exit ExitLoop For Func '
+ 'Global If In Local Next ReDim Return Select Static '
+ 'Step Switch Then To Until Volatile WEnd While With';
const DIRECTIVES = [
"EndRegion",
"forcedef",
"forceref",
"ignorefunc",
"include",
"include-once",
"NoTrayIcon",
"OnAutoItStartRegister",
"pragma",
"Region",
"RequireAdmin",
"Tidy_Off",
"Tidy_On",
"Tidy_Parameters"
];
const LITERAL = 'True False And Null Not Or Default';
const BUILT_IN =
'Abs ACos AdlibRegister AdlibUnRegister Asc AscW ASin Assign ATan AutoItSetOption AutoItWinGetTitle AutoItWinSetTitle Beep Binary BinaryLen BinaryMid BinaryToString BitAND BitNOT BitOR BitRotate BitShift BitXOR BlockInput Break Call CDTray Ceiling Chr ChrW ClipGet ClipPut ConsoleRead ConsoleWrite ConsoleWriteError ControlClick ControlCommand ControlDisable ControlEnable ControlFocus ControlGetFocus ControlGetHandle ControlGetPos ControlGetText ControlHide ControlListView ControlMove ControlSend ControlSetText ControlShow ControlTreeView Cos Dec DirCopy DirCreate DirGetSize DirMove DirRemove DllCall DllCallAddress DllCallbackFree DllCallbackGetPtr DllCallbackRegister DllClose DllOpen DllStructCreate DllStructGetData DllStructGetPtr DllStructGetSize DllStructSetData DriveGetDrive DriveGetFileSystem DriveGetLabel DriveGetSerial DriveGetType DriveMapAdd DriveMapDel DriveMapGet DriveSetLabel DriveSpaceFree DriveSpaceTotal DriveStatus EnvGet EnvSet EnvUpdate Eval Execute Exp FileChangeDir FileClose FileCopy FileCreateNTFSLink FileCreateShortcut FileDelete FileExists FileFindFirstFile FileFindNextFile FileFlush FileGetAttrib FileGetEncoding FileGetLongName FileGetPos FileGetShortcut FileGetShortName FileGetSize FileGetTime FileGetVersion FileInstall FileMove FileOpen FileOpenDialog FileRead FileReadLine FileReadToArray FileRecycle FileRecycleEmpty FileSaveDialog FileSelectFolder FileSetAttrib FileSetEnd FileSetPos FileSetTime FileWrite FileWriteLine Floor FtpSetProxy FuncName GUICreate GUICtrlCreateAvi GUICtrlCreateButton GUICtrlCreateCheckbox GUICtrlCreateCombo GUICtrlCreateContextMenu GUICtrlCreateDate GUICtrlCreateDummy GUICtrlCreateEdit GUICtrlCreateGraphic GUICtrlCreateGroup GUICtrlCreateIcon GUICtrlCreateInput GUICtrlCreateLabel GUICtrlCreateList GUICtrlCreateListView GUICtrlCreateListViewItem GUICtrlCreateMenu GUICtrlCreateMenuItem GUICtrlCreateMonthCal GUICtrlCreateObj GUICtrlCreatePic GUICtrlCreateProgress GUICtrlCreateRadio GUICtrlCreateSlider GUICtrlCreateTab GUICtrlCreateTabItem GUICtrlCreateTreeView GUICtrlCreateTreeViewItem GUICtrlCreateUpdown GUICtrlDelete GUICtrlGetHandle GUICtrlGetState GUICtrlRead GUICtrlRecvMsg GUICtrlRegisterListViewSort GUICtrlSendMsg GUICtrlSendToDummy GUICtrlSetBkColor GUICtrlSetColor GUICtrlSetCursor GUICtrlSetData GUICtrlSetDefBkColor GUICtrlSetDefColor GUICtrlSetFont GUICtrlSetGraphic GUICtrlSetImage GUICtrlSetLimit GUICtrlSetOnEvent GUICtrlSetPos GUICtrlSetResizing GUICtrlSetState GUICtrlSetStyle GUICtrlSetTip GUIDelete GUIGetCursorInfo GUIGetMsg GUIGetStyle GUIRegisterMsg GUISetAccelerators GUISetBkColor GUISetCoord GUISetCursor GUISetFont GUISetHelp GUISetIcon GUISetOnEvent GUISetState GUISetStyle GUIStartGroup GUISwitch Hex HotKeySet HttpSetProxy HttpSetUserAgent HWnd InetClose InetGet InetGetInfo InetGetSize InetRead IniDelete IniRead IniReadSection IniReadSectionNames IniRenameSection IniWrite IniWriteSection InputBox Int IsAdmin IsArray IsBinary IsBool IsDeclared IsDllStruct IsFloat IsFunc IsHWnd IsInt IsKeyword IsNumber IsObj IsPtr IsString Log MemGetStats Mod MouseClick MouseClickDrag MouseDown MouseGetCursor MouseGetPos MouseMove MouseUp MouseWheel MsgBox Number ObjCreate ObjCreateInterface ObjEvent ObjGet ObjName OnAutoItExitRegister OnAutoItExitUnRegister Ping PixelChecksum PixelGetColor PixelSearch ProcessClose ProcessExists ProcessGetStats ProcessList ProcessSetPriority ProcessWait ProcessWaitClose ProgressOff ProgressOn ProgressSet Ptr Random RegDelete RegEnumKey RegEnumVal RegRead RegWrite Round Run RunAs RunAsWait RunWait Send SendKeepActive SetError SetExtended ShellExecute ShellExecuteWait Shutdown Sin Sleep SoundPlay SoundSetWaveVolume SplashImageOn SplashOff SplashTextOn Sqrt SRandom StatusbarGetText StderrRead StdinWrite StdioClose StdoutRead String StringAddCR StringCompare StringFormat StringFromASCIIArray StringInStr StringIsAlNum StringIsAlpha StringIsASCII StringIsDigit StringIsFloat StringIsInt StringIsLower StringIsSpace StringIsUpper StringIsXDigit StringLeft StringLen StringLower StringMid StringRegExp StringRegExpReplace StringReplace StringReverse StringRight StringSplit StringStripCR StringStripWS StringToASCIIArray StringToBinary StringTrimLeft StringTrimRight StringUpper Tan TCPAccept TCPCloseSocket TCPConnect TCPListen TCPNameToIP TCPRecv TCPSend TCPShutdown, UDPShutdown TCPStartup, UDPStartup TimerDiff TimerInit ToolTip TrayCreateItem TrayCreateMenu TrayGetMsg TrayItemDelete TrayItemGetHandle TrayItemGetState TrayItemGetText TrayItemSetOnEvent TrayItemSetState TrayItemSetText TraySetClick TraySetIcon TraySetOnEvent TraySetPauseIcon TraySetState TraySetToolTip TrayTip UBound UDPBind UDPCloseSocket UDPOpen UDPRecv UDPSend VarGetType WinActivate WinActive WinClose WinExists WinFlash WinGetCaretPos WinGetClassList WinGetClientSize WinGetHandle WinGetPos WinGetProcess WinGetState WinGetText WinGetTitle WinKill WinList WinMenuSelectItem WinMinimizeAll WinMinimizeAllUndo WinMove WinSetOnTop WinSetState WinSetTitle WinSetTrans WinWait WinWaitActive WinWaitClose WinWaitNotActive';
const COMMENT = { variants: [
hljs.COMMENT(';', '$', { relevance: 0 }),
hljs.COMMENT('#cs', '#ce'),
hljs.COMMENT('#comments-start', '#comments-end')
] };
const VARIABLE = { begin: '\\$[A-z0-9_]+' };
const STRING = {
className: 'string',
variants: [
{
begin: /"/,
end: /"/,
contains: [
{
begin: /""/,
relevance: 0
}
]
},
{
begin: /'/,
end: /'/,
contains: [
{
begin: /''/,
relevance: 0
}
]
}
]
};
const NUMBER = { variants: [
hljs.BINARY_NUMBER_MODE,
hljs.C_NUMBER_MODE
] };
const PREPROCESSOR = {
className: 'meta',
begin: '#',
end: '$',
keywords: { keyword: DIRECTIVES },
contains: [
{
begin: /\\\n/,
relevance: 0
},
{
beginKeywords: 'include',
keywords: { keyword: 'include' },
end: '$',
contains: [
STRING,
{
className: 'string',
variants: [
{
begin: '<',
end: '>'
},
{
begin: /"/,
end: /"/,
contains: [
{
begin: /""/,
relevance: 0
}
]
},
{
begin: /'/,
end: /'/,
contains: [
{
begin: /''/,
relevance: 0
}
]
}
]
}
]
},
STRING,
COMMENT
]
};
const CONSTANT = {
className: 'symbol',
// begin: '@',
// end: '$',
// keywords: 'AppDataCommonDir AppDataDir AutoItExe AutoItPID AutoItVersion AutoItX64 COM_EventObj CommonFilesDir Compiled ComputerName ComSpec CPUArch CR CRLF DesktopCommonDir DesktopDepth DesktopDir DesktopHeight DesktopRefresh DesktopWidth DocumentsCommonDir error exitCode exitMethod extended FavoritesCommonDir FavoritesDir GUI_CtrlHandle GUI_CtrlId GUI_DragFile GUI_DragId GUI_DropId GUI_WinHandle HomeDrive HomePath HomeShare HotKeyPressed HOUR IPAddress1 IPAddress2 IPAddress3 IPAddress4 KBLayout LF LocalAppDataDir LogonDNSDomain LogonDomain LogonServer MDAY MIN MON MSEC MUILang MyDocumentsDir NumParams OSArch OSBuild OSLang OSServicePack OSType OSVersion ProgramFilesDir ProgramsCommonDir ProgramsDir ScriptDir ScriptFullPath ScriptLineNumber ScriptName SEC StartMenuCommonDir StartMenuDir StartupCommonDir StartupDir SW_DISABLE SW_ENABLE SW_HIDE SW_LOCK SW_MAXIMIZE SW_MINIMIZE SW_RESTORE SW_SHOW SW_SHOWDEFAULT SW_SHOWMAXIMIZED SW_SHOWMINIMIZED SW_SHOWMINNOACTIVE SW_SHOWNA SW_SHOWNOACTIVATE SW_SHOWNORMAL SW_UNLOCK SystemDir TAB TempDir TRAY_ID TrayIconFlashing TrayIconVisible UserName UserProfileDir WDAY WindowsDir WorkingDir YDAY YEAR',
// relevance: 5
begin: '@[A-z0-9_]+'
};
const FUNCTION = {
beginKeywords: 'Func',
end: '$',
illegal: '\\$|\\[|%',
contains: [
hljs.inherit(hljs.UNDERSCORE_TITLE_MODE, { className: "title.function" }),
{
className: 'params',
begin: '\\(',
end: '\\)',
contains: [
VARIABLE,
STRING,
NUMBER
]
}
]
};
return {
name: 'AutoIt',
case_insensitive: true,
illegal: /\/\*/,
keywords: {
keyword: KEYWORDS,
built_in: BUILT_IN,
literal: LITERAL
},
contains: [
COMMENT,
VARIABLE,
STRING,
NUMBER,
PREPROCESSOR,
CONSTANT,
FUNCTION
]
};
}
return autoit;
})();
hljs.registerLanguage('autoit', hljsGrammar);
})();/*! `avrasm` grammar compiled for Highlight.js 11.11.1 */
(function(){
var hljsGrammar = (function () {
'use strict';
/*
Language: AVR Assembly
Author: Vladimir Ermakov
Category: assembler
Website: https://www.microchip.com/webdoc/avrassembler/avrassembler.wb_instruction_list.html
*/
/** @type LanguageFn */
function avrasm(hljs) {
return {
name: 'AVR Assembly',
case_insensitive: true,
keywords: {
$pattern: '\\.?' + hljs.IDENT_RE,
keyword:
/* mnemonic */
'adc add adiw and andi asr bclr bld brbc brbs brcc brcs break breq brge brhc brhs '
+ 'brid brie brlo brlt brmi brne brpl brsh brtc brts brvc brvs bset bst call cbi cbr '
+ 'clc clh cli cln clr cls clt clv clz com cp cpc cpi cpse dec eicall eijmp elpm eor '
+ 'fmul fmuls fmulsu icall ijmp in inc jmp ld ldd ldi lds lpm lsl lsr mov movw mul '
+ 'muls mulsu neg nop or ori out pop push rcall ret reti rjmp rol ror sbc sbr sbrc sbrs '
+ 'sec seh sbi sbci sbic sbis sbiw sei sen ser ses set sev sez sleep spm st std sts sub '
+ 'subi swap tst wdr',
built_in:
/* general purpose registers */
'r0 r1 r2 r3 r4 r5 r6 r7 r8 r9 r10 r11 r12 r13 r14 r15 r16 r17 r18 r19 r20 r21 r22 '
+ 'r23 r24 r25 r26 r27 r28 r29 r30 r31 x|0 xh xl y|0 yh yl z|0 zh zl '
/* IO Registers (ATMega128) */
+ 'ucsr1c udr1 ucsr1a ucsr1b ubrr1l ubrr1h ucsr0c ubrr0h tccr3c tccr3a tccr3b tcnt3h '
+ 'tcnt3l ocr3ah ocr3al ocr3bh ocr3bl ocr3ch ocr3cl icr3h icr3l etimsk etifr tccr1c '
+ 'ocr1ch ocr1cl twcr twdr twar twsr twbr osccal xmcra xmcrb eicra spmcsr spmcr portg '
+ 'ddrg ping portf ddrf sreg sph spl xdiv rampz eicrb eimsk gimsk gicr eifr gifr timsk '
+ 'tifr mcucr mcucsr tccr0 tcnt0 ocr0 assr tccr1a tccr1b tcnt1h tcnt1l ocr1ah ocr1al '
+ 'ocr1bh ocr1bl icr1h icr1l tccr2 tcnt2 ocr2 ocdr wdtcr sfior eearh eearl eedr eecr '
+ 'porta ddra pina portb ddrb pinb portc ddrc pinc portd ddrd pind spdr spsr spcr udr0 '
+ 'ucsr0a ucsr0b ubrr0l acsr admux adcsr adch adcl porte ddre pine pinf',
meta:
'.byte .cseg .db .def .device .dseg .dw .endmacro .equ .eseg .exit .include .list '
+ '.listmac .macro .nolist .org .set'
},
contains: [
hljs.C_BLOCK_COMMENT_MODE,
hljs.COMMENT(
';',
'$',
{ relevance: 0 }
),
hljs.C_NUMBER_MODE, // 0x..., decimal, float
hljs.BINARY_NUMBER_MODE, // 0b...
{
className: 'number',
begin: '\\b(\\$[a-zA-Z0-9]+|0o[0-7]+)' // $..., 0o...
},
hljs.QUOTE_STRING_MODE,
{
className: 'string',
begin: '\'',
end: '[^\\\\]\'',
illegal: '[^\\\\][^\']'
},
{
className: 'symbol',
begin: '^[A-Za-z0-9_.$]+:'
},
{
className: 'meta',
begin: '#',
end: '$'
},
{ // substitution within a macro
className: 'subst',
begin: '@[0-9]+'
}
]
};
}
return avrasm;
})();
hljs.registerLanguage('avrasm', hljsGrammar);
})();/*! `awk` grammar compiled for Highlight.js 11.11.1 */
(function(){
var hljsGrammar = (function () {
'use strict';
/*
Language: Awk
Author: Matthew Daly
Website: https://www.gnu.org/software/gawk/manual/gawk.html
Description: language definition for Awk scripts
Category: scripting
*/
/** @type LanguageFn */
function awk(hljs) {
const VARIABLE = {
className: 'variable',
variants: [
{ begin: /\$[\w\d#@][\w\d_]*/ },
{ begin: /\$\{(.*?)\}/ }
]
};
const KEYWORDS = 'BEGIN END if else while do for in break continue delete next nextfile function func exit|10';
const STRING = {
className: 'string',
contains: [ hljs.BACKSLASH_ESCAPE ],
variants: [
{
begin: /(u|b)?r?'''/,
end: /'''/,
relevance: 10
},
{
begin: /(u|b)?r?"""/,
end: /"""/,
relevance: 10
},
{
begin: /(u|r|ur)'/,
end: /'/,
relevance: 10
},
{
begin: /(u|r|ur)"/,
end: /"/,
relevance: 10
},
{
begin: /(b|br)'/,
end: /'/
},
{
begin: /(b|br)"/,
end: /"/
},
hljs.APOS_STRING_MODE,
hljs.QUOTE_STRING_MODE
]
};
return {
name: 'Awk',
keywords: { keyword: KEYWORDS },
contains: [
VARIABLE,
STRING,
hljs.REGEXP_MODE,
hljs.HASH_COMMENT_MODE,
hljs.NUMBER_MODE
]
};
}
return awk;
})();
hljs.registerLanguage('awk', hljsGrammar);
})();/*! `axapta` grammar compiled for Highlight.js 11.11.1 */
(function(){
var hljsGrammar = (function () {
'use strict';
/*
Language: Microsoft X++
Description: X++ is a language used in Microsoft Dynamics 365, Dynamics AX, and Axapta.
Author: Dmitri Roudakov
Website: https://dynamics.microsoft.com/en-us/ax-overview/
Category: enterprise
*/
/** @type LanguageFn */
function axapta(hljs) {
const IDENT_RE = hljs.UNDERSCORE_IDENT_RE;
const BUILT_IN_KEYWORDS = [
'anytype',
'boolean',
'byte',
'char',
'container',
'date',
'double',
'enum',
'guid',
'int',
'int64',
'long',
'real',
'short',
'str',
'utcdatetime',
'var'
];
const LITERAL_KEYWORDS = [
'default',
'false',
'null',
'true'
];
const NORMAL_KEYWORDS = [
'abstract',
'as',
'asc',
'avg',
'break',
'breakpoint',
'by',
'byref',
'case',
'catch',
'changecompany',
'class',
'client',
'client',
'common',
'const',
'continue',
'count',
'crosscompany',
'delegate',
'delete_from',
'desc',
'display',
'div',
'do',
'edit',
'else',
'eventhandler',
'exists',
'extends',
'final',
'finally',
'firstfast',
'firstonly',
'firstonly1',
'firstonly10',
'firstonly100',
'firstonly1000',
'flush',
'for',
'forceliterals',
'forcenestedloop',
'forceplaceholders',
'forceselectorder',
'forupdate',
'from',
'generateonly',
'group',
'hint',
'if',
'implements',
'in',
'index',
'insert_recordset',
'interface',
'internal',
'is',
'join',
'like',
'maxof',
'minof',
'mod',
'namespace',
'new',
'next',
'nofetch',
'notexists',
'optimisticlock',
'order',
'outer',
'pessimisticlock',
'print',
'private',
'protected',
'public',
'readonly',
'repeatableread',
'retry',
'return',
'reverse',
'select',
'server',
'setting',
'static',
'sum',
'super',
'switch',
'this',
'throw',
'try',
'ttsabort',
'ttsbegin',
'ttscommit',
'unchecked',
'update_recordset',
'using',
'validtimestate',
'void',
'where',
'while'
];
const KEYWORDS = {
keyword: NORMAL_KEYWORDS,
built_in: BUILT_IN_KEYWORDS,
literal: LITERAL_KEYWORDS
};
const CLASS_DEFINITION = {
variants: [
{ match: [
/(class|interface)\s+/,
IDENT_RE,
/\s+(extends|implements)\s+/,
IDENT_RE
] },
{ match: [
/class\s+/,
IDENT_RE
] }
],
scope: {
2: "title.class",
4: "title.class.inherited"
},
keywords: KEYWORDS
};
return {
name: 'X++',
aliases: [ 'x++' ],
keywords: KEYWORDS,
contains: [
hljs.C_LINE_COMMENT_MODE,
hljs.C_BLOCK_COMMENT_MODE,
hljs.APOS_STRING_MODE,
hljs.QUOTE_STRING_MODE,
hljs.C_NUMBER_MODE,
{
className: 'meta',
begin: '#',
end: '$'
},
CLASS_DEFINITION
]
};
}
return axapta;
})();
hljs.registerLanguage('axapta', hljsGrammar);
})();/*! `bash` grammar compiled for Highlight.js 11.11.1 */
(function(){
var hljsGrammar = (function () {
'use strict';
/*
Language: Bash
Author: vah
Contributrors: Benjamin Pannell
Website: https://www.gnu.org/software/bash/
Category: common, scripting
*/
/** @type LanguageFn */
function bash(hljs) {
const regex = hljs.regex;
const VAR = {};
const BRACED_VAR = {
begin: /\$\{/,
end: /\}/,
contains: [
"self",
{
begin: /:-/,
contains: [ VAR ]
} // default values
]
};
Object.assign(VAR, {
className: 'variable',
variants: [
{ begin: regex.concat(/\$[\w\d#@][\w\d_]*/,
// negative look-ahead tries to avoid matching patterns that are not
// Perl at all like $ident$, @ident@, etc.
`(?![\\w\\d])(?![$])`) },
BRACED_VAR
]
});
const SUBST = {
className: 'subst',
begin: /\$\(/,
end: /\)/,
contains: [ hljs.BACKSLASH_ESCAPE ]
};
const COMMENT = hljs.inherit(
hljs.COMMENT(),
{
match: [
/(^|\s)/,
/#.*$/
],
scope: {
2: 'comment'
}
}
);
const HERE_DOC = {
begin: /<<-?\s*(?=\w+)/,
starts: { contains: [
hljs.END_SAME_AS_BEGIN({
begin: /(\w+)/,
end: /(\w+)/,
className: 'string'
})
] }
};
const QUOTE_STRING = {
className: 'string',
begin: /"/,
end: /"/,
contains: [
hljs.BACKSLASH_ESCAPE,
VAR,
SUBST
]
};
SUBST.contains.push(QUOTE_STRING);
const ESCAPED_QUOTE = {
match: /\\"/
};
const APOS_STRING = {
className: 'string',
begin: /'/,
end: /'/
};
const ESCAPED_APOS = {
match: /\\'/
};
const ARITHMETIC = {
begin: /\$?\(\(/,
end: /\)\)/,
contains: [
{
begin: /\d+#[0-9a-f]+/,
className: "number"
},
hljs.NUMBER_MODE,
VAR
]
};
const SH_LIKE_SHELLS = [
"fish",
"bash",
"zsh",
"sh",
"csh",
"ksh",
"tcsh",
"dash",
"scsh",
];
const KNOWN_SHEBANG = hljs.SHEBANG({
binary: `(${SH_LIKE_SHELLS.join("|")})`,
relevance: 10
});
const FUNCTION = {
className: 'function',
begin: /\w[\w\d_]*\s*\(\s*\)\s*\{/,
returnBegin: true,
contains: [ hljs.inherit(hljs.TITLE_MODE, { begin: /\w[\w\d_]*/ }) ],
relevance: 0
};
const KEYWORDS = [
"if",
"then",
"else",
"elif",
"fi",
"time",
"for",
"while",
"until",
"in",
"do",
"done",
"case",
"esac",
"coproc",
"function",
"select"
];
const LITERALS = [
"true",
"false"
];
// to consume paths to prevent keyword matches inside them
const PATH_MODE = { match: /(\/[a-z._-]+)+/ };
// http://www.gnu.org/software/bash/manual/html_node/Shell-Builtin-Commands.html
const SHELL_BUILT_INS = [
"break",
"cd",
"continue",
"eval",
"exec",
"exit",
"export",
"getopts",
"hash",
"pwd",
"readonly",
"return",
"shift",
"test",
"times",
"trap",
"umask",
"unset"
];
const BASH_BUILT_INS = [
"alias",
"bind",
"builtin",
"caller",
"command",
"declare",
"echo",
"enable",
"help",
"let",
"local",
"logout",
"mapfile",
"printf",
"read",
"readarray",
"source",
"sudo",
"type",
"typeset",
"ulimit",
"unalias"
];
const ZSH_BUILT_INS = [
"autoload",
"bg",
"bindkey",
"bye",
"cap",
"chdir",
"clone",
"comparguments",
"compcall",
"compctl",
"compdescribe",
"compfiles",
"compgroups",
"compquote",
"comptags",
"comptry",
"compvalues",
"dirs",
"disable",
"disown",
"echotc",
"echoti",
"emulate",
"fc",
"fg",
"float",
"functions",
"getcap",
"getln",
"history",
"integer",
"jobs",
"kill",
"limit",
"log",
"noglob",
"popd",
"print",
"pushd",
"pushln",
"rehash",
"sched",
"setcap",
"setopt",
"stat",
"suspend",
"ttyctl",
"unfunction",
"unhash",
"unlimit",
"unsetopt",
"vared",
"wait",
"whence",
"where",
"which",
"zcompile",
"zformat",
"zftp",
"zle",
"zmodload",
"zparseopts",
"zprof",
"zpty",
"zregexparse",
"zsocket",
"zstyle",
"ztcp"
];
const GNU_CORE_UTILS = [
"chcon",
"chgrp",
"chown",
"chmod",
"cp",
"dd",
"df",
"dir",
"dircolors",
"ln",
"ls",
"mkdir",
"mkfifo",
"mknod",
"mktemp",
"mv",
"realpath",
"rm",
"rmdir",
"shred",
"sync",
"touch",
"truncate",
"vdir",
"b2sum",
"base32",
"base64",
"cat",
"cksum",
"comm",
"csplit",
"cut",
"expand",
"fmt",
"fold",
"head",
"join",
"md5sum",
"nl",
"numfmt",
"od",
"paste",
"ptx",
"pr",
"sha1sum",
"sha224sum",
"sha256sum",
"sha384sum",
"sha512sum",
"shuf",
"sort",
"split",
"sum",
"tac",
"tail",
"tr",
"tsort",
"unexpand",
"uniq",
"wc",
"arch",
"basename",
"chroot",
"date",
"dirname",
"du",
"echo",
"env",
"expr",
"factor",
// "false", // keyword literal already
"groups",
"hostid",
"id",
"link",
"logname",
"nice",
"nohup",
"nproc",
"pathchk",
"pinky",
"printenv",
"printf",
"pwd",
"readlink",
"runcon",
"seq",
"sleep",
"stat",
"stdbuf",
"stty",
"tee",
"test",
"timeout",
// "true", // keyword literal already
"tty",
"uname",
"unlink",
"uptime",
"users",
"who",
"whoami",
"yes"
];
return {
name: 'Bash',
aliases: [
'sh',
'zsh'
],
keywords: {
$pattern: /\b[a-z][a-z0-9._-]+\b/,
keyword: KEYWORDS,
literal: LITERALS,
built_in: [
...SHELL_BUILT_INS,
...BASH_BUILT_INS,
// Shell modifiers
"set",
"shopt",
...ZSH_BUILT_INS,
...GNU_CORE_UTILS
]
},
contains: [
KNOWN_SHEBANG, // to catch known shells and boost relevancy
hljs.SHEBANG(), // to catch unknown shells but still highlight the shebang
FUNCTION,
ARITHMETIC,
COMMENT,
HERE_DOC,
PATH_MODE,
QUOTE_STRING,
ESCAPED_QUOTE,
APOS_STRING,
ESCAPED_APOS,
VAR
]
};
}
return bash;
})();
hljs.registerLanguage('bash', hljsGrammar);
})();/*! `basic` grammar compiled for Highlight.js 11.11.1 */
(function(){
var hljsGrammar = (function () {
'use strict';
/*
Language: BASIC
Author: Raphaël Assénat
Description: Based on the BASIC reference from the Tandy 1000 guide
Website: https://en.wikipedia.org/wiki/Tandy_1000
Category: system
*/
/** @type LanguageFn */
function basic(hljs) {
const KEYWORDS = [
"ABS",
"ASC",
"AND",
"ATN",
"AUTO|0",
"BEEP",
"BLOAD|10",
"BSAVE|10",
"CALL",
"CALLS",
"CDBL",
"CHAIN",
"CHDIR",
"CHR$|10",
"CINT",
"CIRCLE",
"CLEAR",
"CLOSE",
"CLS",
"COLOR",
"COM",
"COMMON",
"CONT",
"COS",
"CSNG",
"CSRLIN",
"CVD",
"CVI",
"CVS",
"DATA",
"DATE$",
"DEFDBL",
"DEFINT",
"DEFSNG",
"DEFSTR",
"DEF|0",
"SEG",
"USR",
"DELETE",
"DIM",
"DRAW",
"EDIT",
"END",
"ENVIRON",
"ENVIRON$",
"EOF",
"EQV",
"ERASE",
"ERDEV",
"ERDEV$",
"ERL",
"ERR",
"ERROR",
"EXP",
"FIELD",
"FILES",
"FIX",
"FOR|0",
"FRE",
"GET",
"GOSUB|10",
"GOTO",
"HEX$",
"IF",
"THEN",
"ELSE|0",
"INKEY$",
"INP",
"INPUT",
"INPUT#",
"INPUT$",
"INSTR",
"IMP",
"INT",
"IOCTL",
"IOCTL$",
"KEY",
"ON",
"OFF",
"LIST",
"KILL",
"LEFT$",
"LEN",
"LET",
"LINE",
"LLIST",
"LOAD",
"LOC",
"LOCATE",
"LOF",
"LOG",
"LPRINT",
"USING",
"LSET",
"MERGE",
"MID$",
"MKDIR",
"MKD$",
"MKI$",
"MKS$",
"MOD",
"NAME",
"NEW",
"NEXT",
"NOISE",
"NOT",
"OCT$",
"ON",
"OR",
"PEN",
"PLAY",
"STRIG",
"OPEN",
"OPTION",
"BASE",
"OUT",
"PAINT",
"PALETTE",
"PCOPY",
"PEEK",
"PMAP",
"POINT",
"POKE",
"POS",
"PRINT",
"PRINT]",
"PSET",
"PRESET",
"PUT",
"RANDOMIZE",
"READ",
"REM",
"RENUM",
"RESET|0",
"RESTORE",
"RESUME",
"RETURN|0",
"RIGHT$",
"RMDIR",
"RND",
"RSET",
"RUN",
"SAVE",
"SCREEN",
"SGN",
"SHELL",
"SIN",
"SOUND",
"SPACE$",
"SPC",
"SQR",
"STEP",
"STICK",
"STOP",
"STR$",
"STRING$",
"SWAP",
"SYSTEM",
"TAB",
"TAN",
"TIME$",
"TIMER",
"TROFF",
"TRON",
"TO",
"USR",
"VAL",
"VARPTR",
"VARPTR$",
"VIEW",
"WAIT",
"WHILE",
"WEND",
"WIDTH",
"WINDOW",
"WRITE",
"XOR"
];
return {
name: 'BASIC',
case_insensitive: true,
illegal: '^\.',
// Support explicitly typed variables that end with $%! or #.
keywords: {
$pattern: '[a-zA-Z][a-zA-Z0-9_$%!#]*',
keyword: KEYWORDS
},
contains: [
{
// Match strings that start with " and end with " or a line break
scope: 'string',
begin: /"/,
end: /"|$/,
contains: [ hljs.BACKSLASH_ESCAPE ]
},
hljs.COMMENT('REM', '$', { relevance: 10 }),
hljs.COMMENT('\'', '$', { relevance: 0 }),
{
// Match line numbers
className: 'symbol',
begin: '^[0-9]+ ',
relevance: 10
},
{
// Match typed numeric constants (1000, 12.34!, 1.2e5, 1.5#, 1.2D2)
className: 'number',
begin: '\\b\\d+(\\.\\d+)?([edED]\\d+)?[#\!]?',
relevance: 0
},
{
// Match hexadecimal numbers (&Hxxxx)
className: 'number',
begin: '(&[hH][0-9a-fA-F]{1,4})'
},
{
// Match octal numbers (&Oxxxxxx)
className: 'number',
begin: '(&[oO][0-7]{1,6})'
}
]
};
}
return basic;
})();
hljs.registerLanguage('basic', hljsGrammar);
})();/*! `bnf` grammar compiled for Highlight.js 11.11.1 */
(function(){
var hljsGrammar = (function () {
'use strict';
/*
Language: Backus–Naur Form
Website: https://en.wikipedia.org/wiki/Backus–Naur_form
Category: syntax
Author: Oleg Efimov
*/
/** @type LanguageFn */
function bnf(hljs) {
return {
name: 'Backus–Naur Form',
contains: [
// Attribute
{
className: 'attribute',
begin: /,
end: />/
},
// Specific
{
begin: /::=/,
end: /$/,
contains: [
{
begin: /,
end: />/
},
// Common
hljs.C_LINE_COMMENT_MODE,
hljs.C_BLOCK_COMMENT_MODE,
hljs.APOS_STRING_MODE,
hljs.QUOTE_STRING_MODE
]
}
]
};
}
return bnf;
})();
hljs.registerLanguage('bnf', hljsGrammar);
})();/*! `brainfuck` grammar compiled for Highlight.js 11.11.1 */
(function(){
var hljsGrammar = (function () {
'use strict';
/*
Language: Brainfuck
Author: Evgeny Stepanischev
Website: https://esolangs.org/wiki/Brainfuck
*/
/** @type LanguageFn */
function brainfuck(hljs) {
const LITERAL = {
className: 'literal',
begin: /[+-]+/,
relevance: 0
};
return {
name: 'Brainfuck',
aliases: [ 'bf' ],
contains: [
hljs.COMMENT(
/[^\[\]\.,\+\-<> \r\n]/,
/[\[\]\.,\+\-<> \r\n]/,
{
contains: [
{
match: /[ ]+[^\[\]\.,\+\-<> \r\n]/,
relevance: 0
}
],
returnEnd: true,
relevance: 0
}
),
{
className: 'title',
begin: '[\\[\\]]',
relevance: 0
},
{
className: 'string',
begin: '[\\.,]',
relevance: 0
},
{
// this mode works as the only relevance counter
// it looks ahead to find the start of a run of literals
// so only the runs are counted as relevant
begin: /(?=\+\+|--)/,
contains: [ LITERAL ]
},
LITERAL
]
};
}
return brainfuck;
})();
hljs.registerLanguage('brainfuck', hljsGrammar);
})();/*! `c` grammar compiled for Highlight.js 11.11.1 */
(function(){
var hljsGrammar = (function () {
'use strict';
/*
Language: C
Category: common, system
Website: https://en.wikipedia.org/wiki/C_(programming_language)
*/
/** @type LanguageFn */
function c(hljs) {
const regex = hljs.regex;
// added for historic reasons because `hljs.C_LINE_COMMENT_MODE` does
// not include such support nor can we be sure all the grammars depending
// on it would desire this behavior
const C_LINE_COMMENT_MODE = hljs.COMMENT('//', '$', { contains: [ { begin: /\\\n/ } ] });
const DECLTYPE_AUTO_RE = 'decltype\\(auto\\)';
const NAMESPACE_RE = '[a-zA-Z_]\\w*::';
const TEMPLATE_ARGUMENT_RE = '<[^<>]+>';
const FUNCTION_TYPE_RE = '('
+ DECLTYPE_AUTO_RE + '|'
+ regex.optional(NAMESPACE_RE)
+ '[a-zA-Z_]\\w*' + regex.optional(TEMPLATE_ARGUMENT_RE)
+ ')';
const TYPES = {
className: 'type',
variants: [
{ begin: '\\b[a-z\\d_]*_t\\b' },
{ match: /\batomic_[a-z]{3,6}\b/ }
]
};
// https://en.cppreference.com/w/cpp/language/escape
// \\ \x \xFF \u2837 \u00323747 \374
const CHARACTER_ESCAPES = '\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)';
const STRINGS = {
className: 'string',
variants: [
{
begin: '(u8?|U|L)?"',
end: '"',
illegal: '\\n',
contains: [ hljs.BACKSLASH_ESCAPE ]
},
{
begin: '(u8?|U|L)?\'(' + CHARACTER_ESCAPES + "|.)",
end: '\'',
illegal: '.'
},
hljs.END_SAME_AS_BEGIN({
begin: /(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,
end: /\)([^()\\ ]{0,16})"/
})
]
};
const NUMBERS = {
className: 'number',
variants: [
{ match: /\b(0b[01']+)/ },
{ match: /(-?)\b([\d']+(\.[\d']*)?|\.[\d']+)((ll|LL|l|L)(u|U)?|(u|U)(ll|LL|l|L)?|f|F|b|B)/ },
{ match: /(-?)\b(0[xX][a-fA-F0-9]+(?:'[a-fA-F0-9]+)*(?:\.[a-fA-F0-9]*(?:'[a-fA-F0-9]*)*)?(?:[pP][-+]?[0-9]+)?(l|L)?(u|U)?)/ },
{ match: /(-?)\b\d+(?:'\d+)*(?:\.\d*(?:'\d*)*)?(?:[eE][-+]?\d+)?/ }
],
relevance: 0
};
const PREPROCESSOR = {
className: 'meta',
begin: /#\s*[a-z]+\b/,
end: /$/,
keywords: { keyword:
'if else elif endif define undef warning error line '
+ 'pragma _Pragma ifdef ifndef elifdef elifndef include' },
contains: [
{
begin: /\\\n/,
relevance: 0
},
hljs.inherit(STRINGS, { className: 'string' }),
{
className: 'string',
begin: /<.*?>/
},
C_LINE_COMMENT_MODE,
hljs.C_BLOCK_COMMENT_MODE
]
};
const TITLE_MODE = {
className: 'title',
begin: regex.optional(NAMESPACE_RE) + hljs.IDENT_RE,
relevance: 0
};
const FUNCTION_TITLE = regex.optional(NAMESPACE_RE) + hljs.IDENT_RE + '\\s*\\(';
const C_KEYWORDS = [
"asm",
"auto",
"break",
"case",
"continue",
"default",
"do",
"else",
"enum",
"extern",
"for",
"fortran",
"goto",
"if",
"inline",
"register",
"restrict",
"return",
"sizeof",
"typeof",
"typeof_unqual",
"struct",
"switch",
"typedef",
"union",
"volatile",
"while",
"_Alignas",
"_Alignof",
"_Atomic",
"_Generic",
"_Noreturn",
"_Static_assert",
"_Thread_local",
// aliases
"alignas",
"alignof",
"noreturn",
"static_assert",
"thread_local",
// not a C keyword but is, for all intents and purposes, treated exactly like one.
"_Pragma"
];
const C_TYPES = [
"float",
"double",
"signed",
"unsigned",
"int",
"short",
"long",
"char",
"void",
"_Bool",
"_BitInt",
"_Complex",
"_Imaginary",
"_Decimal32",
"_Decimal64",
"_Decimal96",
"_Decimal128",
"_Decimal64x",
"_Decimal128x",
"_Float16",
"_Float32",
"_Float64",
"_Float128",
"_Float32x",
"_Float64x",
"_Float128x",
// modifiers
"const",
"static",
"constexpr",
// aliases
"complex",
"bool",
"imaginary"
];
const KEYWORDS = {
keyword: C_KEYWORDS,
type: C_TYPES,
literal: 'true false NULL',
// TODO: apply hinting work similar to what was done in cpp.js
built_in: 'std string wstring cin cout cerr clog stdin stdout stderr stringstream istringstream ostringstream '
+ 'auto_ptr deque list queue stack vector map set pair bitset multiset multimap unordered_set '
+ 'unordered_map unordered_multiset unordered_multimap priority_queue make_pair array shared_ptr abort terminate abs acos '
+ 'asin atan2 atan calloc ceil cosh cos exit exp fabs floor fmod fprintf fputs free frexp '
+ 'fscanf future isalnum isalpha iscntrl isdigit isgraph islower isprint ispunct isspace isupper '
+ 'isxdigit tolower toupper labs ldexp log10 log malloc realloc memchr memcmp memcpy memset modf pow '
+ 'printf putchar puts scanf sinh sin snprintf sprintf sqrt sscanf strcat strchr strcmp '
+ 'strcpy strcspn strlen strncat strncmp strncpy strpbrk strrchr strspn strstr tanh tan '
+ 'vfprintf vprintf vsprintf endl initializer_list unique_ptr',
};
const EXPRESSION_CONTAINS = [
PREPROCESSOR,
TYPES,
C_LINE_COMMENT_MODE,
hljs.C_BLOCK_COMMENT_MODE,
NUMBERS,
STRINGS
];
const EXPRESSION_CONTEXT = {
// This mode covers expression context where we can't expect a function
// definition and shouldn't highlight anything that looks like one:
// `return some()`, `else if()`, `(x*sum(1, 2))`
variants: [
{
begin: /=/,
end: /;/
},
{
begin: /\(/,
end: /\)/
},
{
beginKeywords: 'new throw return else',
end: /;/
}
],
keywords: KEYWORDS,
contains: EXPRESSION_CONTAINS.concat([
{
begin: /\(/,
end: /\)/,
keywords: KEYWORDS,
contains: EXPRESSION_CONTAINS.concat([ 'self' ]),
relevance: 0
}
]),
relevance: 0
};
const FUNCTION_DECLARATION = {
begin: '(' + FUNCTION_TYPE_RE + '[\\*&\\s]+)+' + FUNCTION_TITLE,
returnBegin: true,
end: /[{;=]/,
excludeEnd: true,
keywords: KEYWORDS,
illegal: /[^\w\s\*&:<>.]/,
contains: [
{ // to prevent it from being confused as the function title
begin: DECLTYPE_AUTO_RE,
keywords: KEYWORDS,
relevance: 0
},
{
begin: FUNCTION_TITLE,
returnBegin: true,
contains: [ hljs.inherit(TITLE_MODE, { className: "title.function" }) ],
relevance: 0
},
// allow for multiple declarations, e.g.:
// extern void f(int), g(char);
{
relevance: 0,
match: /,/
},
{
className: 'params',
begin: /\(/,
end: /\)/,
keywords: KEYWORDS,
relevance: 0,
contains: [
C_LINE_COMMENT_MODE,
hljs.C_BLOCK_COMMENT_MODE,
STRINGS,
NUMBERS,
TYPES,
// Count matching parentheses.
{
begin: /\(/,
end: /\)/,
keywords: KEYWORDS,
relevance: 0,
contains: [
'self',
C_LINE_COMMENT_MODE,
hljs.C_BLOCK_COMMENT_MODE,
STRINGS,
NUMBERS,
TYPES
]
}
]
},
TYPES,
C_LINE_COMMENT_MODE,
hljs.C_BLOCK_COMMENT_MODE,
PREPROCESSOR
]
};
return {
name: "C",
aliases: [ 'h' ],
keywords: KEYWORDS,
// Until differentiations are added between `c` and `cpp`, `c` will
// not be auto-detected to avoid auto-detect conflicts between C and C++
disableAutodetect: true,
illegal: '',
contains: [].concat(
EXPRESSION_CONTEXT,
FUNCTION_DECLARATION,
EXPRESSION_CONTAINS,
[
PREPROCESSOR,
{
begin: hljs.IDENT_RE + '::',
keywords: KEYWORDS
},
{
className: 'class',
beginKeywords: 'enum class struct union',
end: /[{;:<>=]/,
contains: [
{ beginKeywords: "final class struct" },
hljs.TITLE_MODE
]
}
]),
exports: {
preprocessor: PREPROCESSOR,
strings: STRINGS,
keywords: KEYWORDS
}
};
}
return c;
})();
hljs.registerLanguage('c', hljsGrammar);
})();/*! `cal` grammar compiled for Highlight.js 11.11.1 */
(function(){
var hljsGrammar = (function () {
'use strict';
/*
Language: C/AL
Author: Kenneth Fuglsang Christensen
Description: Provides highlighting of Microsoft Dynamics NAV C/AL code files
Website: https://docs.microsoft.com/en-us/dynamics-nav/programming-in-c-al
Category: enterprise
*/
/** @type LanguageFn */
function cal(hljs) {
const regex = hljs.regex;
const KEYWORDS = [
"div",
"mod",
"in",
"and",
"or",
"not",
"xor",
"asserterror",
"begin",
"case",
"do",
"downto",
"else",
"end",
"exit",
"for",
"local",
"if",
"of",
"repeat",
"then",
"to",
"until",
"while",
"with",
"var"
];
const LITERALS = 'false true';
const COMMENT_MODES = [
hljs.C_LINE_COMMENT_MODE,
hljs.COMMENT(
/\{/,
/\}/,
{ relevance: 0 }
),
hljs.COMMENT(
/\(\*/,
/\*\)/,
{ relevance: 10 }
)
];
const STRING = {
className: 'string',
begin: /'/,
end: /'/,
contains: [ { begin: /''/ } ]
};
const CHAR_STRING = {
className: 'string',
begin: /(#\d+)+/
};
const DATE = {
className: 'number',
begin: '\\b\\d+(\\.\\d+)?(DT|D|T)',
relevance: 0
};
const DBL_QUOTED_VARIABLE = {
className: 'string', // not a string technically but makes sense to be highlighted in the same style
begin: '"',
end: '"'
};
const PROCEDURE = {
match: [
/procedure/,
/\s+/,
/[a-zA-Z_][\w@]*/,
/\s*/
],
scope: {
1: "keyword",
3: "title.function"
},
contains: [
{
className: 'params',
begin: /\(/,
end: /\)/,
keywords: KEYWORDS,
contains: [
STRING,
CHAR_STRING,
hljs.NUMBER_MODE
]
},
...COMMENT_MODES
]
};
const OBJECT_TYPES = [
"Table",
"Form",
"Report",
"Dataport",
"Codeunit",
"XMLport",
"MenuSuite",
"Page",
"Query"
];
const OBJECT = {
match: [
/OBJECT/,
/\s+/,
regex.either(...OBJECT_TYPES),
/\s+/,
/\d+/,
/\s+(?=[^\s])/,
/.*/,
/$/
],
relevance: 3,
scope: {
1: "keyword",
3: "type",
5: "number",
7: "title"
}
};
const PROPERTY = {
match: /[\w]+(?=\=)/,
scope: "attribute",
relevance: 0
};
return {
name: 'C/AL',
case_insensitive: true,
keywords: {
keyword: KEYWORDS,
literal: LITERALS
},
illegal: /\/\*/,
contains: [
PROPERTY,
STRING,
CHAR_STRING,
DATE,
DBL_QUOTED_VARIABLE,
hljs.NUMBER_MODE,
OBJECT,
PROCEDURE
]
};
}
return cal;
})();
hljs.registerLanguage('cal', hljsGrammar);
})();/*! `capnproto` grammar compiled for Highlight.js 11.11.1 */
(function(){
var hljsGrammar = (function () {
'use strict';
/*
Language: Cap’n Proto
Author: Oleg Efimov
Description: Cap’n Proto message definition format
Website: https://capnproto.org/capnp-tool.html
Category: protocols
*/
/** @type LanguageFn */
function capnproto(hljs) {
const KEYWORDS = [
"struct",
"enum",
"interface",
"union",
"group",
"import",
"using",
"const",
"annotation",
"extends",
"in",
"of",
"on",
"as",
"with",
"from",
"fixed"
];
const TYPES = [
"Void",
"Bool",
"Int8",
"Int16",
"Int32",
"Int64",
"UInt8",
"UInt16",
"UInt32",
"UInt64",
"Float32",
"Float64",
"Text",
"Data",
"AnyPointer",
"AnyStruct",
"Capability",
"List"
];
const LITERALS = [
"true",
"false"
];
const CLASS_DEFINITION = {
variants: [
{ match: [
/(struct|enum|interface)/,
/\s+/,
hljs.IDENT_RE
] },
{ match: [
/extends/,
/\s*\(/,
hljs.IDENT_RE,
/\s*\)/
] }
],
scope: {
1: "keyword",
3: "title.class"
}
};
return {
name: 'Cap’n Proto',
aliases: [ 'capnp' ],
keywords: {
keyword: KEYWORDS,
type: TYPES,
literal: LITERALS
},
contains: [
hljs.QUOTE_STRING_MODE,
hljs.NUMBER_MODE,
hljs.HASH_COMMENT_MODE,
{
className: 'meta',
begin: /@0x[\w\d]{16};/,
illegal: /\n/
},
{
className: 'symbol',
begin: /@\d+\b/
},
CLASS_DEFINITION
]
};
}
return capnproto;
})();
hljs.registerLanguage('capnproto', hljsGrammar);
})();/*! `ceylon` grammar compiled for Highlight.js 11.11.1 */
(function(){
var hljsGrammar = (function () {
'use strict';
/*
Language: Ceylon
Author: Lucas Werkmeister
Website: https://ceylon-lang.org
Category: system
*/
/** @type LanguageFn */
function ceylon(hljs) {
// 2.3. Identifiers and keywords
const KEYWORDS = [
"assembly",
"module",
"package",
"import",
"alias",
"class",
"interface",
"object",
"given",
"value",
"assign",
"void",
"function",
"new",
"of",
"extends",
"satisfies",
"abstracts",
"in",
"out",
"return",
"break",
"continue",
"throw",
"assert",
"dynamic",
"if",
"else",
"switch",
"case",
"for",
"while",
"try",
"catch",
"finally",
"then",
"let",
"this",
"outer",
"super",
"is",
"exists",
"nonempty"
];
// 7.4.1 Declaration Modifiers
const DECLARATION_MODIFIERS = [
"shared",
"abstract",
"formal",
"default",
"actual",
"variable",
"late",
"native",
"deprecated",
"final",
"sealed",
"annotation",
"suppressWarnings",
"small"
];
// 7.4.2 Documentation
const DOCUMENTATION = [
"doc",
"by",
"license",
"see",
"throws",
"tagged"
];
const SUBST = {
className: 'subst',
excludeBegin: true,
excludeEnd: true,
begin: /``/,
end: /``/,
keywords: KEYWORDS,
relevance: 10
};
const EXPRESSIONS = [
{
// verbatim string
className: 'string',
begin: '"""',
end: '"""',
relevance: 10
},
{
// string literal or template
className: 'string',
begin: '"',
end: '"',
contains: [ SUBST ]
},
{
// character literal
className: 'string',
begin: "'",
end: "'"
},
{
// numeric literal
className: 'number',
begin: '#[0-9a-fA-F_]+|\\$[01_]+|[0-9_]+(?:\\.[0-9_](?:[eE][+-]?\\d+)?)?[kMGTPmunpf]?',
relevance: 0
}
];
SUBST.contains = EXPRESSIONS;
return {
name: 'Ceylon',
keywords: {
keyword: KEYWORDS.concat(DECLARATION_MODIFIERS),
meta: DOCUMENTATION
},
illegal: '\\$[^01]|#[^0-9a-fA-F]',
contains: [
hljs.C_LINE_COMMENT_MODE,
hljs.COMMENT('/\\*', '\\*/', { contains: [ 'self' ] }),
{
// compiler annotation
className: 'meta',
begin: '@[a-z]\\w*(?::"[^"]*")?'
}
].concat(EXPRESSIONS)
};
}
return ceylon;
})();
hljs.registerLanguage('ceylon', hljsGrammar);
})();/*! `clean` grammar compiled for Highlight.js 11.11.1 */
(function(){
var hljsGrammar = (function () {
'use strict';
/*
Language: Clean
Author: Camil Staps
Category: functional
Website: http://clean.cs.ru.nl
*/
/** @type LanguageFn */
function clean(hljs) {
const KEYWORDS = [
"if",
"let",
"in",
"with",
"where",
"case",
"of",
"class",
"instance",
"otherwise",
"implementation",
"definition",
"system",
"module",
"from",
"import",
"qualified",
"as",
"special",
"code",
"inline",
"foreign",
"export",
"ccall",
"stdcall",
"generic",
"derive",
"infix",
"infixl",
"infixr"
];
return {
name: 'Clean',
aliases: [
'icl',
'dcl'
],
keywords: {
keyword: KEYWORDS,
built_in:
'Int Real Char Bool',
literal:
'True False'
},
contains: [
hljs.C_LINE_COMMENT_MODE,
hljs.C_BLOCK_COMMENT_MODE,
hljs.APOS_STRING_MODE,
hljs.QUOTE_STRING_MODE,
hljs.C_NUMBER_MODE,
{ // relevance booster
begin: '->|<-[|:]?|#!?|>>=|\\{\\||\\|\\}|:==|=:|<>' }
]
};
}
return clean;
})();
hljs.registerLanguage('clean', hljsGrammar);
})();/*! `clojure` grammar compiled for Highlight.js 11.11.1 */
(function(){
var hljsGrammar = (function () {
'use strict';
/*
Language: Clojure
Description: Clojure syntax (based on lisp.js)
Author: mfornos
Website: https://clojure.org
Category: lisp
*/
/** @type LanguageFn */
function clojure(hljs) {
const SYMBOLSTART = 'a-zA-Z_\\-!.?+*=<>&\'';
const SYMBOL_RE = '[#]?[' + SYMBOLSTART + '][' + SYMBOLSTART + '0-9/;:$#]*';
const globals = 'def defonce defprotocol defstruct defmulti defmethod defn- defn defmacro deftype defrecord';
const keywords = {
$pattern: SYMBOL_RE,
built_in:
// Clojure keywords
globals + ' '
+ 'cond apply if-not if-let if not not= =|0 <|0 >|0 <=|0 >=|0 ==|0 +|0 /|0 *|0 -|0 rem '
+ 'quot neg? pos? delay? symbol? keyword? true? false? integer? empty? coll? list? '
+ 'set? ifn? fn? associative? sequential? sorted? counted? reversible? number? decimal? '
+ 'class? distinct? isa? float? rational? reduced? ratio? odd? even? char? seq? vector? '
+ 'string? map? nil? contains? zero? instance? not-every? not-any? libspec? -> ->> .. . '
+ 'inc compare do dotimes mapcat take remove take-while drop letfn drop-last take-last '
+ 'drop-while while intern condp case reduced cycle split-at split-with repeat replicate '
+ 'iterate range merge zipmap declare line-seq sort comparator sort-by dorun doall nthnext '
+ 'nthrest partition eval doseq await await-for let agent atom send send-off release-pending-sends '
+ 'add-watch mapv filterv remove-watch agent-error restart-agent set-error-handler error-handler '
+ 'set-error-mode! error-mode shutdown-agents quote var fn loop recur throw try monitor-enter '
+ 'monitor-exit macroexpand macroexpand-1 for dosync and or '
+ 'when when-not when-let comp juxt partial sequence memoize constantly complement identity assert '
+ 'peek pop doto proxy first rest cons cast coll last butlast '
+ 'sigs reify second ffirst fnext nfirst nnext meta with-meta ns in-ns create-ns import '
+ 'refer keys select-keys vals key val rseq name namespace promise into transient persistent! conj! '
+ 'assoc! dissoc! pop! disj! use class type num float double short byte boolean bigint biginteger '
+ 'bigdec print-method print-dup throw-if printf format load compile get-in update-in pr pr-on newline '
+ 'flush read slurp read-line subvec with-open memfn time re-find re-groups rand-int rand mod locking '
+ 'assert-valid-fdecl alias resolve ref deref refset swap! reset! set-validator! compare-and-set! alter-meta! '
+ 'reset-meta! commute get-validator alter ref-set ref-history-count ref-min-history ref-max-history ensure sync io! '
+ 'new next conj set! to-array future future-call into-array aset gen-class reduce map filter find empty '
+ 'hash-map hash-set sorted-map sorted-map-by sorted-set sorted-set-by vec vector seq flatten reverse assoc dissoc list '
+ 'disj get union difference intersection extend extend-type extend-protocol int nth delay count concat chunk chunk-buffer '
+ 'chunk-append chunk-first chunk-rest max min dec unchecked-inc-int unchecked-inc unchecked-dec-inc unchecked-dec unchecked-negate '
+ 'unchecked-add-int unchecked-add unchecked-subtract-int unchecked-subtract chunk-next chunk-cons chunked-seq? prn vary-meta '
+ 'lazy-seq spread list* str find-keyword keyword symbol gensym force rationalize'
};
const SYMBOL = {
begin: SYMBOL_RE,
relevance: 0
};
const NUMBER = {
scope: 'number',
relevance: 0,
variants: [
{ match: /[-+]?0[xX][0-9a-fA-F]+N?/ }, // hexadecimal // 0x2a
{ match: /[-+]?0[0-7]+N?/ }, // octal // 052
{ match: /[-+]?[1-9][0-9]?[rR][0-9a-zA-Z]+N?/ }, // variable radix from 2 to 36 // 2r101010, 8r52, 36r16
{ match: /[-+]?[0-9]+\/[0-9]+N?/ }, // ratio // 1/2
{ match: /[-+]?[0-9]+((\.[0-9]*([eE][+-]?[0-9]+)?M?)|([eE][+-]?[0-9]+M?|M))/ }, // float // 0.42 4.2E-1M 42E1 42M
{ match: /[-+]?([1-9][0-9]*|0)N?/ }, // int (don't match leading 0) // 42 42N
]
};
const CHARACTER = {
scope: 'character',
variants: [
{ match: /\\o[0-3]?[0-7]{1,2}/ }, // Unicode Octal 0 - 377
{ match: /\\u[0-9a-fA-F]{4}/ }, // Unicode Hex 0000 - FFFF
{ match: /\\(newline|space|tab|formfeed|backspace|return)/ }, // special characters
{
match: /\\\S/,
relevance: 0
} // any non-whitespace char
]
};
const REGEX = {
scope: 'regex',
begin: /#"/,
end: /"/,
contains: [ hljs.BACKSLASH_ESCAPE ]
};
const STRING = hljs.inherit(hljs.QUOTE_STRING_MODE, { illegal: null });
const COMMA = {
scope: 'punctuation',
match: /,/,
relevance: 0
};
const COMMENT = hljs.COMMENT(
';',
'$',
{ relevance: 0 }
);
const LITERAL = {
className: 'literal',
begin: /\b(true|false|nil)\b/
};
const COLLECTION = {
begin: "\\[|(#::?" + SYMBOL_RE + ")?\\{",
end: '[\\]\\}]',
relevance: 0
};
const KEY = {
className: 'symbol',
begin: '[:]{1,2}' + SYMBOL_RE
};
const LIST = {
begin: '\\(',
end: '\\)'
};
const BODY = {
endsWithParent: true,
relevance: 0
};
const NAME = {
keywords: keywords,
className: 'name',
begin: SYMBOL_RE,
relevance: 0,
starts: BODY
};
const DEFAULT_CONTAINS = [
COMMA,
LIST,
CHARACTER,
REGEX,
STRING,
COMMENT,
KEY,
COLLECTION,
NUMBER,
LITERAL,
SYMBOL
];
const GLOBAL = {
beginKeywords: globals,
keywords: {
$pattern: SYMBOL_RE,
keyword: globals
},
end: '(\\[|#|\\d|"|:|\\{|\\)|\\(|$)',
contains: [
{
className: 'title',
begin: SYMBOL_RE,
relevance: 0,
excludeEnd: true,
// we can only have a single title
endsParent: true
}
].concat(DEFAULT_CONTAINS)
};
LIST.contains = [
GLOBAL,
NAME,
BODY
];
BODY.contains = DEFAULT_CONTAINS;
COLLECTION.contains = DEFAULT_CONTAINS;
return {
name: 'Clojure',
aliases: [
'clj',
'edn'
],
illegal: /\S/,
contains: [
COMMA,
LIST,
CHARACTER,
REGEX,
STRING,
COMMENT,
KEY,
COLLECTION,
NUMBER,
LITERAL
]
};
}
return clojure;
})();
hljs.registerLanguage('clojure', hljsGrammar);
})();/*! `clojure-repl` grammar compiled for Highlight.js 11.11.1 */
(function(){
var hljsGrammar = (function () {
'use strict';
/*
Language: Clojure REPL
Description: Clojure REPL sessions
Author: Ivan Sagalaev
Requires: clojure.js
Website: https://clojure.org
Category: lisp
*/
/** @type LanguageFn */
function clojureRepl(hljs) {
return {
name: 'Clojure REPL',
contains: [
{
className: 'meta.prompt',
begin: /^([\w.-]+|\s*#_)?=>/,
starts: {
end: /$/,
subLanguage: 'clojure'
}
}
]
};
}
return clojureRepl;
})();
hljs.registerLanguage('clojure-repl', hljsGrammar);
})();/*! `cmake` grammar compiled for Highlight.js 11.11.1 */
(function(){
var hljsGrammar = (function () {
'use strict';
/*
Language: CMake
Description: CMake is an open-source cross-platform system for build automation.
Author: Igor Kalnitsky
Website: https://cmake.org
Category: build-system
*/
/** @type LanguageFn */
function cmake(hljs) {
return {
name: 'CMake',
aliases: [ 'cmake.in' ],
case_insensitive: true,
keywords: { keyword:
// scripting commands
'break cmake_host_system_information cmake_minimum_required cmake_parse_arguments '
+ 'cmake_policy configure_file continue elseif else endforeach endfunction endif endmacro '
+ 'endwhile execute_process file find_file find_library find_package find_path '
+ 'find_program foreach function get_cmake_property get_directory_property '
+ 'get_filename_component get_property if include include_guard list macro '
+ 'mark_as_advanced math message option return separate_arguments '
+ 'set_directory_properties set_property set site_name string unset variable_watch while '
// project commands
+ 'add_compile_definitions add_compile_options add_custom_command add_custom_target '
+ 'add_definitions add_dependencies add_executable add_library add_link_options '
+ 'add_subdirectory add_test aux_source_directory build_command create_test_sourcelist '
+ 'define_property enable_language enable_testing export fltk_wrap_ui '
+ 'get_source_file_property get_target_property get_test_property include_directories '
+ 'include_external_msproject include_regular_expression install link_directories '
+ 'link_libraries load_cache project qt_wrap_cpp qt_wrap_ui remove_definitions '
+ 'set_source_files_properties set_target_properties set_tests_properties source_group '
+ 'target_compile_definitions target_compile_features target_compile_options '
+ 'target_include_directories target_link_directories target_link_libraries '
+ 'target_link_options target_sources try_compile try_run '
// CTest commands
+ 'ctest_build ctest_configure ctest_coverage ctest_empty_binary_directory ctest_memcheck '
+ 'ctest_read_custom_files ctest_run_script ctest_sleep ctest_start ctest_submit '
+ 'ctest_test ctest_update ctest_upload '
// deprecated commands
+ 'build_name exec_program export_library_dependencies install_files install_programs '
+ 'install_targets load_command make_directory output_required_files remove '
+ 'subdir_depends subdirs use_mangled_mesa utility_source variable_requires write_file '
+ 'qt5_use_modules qt5_use_package qt5_wrap_cpp '
// core keywords
+ 'on off true false and or not command policy target test exists is_newer_than '
+ 'is_directory is_symlink is_absolute matches less greater equal less_equal '
+ 'greater_equal strless strgreater strequal strless_equal strgreater_equal version_less '
+ 'version_greater version_equal version_less_equal version_greater_equal in_list defined' },
contains: [
{
className: 'variable',
begin: /\$\{/,
end: /\}/
},
hljs.COMMENT(/#\[\[/, /]]/),
hljs.HASH_COMMENT_MODE,
hljs.QUOTE_STRING_MODE,
hljs.NUMBER_MODE
]
};
}
return cmake;
})();
hljs.registerLanguage('cmake', hljsGrammar);
})();/*! `coffeescript` grammar compiled for Highlight.js 11.11.1 */
(function(){
var hljsGrammar = (function () {
'use strict';
const KEYWORDS = [
"as", // for exports
"in",
"of",
"if",
"for",
"while",
"finally",
"var",
"new",
"function",
"do",
"return",
"void",
"else",
"break",
"catch",
"instanceof",
"with",
"throw",
"case",
"default",
"try",
"switch",
"continue",
"typeof",
"delete",
"let",
"yield",
"const",
"class",
// JS handles these with a special rule
// "get",
// "set",
"debugger",
"async",
"await",
"static",
"import",
"from",
"export",
"extends",
// It's reached stage 3, which is "recommended for implementation":
"using"
];
const LITERALS = [
"true",
"false",
"null",
"undefined",
"NaN",
"Infinity"
];
// https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects
const TYPES = [
// Fundamental objects
"Object",
"Function",
"Boolean",
"Symbol",
// numbers and dates
"Math",
"Date",
"Number",
"BigInt",
// text
"String",
"RegExp",
// Indexed collections
"Array",
"Float32Array",
"Float64Array",
"Int8Array",
"Uint8Array",
"Uint8ClampedArray",
"Int16Array",
"Int32Array",
"Uint16Array",
"Uint32Array",
"BigInt64Array",
"BigUint64Array",
// Keyed collections
"Set",
"Map",
"WeakSet",
"WeakMap",
// Structured data
"ArrayBuffer",
"SharedArrayBuffer",
"Atomics",
"DataView",
"JSON",
// Control abstraction objects
"Promise",
"Generator",
"GeneratorFunction",
"AsyncFunction",
// Reflection
"Reflect",
"Proxy",
// Internationalization
"Intl",
// WebAssembly
"WebAssembly"
];
const ERROR_TYPES = [
"Error",
"EvalError",
"InternalError",
"RangeError",
"ReferenceError",
"SyntaxError",
"TypeError",
"URIError"
];
const BUILT_IN_GLOBALS = [
"setInterval",
"setTimeout",
"clearInterval",
"clearTimeout",
"require",
"exports",
"eval",
"isFinite",
"isNaN",
"parseFloat",
"parseInt",
"decodeURI",
"decodeURIComponent",
"encodeURI",
"encodeURIComponent",
"escape",
"unescape"
];
const BUILT_INS = [].concat(
BUILT_IN_GLOBALS,
TYPES,
ERROR_TYPES
);
/*
Language: CoffeeScript
Author: Dmytrii Nagirniak
Contributors: Oleg Efimov , Cédric Néhémie
Description: CoffeeScript is a programming language that transcompiles to JavaScript. For info about language see http://coffeescript.org/
Category: scripting
Website: https://coffeescript.org
*/
/** @type LanguageFn */
function coffeescript(hljs) {
const COFFEE_BUILT_INS = [
'npm',
'print'
];
const COFFEE_LITERALS = [
'yes',
'no',
'on',
'off'
];
const COFFEE_KEYWORDS = [
'then',
'unless',
'until',
'loop',
'by',
'when',
'and',
'or',
'is',
'isnt',
'not'
];
const NOT_VALID_KEYWORDS = [
"var",
"const",
"let",
"function",
"static"
];
const excluding = (list) =>
(kw) => !list.includes(kw);
const KEYWORDS$1 = {
keyword: KEYWORDS.concat(COFFEE_KEYWORDS).filter(excluding(NOT_VALID_KEYWORDS)),
literal: LITERALS.concat(COFFEE_LITERALS),
built_in: BUILT_INS.concat(COFFEE_BUILT_INS)
};
const JS_IDENT_RE = '[A-Za-z$_][0-9A-Za-z$_]*';
const SUBST = {
className: 'subst',
begin: /#\{/,
end: /\}/,
keywords: KEYWORDS$1
};
const EXPRESSIONS = [
hljs.BINARY_NUMBER_MODE,
hljs.inherit(hljs.C_NUMBER_MODE, { starts: {
end: '(\\s*/)?',
relevance: 0
} }), // a number tries to eat the following slash to prevent treating it as a regexp
{
className: 'string',
variants: [
{
begin: /'''/,
end: /'''/,
contains: [ hljs.BACKSLASH_ESCAPE ]
},
{
begin: /'/,
end: /'/,
contains: [ hljs.BACKSLASH_ESCAPE ]
},
{
begin: /"""/,
end: /"""/,
contains: [
hljs.BACKSLASH_ESCAPE,
SUBST
]
},
{
begin: /"/,
end: /"/,
contains: [
hljs.BACKSLASH_ESCAPE,
SUBST
]
}
]
},
{
className: 'regexp',
variants: [
{
begin: '///',
end: '///',
contains: [
SUBST,
hljs.HASH_COMMENT_MODE
]
},
{
begin: '//[gim]{0,3}(?=\\W)',
relevance: 0
},
{
// regex can't start with space to parse x / 2 / 3 as two divisions
// regex can't start with *, and it supports an "illegal" in the main mode
begin: /\/(?![ *]).*?(?![\\]).\/[gim]{0,3}(?=\W)/ }
]
},
{ begin: '@' + JS_IDENT_RE // relevance booster
},
{
subLanguage: 'javascript',
excludeBegin: true,
excludeEnd: true,
variants: [
{
begin: '```',
end: '```'
},
{
begin: '`',
end: '`'
}
]
}
];
SUBST.contains = EXPRESSIONS;
const TITLE = hljs.inherit(hljs.TITLE_MODE, { begin: JS_IDENT_RE });
const POSSIBLE_PARAMS_RE = '(\\(.*\\)\\s*)?\\B[-=]>';
const PARAMS = {
className: 'params',
begin: '\\([^\\(]',
returnBegin: true,
/* We need another contained nameless mode to not have every nested
pair of parens to be called "params" */
contains: [
{
begin: /\(/,
end: /\)/,
keywords: KEYWORDS$1,
contains: [ 'self' ].concat(EXPRESSIONS)
}
]
};
const CLASS_DEFINITION = {
variants: [
{ match: [
/class\s+/,
JS_IDENT_RE,
/\s+extends\s+/,
JS_IDENT_RE
] },
{ match: [
/class\s+/,
JS_IDENT_RE
] }
],
scope: {
2: "title.class",
4: "title.class.inherited"
},
keywords: KEYWORDS$1
};
return {
name: 'CoffeeScript',
aliases: [
'coffee',
'cson',
'iced'
],
keywords: KEYWORDS$1,
illegal: /\/\*/,
contains: [
...EXPRESSIONS,
hljs.COMMENT('###', '###'),
hljs.HASH_COMMENT_MODE,
{
className: 'function',
begin: '^\\s*' + JS_IDENT_RE + '\\s*=\\s*' + POSSIBLE_PARAMS_RE,
end: '[-=]>',
returnBegin: true,
contains: [
TITLE,
PARAMS
]
},
{
// anonymous function start
begin: /[:\(,=]\s*/,
relevance: 0,
contains: [
{
className: 'function',
begin: POSSIBLE_PARAMS_RE,
end: '[-=]>',
returnBegin: true,
contains: [ PARAMS ]
}
]
},
CLASS_DEFINITION,
{
begin: JS_IDENT_RE + ':',
end: ':',
returnBegin: true,
returnEnd: true,
relevance: 0
}
]
};
}
return coffeescript;
})();
hljs.registerLanguage('coffeescript', hljsGrammar);
})();/*! `coq` grammar compiled for Highlight.js 11.11.1 */
(function(){
var hljsGrammar = (function () {
'use strict';
/*
Language: Coq
Author: Stephan Boyer
Category: functional
Website: https://coq.inria.fr
*/
/** @type LanguageFn */
function coq(hljs) {
const KEYWORDS = [
"_|0",
"as",
"at",
"cofix",
"else",
"end",
"exists",
"exists2",
"fix",
"for",
"forall",
"fun",
"if",
"IF",
"in",
"let",
"match",
"mod",
"Prop",
"return",
"Set",
"then",
"Type",
"using",
"where",
"with",
"Abort",
"About",
"Add",
"Admit",
"Admitted",
"All",
"Arguments",
"Assumptions",
"Axiom",
"Back",
"BackTo",
"Backtrack",
"Bind",
"Blacklist",
"Canonical",
"Cd",
"Check",
"Class",
"Classes",
"Close",
"Coercion",
"Coercions",
"CoFixpoint",
"CoInductive",
"Collection",
"Combined",
"Compute",
"Conjecture",
"Conjectures",
"Constant",
"constr",
"Constraint",
"Constructors",
"Context",
"Corollary",
"CreateHintDb",
"Cut",
"Declare",
"Defined",
"Definition",
"Delimit",
"Dependencies",
"Dependent",
"Derive",
"Drop",
"eauto",
"End",
"Equality",
"Eval",
"Example",
"Existential",
"Existentials",
"Existing",
"Export",
"exporting",
"Extern",
"Extract",
"Extraction",
"Fact",
"Field",
"Fields",
"File",
"Fixpoint",
"Focus",
"for",
"From",
"Function",
"Functional",
"Generalizable",
"Global",
"Goal",
"Grab",
"Grammar",
"Graph",
"Guarded",
"Heap",
"Hint",
"HintDb",
"Hints",
"Hypotheses",
"Hypothesis",
"ident",
"Identity",
"If",
"Immediate",
"Implicit",
"Import",
"Include",
"Inductive",
"Infix",
"Info",
"Initial",
"Inline",
"Inspect",
"Instance",
"Instances",
"Intro",
"Intros",
"Inversion",
"Inversion_clear",
"Language",
"Left",
"Lemma",
"Let",
"Libraries",
"Library",
"Load",
"LoadPath",
"Local",
"Locate",
"Ltac",
"ML",
"Mode",
"Module",
"Modules",
"Monomorphic",
"Morphism",
"Next",
"NoInline",
"Notation",
"Obligation",
"Obligations",
"Opaque",
"Open",
"Optimize",
"Options",
"Parameter",
"Parameters",
"Parametric",
"Path",
"Paths",
"pattern",
"Polymorphic",
"Preterm",
"Print",
"Printing",
"Program",
"Projections",
"Proof",
"Proposition",
"Pwd",
"Qed",
"Quit",
"Rec",
"Record",
"Recursive",
"Redirect",
"Relation",
"Remark",
"Remove",
"Require",
"Reserved",
"Reset",
"Resolve",
"Restart",
"Rewrite",
"Right",
"Ring",
"Rings",
"Save",
"Scheme",
"Scope",
"Scopes",
"Script",
"Search",
"SearchAbout",
"SearchHead",
"SearchPattern",
"SearchRewrite",
"Section",
"Separate",
"Set",
"Setoid",
"Show",
"Solve",
"Sorted",
"Step",
"Strategies",
"Strategy",
"Structure",
"SubClass",
"Table",
"Tables",
"Tactic",
"Term",
"Test",
"Theorem",
"Time",
"Timeout",
"Transparent",
"Type",
"Typeclasses",
"Types",
"Undelimit",
"Undo",
"Unfocus",
"Unfocused",
"Unfold",
"Universe",
"Universes",
"Unset",
"Unshelve",
"using",
"Variable",
"Variables",
"Variant",
"Verbose",
"Visibility",
"where",
"with"
];
const BUILT_INS = [
"abstract",
"absurd",
"admit",
"after",
"apply",
"as",
"assert",
"assumption",
"at",
"auto",
"autorewrite",
"autounfold",
"before",
"bottom",
"btauto",
"by",
"case",
"case_eq",
"cbn",
"cbv",
"change",
"classical_left",
"classical_right",
"clear",
"clearbody",
"cofix",
"compare",
"compute",
"congruence",
"constr_eq",
"constructor",
"contradict",
"contradiction",
"cut",
"cutrewrite",
"cycle",
"decide",
"decompose",
"dependent",
"destruct",
"destruction",
"dintuition",
"discriminate",
"discrR",
"do",
"double",
"dtauto",
"eapply",
"eassumption",
"eauto",
"ecase",
"econstructor",
"edestruct",
"ediscriminate",
"eelim",
"eexact",
"eexists",
"einduction",
"einjection",
"eleft",
"elim",
"elimtype",
"enough",
"equality",
"erewrite",
"eright",
"esimplify_eq",
"esplit",
"evar",
"exact",
"exactly_once",
"exfalso",
"exists",
"f_equal",
"fail",
"field",
"field_simplify",
"field_simplify_eq",
"first",
"firstorder",
"fix",
"fold",
"fourier",
"functional",
"generalize",
"generalizing",
"gfail",
"give_up",
"has_evar",
"hnf",
"idtac",
"in",
"induction",
"injection",
"instantiate",
"intro",
"intro_pattern",
"intros",
"intuition",
"inversion",
"inversion_clear",
"is_evar",
"is_var",
"lapply",
"lazy",
"left",
"lia",
"lra",
"move",
"native_compute",
"nia",
"nsatz",
"omega",
"once",
"pattern",
"pose",
"progress",
"proof",
"psatz",
"quote",
"record",
"red",
"refine",
"reflexivity",
"remember",
"rename",
"repeat",
"replace",
"revert",
"revgoals",
"rewrite",
"rewrite_strat",
"right",
"ring",
"ring_simplify",
"rtauto",
"set",
"setoid_reflexivity",
"setoid_replace",
"setoid_rewrite",
"setoid_symmetry",
"setoid_transitivity",
"shelve",
"shelve_unifiable",
"simpl",
"simple",
"simplify_eq",
"solve",
"specialize",
"split",
"split_Rabs",
"split_Rmult",
"stepl",
"stepr",
"subst",
"sum",
"swap",
"symmetry",
"tactic",
"tauto",
"time",
"timeout",
"top",
"transitivity",
"trivial",
"try",
"tryif",
"unfold",
"unify",
"until",
"using",
"vm_compute",
"with"
];
return {
name: 'Coq',
keywords: {
keyword: KEYWORDS,
built_in: BUILT_INS
},
contains: [
hljs.QUOTE_STRING_MODE,
hljs.COMMENT('\\(\\*', '\\*\\)'),
hljs.C_NUMBER_MODE,
{
className: 'type',
excludeBegin: true,
begin: '\\|\\s*',
end: '\\w+'
},
{ // relevance booster
begin: /[-=]>/ }
]
};
}
return coq;
})();
hljs.registerLanguage('coq', hljsGrammar);
})();/*! `cos` grammar compiled for Highlight.js 11.11.1 */
(function(){
var hljsGrammar = (function () {
'use strict';
/*
Language: Caché Object Script
Author: Nikita Savchenko
Category: enterprise, scripting
Website: https://cedocs.intersystems.com/latest/csp/docbook/DocBook.UI.Page.cls
*/
/** @type LanguageFn */
function cos(hljs) {
const STRINGS = {
className: 'string',
variants: [
{
begin: '"',
end: '"',
contains: [
{ // escaped
begin: "\"\"",
relevance: 0
}
]
}
]
};
const NUMBERS = {
className: "number",
begin: "\\b(\\d+(\\.\\d*)?|\\.\\d+)",
relevance: 0
};
const COS_KEYWORDS =
'property parameter class classmethod clientmethod extends as break '
+ 'catch close continue do d|0 else elseif for goto halt hang h|0 if job '
+ 'j|0 kill k|0 lock l|0 merge new open quit q|0 read r|0 return set s|0 '
+ 'tcommit throw trollback try tstart use view while write w|0 xecute x|0 '
+ 'zkill znspace zn ztrap zwrite zw zzdump zzwrite print zbreak zinsert '
+ 'zload zprint zremove zsave zzprint mv mvcall mvcrt mvdim mvprint zquit '
+ 'zsync ascii';
// registered function - no need in them due to all functions are highlighted,
// but I'll just leave this here.
// "$bit", "$bitcount",
// "$bitfind", "$bitlogic", "$case", "$char", "$classmethod", "$classname",
// "$compile", "$data", "$decimal", "$double", "$extract", "$factor",
// "$find", "$fnumber", "$get", "$increment", "$inumber", "$isobject",
// "$isvaliddouble", "$isvalidnum", "$justify", "$length", "$list",
// "$listbuild", "$listdata", "$listfind", "$listfromstring", "$listget",
// "$listlength", "$listnext", "$listsame", "$listtostring", "$listvalid",
// "$locate", "$match", "$method", "$name", "$nconvert", "$next",
// "$normalize", "$now", "$number", "$order", "$parameter", "$piece",
// "$prefetchoff", "$prefetchon", "$property", "$qlength", "$qsubscript",
// "$query", "$random", "$replace", "$reverse", "$sconvert", "$select",
// "$sortbegin", "$sortend", "$stack", "$text", "$translate", "$view",
// "$wascii", "$wchar", "$wextract", "$wfind", "$wiswide", "$wlength",
// "$wreverse", "$xecute", "$zabs", "$zarccos", "$zarcsin", "$zarctan",
// "$zcos", "$zcot", "$zcsc", "$zdate", "$zdateh", "$zdatetime",
// "$zdatetimeh", "$zexp", "$zhex", "$zln", "$zlog", "$zpower", "$zsec",
// "$zsin", "$zsqr", "$ztan", "$ztime", "$ztimeh", "$zboolean",
// "$zconvert", "$zcrc", "$zcyc", "$zdascii", "$zdchar", "$zf",
// "$ziswide", "$zlascii", "$zlchar", "$zname", "$zposition", "$zqascii",
// "$zqchar", "$zsearch", "$zseek", "$zstrip", "$zwascii", "$zwchar",
// "$zwidth", "$zwpack", "$zwbpack", "$zwunpack", "$zwbunpack", "$zzenkaku",
// "$change", "$mv", "$mvat", "$mvfmt", "$mvfmts", "$mviconv",
// "$mviconvs", "$mvinmat", "$mvlover", "$mvoconv", "$mvoconvs", "$mvraise",
// "$mvtrans", "$mvv", "$mvname", "$zbitand", "$zbitcount", "$zbitfind",
// "$zbitget", "$zbitlen", "$zbitnot", "$zbitor", "$zbitset", "$zbitstr",
// "$zbitxor", "$zincrement", "$znext", "$zorder", "$zprevious", "$zsort",
// "device", "$ecode", "$estack", "$etrap", "$halt", "$horolog",
// "$io", "$job", "$key", "$namespace", "$principal", "$quit", "$roles",
// "$storage", "$system", "$test", "$this", "$tlevel", "$username",
// "$x", "$y", "$za", "$zb", "$zchild", "$zeof", "$zeos", "$zerror",
// "$zhorolog", "$zio", "$zjob", "$zmode", "$znspace", "$zparent", "$zpi",
// "$zpos", "$zreference", "$zstorage", "$ztimestamp", "$ztimezone",
// "$ztrap", "$zversion"
return {
name: 'Caché Object Script',
case_insensitive: true,
aliases: [ "cls" ],
keywords: COS_KEYWORDS,
contains: [
NUMBERS,
STRINGS,
hljs.C_LINE_COMMENT_MODE,
hljs.C_BLOCK_COMMENT_MODE,
{
className: "comment",
begin: /;/,
end: "$",
relevance: 0
},
{ // Functions and user-defined functions: write $ztime(60*60*3), $$myFunc(10), $$^Val(1)
className: "built_in",
begin: /(?:\$\$?|\.\.)\^?[a-zA-Z]+/
},
{ // Macro command: quit $$$OK
className: "built_in",
begin: /\$\$\$[a-zA-Z]+/
},
{ // Special (global) variables: write %request.Content; Built-in classes: %Library.Integer
className: "built_in",
begin: /%[a-z]+(?:\.[a-z]+)*/
},
{ // Global variable: set ^globalName = 12 write ^globalName
className: "symbol",
begin: /\^%?[a-zA-Z][\w]*/
},
{ // Some control constructions: do ##class(Package.ClassName).Method(), ##super()
className: "keyword",
begin: /##class|##super|#define|#dim/
},
// sub-languages: are not fully supported by hljs by 11/15/2015
// left for the future implementation.
{
begin: /&sql\(/,
end: /\)/,
excludeBegin: true,
excludeEnd: true,
subLanguage: "sql"
},
{
begin: /&(js|jscript|javascript),
end: />/,
excludeBegin: true,
excludeEnd: true,
subLanguage: "javascript"
},
{
// this brakes first and last tag, but this is the only way to embed a valid html
begin: /&html<\s*,
end: />\s*>/,
subLanguage: "xml"
}
]
};
}
return cos;
})();
hljs.registerLanguage('cos', hljsGrammar);
})();/*! `cpp` grammar compiled for Highlight.js 11.11.1 */
(function(){
var hljsGrammar = (function () {
'use strict';
/*
Language: C++
Category: common, system
Website: https://isocpp.org
*/
/** @type LanguageFn */
function cpp(hljs) {
const regex = hljs.regex;
// added for historic reasons because `hljs.C_LINE_COMMENT_MODE` does
// not include such support nor can we be sure all the grammars depending
// on it would desire this behavior
const C_LINE_COMMENT_MODE = hljs.COMMENT('//', '$', { contains: [ { begin: /\\\n/ } ] });
const DECLTYPE_AUTO_RE = 'decltype\\(auto\\)';
const NAMESPACE_RE = '[a-zA-Z_]\\w*::';
const TEMPLATE_ARGUMENT_RE = '<[^<>]+>';
const FUNCTION_TYPE_RE = '(?!struct)('
+ DECLTYPE_AUTO_RE + '|'
+ regex.optional(NAMESPACE_RE)
+ '[a-zA-Z_]\\w*' + regex.optional(TEMPLATE_ARGUMENT_RE)
+ ')';
const CPP_PRIMITIVE_TYPES = {
className: 'type',
begin: '\\b[a-z\\d_]*_t\\b'
};
// https://en.cppreference.com/w/cpp/language/escape
// \\ \x \xFF \u2837 \u00323747 \374
const CHARACTER_ESCAPES = '\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)';
const STRINGS = {
className: 'string',
variants: [
{
begin: '(u8?|U|L)?"',
end: '"',
illegal: '\\n',
contains: [ hljs.BACKSLASH_ESCAPE ]
},
{
begin: '(u8?|U|L)?\'(' + CHARACTER_ESCAPES + '|.)',
end: '\'',
illegal: '.'
},
hljs.END_SAME_AS_BEGIN({
begin: /(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,
end: /\)([^()\\ ]{0,16})"/
})
]
};
const NUMBERS = {
className: 'number',
variants: [
// Floating-point literal.
{ begin:
"[+-]?(?:" // Leading sign.
// Decimal.
+ "(?:"
+"[0-9](?:'?[0-9])*\\.(?:[0-9](?:'?[0-9])*)?"
+ "|\\.[0-9](?:'?[0-9])*"
+ ")(?:[Ee][+-]?[0-9](?:'?[0-9])*)?"
+ "|[0-9](?:'?[0-9])*[Ee][+-]?[0-9](?:'?[0-9])*"
// Hexadecimal.
+ "|0[Xx](?:"
+"[0-9A-Fa-f](?:'?[0-9A-Fa-f])*(?:\\.(?:[0-9A-Fa-f](?:'?[0-9A-Fa-f])*)?)?"
+ "|\\.[0-9A-Fa-f](?:'?[0-9A-Fa-f])*"
+ ")[Pp][+-]?[0-9](?:'?[0-9])*"
+ ")(?:" // Literal suffixes.
+ "[Ff](?:16|32|64|128)?"
+ "|(BF|bf)16"
+ "|[Ll]"
+ "|" // Literal suffix is optional.
+ ")"
},
// Integer literal.
{ begin:
"[+-]?\\b(?:" // Leading sign.
+ "0[Bb][01](?:'?[01])*" // Binary.
+ "|0[Xx][0-9A-Fa-f](?:'?[0-9A-Fa-f])*" // Hexadecimal.
+ "|0(?:'?[0-7])*" // Octal or just a lone zero.
+ "|[1-9](?:'?[0-9])*" // Decimal.
+ ")(?:" // Literal suffixes.
+ "[Uu](?:LL?|ll?)"
+ "|[Uu][Zz]?"
+ "|(?:LL?|ll?)[Uu]?"
+ "|[Zz][Uu]"
+ "|" // Literal suffix is optional.
+ ")"
// Note: there are user-defined literal suffixes too, but perhaps having the custom suffix not part of the
// literal highlight actually makes it stand out more.
}
],
relevance: 0
};
const PREPROCESSOR = {
className: 'meta',
begin: /#\s*[a-z]+\b/,
end: /$/,
keywords: { keyword:
'if else elif endif define undef warning error line '
+ 'pragma _Pragma ifdef ifndef include' },
contains: [
{
begin: /\\\n/,
relevance: 0
},
hljs.inherit(STRINGS, { className: 'string' }),
{
className: 'string',
begin: /<.*?>/
},
C_LINE_COMMENT_MODE,
hljs.C_BLOCK_COMMENT_MODE
]
};
const TITLE_MODE = {
className: 'title',
begin: regex.optional(NAMESPACE_RE) + hljs.IDENT_RE,
relevance: 0
};
const FUNCTION_TITLE = regex.optional(NAMESPACE_RE) + hljs.IDENT_RE + '\\s*\\(';
// https://en.cppreference.com/w/cpp/keyword
const RESERVED_KEYWORDS = [
'alignas',
'alignof',
'and',
'and_eq',
'asm',
'atomic_cancel',
'atomic_commit',
'atomic_noexcept',
'auto',
'bitand',
'bitor',
'break',
'case',
'catch',
'class',
'co_await',
'co_return',
'co_yield',
'compl',
'concept',
'const_cast|10',
'consteval',
'constexpr',
'constinit',
'continue',
'decltype',
'default',
'delete',
'do',
'dynamic_cast|10',
'else',
'enum',
'explicit',
'export',
'extern',
'false',
'final',
'for',
'friend',
'goto',
'if',
'import',
'inline',
'module',
'mutable',
'namespace',
'new',
'noexcept',
'not',
'not_eq',
'nullptr',
'operator',
'or',
'or_eq',
'override',
'private',
'protected',
'public',
'reflexpr',
'register',
'reinterpret_cast|10',
'requires',
'return',
'sizeof',
'static_assert',
'static_cast|10',
'struct',
'switch',
'synchronized',
'template',
'this',
'thread_local',
'throw',
'transaction_safe',
'transaction_safe_dynamic',
'true',
'try',
'typedef',
'typeid',
'typename',
'union',
'using',
'virtual',
'volatile',
'while',
'xor',
'xor_eq'
];
// https://en.cppreference.com/w/cpp/keyword
const RESERVED_TYPES = [
'bool',
'char',
'char16_t',
'char32_t',
'char8_t',
'double',
'float',
'int',
'long',
'short',
'void',
'wchar_t',
'unsigned',
'signed',
'const',
'static'
];
const TYPE_HINTS = [
'any',
'auto_ptr',
'barrier',
'binary_semaphore',
'bitset',
'complex',
'condition_variable',
'condition_variable_any',
'counting_semaphore',
'deque',
'false_type',
'flat_map',
'flat_set',
'future',
'imaginary',
'initializer_list',
'istringstream',
'jthread',
'latch',
'lock_guard',
'multimap',
'multiset',
'mutex',
'optional',
'ostringstream',
'packaged_task',
'pair',
'promise',
'priority_queue',
'queue',
'recursive_mutex',
'recursive_timed_mutex',
'scoped_lock',
'set',
'shared_future',
'shared_lock',
'shared_mutex',
'shared_timed_mutex',
'shared_ptr',
'stack',
'string_view',
'stringstream',
'timed_mutex',
'thread',
'true_type',
'tuple',
'unique_lock',
'unique_ptr',
'unordered_map',
'unordered_multimap',
'unordered_multiset',
'unordered_set',
'variant',
'vector',
'weak_ptr',
'wstring',
'wstring_view'
];
const FUNCTION_HINTS = [
'abort',
'abs',
'acos',
'apply',
'as_const',
'asin',
'atan',
'atan2',
'calloc',
'ceil',
'cerr',
'cin',
'clog',
'cos',
'cosh',
'cout',
'declval',
'endl',
'exchange',
'exit',
'exp',
'fabs',
'floor',
'fmod',
'forward',
'fprintf',
'fputs',
'free',
'frexp',
'fscanf',
'future',
'invoke',
'isalnum',
'isalpha',
'iscntrl',
'isdigit',
'isgraph',
'islower',
'isprint',
'ispunct',
'isspace',
'isupper',
'isxdigit',
'labs',
'launder',
'ldexp',
'log',
'log10',
'make_pair',
'make_shared',
'make_shared_for_overwrite',
'make_tuple',
'make_unique',
'malloc',
'memchr',
'memcmp',
'memcpy',
'memset',
'modf',
'move',
'pow',
'printf',
'putchar',
'puts',
'realloc',
'scanf',
'sin',
'sinh',
'snprintf',
'sprintf',
'sqrt',
'sscanf',
'std',
'stderr',
'stdin',
'stdout',
'strcat',
'strchr',
'strcmp',
'strcpy',
'strcspn',
'strlen',
'strncat',
'strncmp',
'strncpy',
'strpbrk',
'strrchr',
'strspn',
'strstr',
'swap',
'tan',
'tanh',
'terminate',
'to_underlying',
'tolower',
'toupper',
'vfprintf',
'visit',
'vprintf',
'vsprintf'
];
const LITERALS = [
'NULL',
'false',
'nullopt',
'nullptr',
'true'
];
// https://en.cppreference.com/w/cpp/keyword
const BUILT_IN = [ '_Pragma' ];
const CPP_KEYWORDS = {
type: RESERVED_TYPES,
keyword: RESERVED_KEYWORDS,
literal: LITERALS,
built_in: BUILT_IN,
_type_hints: TYPE_HINTS
};
const FUNCTION_DISPATCH = {
className: 'function.dispatch',
relevance: 0,
keywords: {
// Only for relevance, not highlighting.
_hint: FUNCTION_HINTS },
begin: regex.concat(
/\b/,
/(?!decltype)/,
/(?!if)/,
/(?!for)/,
/(?!switch)/,
/(?!while)/,
hljs.IDENT_RE,
regex.lookahead(/(<[^<>]+>|)\s*\(/))
};
const EXPRESSION_CONTAINS = [
FUNCTION_DISPATCH,
PREPROCESSOR,
CPP_PRIMITIVE_TYPES,
C_LINE_COMMENT_MODE,
hljs.C_BLOCK_COMMENT_MODE,
NUMBERS,
STRINGS
];
const EXPRESSION_CONTEXT = {
// This mode covers expression context where we can't expect a function
// definition and shouldn't highlight anything that looks like one:
// `return some()`, `else if()`, `(x*sum(1, 2))`
variants: [
{
begin: /=/,
end: /;/
},
{
begin: /\(/,
end: /\)/
},
{
beginKeywords: 'new throw return else',
end: /;/
}
],
keywords: CPP_KEYWORDS,
contains: EXPRESSION_CONTAINS.concat([
{
begin: /\(/,
end: /\)/,
keywords: CPP_KEYWORDS,
contains: EXPRESSION_CONTAINS.concat([ 'self' ]),
relevance: 0
}
]),
relevance: 0
};
const FUNCTION_DECLARATION = {
className: 'function',
begin: '(' + FUNCTION_TYPE_RE + '[\\*&\\s]+)+' + FUNCTION_TITLE,
returnBegin: true,
end: /[{;=]/,
excludeEnd: true,
keywords: CPP_KEYWORDS,
illegal: /[^\w\s\*&:<>.]/,
contains: [
{ // to prevent it from being confused as the function title
begin: DECLTYPE_AUTO_RE,
keywords: CPP_KEYWORDS,
relevance: 0
},
{
begin: FUNCTION_TITLE,
returnBegin: true,
contains: [ TITLE_MODE ],
relevance: 0
},
// needed because we do not have look-behind on the below rule
// to prevent it from grabbing the final : in a :: pair
{
begin: /::/,
relevance: 0
},
// initializers
{
begin: /:/,
endsWithParent: true,
contains: [
STRINGS,
NUMBERS
]
},
// allow for multiple declarations, e.g.:
// extern void f(int), g(char);
{
relevance: 0,
match: /,/
},
{
className: 'params',
begin: /\(/,
end: /\)/,
keywords: CPP_KEYWORDS,
relevance: 0,
contains: [
C_LINE_COMMENT_MODE,
hljs.C_BLOCK_COMMENT_MODE,
STRINGS,
NUMBERS,
CPP_PRIMITIVE_TYPES,
// Count matching parentheses.
{
begin: /\(/,
end: /\)/,
keywords: CPP_KEYWORDS,
relevance: 0,
contains: [
'self',
C_LINE_COMMENT_MODE,
hljs.C_BLOCK_COMMENT_MODE,
STRINGS,
NUMBERS,
CPP_PRIMITIVE_TYPES
]
}
]
},
CPP_PRIMITIVE_TYPES,
C_LINE_COMMENT_MODE,
hljs.C_BLOCK_COMMENT_MODE,
PREPROCESSOR
]
};
return {
name: 'C++',
aliases: [
'cc',
'c++',
'h++',
'hpp',
'hh',
'hxx',
'cxx'
],
keywords: CPP_KEYWORDS,
illegal: '',
classNameAliases: { 'function.dispatch': 'built_in' },
contains: [].concat(
EXPRESSION_CONTEXT,
FUNCTION_DECLARATION,
FUNCTION_DISPATCH,
EXPRESSION_CONTAINS,
[
PREPROCESSOR,
{ // containers: ie, `vector rooms (9);`
begin: '\\b(deque|list|queue|priority_queue|pair|stack|vector|map|set|bitset|multiset|multimap|unordered_map|unordered_set|unordered_multiset|unordered_multimap|array|tuple|optional|variant|function|flat_map|flat_set)\\s*<(?!<)',
end: '>',
keywords: CPP_KEYWORDS,
contains: [
'self',
CPP_PRIMITIVE_TYPES
]
},
{
begin: hljs.IDENT_RE + '::',
keywords: CPP_KEYWORDS
},
{
match: [
// extra complexity to deal with `enum class` and `enum struct`
/\b(?:enum(?:\s+(?:class|struct))?|class|struct|union)/,
/\s+/,
/\w+/
],
className: {
1: 'keyword',
3: 'title.class'
}
}
])
};
}
return cpp;
})();
hljs.registerLanguage('cpp', hljsGrammar);
})();/*! `crmsh` grammar compiled for Highlight.js 11.11.1 */
(function(){
var hljsGrammar = (function () {
'use strict';
/*
Language: crmsh
Author: Kristoffer Gronlund
Website: http://crmsh.github.io
Description: Syntax Highlighting for the crmsh DSL
Category: config
*/
/** @type LanguageFn */
function crmsh(hljs) {
const RESOURCES = 'primitive rsc_template';
const COMMANDS = 'group clone ms master location colocation order fencing_topology '
+ 'rsc_ticket acl_target acl_group user role '
+ 'tag xml';
const PROPERTY_SETS = 'property rsc_defaults op_defaults';
const KEYWORDS = 'params meta operations op rule attributes utilization';
const OPERATORS = 'read write deny defined not_defined in_range date spec in '
+ 'ref reference attribute type xpath version and or lt gt tag '
+ 'lte gte eq ne \\';
const TYPES = 'number string';
const LITERALS = 'Master Started Slave Stopped start promote demote stop monitor true false';
return {
name: 'crmsh',
aliases: [
'crm',
'pcmk'
],
case_insensitive: true,
keywords: {
keyword: KEYWORDS + ' ' + OPERATORS + ' ' + TYPES,
literal: LITERALS
},
contains: [
hljs.HASH_COMMENT_MODE,
{
beginKeywords: 'node',
starts: {
end: '\\s*([\\w_-]+:)?',
starts: {
className: 'title',
end: '\\s*[\\$\\w_][\\w_-]*'
}
}
},
{
beginKeywords: RESOURCES,
starts: {
className: 'title',
end: '\\s*[\\$\\w_][\\w_-]*',
starts: { end: '\\s*@?[\\w_][\\w_\\.:-]*' }
}
},
{
begin: '\\b(' + COMMANDS.split(' ').join('|') + ')\\s+',
keywords: COMMANDS,
starts: {
className: 'title',
end: '[\\$\\w_][\\w_-]*'
}
},
{
beginKeywords: PROPERTY_SETS,
starts: {
className: 'title',
end: '\\s*([\\w_-]+:)?'
}
},
hljs.QUOTE_STRING_MODE,
{
className: 'meta',
begin: '(ocf|systemd|service|lsb):[\\w_:-]+',
relevance: 0
},
{
className: 'number',
begin: '\\b\\d+(\\.\\d+)?(ms|s|h|m)?',
relevance: 0
},
{
className: 'literal',
begin: '[-]?(infinity|inf)',
relevance: 0
},
{
className: 'attr',
begin: /([A-Za-z$_#][\w_-]+)=/,
relevance: 0
},
{
className: 'tag',
begin: '?',
end: '/?>',
relevance: 0
}
]
};
}
return crmsh;
})();
hljs.registerLanguage('crmsh', hljsGrammar);
})();/*! `crystal` grammar compiled for Highlight.js 11.11.1 */
(function(){
var hljsGrammar = (function () {
'use strict';
/*
Language: Crystal
Author: TSUYUSATO Kitsune
Website: https://crystal-lang.org
Category: system
*/
/** @type LanguageFn */
function crystal(hljs) {
const INT_SUFFIX = '(_?[ui](8|16|32|64|128))?';
const FLOAT_SUFFIX = '(_?f(32|64))?';
const CRYSTAL_IDENT_RE = '[a-zA-Z_]\\w*[!?=]?';
const CRYSTAL_METHOD_RE = '[a-zA-Z_]\\w*[!?=]?|[-+~]@|<<|>>|[=!]~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~|]|//|//=|&[-+*]=?|&\\*\\*|\\[\\][=?]?';
const CRYSTAL_PATH_RE = '[A-Za-z_]\\w*(::\\w+)*(\\?|!)?';
const CRYSTAL_KEYWORDS = {
$pattern: CRYSTAL_IDENT_RE,
keyword:
'abstract alias annotation as as? asm begin break case class def do else elsif end ensure enum extend for fun if '
+ 'include instance_sizeof is_a? lib macro module next nil? of out pointerof private protected rescue responds_to? '
+ 'return require select self sizeof struct super then type typeof union uninitialized unless until verbatim when while with yield '
+ '__DIR__ __END_LINE__ __FILE__ __LINE__',
literal: 'false nil true'
};
const SUBST = {
className: 'subst',
begin: /#\{/,
end: /\}/,
keywords: CRYSTAL_KEYWORDS
};
// borrowed from Ruby
const VARIABLE = {
// negative-look forward attemps to prevent false matches like:
// @ident@ or $ident$ that might indicate this is not ruby at all
className: "variable",
begin: '(\\$\\W)|((\\$|@@?)(\\w+))(?=[^@$?])' + `(?![A-Za-z])(?![@$?'])`
};
const EXPANSION = {
className: 'template-variable',
variants: [
{
begin: '\\{\\{',
end: '\\}\\}'
},
{
begin: '\\{%',
end: '%\\}'
}
],
keywords: CRYSTAL_KEYWORDS
};
function recursiveParen(begin, end) {
const
contains = [
{
begin: begin,
end: end
}
];
contains[0].contains = contains;
return contains;
}
const STRING = {
className: 'string',
contains: [
hljs.BACKSLASH_ESCAPE,
SUBST
],
variants: [
{
begin: /'/,
end: /'/
},
{
begin: /"/,
end: /"/
},
{
begin: /`/,
end: /`/
},
{
begin: '%[Qwi]?\\(',
end: '\\)',
contains: recursiveParen('\\(', '\\)')
},
{
begin: '%[Qwi]?\\[',
end: '\\]',
contains: recursiveParen('\\[', '\\]')
},
{
begin: '%[Qwi]?\\{',
end: /\}/,
contains: recursiveParen(/\{/, /\}/)
},
{
begin: '%[Qwi]?<',
end: '>',
contains: recursiveParen('<', '>')
},
{
begin: '%[Qwi]?\\|',
end: '\\|'
},
{
begin: /<<-\w+$/,
end: /^\s*\w+$/
}
],
relevance: 0
};
const Q_STRING = {
className: 'string',
variants: [
{
begin: '%q\\(',
end: '\\)',
contains: recursiveParen('\\(', '\\)')
},
{
begin: '%q\\[',
end: '\\]',
contains: recursiveParen('\\[', '\\]')
},
{
begin: '%q\\{',
end: /\}/,
contains: recursiveParen(/\{/, /\}/)
},
{
begin: '%q<',
end: '>',
contains: recursiveParen('<', '>')
},
{
begin: '%q\\|',
end: '\\|'
},
{
begin: /<<-'\w+'$/,
end: /^\s*\w+$/
}
],
relevance: 0
};
const REGEXP = {
begin: '(?!%\\})(' + hljs.RE_STARTERS_RE + '|\\n|\\b(case|if|select|unless|until|when|while)\\b)\\s*',
keywords: 'case if select unless until when while',
contains: [
{
className: 'regexp',
contains: [
hljs.BACKSLASH_ESCAPE,
SUBST
],
variants: [
{
begin: '//[a-z]*',
relevance: 0
},
{
begin: '/(?!\\/)',
end: '/[a-z]*'
}
]
}
],
relevance: 0
};
const REGEXP2 = {
className: 'regexp',
contains: [
hljs.BACKSLASH_ESCAPE,
SUBST
],
variants: [
{
begin: '%r\\(',
end: '\\)',
contains: recursiveParen('\\(', '\\)')
},
{
begin: '%r\\[',
end: '\\]',
contains: recursiveParen('\\[', '\\]')
},
{
begin: '%r\\{',
end: /\}/,
contains: recursiveParen(/\{/, /\}/)
},
{
begin: '%r<',
end: '>',
contains: recursiveParen('<', '>')
},
{
begin: '%r\\|',
end: '\\|'
}
],
relevance: 0
};
const ATTRIBUTE = {
className: 'meta',
begin: '@\\[',
end: '\\]',
contains: [ hljs.inherit(hljs.QUOTE_STRING_MODE, { className: 'string' }) ]
};
const CRYSTAL_DEFAULT_CONTAINS = [
EXPANSION,
STRING,
Q_STRING,
REGEXP2,
REGEXP,
ATTRIBUTE,
VARIABLE,
hljs.HASH_COMMENT_MODE,
{
className: 'class',
beginKeywords: 'class module struct',
end: '$|;',
illegal: /=/,
contains: [
hljs.HASH_COMMENT_MODE,
hljs.inherit(hljs.TITLE_MODE, { begin: CRYSTAL_PATH_RE }),
{ // relevance booster for inheritance
begin: '<' }
]
},
{
className: 'class',
beginKeywords: 'lib enum union',
end: '$|;',
illegal: /=/,
contains: [
hljs.HASH_COMMENT_MODE,
hljs.inherit(hljs.TITLE_MODE, { begin: CRYSTAL_PATH_RE })
]
},
{
beginKeywords: 'annotation',
end: '$|;',
illegal: /=/,
contains: [
hljs.HASH_COMMENT_MODE,
hljs.inherit(hljs.TITLE_MODE, { begin: CRYSTAL_PATH_RE })
],
relevance: 2
},
{
className: 'function',
beginKeywords: 'def',
end: /\B\b/,
contains: [
hljs.inherit(hljs.TITLE_MODE, {
begin: CRYSTAL_METHOD_RE,
endsParent: true
})
]
},
{
className: 'function',
beginKeywords: 'fun macro',
end: /\B\b/,
contains: [
hljs.inherit(hljs.TITLE_MODE, {
begin: CRYSTAL_METHOD_RE,
endsParent: true
})
],
relevance: 2
},
{
className: 'symbol',
begin: hljs.UNDERSCORE_IDENT_RE + '(!|\\?)?:',
relevance: 0
},
{
className: 'symbol',
begin: ':',
contains: [
STRING,
{ begin: CRYSTAL_METHOD_RE }
],
relevance: 0
},
{
className: 'number',
variants: [
{ begin: '\\b0b([01_]+)' + INT_SUFFIX },
{ begin: '\\b0o([0-7_]+)' + INT_SUFFIX },
{ begin: '\\b0x([A-Fa-f0-9_]+)' + INT_SUFFIX },
{ begin: '\\b([1-9][0-9_]*[0-9]|[0-9])(\\.[0-9][0-9_]*)?([eE]_?[-+]?[0-9_]*)?' + FLOAT_SUFFIX + '(?!_)' },
{ begin: '\\b([1-9][0-9_]*|0)' + INT_SUFFIX }
],
relevance: 0
}
];
SUBST.contains = CRYSTAL_DEFAULT_CONTAINS;
EXPANSION.contains = CRYSTAL_DEFAULT_CONTAINS.slice(1); // without EXPANSION
return {
name: 'Crystal',
aliases: [ 'cr' ],
keywords: CRYSTAL_KEYWORDS,
contains: CRYSTAL_DEFAULT_CONTAINS
};
}
return crystal;
})();
hljs.registerLanguage('crystal', hljsGrammar);
})();/*! `csharp` grammar compiled for Highlight.js 11.11.1 */
(function(){
var hljsGrammar = (function () {
'use strict';
/*
Language: C#
Author: Jason Diamond
Contributor: Nicolas LLOBERA , Pieter Vantorre , David Pine
Website: https://docs.microsoft.com/dotnet/csharp/
Category: common
*/
/** @type LanguageFn */
function csharp(hljs) {
const BUILT_IN_KEYWORDS = [
'bool',
'byte',
'char',
'decimal',
'delegate',
'double',
'dynamic',
'enum',
'float',
'int',
'long',
'nint',
'nuint',
'object',
'sbyte',
'short',
'string',
'ulong',
'uint',
'ushort'
];
const FUNCTION_MODIFIERS = [
'public',
'private',
'protected',
'static',
'internal',
'protected',
'abstract',
'async',
'extern',
'override',
'unsafe',
'virtual',
'new',
'sealed',
'partial'
];
const LITERAL_KEYWORDS = [
'default',
'false',
'null',
'true'
];
const NORMAL_KEYWORDS = [
'abstract',
'as',
'base',
'break',
'case',
'catch',
'class',
'const',
'continue',
'do',
'else',
'event',
'explicit',
'extern',
'finally',
'fixed',
'for',
'foreach',
'goto',
'if',
'implicit',
'in',
'interface',
'internal',
'is',
'lock',
'namespace',
'new',
'operator',
'out',
'override',
'params',
'private',
'protected',
'public',
'readonly',
'record',
'ref',
'return',
'scoped',
'sealed',
'sizeof',
'stackalloc',
'static',
'struct',
'switch',
'this',
'throw',
'try',
'typeof',
'unchecked',
'unsafe',
'using',
'virtual',
'void',
'volatile',
'while'
];
const CONTEXTUAL_KEYWORDS = [
'add',
'alias',
'and',
'ascending',
'args',
'async',
'await',
'by',
'descending',
'dynamic',
'equals',
'file',
'from',
'get',
'global',
'group',
'init',
'into',
'join',
'let',
'nameof',
'not',
'notnull',
'on',
'or',
'orderby',
'partial',
'record',
'remove',
'required',
'scoped',
'select',
'set',
'unmanaged',
'value|0',
'var',
'when',
'where',
'with',
'yield'
];
const KEYWORDS = {
keyword: NORMAL_KEYWORDS.concat(CONTEXTUAL_KEYWORDS),
built_in: BUILT_IN_KEYWORDS,
literal: LITERAL_KEYWORDS
};
const TITLE_MODE = hljs.inherit(hljs.TITLE_MODE, { begin: '[a-zA-Z](\\.?\\w)*' });
const NUMBERS = {
className: 'number',
variants: [
{ begin: '\\b(0b[01\']+)' },
{ begin: '(-?)\\b([\\d\']+(\\.[\\d\']*)?|\\.[\\d\']+)(u|U|l|L|ul|UL|f|F|b|B)' },
{ begin: '(-?)(\\b0[xX][a-fA-F0-9\']+|(\\b[\\d\']+(\\.[\\d\']*)?|\\.[\\d\']+)([eE][-+]?[\\d\']+)?)' }
],
relevance: 0
};
const RAW_STRING = {
className: 'string',
begin: /"""("*)(?!")(.|\n)*?"""\1/,
relevance: 1
};
const VERBATIM_STRING = {
className: 'string',
begin: '@"',
end: '"',
contains: [ { begin: '""' } ]
};
const VERBATIM_STRING_NO_LF = hljs.inherit(VERBATIM_STRING, { illegal: /\n/ });
const SUBST = {
className: 'subst',
begin: /\{/,
end: /\}/,
keywords: KEYWORDS
};
const SUBST_NO_LF = hljs.inherit(SUBST, { illegal: /\n/ });
const INTERPOLATED_STRING = {
className: 'string',
begin: /\$"/,
end: '"',
illegal: /\n/,
contains: [
{ begin: /\{\{/ },
{ begin: /\}\}/ },
hljs.BACKSLASH_ESCAPE,
SUBST_NO_LF
]
};
const INTERPOLATED_VERBATIM_STRING = {
className: 'string',
begin: /\$@"/,
end: '"',
contains: [
{ begin: /\{\{/ },
{ begin: /\}\}/ },
{ begin: '""' },
SUBST
]
};
const INTERPOLATED_VERBATIM_STRING_NO_LF = hljs.inherit(INTERPOLATED_VERBATIM_STRING, {
illegal: /\n/,
contains: [
{ begin: /\{\{/ },
{ begin: /\}\}/ },
{ begin: '""' },
SUBST_NO_LF
]
});
SUBST.contains = [
INTERPOLATED_VERBATIM_STRING,
INTERPOLATED_STRING,
VERBATIM_STRING,
hljs.APOS_STRING_MODE,
hljs.QUOTE_STRING_MODE,
NUMBERS,
hljs.C_BLOCK_COMMENT_MODE
];
SUBST_NO_LF.contains = [
INTERPOLATED_VERBATIM_STRING_NO_LF,
INTERPOLATED_STRING,
VERBATIM_STRING_NO_LF,
hljs.APOS_STRING_MODE,
hljs.QUOTE_STRING_MODE,
NUMBERS,
hljs.inherit(hljs.C_BLOCK_COMMENT_MODE, { illegal: /\n/ })
];
const STRING = { variants: [
RAW_STRING,
INTERPOLATED_VERBATIM_STRING,
INTERPOLATED_STRING,
VERBATIM_STRING,
hljs.APOS_STRING_MODE,
hljs.QUOTE_STRING_MODE
] };
const GENERIC_MODIFIER = {
begin: "<",
end: ">",
contains: [
{ beginKeywords: "in out" },
TITLE_MODE
]
};
const TYPE_IDENT_RE = hljs.IDENT_RE + '(<' + hljs.IDENT_RE + '(\\s*,\\s*' + hljs.IDENT_RE + ')*>)?(\\[\\])?';
const AT_IDENTIFIER = {
// prevents expressions like `@class` from incorrect flagging
// `class` as a keyword
begin: "@" + hljs.IDENT_RE,
relevance: 0
};
return {
name: 'C#',
aliases: [
'cs',
'c#'
],
keywords: KEYWORDS,
illegal: /::/,
contains: [
hljs.COMMENT(
'///',
'$',
{
returnBegin: true,
contains: [
{
className: 'doctag',
variants: [
{
begin: '///',
relevance: 0
},
{ begin: '' },
{
begin: '?',
end: '>'
}
]
}
]
}
),
hljs.C_LINE_COMMENT_MODE,
hljs.C_BLOCK_COMMENT_MODE,
{
className: 'meta',
begin: '#',
end: '$',
keywords: { keyword: 'if else elif endif define undef warning error line region endregion pragma checksum' }
},
STRING,
NUMBERS,
{
beginKeywords: 'class interface',
relevance: 0,
end: /[{;=]/,
illegal: /[^\s:,]/,
contains: [
{ beginKeywords: "where class" },
TITLE_MODE,
GENERIC_MODIFIER,
hljs.C_LINE_COMMENT_MODE,
hljs.C_BLOCK_COMMENT_MODE
]
},
{
beginKeywords: 'namespace',
relevance: 0,
end: /[{;=]/,
illegal: /[^\s:]/,
contains: [
TITLE_MODE,
hljs.C_LINE_COMMENT_MODE,
hljs.C_BLOCK_COMMENT_MODE
]
},
{
beginKeywords: 'record',
relevance: 0,
end: /[{;=]/,
illegal: /[^\s:]/,
contains: [
TITLE_MODE,
GENERIC_MODIFIER,
hljs.C_LINE_COMMENT_MODE,
hljs.C_BLOCK_COMMENT_MODE
]
},
{
// [Attributes("")]
className: 'meta',
begin: '^\\s*\\[(?=[\\w])',
excludeBegin: true,
end: '\\]',
excludeEnd: true,
contains: [
{
className: 'string',
begin: /"/,
end: /"/
}
]
},
{
// Expression keywords prevent 'keyword Name(...)' from being
// recognized as a function definition
beginKeywords: 'new return throw await else',
relevance: 0
},
{
className: 'function',
begin: '(' + TYPE_IDENT_RE + '\\s+)+' + hljs.IDENT_RE + '\\s*(<[^=]+>\\s*)?\\(',
returnBegin: true,
end: /\s*[{;=]/,
excludeEnd: true,
keywords: KEYWORDS,
contains: [
// prevents these from being highlighted `title`
{
beginKeywords: FUNCTION_MODIFIERS.join(" "),
relevance: 0
},
{
begin: hljs.IDENT_RE + '\\s*(<[^=]+>\\s*)?\\(',
returnBegin: true,
contains: [
hljs.TITLE_MODE,
GENERIC_MODIFIER
],
relevance: 0
},
{ match: /\(\)/ },
{
className: 'params',
begin: /\(/,
end: /\)/,
excludeBegin: true,
excludeEnd: true,
keywords: KEYWORDS,
relevance: 0,
contains: [
STRING,
NUMBERS,
hljs.C_BLOCK_COMMENT_MODE
]
},
hljs.C_LINE_COMMENT_MODE,
hljs.C_BLOCK_COMMENT_MODE
]
},
AT_IDENTIFIER
]
};
}
return csharp;
})();
hljs.registerLanguage('csharp', hljsGrammar);
})();/*! `csp` grammar compiled for Highlight.js 11.11.1 */
(function(){
var hljsGrammar = (function () {
'use strict';
/*
Language: CSP
Description: Content Security Policy definition highlighting
Author: Taras
Website: https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP
Category: web
vim: ts=2 sw=2 st=2
*/
/** @type LanguageFn */
function csp(hljs) {
const KEYWORDS = [
"base-uri",
"child-src",
"connect-src",
"default-src",
"font-src",
"form-action",
"frame-ancestors",
"frame-src",
"img-src",
"manifest-src",
"media-src",
"object-src",
"plugin-types",
"report-uri",
"sandbox",
"script-src",
"style-src",
"trusted-types",
"unsafe-hashes",
"worker-src"
];
return {
name: 'CSP',
case_insensitive: false,
keywords: {
$pattern: '[a-zA-Z][a-zA-Z0-9_-]*',
keyword: KEYWORDS
},
contains: [
{
className: 'string',
begin: "'",
end: "'"
},
{
className: 'attribute',
begin: '^Content',
end: ':',
excludeEnd: true
}
]
};
}
return csp;
})();
hljs.registerLanguage('csp', hljsGrammar);
})();/*! `css` grammar compiled for Highlight.js 11.11.1 */
(function(){
var hljsGrammar = (function () {
'use strict';
const MODES = (hljs) => {
return {
IMPORTANT: {
scope: 'meta',
begin: '!important'
},
BLOCK_COMMENT: hljs.C_BLOCK_COMMENT_MODE,
HEXCOLOR: {
scope: 'number',
begin: /#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/
},
FUNCTION_DISPATCH: {
className: "built_in",
begin: /[\w-]+(?=\()/
},
ATTRIBUTE_SELECTOR_MODE: {
scope: 'selector-attr',
begin: /\[/,
end: /\]/,
illegal: '$',
contains: [
hljs.APOS_STRING_MODE,
hljs.QUOTE_STRING_MODE
]
},
CSS_NUMBER_MODE: {
scope: 'number',
begin: hljs.NUMBER_RE + '(' +
'%|em|ex|ch|rem' +
'|vw|vh|vmin|vmax' +
'|cm|mm|in|pt|pc|px' +
'|deg|grad|rad|turn' +
'|s|ms' +
'|Hz|kHz' +
'|dpi|dpcm|dppx' +
')?',
relevance: 0
},
CSS_VARIABLE: {
className: "attr",
begin: /--[A-Za-z_][A-Za-z0-9_-]*/
}
};
};
const HTML_TAGS = [
'a',
'abbr',
'address',
'article',
'aside',
'audio',
'b',
'blockquote',
'body',
'button',
'canvas',
'caption',
'cite',
'code',
'dd',
'del',
'details',
'dfn',
'div',
'dl',
'dt',
'em',
'fieldset',
'figcaption',
'figure',
'footer',
'form',
'h1',
'h2',
'h3',
'h4',
'h5',
'h6',
'header',
'hgroup',
'html',
'i',
'iframe',
'img',
'input',
'ins',
'kbd',
'label',
'legend',
'li',
'main',
'mark',
'menu',
'nav',
'object',
'ol',
'optgroup',
'option',
'p',
'picture',
'q',
'quote',
'samp',
'section',
'select',
'source',
'span',
'strong',
'summary',
'sup',
'table',
'tbody',
'td',
'textarea',
'tfoot',
'th',
'thead',
'time',
'tr',
'ul',
'var',
'video'
];
const SVG_TAGS = [
'defs',
'g',
'marker',
'mask',
'pattern',
'svg',
'switch',
'symbol',
'feBlend',
'feColorMatrix',
'feComponentTransfer',
'feComposite',
'feConvolveMatrix',
'feDiffuseLighting',
'feDisplacementMap',
'feFlood',
'feGaussianBlur',
'feImage',
'feMerge',
'feMorphology',
'feOffset',
'feSpecularLighting',
'feTile',
'feTurbulence',
'linearGradient',
'radialGradient',
'stop',
'circle',
'ellipse',
'image',
'line',
'path',
'polygon',
'polyline',
'rect',
'text',
'use',
'textPath',
'tspan',
'foreignObject',
'clipPath'
];
const TAGS = [
...HTML_TAGS,
...SVG_TAGS,
];
// Sorting, then reversing makes sure longer attributes/elements like
// `font-weight` are matched fully instead of getting false positives on say `font`
const MEDIA_FEATURES = [
'any-hover',
'any-pointer',
'aspect-ratio',
'color',
'color-gamut',
'color-index',
'device-aspect-ratio',
'device-height',
'device-width',
'display-mode',
'forced-colors',
'grid',
'height',
'hover',
'inverted-colors',
'monochrome',
'orientation',
'overflow-block',
'overflow-inline',
'pointer',
'prefers-color-scheme',
'prefers-contrast',
'prefers-reduced-motion',
'prefers-reduced-transparency',
'resolution',
'scan',
'scripting',
'update',
'width',
// TODO: find a better solution?
'min-width',
'max-width',
'min-height',
'max-height'
].sort().reverse();
// https://developer.mozilla.org/en-US/docs/Web/CSS/Pseudo-classes
const PSEUDO_CLASSES = [
'active',
'any-link',
'blank',
'checked',
'current',
'default',
'defined',
'dir', // dir()
'disabled',
'drop',
'empty',
'enabled',
'first',
'first-child',
'first-of-type',
'fullscreen',
'future',
'focus',
'focus-visible',
'focus-within',
'has', // has()
'host', // host or host()
'host-context', // host-context()
'hover',
'indeterminate',
'in-range',
'invalid',
'is', // is()
'lang', // lang()
'last-child',
'last-of-type',
'left',
'link',
'local-link',
'not', // not()
'nth-child', // nth-child()
'nth-col', // nth-col()
'nth-last-child', // nth-last-child()
'nth-last-col', // nth-last-col()
'nth-last-of-type', //nth-last-of-type()
'nth-of-type', //nth-of-type()
'only-child',
'only-of-type',
'optional',
'out-of-range',
'past',
'placeholder-shown',
'read-only',
'read-write',
'required',
'right',
'root',
'scope',
'target',
'target-within',
'user-invalid',
'valid',
'visited',
'where' // where()
].sort().reverse();
// https://developer.mozilla.org/en-US/docs/Web/CSS/Pseudo-elements
const PSEUDO_ELEMENTS = [
'after',
'backdrop',
'before',
'cue',
'cue-region',
'first-letter',
'first-line',
'grammar-error',
'marker',
'part',
'placeholder',
'selection',
'slotted',
'spelling-error'
].sort().reverse();
const ATTRIBUTES = [
'accent-color',
'align-content',
'align-items',
'align-self',
'alignment-baseline',
'all',
'anchor-name',
'animation',
'animation-composition',
'animation-delay',
'animation-direction',
'animation-duration',
'animation-fill-mode',
'animation-iteration-count',
'animation-name',
'animation-play-state',
'animation-range',
'animation-range-end',
'animation-range-start',
'animation-timeline',
'animation-timing-function',
'appearance',
'aspect-ratio',
'backdrop-filter',
'backface-visibility',
'background',
'background-attachment',
'background-blend-mode',
'background-clip',
'background-color',
'background-image',
'background-origin',
'background-position',
'background-position-x',
'background-position-y',
'background-repeat',
'background-size',
'baseline-shift',
'block-size',
'border',
'border-block',
'border-block-color',
'border-block-end',
'border-block-end-color',
'border-block-end-style',
'border-block-end-width',
'border-block-start',
'border-block-start-color',
'border-block-start-style',
'border-block-start-width',
'border-block-style',
'border-block-width',
'border-bottom',
'border-bottom-color',
'border-bottom-left-radius',
'border-bottom-right-radius',
'border-bottom-style',
'border-bottom-width',
'border-collapse',
'border-color',
'border-end-end-radius',
'border-end-start-radius',
'border-image',
'border-image-outset',
'border-image-repeat',
'border-image-slice',
'border-image-source',
'border-image-width',
'border-inline',
'border-inline-color',
'border-inline-end',
'border-inline-end-color',
'border-inline-end-style',
'border-inline-end-width',
'border-inline-start',
'border-inline-start-color',
'border-inline-start-style',
'border-inline-start-width',
'border-inline-style',
'border-inline-width',
'border-left',
'border-left-color',
'border-left-style',
'border-left-width',
'border-radius',
'border-right',
'border-right-color',
'border-right-style',
'border-right-width',
'border-spacing',
'border-start-end-radius',
'border-start-start-radius',
'border-style',
'border-top',
'border-top-color',
'border-top-left-radius',
'border-top-right-radius',
'border-top-style',
'border-top-width',
'border-width',
'bottom',
'box-align',
'box-decoration-break',
'box-direction',
'box-flex',
'box-flex-group',
'box-lines',
'box-ordinal-group',
'box-orient',
'box-pack',
'box-shadow',
'box-sizing',
'break-after',
'break-before',
'break-inside',
'caption-side',
'caret-color',
'clear',
'clip',
'clip-path',
'clip-rule',
'color',
'color-interpolation',
'color-interpolation-filters',
'color-profile',
'color-rendering',
'color-scheme',
'column-count',
'column-fill',
'column-gap',
'column-rule',
'column-rule-color',
'column-rule-style',
'column-rule-width',
'column-span',
'column-width',
'columns',
'contain',
'contain-intrinsic-block-size',
'contain-intrinsic-height',
'contain-intrinsic-inline-size',
'contain-intrinsic-size',
'contain-intrinsic-width',
'container',
'container-name',
'container-type',
'content',
'content-visibility',
'counter-increment',
'counter-reset',
'counter-set',
'cue',
'cue-after',
'cue-before',
'cursor',
'cx',
'cy',
'direction',
'display',
'dominant-baseline',
'empty-cells',
'enable-background',
'field-sizing',
'fill',
'fill-opacity',
'fill-rule',
'filter',
'flex',
'flex-basis',
'flex-direction',
'flex-flow',
'flex-grow',
'flex-shrink',
'flex-wrap',
'float',
'flood-color',
'flood-opacity',
'flow',
'font',
'font-display',
'font-family',
'font-feature-settings',
'font-kerning',
'font-language-override',
'font-optical-sizing',
'font-palette',
'font-size',
'font-size-adjust',
'font-smooth',
'font-smoothing',
'font-stretch',
'font-style',
'font-synthesis',
'font-synthesis-position',
'font-synthesis-small-caps',
'font-synthesis-style',
'font-synthesis-weight',
'font-variant',
'font-variant-alternates',
'font-variant-caps',
'font-variant-east-asian',
'font-variant-emoji',
'font-variant-ligatures',
'font-variant-numeric',
'font-variant-position',
'font-variation-settings',
'font-weight',
'forced-color-adjust',
'gap',
'glyph-orientation-horizontal',
'glyph-orientation-vertical',
'grid',
'grid-area',
'grid-auto-columns',
'grid-auto-flow',
'grid-auto-rows',
'grid-column',
'grid-column-end',
'grid-column-start',
'grid-gap',
'grid-row',
'grid-row-end',
'grid-row-start',
'grid-template',
'grid-template-areas',
'grid-template-columns',
'grid-template-rows',
'hanging-punctuation',
'height',
'hyphenate-character',
'hyphenate-limit-chars',
'hyphens',
'icon',
'image-orientation',
'image-rendering',
'image-resolution',
'ime-mode',
'initial-letter',
'initial-letter-align',
'inline-size',
'inset',
'inset-area',
'inset-block',
'inset-block-end',
'inset-block-start',
'inset-inline',
'inset-inline-end',
'inset-inline-start',
'isolation',
'justify-content',
'justify-items',
'justify-self',
'kerning',
'left',
'letter-spacing',
'lighting-color',
'line-break',
'line-height',
'line-height-step',
'list-style',
'list-style-image',
'list-style-position',
'list-style-type',
'margin',
'margin-block',
'margin-block-end',
'margin-block-start',
'margin-bottom',
'margin-inline',
'margin-inline-end',
'margin-inline-start',
'margin-left',
'margin-right',
'margin-top',
'margin-trim',
'marker',
'marker-end',
'marker-mid',
'marker-start',
'marks',
'mask',
'mask-border',
'mask-border-mode',
'mask-border-outset',
'mask-border-repeat',
'mask-border-slice',
'mask-border-source',
'mask-border-width',
'mask-clip',
'mask-composite',
'mask-image',
'mask-mode',
'mask-origin',
'mask-position',
'mask-repeat',
'mask-size',
'mask-type',
'masonry-auto-flow',
'math-depth',
'math-shift',
'math-style',
'max-block-size',
'max-height',
'max-inline-size',
'max-width',
'min-block-size',
'min-height',
'min-inline-size',
'min-width',
'mix-blend-mode',
'nav-down',
'nav-index',
'nav-left',
'nav-right',
'nav-up',
'none',
'normal',
'object-fit',
'object-position',
'offset',
'offset-anchor',
'offset-distance',
'offset-path',
'offset-position',
'offset-rotate',
'opacity',
'order',
'orphans',
'outline',
'outline-color',
'outline-offset',
'outline-style',
'outline-width',
'overflow',
'overflow-anchor',
'overflow-block',
'overflow-clip-margin',
'overflow-inline',
'overflow-wrap',
'overflow-x',
'overflow-y',
'overlay',
'overscroll-behavior',
'overscroll-behavior-block',
'overscroll-behavior-inline',
'overscroll-behavior-x',
'overscroll-behavior-y',
'padding',
'padding-block',
'padding-block-end',
'padding-block-start',
'padding-bottom',
'padding-inline',
'padding-inline-end',
'padding-inline-start',
'padding-left',
'padding-right',
'padding-top',
'page',
'page-break-after',
'page-break-before',
'page-break-inside',
'paint-order',
'pause',
'pause-after',
'pause-before',
'perspective',
'perspective-origin',
'place-content',
'place-items',
'place-self',
'pointer-events',
'position',
'position-anchor',
'position-visibility',
'print-color-adjust',
'quotes',
'r',
'resize',
'rest',
'rest-after',
'rest-before',
'right',
'rotate',
'row-gap',
'ruby-align',
'ruby-position',
'scale',
'scroll-behavior',
'scroll-margin',
'scroll-margin-block',
'scroll-margin-block-end',
'scroll-margin-block-start',
'scroll-margin-bottom',
'scroll-margin-inline',
'scroll-margin-inline-end',
'scroll-margin-inline-start',
'scroll-margin-left',
'scroll-margin-right',
'scroll-margin-top',
'scroll-padding',
'scroll-padding-block',
'scroll-padding-block-end',
'scroll-padding-block-start',
'scroll-padding-bottom',
'scroll-padding-inline',
'scroll-padding-inline-end',
'scroll-padding-inline-start',
'scroll-padding-left',
'scroll-padding-right',
'scroll-padding-top',
'scroll-snap-align',
'scroll-snap-stop',
'scroll-snap-type',
'scroll-timeline',
'scroll-timeline-axis',
'scroll-timeline-name',
'scrollbar-color',
'scrollbar-gutter',
'scrollbar-width',
'shape-image-threshold',
'shape-margin',
'shape-outside',
'shape-rendering',
'speak',
'speak-as',
'src', // @font-face
'stop-color',
'stop-opacity',
'stroke',
'stroke-dasharray',
'stroke-dashoffset',
'stroke-linecap',
'stroke-linejoin',
'stroke-miterlimit',
'stroke-opacity',
'stroke-width',
'tab-size',
'table-layout',
'text-align',
'text-align-all',
'text-align-last',
'text-anchor',
'text-combine-upright',
'text-decoration',
'text-decoration-color',
'text-decoration-line',
'text-decoration-skip',
'text-decoration-skip-ink',
'text-decoration-style',
'text-decoration-thickness',
'text-emphasis',
'text-emphasis-color',
'text-emphasis-position',
'text-emphasis-style',
'text-indent',
'text-justify',
'text-orientation',
'text-overflow',
'text-rendering',
'text-shadow',
'text-size-adjust',
'text-transform',
'text-underline-offset',
'text-underline-position',
'text-wrap',
'text-wrap-mode',
'text-wrap-style',
'timeline-scope',
'top',
'touch-action',
'transform',
'transform-box',
'transform-origin',
'transform-style',
'transition',
'transition-behavior',
'transition-delay',
'transition-duration',
'transition-property',
'transition-timing-function',
'translate',
'unicode-bidi',
'user-modify',
'user-select',
'vector-effect',
'vertical-align',
'view-timeline',
'view-timeline-axis',
'view-timeline-inset',
'view-timeline-name',
'view-transition-name',
'visibility',
'voice-balance',
'voice-duration',
'voice-family',
'voice-pitch',
'voice-range',
'voice-rate',
'voice-stress',
'voice-volume',
'white-space',
'white-space-collapse',
'widows',
'width',
'will-change',
'word-break',
'word-spacing',
'word-wrap',
'writing-mode',
'x',
'y',
'z-index',
'zoom'
].sort().reverse();
/*
Language: CSS
Category: common, css, web
Website: https://developer.mozilla.org/en-US/docs/Web/CSS
*/
/** @type LanguageFn */
function css(hljs) {
const regex = hljs.regex;
const modes = MODES(hljs);
const VENDOR_PREFIX = { begin: /-(webkit|moz|ms|o)-(?=[a-z])/ };
const AT_MODIFIERS = "and or not only";
const AT_PROPERTY_RE = /@-?\w[\w]*(-\w+)*/; // @-webkit-keyframes
const IDENT_RE = '[a-zA-Z-][a-zA-Z0-9_-]*';
const STRINGS = [
hljs.APOS_STRING_MODE,
hljs.QUOTE_STRING_MODE
];
return {
name: 'CSS',
case_insensitive: true,
illegal: /[=|'\$]/,
keywords: { keyframePosition: "from to" },
classNameAliases: {
// for visual continuity with `tag {}` and because we
// don't have a great class for this?
keyframePosition: "selector-tag" },
contains: [
modes.BLOCK_COMMENT,
VENDOR_PREFIX,
// to recognize keyframe 40% etc which are outside the scope of our
// attribute value mode
modes.CSS_NUMBER_MODE,
{
className: 'selector-id',
begin: /#[A-Za-z0-9_-]+/,
relevance: 0
},
{
className: 'selector-class',
begin: '\\.' + IDENT_RE,
relevance: 0
},
modes.ATTRIBUTE_SELECTOR_MODE,
{
className: 'selector-pseudo',
variants: [
{ begin: ':(' + PSEUDO_CLASSES.join('|') + ')' },
{ begin: ':(:)?(' + PSEUDO_ELEMENTS.join('|') + ')' }
]
},
// we may actually need this (12/2020)
// { // pseudo-selector params
// begin: /\(/,
// end: /\)/,
// contains: [ hljs.CSS_NUMBER_MODE ]
// },
modes.CSS_VARIABLE,
{
className: 'attribute',
begin: '\\b(' + ATTRIBUTES.join('|') + ')\\b'
},
// attribute values
{
begin: /:/,
end: /[;}{]/,
contains: [
modes.BLOCK_COMMENT,
modes.HEXCOLOR,
modes.IMPORTANT,
modes.CSS_NUMBER_MODE,
...STRINGS,
// needed to highlight these as strings and to avoid issues with
// illegal characters that might be inside urls that would tigger the
// languages illegal stack
{
begin: /(url|data-uri)\(/,
end: /\)/,
relevance: 0, // from keywords
keywords: { built_in: "url data-uri" },
contains: [
...STRINGS,
{
className: "string",
// any character other than `)` as in `url()` will be the start
// of a string, which ends with `)` (from the parent mode)
begin: /[^)]/,
endsWithParent: true,
excludeEnd: true
}
]
},
modes.FUNCTION_DISPATCH
]
},
{
begin: regex.lookahead(/@/),
end: '[{;]',
relevance: 0,
illegal: /:/, // break on Less variables @var: ...
contains: [
{
className: 'keyword',
begin: AT_PROPERTY_RE
},
{
begin: /\s/,
endsWithParent: true,
excludeEnd: true,
relevance: 0,
keywords: {
$pattern: /[a-z-]+/,
keyword: AT_MODIFIERS,
attribute: MEDIA_FEATURES.join(" ")
},
contains: [
{
begin: /[a-z-]+(?=:)/,
className: "attribute"
},
...STRINGS,
modes.CSS_NUMBER_MODE
]
}
]
},
{
className: 'selector-tag',
begin: '\\b(' + TAGS.join('|') + ')\\b'
}
]
};
}
return css;
})();
hljs.registerLanguage('css', hljsGrammar);
})();/*! `d` grammar compiled for Highlight.js 11.11.1 */
(function(){
var hljsGrammar = (function () {
'use strict';
/*
Language: D
Author: Aleksandar Ruzicic
Description: D is a language with C-like syntax and static typing. It pragmatically combines efficiency, control, and modeling power, with safety and programmer productivity.
Version: 1.0a
Website: https://dlang.org
Category: system
Date: 2012-04-08
*/
/**
* Known issues:
*
* - invalid hex string literals will be recognized as a double quoted strings
* but 'x' at the beginning of string will not be matched
*
* - delimited string literals are not checked for matching end delimiter
* (not possible to do with js regexp)
*
* - content of token string is colored as a string (i.e. no keyword coloring inside a token string)
* also, content of token string is not validated to contain only valid D tokens
*
* - special token sequence rule is not strictly following D grammar (anything following #line
* up to the end of line is matched as special token sequence)
*/
/** @type LanguageFn */
function d(hljs) {
/**
* Language keywords
*
* @type {Object}
*/
const D_KEYWORDS = {
$pattern: hljs.UNDERSCORE_IDENT_RE,
keyword:
'abstract alias align asm assert auto body break byte case cast catch class '
+ 'const continue debug default delete deprecated do else enum export extern final '
+ 'finally for foreach foreach_reverse|10 goto if immutable import in inout int '
+ 'interface invariant is lazy macro mixin module new nothrow out override package '
+ 'pragma private protected public pure ref return scope shared static struct '
+ 'super switch synchronized template this throw try typedef typeid typeof union '
+ 'unittest version void volatile while with __FILE__ __LINE__ __gshared|10 '
+ '__thread __traits __DATE__ __EOF__ __TIME__ __TIMESTAMP__ __VENDOR__ __VERSION__',
built_in:
'bool cdouble cent cfloat char creal dchar delegate double dstring float function '
+ 'idouble ifloat ireal long real short string ubyte ucent uint ulong ushort wchar '
+ 'wstring',
literal:
'false null true'
};
/**
* Number literal regexps
*
* @type {String}
*/
const decimal_integer_re = '(0|[1-9][\\d_]*)';
const decimal_integer_nosus_re = '(0|[1-9][\\d_]*|\\d[\\d_]*|[\\d_]+?\\d)';
const binary_integer_re = '0[bB][01_]+';
const hexadecimal_digits_re = '([\\da-fA-F][\\da-fA-F_]*|_[\\da-fA-F][\\da-fA-F_]*)';
const hexadecimal_integer_re = '0[xX]' + hexadecimal_digits_re;
const decimal_exponent_re = '([eE][+-]?' + decimal_integer_nosus_re + ')';
const decimal_float_re = '(' + decimal_integer_nosus_re + '(\\.\\d*|' + decimal_exponent_re + ')|'
+ '\\d+\\.' + decimal_integer_nosus_re + '|'
+ '\\.' + decimal_integer_re + decimal_exponent_re + '?'
+ ')';
const hexadecimal_float_re = '(0[xX]('
+ hexadecimal_digits_re + '\\.' + hexadecimal_digits_re + '|'
+ '\\.?' + hexadecimal_digits_re
+ ')[pP][+-]?' + decimal_integer_nosus_re + ')';
const integer_re = '('
+ decimal_integer_re + '|'
+ binary_integer_re + '|'
+ hexadecimal_integer_re
+ ')';
const float_re = '('
+ hexadecimal_float_re + '|'
+ decimal_float_re
+ ')';
/**
* Escape sequence supported in D string and character literals
*
* @type {String}
*/
const escape_sequence_re = '\\\\('
+ '[\'"\\?\\\\abfnrtv]|' // common escapes
+ 'u[\\dA-Fa-f]{4}|' // four hex digit unicode codepoint
+ '[0-7]{1,3}|' // one to three octal digit ascii char code
+ 'x[\\dA-Fa-f]{2}|' // two hex digit ascii char code
+ 'U[\\dA-Fa-f]{8}' // eight hex digit unicode codepoint
+ ')|'
+ '&[a-zA-Z\\d]{2,};'; // named character entity
/**
* D integer number literals
*
* @type {Object}
*/
const D_INTEGER_MODE = {
className: 'number',
begin: '\\b' + integer_re + '(L|u|U|Lu|LU|uL|UL)?',
relevance: 0
};
/**
* [D_FLOAT_MODE description]
* @type {Object}
*/
const D_FLOAT_MODE = {
className: 'number',
begin: '\\b('
+ float_re + '([fF]|L|i|[fF]i|Li)?|'
+ integer_re + '(i|[fF]i|Li)'
+ ')',
relevance: 0
};
/**
* D character literal
*
* @type {Object}
*/
const D_CHARACTER_MODE = {
className: 'string',
begin: '\'(' + escape_sequence_re + '|.)',
end: '\'',
illegal: '.'
};
/**
* D string escape sequence
*
* @type {Object}
*/
const D_ESCAPE_SEQUENCE = {
begin: escape_sequence_re,
relevance: 0
};
/**
* D double quoted string literal
*
* @type {Object}
*/
const D_STRING_MODE = {
className: 'string',
begin: '"',
contains: [ D_ESCAPE_SEQUENCE ],
end: '"[cwd]?'
};
/**
* D wysiwyg and delimited string literals
*
* @type {Object}
*/
const D_WYSIWYG_DELIMITED_STRING_MODE = {
className: 'string',
begin: '[rq]"',
end: '"[cwd]?',
relevance: 5
};
/**
* D alternate wysiwyg string literal
*
* @type {Object}
*/
const D_ALTERNATE_WYSIWYG_STRING_MODE = {
className: 'string',
begin: '`',
end: '`[cwd]?'
};
/**
* D hexadecimal string literal
*
* @type {Object}
*/
const D_HEX_STRING_MODE = {
className: 'string',
begin: 'x"[\\da-fA-F\\s\\n\\r]*"[cwd]?',
relevance: 10
};
/**
* D delimited string literal
*
* @type {Object}
*/
const D_TOKEN_STRING_MODE = {
className: 'string',
begin: 'q"\\{',
end: '\\}"'
};
/**
* Hashbang support
*
* @type {Object}
*/
const D_HASHBANG_MODE = {
className: 'meta',
begin: '^#!',
end: '$',
relevance: 5
};
/**
* D special token sequence
*
* @type {Object}
*/
const D_SPECIAL_TOKEN_SEQUENCE_MODE = {
className: 'meta',
begin: '#(line)',
end: '$',
relevance: 5
};
/**
* D attributes
*
* @type {Object}
*/
const D_ATTRIBUTE_MODE = {
className: 'keyword',
begin: '@[a-zA-Z_][a-zA-Z_\\d]*'
};
/**
* D nesting comment
*
* @type {Object}
*/
const D_NESTING_COMMENT_MODE = hljs.COMMENT(
'\\/\\+',
'\\+\\/',
{
contains: [ 'self' ],
relevance: 10
}
);
return {
name: 'D',
keywords: D_KEYWORDS,
contains: [
hljs.C_LINE_COMMENT_MODE,
hljs.C_BLOCK_COMMENT_MODE,
D_NESTING_COMMENT_MODE,
D_HEX_STRING_MODE,
D_STRING_MODE,
D_WYSIWYG_DELIMITED_STRING_MODE,
D_ALTERNATE_WYSIWYG_STRING_MODE,
D_TOKEN_STRING_MODE,
D_FLOAT_MODE,
D_INTEGER_MODE,
D_CHARACTER_MODE,
D_HASHBANG_MODE,
D_SPECIAL_TOKEN_SEQUENCE_MODE,
D_ATTRIBUTE_MODE
]
};
}
return d;
})();
hljs.registerLanguage('d', hljsGrammar);
})();/*! `dart` grammar compiled for Highlight.js 11.11.1 */
(function(){
var hljsGrammar = (function () {
'use strict';
/*
Language: Dart
Requires: markdown.js
Author: Maxim Dikun
Description: Dart a modern, object-oriented language developed by Google. For more information see https://www.dartlang.org/
Website: https://dart.dev
Category: scripting
*/
/** @type LanguageFn */
function dart(hljs) {
const SUBST = {
className: 'subst',
variants: [ { begin: '\\$[A-Za-z0-9_]+' } ]
};
const BRACED_SUBST = {
className: 'subst',
variants: [
{
begin: /\$\{/,
end: /\}/
}
],
keywords: 'true false null this is new super'
};
const NUMBER = {
className: 'number',
relevance: 0,
variants: [
{ match: /\b[0-9][0-9_]*(\.[0-9][0-9_]*)?([eE][+-]?[0-9][0-9_]*)?\b/ },
{ match: /\b0[xX][0-9A-Fa-f][0-9A-Fa-f_]*\b/ }
]
};
const STRING = {
className: 'string',
variants: [
{
begin: 'r\'\'\'',
end: '\'\'\''
},
{
begin: 'r"""',
end: '"""'
},
{
begin: 'r\'',
end: '\'',
illegal: '\\n'
},
{
begin: 'r"',
end: '"',
illegal: '\\n'
},
{
begin: '\'\'\'',
end: '\'\'\'',
contains: [
hljs.BACKSLASH_ESCAPE,
SUBST,
BRACED_SUBST
]
},
{
begin: '"""',
end: '"""',
contains: [
hljs.BACKSLASH_ESCAPE,
SUBST,
BRACED_SUBST
]
},
{
begin: '\'',
end: '\'',
illegal: '\\n',
contains: [
hljs.BACKSLASH_ESCAPE,
SUBST,
BRACED_SUBST
]
},
{
begin: '"',
end: '"',
illegal: '\\n',
contains: [
hljs.BACKSLASH_ESCAPE,
SUBST,
BRACED_SUBST
]
}
]
};
BRACED_SUBST.contains = [
NUMBER,
STRING
];
const BUILT_IN_TYPES = [
// dart:core
'Comparable',
'DateTime',
'Duration',
'Function',
'Iterable',
'Iterator',
'List',
'Map',
'Match',
'Object',
'Pattern',
'RegExp',
'Set',
'Stopwatch',
'String',
'StringBuffer',
'StringSink',
'Symbol',
'Type',
'Uri',
'bool',
'double',
'int',
'num',
// dart:html
'Element',
'ElementList'
];
const NULLABLE_BUILT_IN_TYPES = BUILT_IN_TYPES.map((e) => `${e}?`);
const BASIC_KEYWORDS = [
"abstract",
"as",
"assert",
"async",
"await",
"base",
"break",
"case",
"catch",
"class",
"const",
"continue",
"covariant",
"default",
"deferred",
"do",
"dynamic",
"else",
"enum",
"export",
"extends",
"extension",
"external",
"factory",
"false",
"final",
"finally",
"for",
"Function",
"get",
"hide",
"if",
"implements",
"import",
"in",
"interface",
"is",
"late",
"library",
"mixin",
"new",
"null",
"on",
"operator",
"part",
"required",
"rethrow",
"return",
"sealed",
"set",
"show",
"static",
"super",
"switch",
"sync",
"this",
"throw",
"true",
"try",
"typedef",
"var",
"void",
"when",
"while",
"with",
"yield"
];
const KEYWORDS = {
keyword: BASIC_KEYWORDS,
built_in:
BUILT_IN_TYPES
.concat(NULLABLE_BUILT_IN_TYPES)
.concat([
// dart:core
'Never',
'Null',
'dynamic',
'print',
// dart:html
'document',
'querySelector',
'querySelectorAll',
'window'
]),
$pattern: /[A-Za-z][A-Za-z0-9_]*\??/
};
return {
name: 'Dart',
keywords: KEYWORDS,
contains: [
STRING,
hljs.COMMENT(
/\/\*\*(?!\/)/,
/\*\//,
{
subLanguage: 'markdown',
relevance: 0
}
),
hljs.COMMENT(
/\/{3,} ?/,
/$/, { contains: [
{
subLanguage: 'markdown',
begin: '.',
end: '$',
relevance: 0
}
] }
),
hljs.C_LINE_COMMENT_MODE,
hljs.C_BLOCK_COMMENT_MODE,
{
className: 'class',
beginKeywords: 'class interface',
end: /\{/,
excludeEnd: true,
contains: [
{ beginKeywords: 'extends implements' },
hljs.UNDERSCORE_TITLE_MODE
]
},
NUMBER,
{
className: 'meta',
begin: '@[A-Za-z]+'
},
{ begin: '=>' // No markup, just a relevance booster
}
]
};
}
return dart;
})();
hljs.registerLanguage('dart', hljsGrammar);
})();/*! `delphi` grammar compiled for Highlight.js 11.11.1 */
(function(){
var hljsGrammar = (function () {
'use strict';
/*
Language: Delphi
Website: https://www.embarcadero.com/products/delphi
Category: system
*/
/** @type LanguageFn */
function delphi(hljs) {
const KEYWORDS = [
"exports",
"register",
"file",
"shl",
"array",
"record",
"property",
"for",
"mod",
"while",
"set",
"ally",
"label",
"uses",
"raise",
"not",
"stored",
"class",
"safecall",
"var",
"interface",
"or",
"private",
"static",
"exit",
"index",
"inherited",
"to",
"else",
"stdcall",
"override",
"shr",
"asm",
"far",
"resourcestring",
"finalization",
"packed",
"virtual",
"out",
"and",
"protected",
"library",
"do",
"xorwrite",
"goto",
"near",
"function",
"end",
"div",
"overload",
"object",
"unit",
"begin",
"string",
"on",
"inline",
"repeat",
"until",
"destructor",
"write",
"message",
"program",
"with",
"read",
"initialization",
"except",
"default",
"nil",
"if",
"case",
"cdecl",
"in",
"downto",
"threadvar",
"of",
"try",
"pascal",
"const",
"external",
"constructor",
"type",
"public",
"then",
"implementation",
"finally",
"published",
"procedure",
"absolute",
"reintroduce",
"operator",
"as",
"is",
"abstract",
"alias",
"assembler",
"bitpacked",
"break",
"continue",
"cppdecl",
"cvar",
"enumerator",
"experimental",
"platform",
"deprecated",
"unimplemented",
"dynamic",
"export",
"far16",
"forward",
"generic",
"helper",
"implements",
"interrupt",
"iochecks",
"local",
"name",
"nodefault",
"noreturn",
"nostackframe",
"oldfpccall",
"otherwise",
"saveregisters",
"softfloat",
"specialize",
"strict",
"unaligned",
"varargs"
];
const COMMENT_MODES = [
hljs.C_LINE_COMMENT_MODE,
hljs.COMMENT(/\{/, /\}/, { relevance: 0 }),
hljs.COMMENT(/\(\*/, /\*\)/, { relevance: 10 })
];
const DIRECTIVE = {
className: 'meta',
variants: [
{
begin: /\{\$/,
end: /\}/
},
{
begin: /\(\*\$/,
end: /\*\)/
}
]
};
const STRING = {
className: 'string',
begin: /'/,
end: /'/,
contains: [ { begin: /''/ } ]
};
const NUMBER = {
className: 'number',
relevance: 0,
// Source: https://www.freepascal.org/docs-html/ref/refse6.html
variants: [
{
// Regular numbers, e.g., 123, 123.456.
match: /\b\d[\d_]*(\.\d[\d_]*)?/ },
{
// Hexadecimal notation, e.g., $7F.
match: /\$[\dA-Fa-f_]+/ },
{
// Hexadecimal literal with no digits
match: /\$/,
relevance: 0 },
{
// Octal notation, e.g., &42.
match: /&[0-7][0-7_]*/ },
{
// Binary notation, e.g., %1010.
match: /%[01_]+/ },
{
// Binary literal with no digits
match: /%/,
relevance: 0 }
]
};
const CHAR_STRING = {
className: 'string',
variants: [
{ match: /#\d[\d_]*/ },
{ match: /#\$[\dA-Fa-f][\dA-Fa-f_]*/ },
{ match: /#&[0-7][0-7_]*/ },
{ match: /#%[01][01_]*/ }
]
};
const CLASS = {
begin: hljs.IDENT_RE + '\\s*=\\s*class\\s*\\(',
returnBegin: true,
contains: [ hljs.TITLE_MODE ]
};
const FUNCTION = {
className: 'function',
beginKeywords: 'function constructor destructor procedure',
end: /[:;]/,
keywords: 'function constructor|10 destructor|10 procedure|10',
contains: [
hljs.TITLE_MODE,
{
className: 'params',
begin: /\(/,
end: /\)/,
keywords: KEYWORDS,
contains: [
STRING,
CHAR_STRING,
DIRECTIVE
].concat(COMMENT_MODES)
},
DIRECTIVE
].concat(COMMENT_MODES)
};
return {
name: 'Delphi',
aliases: [
'dpr',
'dfm',
'pas',
'pascal'
],
case_insensitive: true,
keywords: KEYWORDS,
illegal: /"|\$[G-Zg-z]|\/\*|<\/|\|/,
contains: [
STRING,
CHAR_STRING,
NUMBER,
CLASS,
FUNCTION,
DIRECTIVE
].concat(COMMENT_MODES)
};
}
return delphi;
})();
hljs.registerLanguage('delphi', hljsGrammar);
})();/*! `diff` grammar compiled for Highlight.js 11.11.1 */
(function(){
var hljsGrammar = (function () {
'use strict';
/*
Language: Diff
Description: Unified and context diff
Author: Vasily Polovnyov
Website: https://www.gnu.org/software/diffutils/
Category: common
*/
/** @type LanguageFn */
function diff(hljs) {
const regex = hljs.regex;
return {
name: 'Diff',
aliases: [ 'patch' ],
contains: [
{
className: 'meta',
relevance: 10,
match: regex.either(
/^@@ +-\d+,\d+ +\+\d+,\d+ +@@/,
/^\*\*\* +\d+,\d+ +\*\*\*\*$/,
/^--- +\d+,\d+ +----$/
)
},
{
className: 'comment',
variants: [
{
begin: regex.either(
/Index: /,
/^index/,
/={3,}/,
/^-{3}/,
/^\*{3} /,
/^\+{3}/,
/^diff --git/
),
end: /$/
},
{ match: /^\*{15}$/ }
]
},
{
className: 'addition',
begin: /^\+/,
end: /$/
},
{
className: 'deletion',
begin: /^-/,
end: /$/
},
{
className: 'addition',
begin: /^!/,
end: /$/
}
]
};
}
return diff;
})();
hljs.registerLanguage('diff', hljsGrammar);
})();/*! `django` grammar compiled for Highlight.js 11.11.1 */
(function(){
var hljsGrammar = (function () {
'use strict';
/*
Language: Django
Description: Django is a high-level Python Web framework that encourages rapid development and clean, pragmatic design.
Requires: xml.js
Author: Ivan Sagalaev
Contributors: Ilya Baryshev
Website: https://www.djangoproject.com
Category: template
*/
/** @type LanguageFn */
function django(hljs) {
const FILTER = {
begin: /\|[A-Za-z]+:?/,
keywords: { name:
'truncatewords removetags linebreaksbr yesno get_digit timesince random striptags '
+ 'filesizeformat escape linebreaks length_is ljust rjust cut urlize fix_ampersands '
+ 'title floatformat capfirst pprint divisibleby add make_list unordered_list urlencode '
+ 'timeuntil urlizetrunc wordcount stringformat linenumbers slice date dictsort '
+ 'dictsortreversed default_if_none pluralize lower join center default '
+ 'truncatewords_html upper length phone2numeric wordwrap time addslashes slugify first '
+ 'escapejs force_escape iriencode last safe safeseq truncatechars localize unlocalize '
+ 'localtime utc timezone' },
contains: [
hljs.QUOTE_STRING_MODE,
hljs.APOS_STRING_MODE
]
};
return {
name: 'Django',
aliases: [ 'jinja' ],
case_insensitive: true,
subLanguage: 'xml',
contains: [
hljs.COMMENT(/\{%\s*comment\s*%\}/, /\{%\s*endcomment\s*%\}/),
hljs.COMMENT(/\{#/, /#\}/),
{
className: 'template-tag',
begin: /\{%/,
end: /%\}/,
contains: [
{
className: 'name',
begin: /\w+/,
keywords: { name:
'comment endcomment load templatetag ifchanged endifchanged if endif firstof for '
+ 'endfor ifnotequal endifnotequal widthratio extends include spaceless '
+ 'endspaceless regroup ifequal endifequal ssi now with cycle url filter '
+ 'endfilter debug block endblock else autoescape endautoescape csrf_token empty elif '
+ 'endwith static trans blocktrans endblocktrans get_static_prefix get_media_prefix '
+ 'plural get_current_language language get_available_languages '
+ 'get_current_language_bidi get_language_info get_language_info_list localize '
+ 'endlocalize localtime endlocaltime timezone endtimezone get_current_timezone '
+ 'verbatim' },
starts: {
endsWithParent: true,
keywords: 'in by as',
contains: [ FILTER ],
relevance: 0
}
}
]
},
{
className: 'template-variable',
begin: /\{\{/,
end: /\}\}/,
contains: [ FILTER ]
}
]
};
}
return django;
})();
hljs.registerLanguage('django', hljsGrammar);
})();/*! `dns` grammar compiled for Highlight.js 11.11.1 */
(function(){
var hljsGrammar = (function () {
'use strict';
/*
Language: DNS Zone
Author: Tim Schumacher
Category: config
Website: https://en.wikipedia.org/wiki/Zone_file
*/
/** @type LanguageFn */
function dns(hljs) {
const KEYWORDS = [
"IN",
"A",
"AAAA",
"AFSDB",
"APL",
"CAA",
"CDNSKEY",
"CDS",
"CERT",
"CNAME",
"DHCID",
"DLV",
"DNAME",
"DNSKEY",
"DS",
"HIP",
"IPSECKEY",
"KEY",
"KX",
"LOC",
"MX",
"NAPTR",
"NS",
"NSEC",
"NSEC3",
"NSEC3PARAM",
"PTR",
"RRSIG",
"RP",
"SIG",
"SOA",
"SRV",
"SSHFP",
"TA",
"TKEY",
"TLSA",
"TSIG",
"TXT"
];
return {
name: 'DNS Zone',
aliases: [
'bind',
'zone'
],
keywords: KEYWORDS,
contains: [
hljs.COMMENT(';', '$', { relevance: 0 }),
{
className: 'meta',
begin: /^\$(TTL|GENERATE|INCLUDE|ORIGIN)\b/
},
// IPv6
{
className: 'number',
begin: '((([0-9A-Fa-f]{1,4}:){7}([0-9A-Fa-f]{1,4}|:))|(([0-9A-Fa-f]{1,4}:){6}(:[0-9A-Fa-f]{1,4}|((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){5}(((:[0-9A-Fa-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){4}(((:[0-9A-Fa-f]{1,4}){1,3})|((:[0-9A-Fa-f]{1,4})?:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){3}(((:[0-9A-Fa-f]{1,4}){1,4})|((:[0-9A-Fa-f]{1,4}){0,2}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){2}(((:[0-9A-Fa-f]{1,4}){1,5})|((:[0-9A-Fa-f]{1,4}){0,3}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){1}(((:[0-9A-Fa-f]{1,4}){1,6})|((:[0-9A-Fa-f]{1,4}){0,4}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(:(((:[0-9A-Fa-f]{1,4}){1,7})|((:[0-9A-Fa-f]{1,4}){0,5}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:)))\\b'
},
// IPv4
{
className: 'number',
begin: '((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\b'
},
hljs.inherit(hljs.NUMBER_MODE, { begin: /\b\d+[dhwm]?/ })
]
};
}
return dns;
})();
hljs.registerLanguage('dns', hljsGrammar);
})();/*! `dockerfile` grammar compiled for Highlight.js 11.11.1 */
(function(){
var hljsGrammar = (function () {
'use strict';
/*
Language: Dockerfile
Requires: bash.js
Author: Alexis Hénaut
Description: language definition for Dockerfile files
Website: https://docs.docker.com/engine/reference/builder/
Category: config
*/
/** @type LanguageFn */
function dockerfile(hljs) {
const KEYWORDS = [
"from",
"maintainer",
"expose",
"env",
"arg",
"user",
"onbuild",
"stopsignal"
];
return {
name: 'Dockerfile',
aliases: [ 'docker' ],
case_insensitive: true,
keywords: KEYWORDS,
contains: [
hljs.HASH_COMMENT_MODE,
hljs.APOS_STRING_MODE,
hljs.QUOTE_STRING_MODE,
hljs.NUMBER_MODE,
{
beginKeywords: 'run cmd entrypoint volume add copy workdir label healthcheck shell',
starts: {
end: /[^\\]$/,
subLanguage: 'bash'
}
}
],
illegal: ''
};
}
return dockerfile;
})();
hljs.registerLanguage('dockerfile', hljsGrammar);
})();/*! `dos` grammar compiled for Highlight.js 11.11.1 */
(function(){
var hljsGrammar = (function () {
'use strict';
/*
Language: Batch file (DOS)
Author: Alexander Makarov
Contributors: Anton Kochkov
Website: https://en.wikipedia.org/wiki/Batch_file
Category: scripting
*/
/** @type LanguageFn */
function dos(hljs) {
const COMMENT = hljs.COMMENT(
/^\s*@?rem\b/, /$/,
{ relevance: 10 }
);
const LABEL = {
className: 'symbol',
begin: '^\\s*[A-Za-z._?][A-Za-z0-9_$#@~.?]*(:|\\s+label)',
relevance: 0
};
const KEYWORDS = [
"if",
"else",
"goto",
"for",
"in",
"do",
"call",
"exit",
"not",
"exist",
"errorlevel",
"defined",
"equ",
"neq",
"lss",
"leq",
"gtr",
"geq"
];
const BUILT_INS = [
"prn",
"nul",
"lpt3",
"lpt2",
"lpt1",
"con",
"com4",
"com3",
"com2",
"com1",
"aux",
"shift",
"cd",
"dir",
"echo",
"setlocal",
"endlocal",
"set",
"pause",
"copy",
"append",
"assoc",
"at",
"attrib",
"break",
"cacls",
"cd",
"chcp",
"chdir",
"chkdsk",
"chkntfs",
"cls",
"cmd",
"color",
"comp",
"compact",
"convert",
"date",
"dir",
"diskcomp",
"diskcopy",
"doskey",
"erase",
"fs",
"find",
"findstr",
"format",
"ftype",
"graftabl",
"help",
"keyb",
"label",
"md",
"mkdir",
"mode",
"more",
"move",
"path",
"pause",
"print",
"popd",
"pushd",
"promt",
"rd",
"recover",
"rem",
"rename",
"replace",
"restore",
"rmdir",
"shift",
"sort",
"start",
"subst",
"time",
"title",
"tree",
"type",
"ver",
"verify",
"vol",
// winutils
"ping",
"net",
"ipconfig",
"taskkill",
"xcopy",
"ren",
"del"
];
return {
name: 'Batch file (DOS)',
aliases: [
'bat',
'cmd'
],
case_insensitive: true,
illegal: /\/\*/,
keywords: {
keyword: KEYWORDS,
built_in: BUILT_INS
},
contains: [
{
className: 'variable',
begin: /%%[^ ]|%[^ ]+?%|![^ ]+?!/
},
{
className: 'function',
begin: LABEL.begin,
end: 'goto:eof',
contains: [
hljs.inherit(hljs.TITLE_MODE, { begin: '([_a-zA-Z]\\w*\\.)*([_a-zA-Z]\\w*:)?[_a-zA-Z]\\w*' }),
COMMENT
]
},
{
className: 'number',
begin: '\\b\\d+',
relevance: 0
},
COMMENT
]
};
}
return dos;
})();
hljs.registerLanguage('dos', hljsGrammar);
})();/*! `dsconfig` grammar compiled for Highlight.js 11.11.1 */
(function(){
var hljsGrammar = (function () {
'use strict';
/*
Language: dsconfig
Description: dsconfig batch configuration language for LDAP directory servers
Contributors: Jacob Childress
Category: enterprise, config
*/
/** @type LanguageFn */
function dsconfig(hljs) {
const QUOTED_PROPERTY = {
className: 'string',
begin: /"/,
end: /"/
};
const APOS_PROPERTY = {
className: 'string',
begin: /'/,
end: /'/
};
const UNQUOTED_PROPERTY = {
className: 'string',
begin: /[\w\-?]+:\w+/,
end: /\W/,
relevance: 0
};
const VALUELESS_PROPERTY = {
className: 'string',
begin: /\w+(\-\w+)*/,
end: /(?=\W)/,
relevance: 0
};
return {
keywords: 'dsconfig',
contains: [
{
className: 'keyword',
begin: '^dsconfig',
end: /\s/,
excludeEnd: true,
relevance: 10
},
{
className: 'built_in',
begin: /(list|create|get|set|delete)-(\w+)/,
end: /\s/,
excludeEnd: true,
illegal: '!@#$%^&*()',
relevance: 10
},
{
className: 'built_in',
begin: /--(\w+)/,
end: /\s/,
excludeEnd: true
},
QUOTED_PROPERTY,
APOS_PROPERTY,
UNQUOTED_PROPERTY,
VALUELESS_PROPERTY,
hljs.HASH_COMMENT_MODE
]
};
}
return dsconfig;
})();
hljs.registerLanguage('dsconfig', hljsGrammar);
})();/*! `dts` grammar compiled for Highlight.js 11.11.1 */
(function(){
var hljsGrammar = (function () {
'use strict';
/*
Language: Device Tree
Description: *.dts files used in the Linux kernel
Author: Martin Braun , Moritz Fischer
Website: https://elinux.org/Device_Tree_Reference
Category: config
*/
/** @type LanguageFn */
function dts(hljs) {
const STRINGS = {
className: 'string',
variants: [
hljs.inherit(hljs.QUOTE_STRING_MODE, { begin: '((u8?|U)|L)?"' }),
{
begin: '(u8?|U)?R"',
end: '"',
contains: [ hljs.BACKSLASH_ESCAPE ]
},
{
begin: '\'\\\\?.',
end: '\'',
illegal: '.'
}
]
};
const NUMBERS = {
className: 'number',
variants: [
{ begin: '\\b(\\d+(\\.\\d*)?|\\.\\d+)(u|U|l|L|ul|UL|f|F)' },
{ begin: hljs.C_NUMBER_RE }
],
relevance: 0
};
const PREPROCESSOR = {
className: 'meta',
begin: '#',
end: '$',
keywords: { keyword: 'if else elif endif define undef ifdef ifndef' },
contains: [
{
begin: /\\\n/,
relevance: 0
},
{
beginKeywords: 'include',
end: '$',
keywords: { keyword: 'include' },
contains: [
hljs.inherit(STRINGS, { className: 'string' }),
{
className: 'string',
begin: '<',
end: '>',
illegal: '\\n'
}
]
},
STRINGS,
hljs.C_LINE_COMMENT_MODE,
hljs.C_BLOCK_COMMENT_MODE
]
};
const REFERENCE = {
className: 'variable',
begin: /&[a-z\d_]*\b/
};
const KEYWORD = {
className: 'keyword',
begin: '/[a-z][a-z\\d-]*/'
};
const LABEL = {
className: 'symbol',
begin: '^\\s*[a-zA-Z_][a-zA-Z\\d_]*:'
};
const CELL_PROPERTY = {
className: 'params',
relevance: 0,
begin: '<',
end: '>',
contains: [
NUMBERS,
REFERENCE
]
};
const NODE = {
className: 'title.class',
begin: /[a-zA-Z_][a-zA-Z\d_@-]*(?=\s\{)/,
relevance: 0.2
};
const ROOT_NODE = {
className: 'title.class',
begin: /^\/(?=\s*\{)/,
relevance: 10
};
// TODO: `attribute` might be the right scope here, unsure
// I'm not sure if all these key names have semantic meaning or not
const ATTR_NO_VALUE = {
match: /[a-z][a-z-,]+(?=;)/,
relevance: 0,
scope: "attr"
};
const ATTR = {
relevance: 0,
match: [
/[a-z][a-z-,]+/,
/\s*/,
/=/
],
scope: {
1: "attr",
3: "operator"
}
};
const PUNC = {
scope: "punctuation",
relevance: 0,
// `};` combined is just to avoid tons of useless punctuation nodes
match: /\};|[;{}]/
};
return {
name: 'Device Tree',
contains: [
ROOT_NODE,
REFERENCE,
KEYWORD,
LABEL,
NODE,
ATTR,
ATTR_NO_VALUE,
CELL_PROPERTY,
hljs.C_LINE_COMMENT_MODE,
hljs.C_BLOCK_COMMENT_MODE,
NUMBERS,
STRINGS,
PREPROCESSOR,
PUNC,
{
begin: hljs.IDENT_RE + '::',
keywords: ""
}
]
};
}
return dts;
})();
hljs.registerLanguage('dts', hljsGrammar);
})();/*! `dust` grammar compiled for Highlight.js 11.11.1 */
(function(){
var hljsGrammar = (function () {
'use strict';
/*
Language: Dust
Requires: xml.js
Author: Michael Allen
Description: Matcher for dust.js templates.
Website: https://www.dustjs.com
Category: template
*/
/** @type LanguageFn */
function dust(hljs) {
const EXPRESSION_KEYWORDS = 'if eq ne lt lte gt gte select default math sep';
return {
name: 'Dust',
aliases: [ 'dst' ],
case_insensitive: true,
subLanguage: 'xml',
contains: [
{
className: 'template-tag',
begin: /\{[#\/]/,
end: /\}/,
illegal: /;/,
contains: [
{
className: 'name',
begin: /[a-zA-Z\.-]+/,
starts: {
endsWithParent: true,
relevance: 0,
contains: [ hljs.QUOTE_STRING_MODE ]
}
}
]
},
{
className: 'template-variable',
begin: /\{/,
end: /\}/,
illegal: /;/,
keywords: EXPRESSION_KEYWORDS
}
]
};
}
return dust;
})();
hljs.registerLanguage('dust', hljsGrammar);
})();/*! `ebnf` grammar compiled for Highlight.js 11.11.1 */
(function(){
var hljsGrammar = (function () {
'use strict';
/*
Language: Extended Backus-Naur Form
Author: Alex McKibben
Website: https://en.wikipedia.org/wiki/Extended_Backus–Naur_form
Category: syntax
*/
/** @type LanguageFn */
function ebnf(hljs) {
const commentMode = hljs.COMMENT(/\(\*/, /\*\)/);
const nonTerminalMode = {
className: "attribute",
begin: /^[ ]*[a-zA-Z]+([\s_-]+[a-zA-Z]+)*/
};
const specialSequenceMode = {
className: "meta",
begin: /\?.*\?/
};
const ruleBodyMode = {
begin: /=/,
end: /[.;]/,
contains: [
commentMode,
specialSequenceMode,
{
// terminals
className: 'string',
variants: [
hljs.APOS_STRING_MODE,
hljs.QUOTE_STRING_MODE,
{
begin: '`',
end: '`'
}
]
}
]
};
return {
name: 'Extended Backus-Naur Form',
illegal: /\S/,
contains: [
commentMode,
nonTerminalMode,
ruleBodyMode
]
};
}
return ebnf;
})();
hljs.registerLanguage('ebnf', hljsGrammar);
})();/*! `elixir` grammar compiled for Highlight.js 11.11.1 */
(function(){
var hljsGrammar = (function () {
'use strict';
/*
Language: Elixir
Author: Josh Adams
Description: language definition for Elixir source code files (.ex and .exs). Based on ruby language support.
Category: functional
Website: https://elixir-lang.org
*/
/** @type LanguageFn */
function elixir(hljs) {
const regex = hljs.regex;
const ELIXIR_IDENT_RE = '[a-zA-Z_][a-zA-Z0-9_.]*(!|\\?)?';
const ELIXIR_METHOD_RE = '[a-zA-Z_]\\w*[!?=]?|[-+~]@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?';
const KEYWORDS = [
"after",
"alias",
"and",
"case",
"catch",
"cond",
"defstruct",
"defguard",
"do",
"else",
"end",
"fn",
"for",
"if",
"import",
"in",
"not",
"or",
"quote",
"raise",
"receive",
"require",
"reraise",
"rescue",
"try",
"unless",
"unquote",
"unquote_splicing",
"use",
"when",
"with|0"
];
const LITERALS = [
"false",
"nil",
"true"
];
const KWS = {
$pattern: ELIXIR_IDENT_RE,
keyword: KEYWORDS,
literal: LITERALS
};
const SUBST = {
className: 'subst',
begin: /#\{/,
end: /\}/,
keywords: KWS
};
const NUMBER = {
className: 'number',
begin: '(\\b0o[0-7_]+)|(\\b0b[01_]+)|(\\b0x[0-9a-fA-F_]+)|(-?\\b[0-9][0-9_]*(\\.[0-9_]+([eE][-+]?[0-9]+)?)?)',
relevance: 0
};
// TODO: could be tightened
// https://elixir-lang.readthedocs.io/en/latest/intro/18.html
// but you also need to include closing delemeters in the escape list per
// individual sigil mode from what I can tell,
// ie: \} might or might not be an escape depending on the sigil used
const ESCAPES_RE = /\\[\s\S]/;
// const ESCAPES_RE = /\\["'\\abdefnrstv0]/;
const BACKSLASH_ESCAPE = {
match: ESCAPES_RE,
scope: "char.escape",
relevance: 0
};
const SIGIL_DELIMITERS = '[/|([{<"\']';
const SIGIL_DELIMITER_MODES = [
{
begin: /"/,
end: /"/
},
{
begin: /'/,
end: /'/
},
{
begin: /\//,
end: /\//
},
{
begin: /\|/,
end: /\|/
},
{
begin: /\(/,
end: /\)/
},
{
begin: /\[/,
end: /\]/
},
{
begin: /\{/,
end: /\}/
},
{
begin: /,
end: />/
}
];
const escapeSigilEnd = (end) => {
return {
scope: "char.escape",
begin: regex.concat(/\\/, end),
relevance: 0
};
};
const LOWERCASE_SIGIL = {
className: 'string',
begin: '~[a-z]' + '(?=' + SIGIL_DELIMITERS + ')',
contains: SIGIL_DELIMITER_MODES.map(x => hljs.inherit(x,
{ contains: [
escapeSigilEnd(x.end),
BACKSLASH_ESCAPE,
SUBST
] }
))
};
const UPCASE_SIGIL = {
className: 'string',
begin: '~[A-Z]' + '(?=' + SIGIL_DELIMITERS + ')',
contains: SIGIL_DELIMITER_MODES.map(x => hljs.inherit(x,
{ contains: [ escapeSigilEnd(x.end) ] }
))
};
const REGEX_SIGIL = {
className: 'regex',
variants: [
{
begin: '~r' + '(?=' + SIGIL_DELIMITERS + ')',
contains: SIGIL_DELIMITER_MODES.map(x => hljs.inherit(x,
{
end: regex.concat(x.end, /[uismxfU]{0,7}/),
contains: [
escapeSigilEnd(x.end),
BACKSLASH_ESCAPE,
SUBST
]
}
))
},
{
begin: '~R' + '(?=' + SIGIL_DELIMITERS + ')',
contains: SIGIL_DELIMITER_MODES.map(x => hljs.inherit(x,
{
end: regex.concat(x.end, /[uismxfU]{0,7}/),
contains: [ escapeSigilEnd(x.end) ]
})
)
}
]
};
const STRING = {
className: 'string',
contains: [
hljs.BACKSLASH_ESCAPE,
SUBST
],
variants: [
{
begin: /"""/,
end: /"""/
},
{
begin: /'''/,
end: /'''/
},
{
begin: /~S"""/,
end: /"""/,
contains: [] // override default
},
{
begin: /~S"/,
end: /"/,
contains: [] // override default
},
{
begin: /~S'''/,
end: /'''/,
contains: [] // override default
},
{
begin: /~S'/,
end: /'/,
contains: [] // override default
},
{
begin: /'/,
end: /'/
},
{
begin: /"/,
end: /"/
}
]
};
const FUNCTION = {
className: 'function',
beginKeywords: 'def defp defmacro defmacrop',
end: /\B\b/, // the mode is ended by the title
contains: [
hljs.inherit(hljs.TITLE_MODE, {
begin: ELIXIR_IDENT_RE,
endsParent: true
})
]
};
const CLASS = hljs.inherit(FUNCTION, {
className: 'class',
beginKeywords: 'defimpl defmodule defprotocol defrecord',
end: /\bdo\b|$|;/
});
const ELIXIR_DEFAULT_CONTAINS = [
STRING,
REGEX_SIGIL,
UPCASE_SIGIL,
LOWERCASE_SIGIL,
hljs.HASH_COMMENT_MODE,
CLASS,
FUNCTION,
{ begin: '::' },
{
className: 'symbol',
begin: ':(?![\\s:])',
contains: [
STRING,
{ begin: ELIXIR_METHOD_RE }
],
relevance: 0
},
{
className: 'symbol',
begin: ELIXIR_IDENT_RE + ':(?!:)',
relevance: 0
},
{ // Usage of a module, struct, etc.
className: 'title.class',
begin: /(\b[A-Z][a-zA-Z0-9_]+)/,
relevance: 0
},
NUMBER,
{
className: 'variable',
begin: '(\\$\\W)|((\\$|@@?)(\\w+))'
}
// -> has been removed, capnproto always uses this grammar construct
];
SUBST.contains = ELIXIR_DEFAULT_CONTAINS;
return {
name: 'Elixir',
aliases: [
'ex',
'exs'
],
keywords: KWS,
contains: ELIXIR_DEFAULT_CONTAINS
};
}
return elixir;
})();
hljs.registerLanguage('elixir', hljsGrammar);
})();/*! `elm` grammar compiled for Highlight.js 11.11.1 */
(function(){
var hljsGrammar = (function () {
'use strict';
/*
Language: Elm
Author: Janis Voigtlaender
Website: https://elm-lang.org
Category: functional
*/
/** @type LanguageFn */
function elm(hljs) {
const COMMENT = { variants: [
hljs.COMMENT('--', '$'),
hljs.COMMENT(
/\{-/,
/-\}/,
{ contains: [ 'self' ] }
)
] };
const CONSTRUCTOR = {
className: 'type',
begin: '\\b[A-Z][\\w\']*', // TODO: other constructors (built-in, infix).
relevance: 0
};
const LIST = {
begin: '\\(',
end: '\\)',
illegal: '"',
contains: [
{
className: 'type',
begin: '\\b[A-Z][\\w]*(\\((\\.\\.|,|\\w+)\\))?'
},
COMMENT
]
};
const RECORD = {
begin: /\{/,
end: /\}/,
contains: LIST.contains
};
const CHARACTER = {
className: 'string',
begin: '\'\\\\?.',
end: '\'',
illegal: '.'
};
const KEYWORDS = [
"let",
"in",
"if",
"then",
"else",
"case",
"of",
"where",
"module",
"import",
"exposing",
"type",
"alias",
"as",
"infix",
"infixl",
"infixr",
"port",
"effect",
"command",
"subscription"
];
return {
name: 'Elm',
keywords: KEYWORDS,
contains: [
// Top-level constructions.
{
beginKeywords: 'port effect module',
end: 'exposing',
keywords: 'port effect module where command subscription exposing',
contains: [
LIST,
COMMENT
],
illegal: '\\W\\.|;'
},
{
begin: 'import',
end: '$',
keywords: 'import as exposing',
contains: [
LIST,
COMMENT
],
illegal: '\\W\\.|;'
},
{
begin: 'type',
end: '$',
keywords: 'type alias',
contains: [
CONSTRUCTOR,
LIST,
RECORD,
COMMENT
]
},
{
beginKeywords: 'infix infixl infixr',
end: '$',
contains: [
hljs.C_NUMBER_MODE,
COMMENT
]
},
{
begin: 'port',
end: '$',
keywords: 'port',
contains: [ COMMENT ]
},
// Literals and names.
CHARACTER,
hljs.QUOTE_STRING_MODE,
hljs.C_NUMBER_MODE,
CONSTRUCTOR,
hljs.inherit(hljs.TITLE_MODE, { begin: '^[_a-z][\\w\']*' }),
COMMENT,
{ // No markup, relevance booster
begin: '->|<-' }
],
illegal: /;/
};
}
return elm;
})();
hljs.registerLanguage('elm', hljsGrammar);
})();/*! `erb` grammar compiled for Highlight.js 11.11.1 */
(function(){
var hljsGrammar = (function () {
'use strict';
/*
Language: ERB (Embedded Ruby)
Requires: xml.js, ruby.js
Author: Lucas Mazza
Contributors: Kassio Borges
Description: "Bridge" language defining fragments of Ruby in HTML within <% .. %>
Website: https://ruby-doc.org/stdlib-2.6.5/libdoc/erb/rdoc/ERB.html
Category: template
*/
/** @type LanguageFn */
function erb(hljs) {
return {
name: 'ERB',
subLanguage: 'xml',
contains: [
hljs.COMMENT('<%#', '%>'),
{
begin: '<%[%=-]?',
end: '[%-]?%>',
subLanguage: 'ruby',
excludeBegin: true,
excludeEnd: true
}
]
};
}
return erb;
})();
hljs.registerLanguage('erb', hljsGrammar);
})();/*! `erlang` grammar compiled for Highlight.js 11.11.1 */
(function(){
var hljsGrammar = (function () {
'use strict';
/*
Language: Erlang
Description: Erlang is a general-purpose functional language, with strict evaluation, single assignment, and dynamic typing.
Author: Nikolay Zakharov , Dmitry Kovega
Website: https://www.erlang.org
Category: functional
*/
/** @type LanguageFn */
function erlang(hljs) {
const BASIC_ATOM_RE = '[a-z\'][a-zA-Z0-9_\']*';
const FUNCTION_NAME_RE = '(' + BASIC_ATOM_RE + ':' + BASIC_ATOM_RE + '|' + BASIC_ATOM_RE + ')';
const ERLANG_RESERVED = {
keyword:
'after and andalso|10 band begin bnot bor bsl bzr bxor case catch cond div end fun if '
+ 'let not of orelse|10 query receive rem try when xor maybe else',
literal:
'false true'
};
const COMMENT = hljs.COMMENT('%', '$');
const NUMBER = {
className: 'number',
begin: '\\b(\\d+(_\\d+)*#[a-fA-F0-9]+(_[a-fA-F0-9]+)*|\\d+(_\\d+)*(\\.\\d+(_\\d+)*)?([eE][-+]?\\d+)?)',
relevance: 0
};
const NAMED_FUN = { begin: 'fun\\s+' + BASIC_ATOM_RE + '/\\d+' };
const FUNCTION_CALL = {
begin: FUNCTION_NAME_RE + '\\(',
end: '\\)',
returnBegin: true,
relevance: 0,
contains: [
{
begin: FUNCTION_NAME_RE,
relevance: 0
},
{
begin: '\\(',
end: '\\)',
endsWithParent: true,
returnEnd: true,
relevance: 0
// "contains" defined later
}
]
};
const TUPLE = {
begin: /\{/,
end: /\}/,
relevance: 0
// "contains" defined later
};
const VAR1 = {
begin: '\\b_([A-Z][A-Za-z0-9_]*)?',
relevance: 0
};
const VAR2 = {
begin: '[A-Z][a-zA-Z0-9_]*',
relevance: 0
};
const RECORD_ACCESS = {
begin: '#' + hljs.UNDERSCORE_IDENT_RE,
relevance: 0,
returnBegin: true,
contains: [
{
begin: '#' + hljs.UNDERSCORE_IDENT_RE,
relevance: 0
},
{
begin: /\{/,
end: /\}/,
relevance: 0
// "contains" defined later
}
]
};
const CHAR_LITERAL = {
scope: 'string',
match: /\$(\\([^0-9]|[0-9]{1,3}|)|.)/,
};
const TRIPLE_QUOTE = {
scope: 'string',
match: /"""("*)(?!")[\s\S]*?"""\1/,
};
const SIGIL = {
scope: 'string',
contains: [ hljs.BACKSLASH_ESCAPE ],
variants: [
{match: /~\w?"""("*)(?!")[\s\S]*?"""\1/},
{begin: /~\w?\(/, end: /\)/},
{begin: /~\w?\[/, end: /\]/},
{begin: /~\w?{/, end: /}/},
{begin: /~\w?, end: />/},
{begin: /~\w?\//, end: /\//},
{begin: /~\w?\|/, end: /\|/},
{begin: /~\w?'/, end: /'/},
{begin: /~\w?"/, end: /"/},
{begin: /~\w?`/, end: /`/},
{begin: /~\w?#/, end: /#/},
],
};
const BLOCK_STATEMENTS = {
beginKeywords: 'fun receive if try case maybe',
end: 'end',
keywords: ERLANG_RESERVED
};
BLOCK_STATEMENTS.contains = [
COMMENT,
NAMED_FUN,
hljs.inherit(hljs.APOS_STRING_MODE, { className: '' }),
BLOCK_STATEMENTS,
FUNCTION_CALL,
SIGIL,
TRIPLE_QUOTE,
hljs.QUOTE_STRING_MODE,
NUMBER,
TUPLE,
VAR1,
VAR2,
RECORD_ACCESS,
CHAR_LITERAL
];
const BASIC_MODES = [
COMMENT,
NAMED_FUN,
BLOCK_STATEMENTS,
FUNCTION_CALL,
SIGIL,
TRIPLE_QUOTE,
hljs.QUOTE_STRING_MODE,
NUMBER,
TUPLE,
VAR1,
VAR2,
RECORD_ACCESS,
CHAR_LITERAL
];
FUNCTION_CALL.contains[1].contains = BASIC_MODES;
TUPLE.contains = BASIC_MODES;
RECORD_ACCESS.contains[1].contains = BASIC_MODES;
const DIRECTIVES = [
"-module",
"-record",
"-undef",
"-export",
"-ifdef",
"-ifndef",
"-author",
"-copyright",
"-doc",
"-moduledoc",
"-vsn",
"-import",
"-include",
"-include_lib",
"-compile",
"-define",
"-else",
"-endif",
"-file",
"-behaviour",
"-behavior",
"-spec",
"-on_load",
"-nifs",
];
const PARAMS = {
className: 'params',
begin: '\\(',
end: '\\)',
contains: BASIC_MODES
};
return {
name: 'Erlang',
aliases: [ 'erl' ],
keywords: ERLANG_RESERVED,
illegal: '(|\\*=|\\+=|-=|/\\*|\\*/|\\(\\*|\\*\\))',
contains: [
{
className: 'function',
begin: '^' + BASIC_ATOM_RE + '\\s*\\(',
end: '->',
returnBegin: true,
illegal: '\\(|#|//|/\\*|\\\\|:|;',
contains: [
PARAMS,
hljs.inherit(hljs.TITLE_MODE, { begin: BASIC_ATOM_RE })
],
starts: {
end: ';|\\.',
keywords: ERLANG_RESERVED,
contains: BASIC_MODES
}
},
COMMENT,
{
begin: '^-',
end: '\\.',
relevance: 0,
excludeEnd: true,
returnBegin: true,
keywords: {
$pattern: '-' + hljs.IDENT_RE,
keyword: DIRECTIVES.map(x => `${x}|1.5`).join(" ")
},
contains: [
PARAMS,
SIGIL,
TRIPLE_QUOTE,
hljs.QUOTE_STRING_MODE
]
},
NUMBER,
SIGIL,
TRIPLE_QUOTE,
hljs.QUOTE_STRING_MODE,
RECORD_ACCESS,
VAR1,
VAR2,
TUPLE,
CHAR_LITERAL,
{ begin: /\.$/ } // relevance booster
]
};
}
return erlang;
})();
hljs.registerLanguage('erlang', hljsGrammar);
})();/*! `erlang-repl` grammar compiled for Highlight.js 11.11.1 */
(function(){
var hljsGrammar = (function () {
'use strict';
/*
Language: Erlang REPL
Author: Sergey Ignatov
Website: https://www.erlang.org
Category: functional
*/
/** @type LanguageFn */
function erlangRepl(hljs) {
const regex = hljs.regex;
return {
name: 'Erlang REPL',
keywords: {
built_in:
'spawn spawn_link self',
keyword:
'after and andalso|10 band begin bnot bor bsl bsr bxor case catch cond div end fun if '
+ 'let not of or orelse|10 query receive rem try when xor'
},
contains: [
{
className: 'meta.prompt',
begin: '^[0-9]+> ',
relevance: 10
},
hljs.COMMENT('%', '$'),
{
className: 'number',
begin: '\\b(\\d+(_\\d+)*#[a-fA-F0-9]+(_[a-fA-F0-9]+)*|\\d+(_\\d+)*(\\.\\d+(_\\d+)*)?([eE][-+]?\\d+)?)',
relevance: 0
},
hljs.APOS_STRING_MODE,
hljs.QUOTE_STRING_MODE,
{ begin: regex.concat(
/\?(::)?/,
/([A-Z]\w*)/, // at least one identifier
/((::)[A-Z]\w*)*/ // perhaps more
) },
{ begin: '->' },
{ begin: 'ok' },
{ begin: '!' },
{
begin: '(\\b[a-z\'][a-zA-Z0-9_\']*:[a-z\'][a-zA-Z0-9_\']*)|(\\b[a-z\'][a-zA-Z0-9_\']*)',
relevance: 0
},
{
begin: '[A-Z][a-zA-Z0-9_\']*',
relevance: 0
}
]
};
}
return erlangRepl;
})();
hljs.registerLanguage('erlang-repl', hljsGrammar);
})();/*! `excel` grammar compiled for Highlight.js 11.11.1 */
(function(){
var hljsGrammar = (function () {
'use strict';
/*
Language: Excel formulae
Author: Victor Zhou
Description: Excel formulae
Website: https://products.office.com/en-us/excel/
Category: enterprise
*/
/** @type LanguageFn */
function excel(hljs) {
// built-in functions imported from https://web.archive.org/web/20241205190205/https://support.microsoft.com/en-us/office/excel-functions-alphabetical-b3944572-255d-4efb-bb96-c6d90033e188
const BUILT_INS = [
"ABS",
"ACCRINT",
"ACCRINTM",
"ACOS",
"ACOSH",
"ACOT",
"ACOTH",
"AGGREGATE",
"ADDRESS",
"AMORDEGRC",
"AMORLINC",
"AND",
"ARABIC",
"AREAS",
"ARRAYTOTEXT",
"ASC",
"ASIN",
"ASINH",
"ATAN",
"ATAN2",
"ATANH",
"AVEDEV",
"AVERAGE",
"AVERAGEA",
"AVERAGEIF",
"AVERAGEIFS",
"BAHTTEXT",
"BASE",
"BESSELI",
"BESSELJ",
"BESSELK",
"BESSELY",
"BETADIST",
"BETA.DIST",
"BETAINV",
"BETA.INV",
"BIN2DEC",
"BIN2HEX",
"BIN2OCT",
"BINOMDIST",
"BINOM.DIST",
"BINOM.DIST.RANGE",
"BINOM.INV",
"BITAND",
"BITLSHIFT",
"BITOR",
"BITRSHIFT",
"BITXOR",
"BYCOL",
"BYROW",
"CALL",
"CEILING",
"CEILING.MATH",
"CEILING.PRECISE",
"CELL",
"CHAR",
"CHIDIST",
"CHIINV",
"CHITEST",
"CHISQ.DIST",
"CHISQ.DIST.RT",
"CHISQ.INV",
"CHISQ.INV.RT",
"CHISQ.TEST",
"CHOOSE",
"CHOOSECOLS",
"CHOOSEROWS",
"CLEAN",
"CODE",
"COLUMN",
"COLUMNS",
"COMBIN",
"COMBINA",
"COMPLEX",
"CONCAT",
"CONCATENATE",
"CONFIDENCE",
"CONFIDENCE.NORM",
"CONFIDENCE.T",
"CONVERT",
"CORREL",
"COS",
"COSH",
"COT",
"COTH",
"COUNT",
"COUNTA",
"COUNTBLANK",
"COUNTIF",
"COUNTIFS",
"COUPDAYBS",
"COUPDAYS",
"COUPDAYSNC",
"COUPNCD",
"COUPNUM",
"COUPPCD",
"COVAR",
"COVARIANCE.P",
"COVARIANCE.S",
"CRITBINOM",
"CSC",
"CSCH",
"CUBEKPIMEMBER",
"CUBEMEMBER",
"CUBEMEMBERPROPERTY",
"CUBERANKEDMEMBER",
"CUBESET",
"CUBESETCOUNT",
"CUBEVALUE",
"CUMIPMT",
"CUMPRINC",
"DATE",
"DATEDIF",
"DATEVALUE",
"DAVERAGE",
"DAY",
"DAYS",
"DAYS360",
"DB",
"DBCS",
"DCOUNT",
"DCOUNTA",
"DDB",
"DEC2BIN",
"DEC2HEX",
"DEC2OCT",
"DECIMAL",
"DEGREES",
"DELTA",
"DEVSQ",
"DGET",
"DISC",
"DMAX",
"DMIN",
"DOLLAR",
"DOLLARDE",
"DOLLARFR",
"DPRODUCT",
"DROP",
"DSTDEV",
"DSTDEVP",
"DSUM",
"DURATION",
"DVAR",
"DVARP",
"EDATE",
"EFFECT",
"ENCODEURL",
"EOMONTH",
"ERF",
"ERF.PRECISE",
"ERFC",
"ERFC.PRECISE",
"ERROR.TYPE",
"EUROCONVERT",
"EVEN",
"EXACT",
"EXP",
"EXPAND",
"EXPON.DIST",
"EXPONDIST",
"FACT",
"FACTDOUBLE",
"FALSE",
"F.DIST",
"FDIST",
"F.DIST.RT",
"FILTER",
"FILTERXML",
"FIND",
"FINDB",
"F.INV",
"F.INV.RT",
"FINV",
"FISHER",
"FISHERINV",
"FIXED",
"FLOOR",
"FLOOR.MATH",
"FLOOR.PRECISE",
"FORECAST",
"FORECAST.ETS",
"FORECAST.ETS.CONFINT",
"FORECAST.ETS.SEASONALITY",
"FORECAST.ETS.STAT",
"FORECAST.LINEAR",
"FORMULATEXT",
"FREQUENCY",
"F.TEST",
"FTEST",
"FV",
"FVSCHEDULE",
"GAMMA",
"GAMMA.DIST",
"GAMMADIST",
"GAMMA.INV",
"GAMMAINV",
"GAMMALN",
"GAMMALN.PRECISE",
"GAUSS",
"GCD",
"GEOMEAN",
"GESTEP",
"GETPIVOTDATA",
"GROWTH",
"HARMEAN",
"HEX2BIN",
"HEX2DEC",
"HEX2OCT",
"HLOOKUP",
"HOUR",
"HSTACK",
"HYPERLINK",
"HYPGEOM.DIST",
"HYPGEOMDIST",
"IF",
"IFERROR",
"IFNA",
"IFS",
"IMABS",
"IMAGE",
"IMAGINARY",
"IMARGUMENT",
"IMCONJUGATE",
"IMCOS",
"IMCOSH",
"IMCOT",
"IMCSC",
"IMCSCH",
"IMDIV",
"IMEXP",
"IMLN",
"IMLOG10",
"IMLOG2",
"IMPOWER",
"IMPRODUCT",
"IMREAL",
"IMSEC",
"IMSECH",
"IMSIN",
"IMSINH",
"IMSQRT",
"IMSUB",
"IMSUM",
"IMTAN",
"INDEX",
"INDIRECT",
"INFO",
"INT",
"INTERCEPT",
"INTRATE",
"IPMT",
"IRR",
"ISBLANK",
"ISERR",
"ISERROR",
"ISEVEN",
"ISFORMULA",
"ISLOGICAL",
"ISNA",
"ISNONTEXT",
"ISNUMBER",
"ISODD",
"ISOMITTED",
"ISREF",
"ISTEXT",
"ISO.CEILING",
"ISOWEEKNUM",
"ISPMT",
"JIS",
"KURT",
"LAMBDA",
"LARGE",
"LCM",
"LEFT",
"LEFTB",
"LEN",
"LENB",
"LET",
"LINEST",
"LN",
"LOG",
"LOG10",
"LOGEST",
"LOGINV",
"LOGNORM.DIST",
"LOGNORMDIST",
"LOGNORM.INV",
"LOOKUP",
"LOWER",
"MAKEARRAY",
"MAP",
"MATCH",
"MAX",
"MAXA",
"MAXIFS",
"MDETERM",
"MDURATION",
"MEDIAN",
"MID",
"MIDB",
"MIN",
"MINIFS",
"MINA",
"MINUTE",
"MINVERSE",
"MIRR",
"MMULT",
"MOD",
"MODE",
"MODE.MULT",
"MODE.SNGL",
"MONTH",
"MROUND",
"MULTINOMIAL",
"MUNIT",
"N",
"NA",
"NEGBINOM.DIST",
"NEGBINOMDIST",
"NETWORKDAYS",
"NETWORKDAYS.INTL",
"NOMINAL",
"NORM.DIST",
"NORMDIST",
"NORMINV",
"NORM.INV",
"NORM.S.DIST",
"NORMSDIST",
"NORM.S.INV",
"NORMSINV",
"NOT",
"NOW",
"NPER",
"NPV",
"NUMBERVALUE",
"OCT2BIN",
"OCT2DEC",
"OCT2HEX",
"ODD",
"ODDFPRICE",
"ODDFYIELD",
"ODDLPRICE",
"ODDLYIELD",
"OFFSET",
"OR",
"PDURATION",
"PEARSON",
"PERCENTILE.EXC",
"PERCENTILE.INC",
"PERCENTILE",
"PERCENTRANK.EXC",
"PERCENTRANK.INC",
"PERCENTRANK",
"PERMUT",
"PERMUTATIONA",
"PHI",
"PHONETIC",
"PI",
"PMT",
"POISSON.DIST",
"POISSON",
"POWER",
"PPMT",
"PRICE",
"PRICEDISC",
"PRICEMAT",
"PROB",
"PRODUCT",
"PROPER",
"PV",
"QUARTILE",
"QUARTILE.EXC",
"QUARTILE.INC",
"QUOTIENT",
"RADIANS",
"RAND",
"RANDARRAY",
"RANDBETWEEN",
"RANK.AVG",
"RANK.EQ",
"RANK",
"RATE",
"RECEIVED",
"REDUCE",
"REGISTER.ID",
"REPLACE",
"REPLACEB",
"REPT",
"RIGHT",
"RIGHTB",
"ROMAN",
"ROUND",
"ROUNDDOWN",
"ROUNDUP",
"ROW",
"ROWS",
"RRI",
"RSQ",
"RTD",
"SCAN",
"SEARCH",
"SEARCHB",
"SEC",
"SECH",
"SECOND",
"SEQUENCE",
"SERIESSUM",
"SHEET",
"SHEETS",
"SIGN",
"SIN",
"SINH",
"SKEW",
"SKEW.P",
"SLN",
"SLOPE",
"SMALL",
"SORT",
"SORTBY",
"SQRT",
"SQRTPI",
"SQL.REQUEST",
"STANDARDIZE",
"STOCKHISTORY",
"STDEV",
"STDEV.P",
"STDEV.S",
"STDEVA",
"STDEVP",
"STDEVPA",
"STEYX",
"SUBSTITUTE",
"SUBTOTAL",
"SUM",
"SUMIF",
"SUMIFS",
"SUMPRODUCT",
"SUMSQ",
"SUMX2MY2",
"SUMX2PY2",
"SUMXMY2",
"SWITCH",
"SYD",
"T",
"TAN",
"TANH",
"TAKE",
"TBILLEQ",
"TBILLPRICE",
"TBILLYIELD",
"T.DIST",
"T.DIST.2T",
"T.DIST.RT",
"TDIST",
"TEXT",
"TEXTAFTER",
"TEXTBEFORE",
"TEXTJOIN",
"TEXTSPLIT",
"TIME",
"TIMEVALUE",
"T.INV",
"T.INV.2T",
"TINV",
"TOCOL",
"TOROW",
"TODAY",
"TRANSPOSE",
"TREND",
"TRIM",
"TRIMMEAN",
"TRUE",
"TRUNC",
"T.TEST",
"TTEST",
"TYPE",
"UNICHAR",
"UNICODE",
"UNIQUE",
"UPPER",
"VALUE",
"VALUETOTEXT",
"VAR",
"VAR.P",
"VAR.S",
"VARA",
"VARP",
"VARPA",
"VDB",
"VLOOKUP",
"VSTACK",
"WEBSERVICE",
"WEEKDAY",
"WEEKNUM",
"WEIBULL",
"WEIBULL.DIST",
"WORKDAY",
"WORKDAY.INTL",
"WRAPCOLS",
"WRAPROWS",
"XIRR",
"XLOOKUP",
"XMATCH",
"XNPV",
"XOR",
"YEAR",
"YEARFRAC",
"YIELD",
"YIELDDISC",
"YIELDMAT",
"Z.TEST",
"ZTEST"
];
return {
name: 'Excel formulae',
aliases: [
'xlsx',
'xls'
],
case_insensitive: true,
keywords: {
$pattern: /[a-zA-Z][\w\.]*/,
built_in: BUILT_INS
},
contains: [
{
/* matches a beginning equal sign found in Excel formula examples */
begin: /^=/,
end: /[^=]/,
returnEnd: true,
illegal: /=/, /* only allow single equal sign at front of line */
relevance: 10
},
/* technically, there can be more than 2 letters in column names, but this prevents conflict with some keywords */
{
/* matches a reference to a single cell */
className: 'symbol',
begin: /\b[A-Z]{1,2}\d+\b/,
end: /[^\d]/,
excludeEnd: true,
relevance: 0
},
{
/* matches a reference to a range of cells */
className: 'symbol',
begin: /[A-Z]{0,2}\d*:[A-Z]{0,2}\d*/,
relevance: 0
},
hljs.BACKSLASH_ESCAPE,
hljs.QUOTE_STRING_MODE,
{
className: 'number',
begin: hljs.NUMBER_RE + '(%)?',
relevance: 0
},
/* Excel formula comments are done by putting the comment in a function call to N() */
hljs.COMMENT(/\bN\(/, /\)/,
{
excludeBegin: true,
excludeEnd: true,
illegal: /\n/
})
]
};
}
return excel;
})();
hljs.registerLanguage('excel', hljsGrammar);
})();/*! `fix` grammar compiled for Highlight.js 11.11.1 */
(function(){
var hljsGrammar = (function () {
'use strict';
/*
Language: FIX
Author: Brent Bradbury
*/
/** @type LanguageFn */
function fix(hljs) {
return {
name: 'FIX',
contains: [
{
begin: /[^\u2401\u0001]+/,
end: /[\u2401\u0001]/,
excludeEnd: true,
returnBegin: true,
returnEnd: false,
contains: [
{
begin: /([^\u2401\u0001=]+)/,
end: /=([^\u2401\u0001=]+)/,
returnEnd: true,
returnBegin: false,
className: 'attr'
},
{
begin: /=/,
end: /([\u2401\u0001])/,
excludeEnd: true,
excludeBegin: true,
className: 'string'
}
]
}
],
case_insensitive: true
};
}
return fix;
})();
hljs.registerLanguage('fix', hljsGrammar);
})();/*! `flix` grammar compiled for Highlight.js 11.11.1 */
(function(){
var hljsGrammar = (function () {
'use strict';
/*
Language: Flix
Category: functional
Author: Magnus Madsen
Website: https://flix.dev/
*/
/** @type LanguageFn */
function flix(hljs) {
const CHAR = {
className: 'string',
begin: /'(.|\\[xXuU][a-zA-Z0-9]+)'/
};
const STRING = {
className: 'string',
variants: [
{
begin: '"',
end: '"'
}
]
};
const NAME = {
className: 'title',
relevance: 0,
begin: /[^0-9\n\t "'(),.`{}\[\]:;][^\n\t "'(),.`{}\[\]:;]+|[^0-9\n\t "'(),.`{}\[\]:;=]/
};
const METHOD = {
className: 'function',
beginKeywords: 'def',
end: /[:={\[(\n;]/,
excludeEnd: true,
contains: [ NAME ]
};
return {
name: 'Flix',
keywords: {
keyword: [
"case",
"class",
"def",
"else",
"enum",
"if",
"impl",
"import",
"in",
"lat",
"rel",
"index",
"let",
"match",
"namespace",
"switch",
"type",
"yield",
"with"
],
literal: [
"true",
"false"
]
},
contains: [
hljs.C_LINE_COMMENT_MODE,
hljs.C_BLOCK_COMMENT_MODE,
CHAR,
STRING,
METHOD,
hljs.C_NUMBER_MODE
]
};
}
return flix;
})();
hljs.registerLanguage('flix', hljsGrammar);
})();/*! `fortran` grammar compiled for Highlight.js 11.11.1 */
(function(){
var hljsGrammar = (function () {
'use strict';
/*
Language: Fortran
Author: Anthony Scemama
Website: https://en.wikipedia.org/wiki/Fortran
Category: scientific
*/
/** @type LanguageFn */
function fortran(hljs) {
const regex = hljs.regex;
const PARAMS = {
className: 'params',
begin: '\\(',
end: '\\)'
};
const COMMENT = { variants: [
hljs.COMMENT('!', '$', { relevance: 0 }),
// allow FORTRAN 77 style comments
hljs.COMMENT('^C[ ]', '$', { relevance: 0 }),
hljs.COMMENT('^C$', '$', { relevance: 0 })
] };
// regex in both fortran and irpf90 should match
const OPTIONAL_NUMBER_SUFFIX = /(_[a-z_\d]+)?/;
const OPTIONAL_NUMBER_EXP = /([de][+-]?\d+)?/;
const NUMBER = {
className: 'number',
variants: [
{ begin: regex.concat(/\b\d+/, /\.(\d*)/, OPTIONAL_NUMBER_EXP, OPTIONAL_NUMBER_SUFFIX) },
{ begin: regex.concat(/\b\d+/, OPTIONAL_NUMBER_EXP, OPTIONAL_NUMBER_SUFFIX) },
{ begin: regex.concat(/\.\d+/, OPTIONAL_NUMBER_EXP, OPTIONAL_NUMBER_SUFFIX) }
],
relevance: 0
};
const FUNCTION_DEF = {
className: 'function',
beginKeywords: 'subroutine function program',
illegal: '[${=\\n]',
contains: [
hljs.UNDERSCORE_TITLE_MODE,
PARAMS
]
};
const STRING = {
className: 'string',
relevance: 0,
variants: [
hljs.APOS_STRING_MODE,
hljs.QUOTE_STRING_MODE
]
};
const KEYWORDS = [
"kind",
"do",
"concurrent",
"local",
"shared",
"while",
"private",
"call",
"intrinsic",
"where",
"elsewhere",
"type",
"endtype",
"endmodule",
"endselect",
"endinterface",
"end",
"enddo",
"endif",
"if",
"forall",
"endforall",
"only",
"contains",
"default",
"return",
"stop",
"then",
"block",
"endblock",
"endassociate",
"public",
"subroutine|10",
"function",
"program",
".and.",
".or.",
".not.",
".le.",
".eq.",
".ge.",
".gt.",
".lt.",
"goto",
"save",
"else",
"use",
"module",
"select",
"case",
"access",
"blank",
"direct",
"exist",
"file",
"fmt",
"form",
"formatted",
"iostat",
"name",
"named",
"nextrec",
"number",
"opened",
"rec",
"recl",
"sequential",
"status",
"unformatted",
"unit",
"continue",
"format",
"pause",
"cycle",
"exit",
"c_null_char",
"c_alert",
"c_backspace",
"c_form_feed",
"flush",
"wait",
"decimal",
"round",
"iomsg",
"synchronous",
"nopass",
"non_overridable",
"pass",
"protected",
"volatile",
"abstract",
"extends",
"import",
"non_intrinsic",
"value",
"deferred",
"generic",
"final",
"enumerator",
"class",
"associate",
"bind",
"enum",
"c_int",
"c_short",
"c_long",
"c_long_long",
"c_signed_char",
"c_size_t",
"c_int8_t",
"c_int16_t",
"c_int32_t",
"c_int64_t",
"c_int_least8_t",
"c_int_least16_t",
"c_int_least32_t",
"c_int_least64_t",
"c_int_fast8_t",
"c_int_fast16_t",
"c_int_fast32_t",
"c_int_fast64_t",
"c_intmax_t",
"C_intptr_t",
"c_float",
"c_double",
"c_long_double",
"c_float_complex",
"c_double_complex",
"c_long_double_complex",
"c_bool",
"c_char",
"c_null_ptr",
"c_null_funptr",
"c_new_line",
"c_carriage_return",
"c_horizontal_tab",
"c_vertical_tab",
"iso_c_binding",
"c_loc",
"c_funloc",
"c_associated",
"c_f_pointer",
"c_ptr",
"c_funptr",
"iso_fortran_env",
"character_storage_size",
"error_unit",
"file_storage_size",
"input_unit",
"iostat_end",
"iostat_eor",
"numeric_storage_size",
"output_unit",
"c_f_procpointer",
"ieee_arithmetic",
"ieee_support_underflow_control",
"ieee_get_underflow_mode",
"ieee_set_underflow_mode",
"newunit",
"contiguous",
"recursive",
"pad",
"position",
"action",
"delim",
"readwrite",
"eor",
"advance",
"nml",
"interface",
"procedure",
"namelist",
"include",
"sequence",
"elemental",
"pure",
"impure",
"integer",
"real",
"character",
"complex",
"logical",
"codimension",
"dimension",
"allocatable|10",
"parameter",
"external",
"implicit|10",
"none",
"double",
"precision",
"assign",
"intent",
"optional",
"pointer",
"target",
"in",
"out",
"common",
"equivalence",
"data"
];
const LITERALS = [
".False.",
".True."
];
const BUILT_INS = [
"alog",
"alog10",
"amax0",
"amax1",
"amin0",
"amin1",
"amod",
"cabs",
"ccos",
"cexp",
"clog",
"csin",
"csqrt",
"dabs",
"dacos",
"dasin",
"datan",
"datan2",
"dcos",
"dcosh",
"ddim",
"dexp",
"dint",
"dlog",
"dlog10",
"dmax1",
"dmin1",
"dmod",
"dnint",
"dsign",
"dsin",
"dsinh",
"dsqrt",
"dtan",
"dtanh",
"float",
"iabs",
"idim",
"idint",
"idnint",
"ifix",
"isign",
"max0",
"max1",
"min0",
"min1",
"sngl",
"algama",
"cdabs",
"cdcos",
"cdexp",
"cdlog",
"cdsin",
"cdsqrt",
"cqabs",
"cqcos",
"cqexp",
"cqlog",
"cqsin",
"cqsqrt",
"dcmplx",
"dconjg",
"derf",
"derfc",
"dfloat",
"dgamma",
"dimag",
"dlgama",
"iqint",
"qabs",
"qacos",
"qasin",
"qatan",
"qatan2",
"qcmplx",
"qconjg",
"qcos",
"qcosh",
"qdim",
"qerf",
"qerfc",
"qexp",
"qgamma",
"qimag",
"qlgama",
"qlog",
"qlog10",
"qmax1",
"qmin1",
"qmod",
"qnint",
"qsign",
"qsin",
"qsinh",
"qsqrt",
"qtan",
"qtanh",
"abs",
"acos",
"aimag",
"aint",
"anint",
"asin",
"atan",
"atan2",
"char",
"cmplx",
"conjg",
"cos",
"cosh",
"exp",
"ichar",
"index",
"int",
"log",
"log10",
"max",
"min",
"nint",
"sign",
"sin",
"sinh",
"sqrt",
"tan",
"tanh",
"print",
"write",
"dim",
"lge",
"lgt",
"lle",
"llt",
"mod",
"nullify",
"allocate",
"deallocate",
"adjustl",
"adjustr",
"all",
"allocated",
"any",
"associated",
"bit_size",
"btest",
"ceiling",
"count",
"cshift",
"date_and_time",
"digits",
"dot_product",
"eoshift",
"epsilon",
"exponent",
"floor",
"fraction",
"huge",
"iand",
"ibclr",
"ibits",
"ibset",
"ieor",
"ior",
"ishft",
"ishftc",
"lbound",
"len_trim",
"matmul",
"maxexponent",
"maxloc",
"maxval",
"merge",
"minexponent",
"minloc",
"minval",
"modulo",
"mvbits",
"nearest",
"pack",
"present",
"product",
"radix",
"random_number",
"random_seed",
"range",
"repeat",
"reshape",
"rrspacing",
"scale",
"scan",
"selected_int_kind",
"selected_real_kind",
"set_exponent",
"shape",
"size",
"spacing",
"spread",
"sum",
"system_clock",
"tiny",
"transpose",
"trim",
"ubound",
"unpack",
"verify",
"achar",
"iachar",
"transfer",
"dble",
"entry",
"dprod",
"cpu_time",
"command_argument_count",
"get_command",
"get_command_argument",
"get_environment_variable",
"is_iostat_end",
"ieee_arithmetic",
"ieee_support_underflow_control",
"ieee_get_underflow_mode",
"ieee_set_underflow_mode",
"is_iostat_eor",
"move_alloc",
"new_line",
"selected_char_kind",
"same_type_as",
"extends_type_of",
"acosh",
"asinh",
"atanh",
"bessel_j0",
"bessel_j1",
"bessel_jn",
"bessel_y0",
"bessel_y1",
"bessel_yn",
"erf",
"erfc",
"erfc_scaled",
"gamma",
"log_gamma",
"hypot",
"norm2",
"atomic_define",
"atomic_ref",
"execute_command_line",
"leadz",
"trailz",
"storage_size",
"merge_bits",
"bge",
"bgt",
"ble",
"blt",
"dshiftl",
"dshiftr",
"findloc",
"iall",
"iany",
"iparity",
"image_index",
"lcobound",
"ucobound",
"maskl",
"maskr",
"num_images",
"parity",
"popcnt",
"poppar",
"shifta",
"shiftl",
"shiftr",
"this_image",
"sync",
"change",
"team",
"co_broadcast",
"co_max",
"co_min",
"co_sum",
"co_reduce"
];
return {
name: 'Fortran',
case_insensitive: true,
aliases: [
'f90',
'f95'
],
keywords: {
$pattern: /\b[a-z][a-z0-9_]+\b|\.[a-z][a-z0-9_]+\./,
keyword: KEYWORDS,
literal: LITERALS,
built_in: BUILT_INS
},
illegal: /\/\*/,
contains: [
STRING,
FUNCTION_DEF,
// allow `C = value` for assignments so they aren't misdetected
// as Fortran 77 style comments
{
begin: /^C\s*=(?!=)/,
relevance: 0
},
COMMENT,
NUMBER
]
};
}
return fortran;
})();
hljs.registerLanguage('fortran', hljsGrammar);
})();/*! `fsharp` grammar compiled for Highlight.js 11.11.1 */
(function(){
var hljsGrammar = (function () {
'use strict';
/**
* @param {string} value
* @returns {RegExp}
* */
function escape(value) {
return new RegExp(value.replace(/[-/\\^$*+?.()|[\]{}]/g, '\\$&'), 'm');
}
/**
* @param {RegExp | string } re
* @returns {string}
*/
function source(re) {
if (!re) return null;
if (typeof re === "string") return re;
return re.source;
}
/**
* @param {RegExp | string } re
* @returns {string}
*/
function lookahead(re) {
return concat('(?=', re, ')');
}
/**
* @param {...(RegExp | string) } args
* @returns {string}
*/
function concat(...args) {
const joined = args.map((x) => source(x)).join("");
return joined;
}
/**
* @param { Array } args
* @returns {object}
*/
function stripOptionsFromArgs(args) {
const opts = args[args.length - 1];
if (typeof opts === 'object' && opts.constructor === Object) {
args.splice(args.length - 1, 1);
return opts;
} else {
return {};
}
}
/** @typedef { {capture?: boolean} } RegexEitherOptions */
/**
* Any of the passed expresssions may match
*
* Creates a huge this | this | that | that match
* @param {(RegExp | string)[] | [...(RegExp | string)[], RegexEitherOptions]} args
* @returns {string}
*/
function either(...args) {
/** @type { object & {capture?: boolean} } */
const opts = stripOptionsFromArgs(args);
const joined = '('
+ (opts.capture ? "" : "?:")
+ args.map((x) => source(x)).join("|") + ")";
return joined;
}
/*
Language: F#
Author: Jonas Follesø
Contributors: Troy Kershaw , Henrik Feldt , Melvyn Laïly
Website: https://docs.microsoft.com/en-us/dotnet/fsharp/
Category: functional
*/
/** @type LanguageFn */
function fsharp(hljs) {
const KEYWORDS = [
"abstract",
"and",
"as",
"assert",
"base",
"begin",
"class",
"default",
"delegate",
"do",
"done",
"downcast",
"downto",
"elif",
"else",
"end",
"exception",
"extern",
// "false", // literal
"finally",
"fixed",
"for",
"fun",
"function",
"global",
"if",
"in",
"inherit",
"inline",
"interface",
"internal",
"lazy",
"let",
"match",
"member",
"module",
"mutable",
"namespace",
"new",
// "not", // built_in
// "null", // literal
"of",
"open",
"or",
"override",
"private",
"public",
"rec",
"return",
"static",
"struct",
"then",
"to",
// "true", // literal
"try",
"type",
"upcast",
"use",
"val",
"void",
"when",
"while",
"with",
"yield"
];
const BANG_KEYWORD_MODE = {
// monad builder keywords (matches before non-bang keywords)
scope: 'keyword',
match: /\b(yield|return|let|do|match|use)!/
};
const PREPROCESSOR_KEYWORDS = [
"if",
"else",
"endif",
"line",
"nowarn",
"light",
"r",
"i",
"I",
"load",
"time",
"help",
"quit"
];
const LITERALS = [
"true",
"false",
"null",
"Some",
"None",
"Ok",
"Error",
"infinity",
"infinityf",
"nan",
"nanf"
];
const SPECIAL_IDENTIFIERS = [
"__LINE__",
"__SOURCE_DIRECTORY__",
"__SOURCE_FILE__"
];
// Since it's possible to re-bind/shadow names (e.g. let char = 'c'),
// these builtin types should only be matched when a type name is expected.
const KNOWN_TYPES = [
// basic types
"bool",
"byte",
"sbyte",
"int8",
"int16",
"int32",
"uint8",
"uint16",
"uint32",
"int",
"uint",
"int64",
"uint64",
"nativeint",
"unativeint",
"decimal",
"float",
"double",
"float32",
"single",
"char",
"string",
"unit",
"bigint",
// other native types or lowercase aliases
"option",
"voption",
"list",
"array",
"seq",
"byref",
"exn",
"inref",
"nativeptr",
"obj",
"outref",
"voidptr",
// other important FSharp types
"Result"
];
const BUILTINS = [
// Somewhat arbitrary list of builtin functions and values.
// Most of them are declared in Microsoft.FSharp.Core
// I tried to stay relevant by adding only the most idiomatic
// and most used symbols that are not already declared as types.
"not",
"ref",
"raise",
"reraise",
"dict",
"readOnlyDict",
"set",
"get",
"enum",
"sizeof",
"typeof",
"typedefof",
"nameof",
"nullArg",
"invalidArg",
"invalidOp",
"id",
"fst",
"snd",
"ignore",
"lock",
"using",
"box",
"unbox",
"tryUnbox",
"printf",
"printfn",
"sprintf",
"eprintf",
"eprintfn",
"fprintf",
"fprintfn",
"failwith",
"failwithf"
];
const ALL_KEYWORDS = {
keyword: KEYWORDS,
literal: LITERALS,
built_in: BUILTINS,
'variable.constant': SPECIAL_IDENTIFIERS
};
// (* potentially multi-line Meta Language style comment *)
const ML_COMMENT =
hljs.COMMENT(/\(\*(?!\))/, /\*\)/, {
contains: ["self"]
});
// Either a multi-line (* Meta Language style comment *) or a single line // C style comment.
const COMMENT = {
variants: [
ML_COMMENT,
hljs.C_LINE_COMMENT_MODE,
]
};
// Most identifiers can contain apostrophes
const IDENTIFIER_RE = /[a-zA-Z_](\w|')*/;
const QUOTED_IDENTIFIER = {
scope: 'variable',
begin: /``/,
end: /``/
};
// 'a or ^a where a can be a ``quoted identifier``
const BEGIN_GENERIC_TYPE_SYMBOL_RE = /\B('|\^)/;
const GENERIC_TYPE_SYMBOL = {
scope: 'symbol',
variants: [
// the type name is a quoted identifier:
{ match: concat(BEGIN_GENERIC_TYPE_SYMBOL_RE, /``.*?``/) },
// the type name is a normal identifier (we don't use IDENTIFIER_RE because there cannot be another apostrophe here):
{ match: concat(BEGIN_GENERIC_TYPE_SYMBOL_RE, hljs.UNDERSCORE_IDENT_RE) }
],
relevance: 0
};
const makeOperatorMode = function({ includeEqual }) {
// List or symbolic operator characters from the FSharp Spec 4.1, minus the dot, and with `?` added, used for nullable operators.
let allOperatorChars;
if (includeEqual)
allOperatorChars = "!%&*+-/<=>@^|~?";
else
allOperatorChars = "!%&*+-/<>@^|~?";
const OPERATOR_CHARS = Array.from(allOperatorChars);
const OPERATOR_CHAR_RE = concat('[', ...OPERATOR_CHARS.map(escape), ']');
// The lone dot operator is special. It cannot be redefined, and we don't want to highlight it. It can be used as part of a multi-chars operator though.
const OPERATOR_CHAR_OR_DOT_RE = either(OPERATOR_CHAR_RE, /\./);
// When a dot is present, it must be followed by another operator char:
const OPERATOR_FIRST_CHAR_OF_MULTIPLE_RE = concat(OPERATOR_CHAR_OR_DOT_RE, lookahead(OPERATOR_CHAR_OR_DOT_RE));
const SYMBOLIC_OPERATOR_RE = either(
concat(OPERATOR_FIRST_CHAR_OF_MULTIPLE_RE, OPERATOR_CHAR_OR_DOT_RE, '*'), // Matches at least 2 chars operators
concat(OPERATOR_CHAR_RE, '+'), // Matches at least one char operators
);
return {
scope: 'operator',
match: either(
// symbolic operators:
SYMBOLIC_OPERATOR_RE,
// other symbolic keywords:
// Type casting and conversion operators:
/:\?>/,
/:\?/,
/:>/,
/:=/, // Reference cell assignment
/::?/, // : or ::
/\$/), // A single $ can be used as an operator
relevance: 0
};
};
const OPERATOR = makeOperatorMode({ includeEqual: true });
// This variant is used when matching '=' should end a parent mode:
const OPERATOR_WITHOUT_EQUAL = makeOperatorMode({ includeEqual: false });
const makeTypeAnnotationMode = function(prefix, prefixScope) {
return {
begin: concat( // a type annotation is a
prefix, // should be a colon or the 'of' keyword
lookahead( // that has to be followed by
concat(
/\s*/, // optional space
either( // then either of:
/\w/, // word
/'/, // generic type name
/\^/, // generic type name
/#/, // flexible type name
/``/, // quoted type name
/\(/, // parens type expression
/{\|/, // anonymous type annotation
)))),
beginScope: prefixScope,
// BUG: because ending with \n is necessary for some cases, multi-line type annotations are not properly supported.
// Examples where \n is required at the end:
// - abstract member definitions in classes: abstract Property : int * string
// - return type annotations: let f f' = f' () : returnTypeAnnotation
// - record fields definitions: { A : int \n B : string }
end: lookahead(
either(
/\n/,
/=/)),
relevance: 0,
// we need the known types, and we need the type constraint keywords and literals. e.g.: when 'a : null
keywords: hljs.inherit(ALL_KEYWORDS, { type: KNOWN_TYPES }),
contains: [
COMMENT,
GENERIC_TYPE_SYMBOL,
hljs.inherit(QUOTED_IDENTIFIER, { scope: null }), // match to avoid strange patterns inside that may break the parsing
OPERATOR_WITHOUT_EQUAL
]
};
};
const TYPE_ANNOTATION = makeTypeAnnotationMode(/:/, 'operator');
const DISCRIMINATED_UNION_TYPE_ANNOTATION = makeTypeAnnotationMode(/\bof\b/, 'keyword');
// type MyType<'a> = ...
const TYPE_DECLARATION = {
begin: [
/(^|\s+)/, // prevents matching the following: `match s.stype with`
/type/,
/\s+/,
IDENTIFIER_RE
],
beginScope: {
2: 'keyword',
4: 'title.class'
},
end: lookahead(/\(|=|$/),
keywords: ALL_KEYWORDS, // match keywords in type constraints. e.g.: when 'a : null
contains: [
COMMENT,
hljs.inherit(QUOTED_IDENTIFIER, { scope: null }), // match to avoid strange patterns inside that may break the parsing
GENERIC_TYPE_SYMBOL,
{
// For visual consistency, highlight type brackets as operators.
scope: 'operator',
match: /<|>/
},
TYPE_ANNOTATION // generic types can have constraints, which are type annotations. e.g. type MyType<'T when 'T : delegate> =
]
};
const COMPUTATION_EXPRESSION = {
// computation expressions:
scope: 'computation-expression',
// BUG: might conflict with record deconstruction. e.g. let f { Name = name } = name // will highlight f
match: /\b[_a-z]\w*(?=\s*\{)/
};
const PREPROCESSOR = {
// preprocessor directives and fsi commands:
begin: [
/^\s*/,
concat(/#/, either(...PREPROCESSOR_KEYWORDS)),
/\b/
],
beginScope: { 2: 'meta' },
end: lookahead(/\s|$/)
};
// TODO: this definition is missing support for type suffixes and octal notation.
// BUG: range operator without any space is wrongly interpreted as a single number (e.g. 1..10 )
const NUMBER = {
variants: [
hljs.BINARY_NUMBER_MODE,
hljs.C_NUMBER_MODE
]
};
// All the following string definitions are potentially multi-line.
// BUG: these definitions are missing support for byte strings (suffixed with B)
// "..."
const QUOTED_STRING = {
scope: 'string',
begin: /"/,
end: /"/,
contains: [
hljs.BACKSLASH_ESCAPE
]
};
// @"..."
const VERBATIM_STRING = {
scope: 'string',
begin: /@"/,
end: /"/,
contains: [
{
match: /""/ // escaped "
},
hljs.BACKSLASH_ESCAPE
]
};
// """..."""
const TRIPLE_QUOTED_STRING = {
scope: 'string',
begin: /"""/,
end: /"""/,
relevance: 2
};
const SUBST = {
scope: 'subst',
begin: /\{/,
end: /\}/,
keywords: ALL_KEYWORDS
};
// $"...{1+1}..."
const INTERPOLATED_STRING = {
scope: 'string',
begin: /\$"/,
end: /"/,
contains: [
{
match: /\{\{/ // escaped {
},
{
match: /\}\}/ // escaped }
},
hljs.BACKSLASH_ESCAPE,
SUBST
]
};
// $@"...{1+1}..."
const INTERPOLATED_VERBATIM_STRING = {
scope: 'string',
begin: /(\$@|@\$)"/,
end: /"/,
contains: [
{
match: /\{\{/ // escaped {
},
{
match: /\}\}/ // escaped }
},
{
match: /""/
},
hljs.BACKSLASH_ESCAPE,
SUBST
]
};
// $"""...{1+1}..."""
const INTERPOLATED_TRIPLE_QUOTED_STRING = {
scope: 'string',
begin: /\$"""/,
end: /"""/,
contains: [
{
match: /\{\{/ // escaped {
},
{
match: /\}\}/ // escaped }
},
SUBST
],
relevance: 2
};
// '.'
const CHAR_LITERAL = {
scope: 'string',
match: concat(
/'/,
either(
/[^\\']/, // either a single non escaped char...
/\\(?:.|\d{3}|x[a-fA-F\d]{2}|u[a-fA-F\d]{4}|U[a-fA-F\d]{8})/ // ...or an escape sequence
),
/'/
)
};
// F# allows a lot of things inside string placeholders.
// Things that don't currently seem allowed by the compiler: types definition, attributes usage.
// (Strictly speaking, some of the followings are only allowed inside triple quoted interpolated strings...)
SUBST.contains = [
INTERPOLATED_VERBATIM_STRING,
INTERPOLATED_STRING,
VERBATIM_STRING,
QUOTED_STRING,
CHAR_LITERAL,
BANG_KEYWORD_MODE,
COMMENT,
QUOTED_IDENTIFIER,
TYPE_ANNOTATION,
COMPUTATION_EXPRESSION,
PREPROCESSOR,
NUMBER,
GENERIC_TYPE_SYMBOL,
OPERATOR
];
const STRING = {
variants: [
INTERPOLATED_TRIPLE_QUOTED_STRING,
INTERPOLATED_VERBATIM_STRING,
INTERPOLATED_STRING,
TRIPLE_QUOTED_STRING,
VERBATIM_STRING,
QUOTED_STRING,
CHAR_LITERAL
]
};
return {
name: 'F#',
aliases: [
'fs',
'f#'
],
keywords: ALL_KEYWORDS,
illegal: /\/\*/,
classNameAliases: {
'computation-expression': 'keyword'
},
contains: [
BANG_KEYWORD_MODE,
STRING,
COMMENT,
QUOTED_IDENTIFIER,
TYPE_DECLARATION,
{
// e.g. [] or [<``module``: MyCustomAttributeThatWorksOnModules>]
// or []
scope: 'meta',
begin: /\[,
end: />\]/,
relevance: 2,
contains: [
QUOTED_IDENTIFIER,
// can contain any constant value
TRIPLE_QUOTED_STRING,
VERBATIM_STRING,
QUOTED_STRING,
CHAR_LITERAL,
NUMBER
]
},
DISCRIMINATED_UNION_TYPE_ANNOTATION,
TYPE_ANNOTATION,
COMPUTATION_EXPRESSION,
PREPROCESSOR,
NUMBER,
GENERIC_TYPE_SYMBOL,
OPERATOR
]
};
}
return fsharp;
})();
hljs.registerLanguage('fsharp', hljsGrammar);
})();/*! `gams` grammar compiled for Highlight.js 11.11.1 */
(function(){
var hljsGrammar = (function () {
'use strict';
/*
Language: GAMS
Author: Stefan Bechert
Contributors: Oleg Efimov , Mikko Kouhia
Description: The General Algebraic Modeling System language
Website: https://www.gams.com
Category: scientific
*/
/** @type LanguageFn */
function gams(hljs) {
const regex = hljs.regex;
const KEYWORDS = {
keyword:
'abort acronym acronyms alias all and assign binary card diag display '
+ 'else eq file files for free ge gt if integer le loop lt maximizing '
+ 'minimizing model models ne negative no not option options or ord '
+ 'positive prod put putpage puttl repeat sameas semicont semiint smax '
+ 'smin solve sos1 sos2 sum system table then until using while xor yes',
literal:
'eps inf na',
built_in:
'abs arccos arcsin arctan arctan2 Beta betaReg binomial ceil centropy '
+ 'cos cosh cvPower div div0 eDist entropy errorf execSeed exp fact '
+ 'floor frac gamma gammaReg log logBeta logGamma log10 log2 mapVal max '
+ 'min mod ncpCM ncpF ncpVUpow ncpVUsin normal pi poly power '
+ 'randBinomial randLinear randTriangle round rPower sigmoid sign '
+ 'signPower sin sinh slexp sllog10 slrec sqexp sqlog10 sqr sqrec sqrt '
+ 'tan tanh trunc uniform uniformInt vcPower bool_and bool_eqv bool_imp '
+ 'bool_not bool_or bool_xor ifThen rel_eq rel_ge rel_gt rel_le rel_lt '
+ 'rel_ne gday gdow ghour gleap gmillisec gminute gmonth gsecond gyear '
+ 'jdate jnow jstart jtime errorLevel execError gamsRelease gamsVersion '
+ 'handleCollect handleDelete handleStatus handleSubmit heapFree '
+ 'heapLimit heapSize jobHandle jobKill jobStatus jobTerminate '
+ 'licenseLevel licenseStatus maxExecError sleep timeClose timeComp '
+ 'timeElapsed timeExec timeStart'
};
const PARAMS = {
className: 'params',
begin: /\(/,
end: /\)/,
excludeBegin: true,
excludeEnd: true
};
const SYMBOLS = {
className: 'symbol',
variants: [
{ begin: /=[lgenxc]=/ },
{ begin: /\$/ }
]
};
const QSTR = { // One-line quoted comment string
className: 'comment',
variants: [
{
begin: '\'',
end: '\''
},
{
begin: '"',
end: '"'
}
],
illegal: '\\n',
contains: [ hljs.BACKSLASH_ESCAPE ]
};
const ASSIGNMENT = {
begin: '/',
end: '/',
keywords: KEYWORDS,
contains: [
QSTR,
hljs.C_LINE_COMMENT_MODE,
hljs.C_BLOCK_COMMENT_MODE,
hljs.QUOTE_STRING_MODE,
hljs.APOS_STRING_MODE,
hljs.C_NUMBER_MODE
]
};
const COMMENT_WORD = /[a-z0-9*=?@\\><:,()$[\]_.{}!+%^-]+/;
const DESCTEXT = { // Parameter/set/variable description text
begin: /[a-z][a-z0-9_]*(\([a-z0-9_, ]*\))?[ \t]+/,
excludeBegin: true,
end: '$',
endsWithParent: true,
contains: [
QSTR,
ASSIGNMENT,
{
className: 'comment',
// one comment word, then possibly more
begin: regex.concat(
COMMENT_WORD,
// [ ] because \s would be too broad (matching newlines)
regex.anyNumberOfTimes(regex.concat(/[ ]+/, COMMENT_WORD))
),
relevance: 0
}
]
};
return {
name: 'GAMS',
aliases: [ 'gms' ],
case_insensitive: true,
keywords: KEYWORDS,
contains: [
hljs.COMMENT(/^\$ontext/, /^\$offtext/),
{
className: 'meta',
begin: '^\\$[a-z0-9]+',
end: '$',
returnBegin: true,
contains: [
{
className: 'keyword',
begin: '^\\$[a-z0-9]+'
}
]
},
hljs.COMMENT('^\\*', '$'),
hljs.C_LINE_COMMENT_MODE,
hljs.C_BLOCK_COMMENT_MODE,
hljs.QUOTE_STRING_MODE,
hljs.APOS_STRING_MODE,
// Declarations
{
beginKeywords:
'set sets parameter parameters variable variables '
+ 'scalar scalars equation equations',
end: ';',
contains: [
hljs.COMMENT('^\\*', '$'),
hljs.C_LINE_COMMENT_MODE,
hljs.C_BLOCK_COMMENT_MODE,
hljs.QUOTE_STRING_MODE,
hljs.APOS_STRING_MODE,
ASSIGNMENT,
DESCTEXT
]
},
{ // table environment
beginKeywords: 'table',
end: ';',
returnBegin: true,
contains: [
{ // table header row
beginKeywords: 'table',
end: '$',
contains: [ DESCTEXT ]
},
hljs.COMMENT('^\\*', '$'),
hljs.C_LINE_COMMENT_MODE,
hljs.C_BLOCK_COMMENT_MODE,
hljs.QUOTE_STRING_MODE,
hljs.APOS_STRING_MODE,
hljs.C_NUMBER_MODE
// Table does not contain DESCTEXT or ASSIGNMENT
]
},
// Function definitions
{
className: 'function',
begin: /^[a-z][a-z0-9_,\-+' ()$]+\.{2}/,
returnBegin: true,
contains: [
{ // Function title
className: 'title',
begin: /^[a-z0-9_]+/
},
PARAMS,
SYMBOLS
]
},
hljs.C_NUMBER_MODE,
SYMBOLS
]
};
}
return gams;
})();
hljs.registerLanguage('gams', hljsGrammar);
})();/*! `gauss` grammar compiled for Highlight.js 11.11.1 */
(function(){
var hljsGrammar = (function () {
'use strict';
/*
Language: GAUSS
Author: Matt Evans
Description: GAUSS Mathematical and Statistical language
Website: https://www.aptech.com
Category: scientific
*/
function gauss(hljs) {
const KEYWORDS = {
keyword: 'bool break call callexe checkinterrupt clear clearg closeall cls comlog compile '
+ 'continue create debug declare delete disable dlibrary dllcall do dos ed edit else '
+ 'elseif enable end endfor endif endp endo errorlog errorlogat expr external fn '
+ 'for format goto gosub graph if keyword let lib library line load loadarray loadexe '
+ 'loadf loadk loadm loadp loads loadx local locate loopnextindex lprint lpwidth lshow '
+ 'matrix msym ndpclex new open output outwidth plot plotsym pop prcsn print '
+ 'printdos proc push retp return rndcon rndmod rndmult rndseed run save saveall screen '
+ 'scroll setarray show sparse stop string struct system trace trap threadfor '
+ 'threadendfor threadbegin threadjoin threadstat threadend until use while winprint '
+ 'ne ge le gt lt and xor or not eq eqv',
built_in: 'abs acf aconcat aeye amax amean AmericanBinomCall AmericanBinomCall_Greeks AmericanBinomCall_ImpVol '
+ 'AmericanBinomPut AmericanBinomPut_Greeks AmericanBinomPut_ImpVol AmericanBSCall AmericanBSCall_Greeks '
+ 'AmericanBSCall_ImpVol AmericanBSPut AmericanBSPut_Greeks AmericanBSPut_ImpVol amin amult annotationGetDefaults '
+ 'annotationSetBkd annotationSetFont annotationSetLineColor annotationSetLineStyle annotationSetLineThickness '
+ 'annualTradingDays arccos arcsin areshape arrayalloc arrayindex arrayinit arraytomat asciiload asclabel astd '
+ 'astds asum atan atan2 atranspose axmargin balance band bandchol bandcholsol bandltsol bandrv bandsolpd bar '
+ 'base10 begwind besselj bessely beta box boxcox cdfBeta cdfBetaInv cdfBinomial cdfBinomialInv cdfBvn cdfBvn2 '
+ 'cdfBvn2e cdfCauchy cdfCauchyInv cdfChic cdfChii cdfChinc cdfChincInv cdfExp cdfExpInv cdfFc cdfFnc cdfFncInv '
+ 'cdfGam cdfGenPareto cdfHyperGeo cdfLaplace cdfLaplaceInv cdfLogistic cdfLogisticInv cdfmControlCreate cdfMvn '
+ 'cdfMvn2e cdfMvnce cdfMvne cdfMvt2e cdfMvtce cdfMvte cdfN cdfN2 cdfNc cdfNegBinomial cdfNegBinomialInv cdfNi '
+ 'cdfPoisson cdfPoissonInv cdfRayleigh cdfRayleighInv cdfTc cdfTci cdfTnc cdfTvn cdfWeibull cdfWeibullInv cdir '
+ 'ceil ChangeDir chdir chiBarSquare chol choldn cholsol cholup chrs close code cols colsf combinate combinated '
+ 'complex con cond conj cons ConScore contour conv convertsatostr convertstrtosa corrm corrms corrvc corrx corrxs '
+ 'cos cosh counts countwts crossprd crout croutp csrcol csrlin csvReadM csvReadSA cumprodc cumsumc curve cvtos '
+ 'datacreate datacreatecomplex datalist dataload dataloop dataopen datasave date datestr datestring datestrymd '
+ 'dayinyr dayofweek dbAddDatabase dbClose dbCommit dbCreateQuery dbExecQuery dbGetConnectOptions dbGetDatabaseName '
+ 'dbGetDriverName dbGetDrivers dbGetHostName dbGetLastErrorNum dbGetLastErrorText dbGetNumericalPrecPolicy '
+ 'dbGetPassword dbGetPort dbGetTableHeaders dbGetTables dbGetUserName dbHasFeature dbIsDriverAvailable dbIsOpen '
+ 'dbIsOpenError dbOpen dbQueryBindValue dbQueryClear dbQueryCols dbQueryExecPrepared dbQueryFetchAllM dbQueryFetchAllSA '
+ 'dbQueryFetchOneM dbQueryFetchOneSA dbQueryFinish dbQueryGetBoundValue dbQueryGetBoundValues dbQueryGetField '
+ 'dbQueryGetLastErrorNum dbQueryGetLastErrorText dbQueryGetLastInsertID dbQueryGetLastQuery dbQueryGetPosition '
+ 'dbQueryIsActive dbQueryIsForwardOnly dbQueryIsNull dbQueryIsSelect dbQueryIsValid dbQueryPrepare dbQueryRows '
+ 'dbQuerySeek dbQuerySeekFirst dbQuerySeekLast dbQuerySeekNext dbQuerySeekPrevious dbQuerySetForwardOnly '
+ 'dbRemoveDatabase dbRollback dbSetConnectOptions dbSetDatabaseName dbSetHostName dbSetNumericalPrecPolicy '
+ 'dbSetPort dbSetUserName dbTransaction DeleteFile delif delrows denseToSp denseToSpRE denToZero design det detl '
+ 'dfft dffti diag diagrv digamma doswin DOSWinCloseall DOSWinOpen dotfeq dotfeqmt dotfge dotfgemt dotfgt dotfgtmt '
+ 'dotfle dotflemt dotflt dotfltmt dotfne dotfnemt draw drop dsCreate dstat dstatmt dstatmtControlCreate dtdate dtday '
+ 'dttime dttodtv dttostr dttoutc dtvnormal dtvtodt dtvtoutc dummy dummybr dummydn eig eigh eighv eigv elapsedTradingDays '
+ 'endwind envget eof eqSolve eqSolvemt eqSolvemtControlCreate eqSolvemtOutCreate eqSolveset erf erfc erfccplx erfcplx error '
+ 'etdays ethsec etstr EuropeanBinomCall EuropeanBinomCall_Greeks EuropeanBinomCall_ImpVol EuropeanBinomPut '
+ 'EuropeanBinomPut_Greeks EuropeanBinomPut_ImpVol EuropeanBSCall EuropeanBSCall_Greeks EuropeanBSCall_ImpVol '
+ 'EuropeanBSPut EuropeanBSPut_Greeks EuropeanBSPut_ImpVol exctsmpl exec execbg exp extern eye fcheckerr fclearerr feq '
+ 'feqmt fflush fft ffti fftm fftmi fftn fge fgemt fgets fgetsa fgetsat fgetst fgt fgtmt fileinfo filesa fle flemt '
+ 'floor flt fltmt fmod fne fnemt fonts fopen formatcv formatnv fputs fputst fseek fstrerror ftell ftocv ftos ftostrC '
+ 'gamma gammacplx gammaii gausset gdaAppend gdaCreate gdaDStat gdaDStatMat gdaGetIndex gdaGetName gdaGetNames gdaGetOrders '
+ 'gdaGetType gdaGetTypes gdaGetVarInfo gdaIsCplx gdaLoad gdaPack gdaRead gdaReadByIndex gdaReadSome gdaReadSparse '
+ 'gdaReadStruct gdaReportVarInfo gdaSave gdaUpdate gdaUpdateAndPack gdaVars gdaWrite gdaWrite32 gdaWriteSome getarray '
+ 'getdims getf getGAUSShome getmatrix getmatrix4D getname getnamef getNextTradingDay getNextWeekDay getnr getorders '
+ 'getpath getPreviousTradingDay getPreviousWeekDay getRow getscalar3D getscalar4D getTrRow getwind glm gradcplx gradMT '
+ 'gradMTm gradMTT gradMTTm gradp graphprt graphset hasimag header headermt hess hessMT hessMTg hessMTgw hessMTm '
+ 'hessMTmw hessMTT hessMTTg hessMTTgw hessMTTm hessMTw hessp hist histf histp hsec imag indcv indexcat indices indices2 '
+ 'indicesf indicesfn indnv indsav integrate1d integrateControlCreate intgrat2 intgrat3 inthp1 inthp2 inthp3 inthp4 '
+ 'inthpControlCreate intquad1 intquad2 intquad3 intrleav intrleavsa intrsect intsimp inv invpd invswp iscplx iscplxf '
+ 'isden isinfnanmiss ismiss key keyav keyw lag lag1 lagn lapEighb lapEighi lapEighvb lapEighvi lapgEig lapgEigh lapgEighv '
+ 'lapgEigv lapgSchur lapgSvdcst lapgSvds lapgSvdst lapSvdcusv lapSvds lapSvdusv ldlp ldlsol linSolve listwise ln lncdfbvn '
+ 'lncdfbvn2 lncdfmvn lncdfn lncdfn2 lncdfnc lnfact lngammacplx lnpdfmvn lnpdfmvt lnpdfn lnpdft loadd loadstruct loadwind '
+ 'loess loessmt loessmtControlCreate log loglog logx logy lower lowmat lowmat1 ltrisol lu lusol machEpsilon make makevars '
+ 'makewind margin matalloc matinit mattoarray maxbytes maxc maxindc maxv maxvec mbesselei mbesselei0 mbesselei1 mbesseli '
+ 'mbesseli0 mbesseli1 meanc median mergeby mergevar minc minindc minv miss missex missrv moment momentd movingave '
+ 'movingaveExpwgt movingaveWgt nextindex nextn nextnevn nextwind ntos null null1 numCombinations ols olsmt olsmtControlCreate '
+ 'olsqr olsqr2 olsqrmt ones optn optnevn orth outtyp pacf packedToSp packr parse pause pdfCauchy pdfChi pdfExp pdfGenPareto '
+ 'pdfHyperGeo pdfLaplace pdfLogistic pdfn pdfPoisson pdfRayleigh pdfWeibull pi pinv pinvmt plotAddArrow plotAddBar plotAddBox '
+ 'plotAddHist plotAddHistF plotAddHistP plotAddPolar plotAddScatter plotAddShape plotAddTextbox plotAddTS plotAddXY plotArea '
+ 'plotBar plotBox plotClearLayout plotContour plotCustomLayout plotGetDefaults plotHist plotHistF plotHistP plotLayout '
+ 'plotLogLog plotLogX plotLogY plotOpenWindow plotPolar plotSave plotScatter plotSetAxesPen plotSetBar plotSetBarFill '
+ 'plotSetBarStacked plotSetBkdColor plotSetFill plotSetGrid plotSetLegend plotSetLineColor plotSetLineStyle plotSetLineSymbol '
+ 'plotSetLineThickness plotSetNewWindow plotSetTitle plotSetWhichYAxis plotSetXAxisShow plotSetXLabel plotSetXRange '
+ 'plotSetXTicInterval plotSetXTicLabel plotSetYAxisShow plotSetYLabel plotSetYRange plotSetZAxisShow plotSetZLabel '
+ 'plotSurface plotTS plotXY polar polychar polyeval polygamma polyint polymake polymat polymroot polymult polyroot '
+ 'pqgwin previousindex princomp printfm printfmt prodc psi putarray putf putvals pvCreate pvGetIndex pvGetParNames '
+ 'pvGetParVector pvLength pvList pvPack pvPacki pvPackm pvPackmi pvPacks pvPacksi pvPacksm pvPacksmi pvPutParVector '
+ 'pvTest pvUnpack QNewton QNewtonmt QNewtonmtControlCreate QNewtonmtOutCreate QNewtonSet QProg QProgmt QProgmtInCreate '
+ 'qqr qqre qqrep qr qre qrep qrsol qrtsol qtyr qtyre qtyrep quantile quantiled qyr qyre qyrep qz rank rankindx readr '
+ 'real reclassify reclassifyCuts recode recserar recsercp recserrc rerun rescale reshape rets rev rfft rffti rfftip rfftn '
+ 'rfftnp rfftp rndBernoulli rndBeta rndBinomial rndCauchy rndChiSquare rndCon rndCreateState rndExp rndGamma rndGeo rndGumbel '
+ 'rndHyperGeo rndi rndKMbeta rndKMgam rndKMi rndKMn rndKMnb rndKMp rndKMu rndKMvm rndLaplace rndLCbeta rndLCgam rndLCi rndLCn '
+ 'rndLCnb rndLCp rndLCu rndLCvm rndLogNorm rndMTu rndMVn rndMVt rndn rndnb rndNegBinomial rndp rndPoisson rndRayleigh '
+ 'rndStateSkip rndu rndvm rndWeibull rndWishart rotater round rows rowsf rref sampleData satostrC saved saveStruct savewind '
+ 'scale scale3d scalerr scalinfnanmiss scalmiss schtoc schur searchsourcepath seekr select selif seqa seqm setdif setdifsa '
+ 'setvars setvwrmode setwind shell shiftr sin singleindex sinh sleep solpd sortc sortcc sortd sorthc sorthcc sortind '
+ 'sortindc sortmc sortr sortrc spBiconjGradSol spChol spConjGradSol spCreate spDenseSubmat spDiagRvMat spEigv spEye spLDL '
+ 'spline spLU spNumNZE spOnes spreadSheetReadM spreadSheetReadSA spreadSheetWrite spScale spSubmat spToDense spTrTDense '
+ 'spTScalar spZeros sqpSolve sqpSolveMT sqpSolveMTControlCreate sqpSolveMTlagrangeCreate sqpSolveMToutCreate sqpSolveSet '
+ 'sqrt statements stdc stdsc stocv stof strcombine strindx strlen strput strrindx strsect strsplit strsplitPad strtodt '
+ 'strtof strtofcplx strtriml strtrimr strtrunc strtruncl strtruncpad strtruncr submat subscat substute subvec sumc sumr '
+ 'surface svd svd1 svd2 svdcusv svds svdusv sysstate tab tan tanh tempname '
+ 'time timedt timestr timeutc title tkf2eps tkf2ps tocart todaydt toeplitz token topolar trapchk '
+ 'trigamma trimr trunc type typecv typef union unionsa uniqindx uniqindxsa unique uniquesa upmat upmat1 upper utctodt '
+ 'utctodtv utrisol vals varCovMS varCovXS varget vargetl varmall varmares varput varputl vartypef vcm vcms vcx vcxs '
+ 'vec vech vecr vector vget view viewxyz vlist vnamecv volume vput vread vtypecv wait waitc walkindex where window '
+ 'writer xlabel xlsGetSheetCount xlsGetSheetSize xlsGetSheetTypes xlsMakeRange xlsReadM xlsReadSA xlsWrite xlsWriteM '
+ 'xlsWriteSA xpnd xtics xy xyz ylabel ytics zeros zeta zlabel ztics cdfEmpirical dot h5create h5open h5read h5readAttribute '
+ 'h5write h5writeAttribute ldl plotAddErrorBar plotAddSurface plotCDFEmpirical plotSetColormap plotSetContourLabels '
+ 'plotSetLegendFont plotSetTextInterpreter plotSetXTicCount plotSetYTicCount plotSetZLevels powerm strjoin sylvester '
+ 'strtrim',
literal: 'DB_AFTER_LAST_ROW DB_ALL_TABLES DB_BATCH_OPERATIONS DB_BEFORE_FIRST_ROW DB_BLOB DB_EVENT_NOTIFICATIONS '
+ 'DB_FINISH_QUERY DB_HIGH_PRECISION DB_LAST_INSERT_ID DB_LOW_PRECISION_DOUBLE DB_LOW_PRECISION_INT32 '
+ 'DB_LOW_PRECISION_INT64 DB_LOW_PRECISION_NUMBERS DB_MULTIPLE_RESULT_SETS DB_NAMED_PLACEHOLDERS '
+ 'DB_POSITIONAL_PLACEHOLDERS DB_PREPARED_QUERIES DB_QUERY_SIZE DB_SIMPLE_LOCKING DB_SYSTEM_TABLES DB_TABLES '
+ 'DB_TRANSACTIONS DB_UNICODE DB_VIEWS __STDIN __STDOUT __STDERR __FILE_DIR'
};
const AT_COMMENT_MODE = hljs.COMMENT('@', '@');
const PREPROCESSOR =
{
className: 'meta',
begin: '#',
end: '$',
keywords: { keyword: 'define definecs|10 undef ifdef ifndef iflight ifdllcall ifmac ifos2win ifunix else endif lineson linesoff srcfile srcline' },
contains: [
{
begin: /\\\n/,
relevance: 0
},
{
beginKeywords: 'include',
end: '$',
keywords: { keyword: 'include' },
contains: [
{
className: 'string',
begin: '"',
end: '"',
illegal: '\\n'
}
]
},
hljs.C_LINE_COMMENT_MODE,
hljs.C_BLOCK_COMMENT_MODE,
AT_COMMENT_MODE
]
};
const STRUCT_TYPE =
{
begin: /\bstruct\s+/,
end: /\s/,
keywords: "struct",
contains: [
{
className: "type",
begin: hljs.UNDERSCORE_IDENT_RE,
relevance: 0
}
]
};
// only for definitions
const PARSE_PARAMS = [
{
className: 'params',
begin: /\(/,
end: /\)/,
excludeBegin: true,
excludeEnd: true,
endsWithParent: true,
relevance: 0,
contains: [
{ // dots
className: 'literal',
begin: /\.\.\./
},
hljs.C_NUMBER_MODE,
hljs.C_BLOCK_COMMENT_MODE,
AT_COMMENT_MODE,
STRUCT_TYPE
]
}
];
const FUNCTION_DEF =
{
className: "title",
begin: hljs.UNDERSCORE_IDENT_RE,
relevance: 0
};
const DEFINITION = function(beginKeywords, end, inherits) {
const mode = hljs.inherit(
{
className: "function",
beginKeywords: beginKeywords,
end: end,
excludeEnd: true,
contains: [].concat(PARSE_PARAMS)
},
{}
);
mode.contains.push(FUNCTION_DEF);
mode.contains.push(hljs.C_NUMBER_MODE);
mode.contains.push(hljs.C_BLOCK_COMMENT_MODE);
mode.contains.push(AT_COMMENT_MODE);
return mode;
};
const BUILT_IN_REF =
{ // these are explicitly named internal function calls
className: 'built_in',
begin: '\\b(' + KEYWORDS.built_in.split(' ').join('|') + ')\\b'
};
const STRING_REF =
{
className: 'string',
begin: '"',
end: '"',
contains: [ hljs.BACKSLASH_ESCAPE ],
relevance: 0
};
const FUNCTION_REF =
{
// className: "fn_ref",
begin: hljs.UNDERSCORE_IDENT_RE + '\\s*\\(',
returnBegin: true,
keywords: KEYWORDS,
relevance: 0,
contains: [
{ beginKeywords: KEYWORDS.keyword },
BUILT_IN_REF,
{ // ambiguously named function calls get a relevance of 0
className: 'built_in',
begin: hljs.UNDERSCORE_IDENT_RE,
relevance: 0
}
]
};
const FUNCTION_REF_PARAMS =
{
// className: "fn_ref_params",
begin: /\(/,
end: /\)/,
relevance: 0,
keywords: {
built_in: KEYWORDS.built_in,
literal: KEYWORDS.literal
},
contains: [
hljs.C_NUMBER_MODE,
hljs.C_BLOCK_COMMENT_MODE,
AT_COMMENT_MODE,
BUILT_IN_REF,
FUNCTION_REF,
STRING_REF,
'self'
]
};
FUNCTION_REF.contains.push(FUNCTION_REF_PARAMS);
return {
name: 'GAUSS',
aliases: [ 'gss' ],
case_insensitive: true, // language is case-insensitive
keywords: KEYWORDS,
illegal: /(\{[%#]|[%#]\}| <- )/,
contains: [
hljs.C_NUMBER_MODE,
hljs.C_LINE_COMMENT_MODE,
hljs.C_BLOCK_COMMENT_MODE,
AT_COMMENT_MODE,
STRING_REF,
PREPROCESSOR,
{
className: 'keyword',
begin: /\bexternal (matrix|string|array|sparse matrix|struct|proc|keyword|fn)/
},
DEFINITION('proc keyword', ';'),
DEFINITION('fn', '='),
{
beginKeywords: 'for threadfor',
end: /;/,
// end: /\(/,
relevance: 0,
contains: [
hljs.C_BLOCK_COMMENT_MODE,
AT_COMMENT_MODE,
FUNCTION_REF_PARAMS
]
},
{ // custom method guard
// excludes method names from keyword processing
variants: [
{ begin: hljs.UNDERSCORE_IDENT_RE + '\\.' + hljs.UNDERSCORE_IDENT_RE },
{ begin: hljs.UNDERSCORE_IDENT_RE + '\\s*=' }
],
relevance: 0
},
FUNCTION_REF,
STRUCT_TYPE
]
};
}
return gauss;
})();
hljs.registerLanguage('gauss', hljsGrammar);
})();/*! `gcode` grammar compiled for Highlight.js 11.11.1 */
(function(){
var hljsGrammar = (function () {
'use strict';
/*
Language: G-code (ISO 6983)
Contributors: Adam Joseph Cook
Description: G-code syntax highlighter for Fanuc and other common CNC machine tool controls.
Website: https://www.sis.se/api/document/preview/911952/
Category: hardware
*/
function gcode(hljs) {
const regex = hljs.regex;
const GCODE_KEYWORDS = {
$pattern: /[A-Z]+|%/,
keyword: [
// conditions
'THEN',
'ELSE',
'ENDIF',
'IF',
// controls
'GOTO',
'DO',
'WHILE',
'WH',
'END',
'CALL',
// scoping
'SUB',
'ENDSUB',
// comparisons
'EQ',
'NE',
'LT',
'GT',
'LE',
'GE',
'AND',
'OR',
'XOR',
// start/end of program
'%'
],
built_in: [
'ATAN',
'ABS',
'ACOS',
'ASIN',
'COS',
'EXP',
'FIX',
'FUP',
'ROUND',
'LN',
'SIN',
'SQRT',
'TAN',
'EXISTS'
]
};
// TODO: post v12 lets use look-behind, until then \b and a callback filter will be used
// const LETTER_BOUNDARY_RE = /(?= '0' && charBeforeMatch <= '9') {
return;
}
if (charBeforeMatch === '_') {
return;
}
response.ignoreMatch();
}
const NUMBER_RE = /[+-]?((\.\d+)|(\d+)(\.\d*)?)/;
const GENERAL_MISC_FUNCTION_RE = /[GM]\s*\d+(\.\d+)?/;
const TOOLS_RE = /T\s*\d+/;
const SUBROUTINE_RE = /O\s*\d+/;
const SUBROUTINE_NAMED_RE = /O<.+>/;
const AXES_RE = /[ABCUVWXYZ]\s*/;
const PARAMETERS_RE = /[FHIJKPQRS]\s*/;
const GCODE_CODE = [
// comments
hljs.COMMENT(/\(/, /\)/),
hljs.COMMENT(/;/, /$/),
hljs.APOS_STRING_MODE,
hljs.QUOTE_STRING_MODE,
hljs.C_NUMBER_MODE,
// gcodes
{
scope: 'title.function',
variants: [
// G General functions: G0, G5.1, G5.2, …
// M Misc functions: M0, M55.6, M199, …
{ match: regex.concat(LETTER_BOUNDARY_RE, GENERAL_MISC_FUNCTION_RE) },
{
begin: GENERAL_MISC_FUNCTION_RE,
'on:begin': LETTER_BOUNDARY_CALLBACK
},
// T Tools
{ match: regex.concat(LETTER_BOUNDARY_RE, TOOLS_RE), },
{
begin: TOOLS_RE,
'on:begin': LETTER_BOUNDARY_CALLBACK
}
]
},
{
scope: 'symbol',
variants: [
// O Subroutine ID: O100, O110, …
{ match: regex.concat(LETTER_BOUNDARY_RE, SUBROUTINE_RE) },
{
begin: SUBROUTINE_RE,
'on:begin': LETTER_BOUNDARY_CALLBACK
},
// O Subroutine name: O, …
{ match: regex.concat(LETTER_BOUNDARY_RE, SUBROUTINE_NAMED_RE) },
{
begin: SUBROUTINE_NAMED_RE,
'on:begin': LETTER_BOUNDARY_CALLBACK
},
// Checksum at end of line: *71, *199, …
{ match: /\*\s*\d+\s*$/ }
]
},
{
scope: 'operator', // N Line number: N1, N2, N1020, …
match: /^N\s*\d+/
},
{
scope: 'variable',
match: /-?#\s*\d+/
},
{
scope: 'property', // Physical axes,
variants: [
{ match: regex.concat(LETTER_BOUNDARY_RE, AXES_RE, NUMBER_RE) },
{
begin: regex.concat(AXES_RE, NUMBER_RE),
'on:begin': LETTER_BOUNDARY_CALLBACK
},
]
},
{
scope: 'params', // Different types of parameters
variants: [
{ match: regex.concat(LETTER_BOUNDARY_RE, PARAMETERS_RE, NUMBER_RE) },
{
begin: regex.concat(PARAMETERS_RE, NUMBER_RE),
'on:begin': LETTER_BOUNDARY_CALLBACK
},
]
},
];
return {
name: 'G-code (ISO 6983)',
aliases: [ 'nc' ],
// Some implementations (CNC controls) of G-code are interoperable with uppercase and lowercase letters seamlessly.
// However, most prefer all uppercase and uppercase is customary.
case_insensitive: true,
// TODO: post v12 with the use of look-behind this can be enabled
disableAutodetect: true,
keywords: GCODE_KEYWORDS,
contains: GCODE_CODE
};
}
return gcode;
})();
hljs.registerLanguage('gcode', hljsGrammar);
})();/*! `gherkin` grammar compiled for Highlight.js 11.11.1 */
(function(){
var hljsGrammar = (function () {
'use strict';
/*
Language: Gherkin
Author: Sam Pikesley (@pikesley)
Description: Gherkin is the format for cucumber specifications. It is a domain specific language which helps you to describe business behavior without the need to go into detail of implementation.
Website: https://cucumber.io/docs/gherkin/
*/
function gherkin(hljs) {
return {
name: 'Gherkin',
aliases: [ 'feature' ],
keywords: 'Feature Background Ability Business\ Need Scenario Scenarios Scenario\ Outline Scenario\ Template Examples Given And Then But When',
contains: [
{
className: 'symbol',
begin: '\\*',
relevance: 0
},
{
className: 'meta',
begin: '@[^@\\s]+'
},
{
begin: '\\|',
end: '\\|\\w*$',
contains: [
{
className: 'string',
begin: '[^|]+'
}
]
},
{
className: 'variable',
begin: '<',
end: '>'
},
hljs.HASH_COMMENT_MODE,
{
className: 'string',
begin: '"""',
end: '"""'
},
hljs.QUOTE_STRING_MODE
]
};
}
return gherkin;
})();
hljs.registerLanguage('gherkin', hljsGrammar);
})();/*! `glsl` grammar compiled for Highlight.js 11.11.1 */
(function(){
var hljsGrammar = (function () {
'use strict';
/*
Language: GLSL
Description: OpenGL Shading Language
Author: Sergey Tikhomirov
Website: https://en.wikipedia.org/wiki/OpenGL_Shading_Language
Category: graphics
*/
function glsl(hljs) {
return {
name: 'GLSL',
keywords: {
keyword:
// Statements
'break continue discard do else for if return while switch case default '
// Qualifiers
+ 'attribute binding buffer ccw centroid centroid varying coherent column_major const cw '
+ 'depth_any depth_greater depth_less depth_unchanged early_fragment_tests equal_spacing '
+ 'flat fractional_even_spacing fractional_odd_spacing highp in index inout invariant '
+ 'invocations isolines layout line_strip lines lines_adjacency local_size_x local_size_y '
+ 'local_size_z location lowp max_vertices mediump noperspective offset origin_upper_left '
+ 'out packed patch pixel_center_integer point_mode points precise precision quads r11f_g11f_b10f '
+ 'r16 r16_snorm r16f r16i r16ui r32f r32i r32ui r8 r8_snorm r8i r8ui readonly restrict '
+ 'rg16 rg16_snorm rg16f rg16i rg16ui rg32f rg32i rg32ui rg8 rg8_snorm rg8i rg8ui rgb10_a2 '
+ 'rgb10_a2ui rgba16 rgba16_snorm rgba16f rgba16i rgba16ui rgba32f rgba32i rgba32ui rgba8 '
+ 'rgba8_snorm rgba8i rgba8ui row_major sample shared smooth std140 std430 stream triangle_strip '
+ 'triangles triangles_adjacency uniform varying vertices volatile writeonly',
type:
'atomic_uint bool bvec2 bvec3 bvec4 dmat2 dmat2x2 dmat2x3 dmat2x4 dmat3 dmat3x2 dmat3x3 '
+ 'dmat3x4 dmat4 dmat4x2 dmat4x3 dmat4x4 double dvec2 dvec3 dvec4 float iimage1D iimage1DArray '
+ 'iimage2D iimage2DArray iimage2DMS iimage2DMSArray iimage2DRect iimage3D iimageBuffer '
+ 'iimageCube iimageCubeArray image1D image1DArray image2D image2DArray image2DMS image2DMSArray '
+ 'image2DRect image3D imageBuffer imageCube imageCubeArray int isampler1D isampler1DArray '
+ 'isampler2D isampler2DArray isampler2DMS isampler2DMSArray isampler2DRect isampler3D '
+ 'isamplerBuffer isamplerCube isamplerCubeArray ivec2 ivec3 ivec4 mat2 mat2x2 mat2x3 '
+ 'mat2x4 mat3 mat3x2 mat3x3 mat3x4 mat4 mat4x2 mat4x3 mat4x4 sampler1D sampler1DArray '
+ 'sampler1DArrayShadow sampler1DShadow sampler2D sampler2DArray sampler2DArrayShadow '
+ 'sampler2DMS sampler2DMSArray sampler2DRect sampler2DRectShadow sampler2DShadow sampler3D '
+ 'samplerBuffer samplerCube samplerCubeArray samplerCubeArrayShadow samplerCubeShadow '
+ 'image1D uimage1DArray uimage2D uimage2DArray uimage2DMS uimage2DMSArray uimage2DRect '
+ 'uimage3D uimageBuffer uimageCube uimageCubeArray uint usampler1D usampler1DArray '
+ 'usampler2D usampler2DArray usampler2DMS usampler2DMSArray usampler2DRect usampler3D '
+ 'samplerBuffer usamplerCube usamplerCubeArray uvec2 uvec3 uvec4 vec2 vec3 vec4 void',
built_in:
// Constants
'gl_MaxAtomicCounterBindings gl_MaxAtomicCounterBufferSize gl_MaxClipDistances gl_MaxClipPlanes '
+ 'gl_MaxCombinedAtomicCounterBuffers gl_MaxCombinedAtomicCounters gl_MaxCombinedImageUniforms '
+ 'gl_MaxCombinedImageUnitsAndFragmentOutputs gl_MaxCombinedTextureImageUnits gl_MaxComputeAtomicCounterBuffers '
+ 'gl_MaxComputeAtomicCounters gl_MaxComputeImageUniforms gl_MaxComputeTextureImageUnits '
+ 'gl_MaxComputeUniformComponents gl_MaxComputeWorkGroupCount gl_MaxComputeWorkGroupSize '
+ 'gl_MaxDrawBuffers gl_MaxFragmentAtomicCounterBuffers gl_MaxFragmentAtomicCounters '
+ 'gl_MaxFragmentImageUniforms gl_MaxFragmentInputComponents gl_MaxFragmentInputVectors '
+ 'gl_MaxFragmentUniformComponents gl_MaxFragmentUniformVectors gl_MaxGeometryAtomicCounterBuffers '
+ 'gl_MaxGeometryAtomicCounters gl_MaxGeometryImageUniforms gl_MaxGeometryInputComponents '
+ 'gl_MaxGeometryOutputComponents gl_MaxGeometryOutputVertices gl_MaxGeometryTextureImageUnits '
+ 'gl_MaxGeometryTotalOutputComponents gl_MaxGeometryUniformComponents gl_MaxGeometryVaryingComponents '
+ 'gl_MaxImageSamples gl_MaxImageUnits gl_MaxLights gl_MaxPatchVertices gl_MaxProgramTexelOffset '
+ 'gl_MaxTessControlAtomicCounterBuffers gl_MaxTessControlAtomicCounters gl_MaxTessControlImageUniforms '
+ 'gl_MaxTessControlInputComponents gl_MaxTessControlOutputComponents gl_MaxTessControlTextureImageUnits '
+ 'gl_MaxTessControlTotalOutputComponents gl_MaxTessControlUniformComponents '
+ 'gl_MaxTessEvaluationAtomicCounterBuffers gl_MaxTessEvaluationAtomicCounters '
+ 'gl_MaxTessEvaluationImageUniforms gl_MaxTessEvaluationInputComponents gl_MaxTessEvaluationOutputComponents '
+ 'gl_MaxTessEvaluationTextureImageUnits gl_MaxTessEvaluationUniformComponents '
+ 'gl_MaxTessGenLevel gl_MaxTessPatchComponents gl_MaxTextureCoords gl_MaxTextureImageUnits '
+ 'gl_MaxTextureUnits gl_MaxVaryingComponents gl_MaxVaryingFloats gl_MaxVaryingVectors '
+ 'gl_MaxVertexAtomicCounterBuffers gl_MaxVertexAtomicCounters gl_MaxVertexAttribs gl_MaxVertexImageUniforms '
+ 'gl_MaxVertexOutputComponents gl_MaxVertexOutputVectors gl_MaxVertexTextureImageUnits '
+ 'gl_MaxVertexUniformComponents gl_MaxVertexUniformVectors gl_MaxViewports gl_MinProgramTexelOffset '
// Variables
+ 'gl_BackColor gl_BackLightModelProduct gl_BackLightProduct gl_BackMaterial '
+ 'gl_BackSecondaryColor gl_ClipDistance gl_ClipPlane gl_ClipVertex gl_Color '
+ 'gl_DepthRange gl_EyePlaneQ gl_EyePlaneR gl_EyePlaneS gl_EyePlaneT gl_Fog gl_FogCoord '
+ 'gl_FogFragCoord gl_FragColor gl_FragCoord gl_FragData gl_FragDepth gl_FrontColor '
+ 'gl_FrontFacing gl_FrontLightModelProduct gl_FrontLightProduct gl_FrontMaterial '
+ 'gl_FrontSecondaryColor gl_GlobalInvocationID gl_InstanceID gl_InvocationID gl_Layer gl_LightModel '
+ 'gl_LightSource gl_LocalInvocationID gl_LocalInvocationIndex gl_ModelViewMatrix '
+ 'gl_ModelViewMatrixInverse gl_ModelViewMatrixInverseTranspose gl_ModelViewMatrixTranspose '
+ 'gl_ModelViewProjectionMatrix gl_ModelViewProjectionMatrixInverse gl_ModelViewProjectionMatrixInverseTranspose '
+ 'gl_ModelViewProjectionMatrixTranspose gl_MultiTexCoord0 gl_MultiTexCoord1 gl_MultiTexCoord2 '
+ 'gl_MultiTexCoord3 gl_MultiTexCoord4 gl_MultiTexCoord5 gl_MultiTexCoord6 gl_MultiTexCoord7 '
+ 'gl_Normal gl_NormalMatrix gl_NormalScale gl_NumSamples gl_NumWorkGroups gl_ObjectPlaneQ '
+ 'gl_ObjectPlaneR gl_ObjectPlaneS gl_ObjectPlaneT gl_PatchVerticesIn gl_Point gl_PointCoord '
+ 'gl_PointSize gl_Position gl_PrimitiveID gl_PrimitiveIDIn gl_ProjectionMatrix gl_ProjectionMatrixInverse '
+ 'gl_ProjectionMatrixInverseTranspose gl_ProjectionMatrixTranspose gl_SampleID gl_SampleMask '
+ 'gl_SampleMaskIn gl_SamplePosition gl_SecondaryColor gl_TessCoord gl_TessLevelInner gl_TessLevelOuter '
+ 'gl_TexCoord gl_TextureEnvColor gl_TextureMatrix gl_TextureMatrixInverse gl_TextureMatrixInverseTranspose '
+ 'gl_TextureMatrixTranspose gl_Vertex gl_VertexID gl_ViewportIndex gl_WorkGroupID gl_WorkGroupSize gl_in gl_out '
// Functions
+ 'EmitStreamVertex EmitVertex EndPrimitive EndStreamPrimitive abs acos acosh all any asin '
+ 'asinh atan atanh atomicAdd atomicAnd atomicCompSwap atomicCounter atomicCounterDecrement '
+ 'atomicCounterIncrement atomicExchange atomicMax atomicMin atomicOr atomicXor barrier '
+ 'bitCount bitfieldExtract bitfieldInsert bitfieldReverse ceil clamp cos cosh cross '
+ 'dFdx dFdy degrees determinant distance dot equal exp exp2 faceforward findLSB findMSB '
+ 'floatBitsToInt floatBitsToUint floor fma fract frexp ftransform fwidth greaterThan '
+ 'greaterThanEqual groupMemoryBarrier imageAtomicAdd imageAtomicAnd imageAtomicCompSwap '
+ 'imageAtomicExchange imageAtomicMax imageAtomicMin imageAtomicOr imageAtomicXor imageLoad '
+ 'imageSize imageStore imulExtended intBitsToFloat interpolateAtCentroid interpolateAtOffset '
+ 'interpolateAtSample inverse inversesqrt isinf isnan ldexp length lessThan lessThanEqual log '
+ 'log2 matrixCompMult max memoryBarrier memoryBarrierAtomicCounter memoryBarrierBuffer '
+ 'memoryBarrierImage memoryBarrierShared min mix mod modf noise1 noise2 noise3 noise4 '
+ 'normalize not notEqual outerProduct packDouble2x32 packHalf2x16 packSnorm2x16 packSnorm4x8 '
+ 'packUnorm2x16 packUnorm4x8 pow radians reflect refract round roundEven shadow1D shadow1DLod '
+ 'shadow1DProj shadow1DProjLod shadow2D shadow2DLod shadow2DProj shadow2DProjLod sign sin sinh '
+ 'smoothstep sqrt step tan tanh texelFetch texelFetchOffset texture texture1D texture1DLod '
+ 'texture1DProj texture1DProjLod texture2D texture2DLod texture2DProj texture2DProjLod '
+ 'texture3D texture3DLod texture3DProj texture3DProjLod textureCube textureCubeLod '
+ 'textureGather textureGatherOffset textureGatherOffsets textureGrad textureGradOffset '
+ 'textureLod textureLodOffset textureOffset textureProj textureProjGrad textureProjGradOffset '
+ 'textureProjLod textureProjLodOffset textureProjOffset textureQueryLevels textureQueryLod '
+ 'textureSize transpose trunc uaddCarry uintBitsToFloat umulExtended unpackDouble2x32 '
+ 'unpackHalf2x16 unpackSnorm2x16 unpackSnorm4x8 unpackUnorm2x16 unpackUnorm4x8 usubBorrow',
literal: 'true false'
},
illegal: '"',
contains: [
hljs.C_LINE_COMMENT_MODE,
hljs.C_BLOCK_COMMENT_MODE,
hljs.C_NUMBER_MODE,
{
className: 'meta',
begin: '#',
end: '$'
}
]
};
}
return glsl;
})();
hljs.registerLanguage('glsl', hljsGrammar);
})();/*! `gml` grammar compiled for Highlight.js 11.11.1 */
(function(){
var hljsGrammar = (function () {
'use strict';
/*
Language: GML
Description: Game Maker Language for GameMaker (rev. 2023.1)
Website: https://manual.yoyogames.com/
Category: scripting
*/
function gml(hljs) {
const KEYWORDS = [
"#endregion",
"#macro",
"#region",
"and",
"begin",
"break",
"case",
"constructor",
"continue",
"default",
"delete",
"div",
"do",
"else",
"end",
"enum",
"exit",
"for",
"function",
"globalvar",
"if",
"mod",
"new",
"not",
"or",
"repeat",
"return",
"static",
"switch",
"then",
"until",
"var",
"while",
"with",
"xor"
];
const BUILT_INS = [
"abs",
"alarm_get",
"alarm_set",
"angle_difference",
"animcurve_channel_evaluate",
"animcurve_channel_new",
"animcurve_create",
"animcurve_destroy",
"animcurve_exists",
"animcurve_get",
"animcurve_get_channel",
"animcurve_get_channel_index",
"animcurve_point_new",
"ansi_char",
"application_get_position",
"application_surface_draw_enable",
"application_surface_enable",
"application_surface_is_enabled",
"arccos",
"arcsin",
"arctan",
"arctan2",
"array_all",
"array_any",
"array_concat",
"array_contains",
"array_contains_ext",
"array_copy",
"array_copy_while",
"array_create",
"array_create_ext",
"array_delete",
"array_equals",
"array_filter",
"array_filter_ext",
"array_find_index",
"array_first",
"array_foreach",
"array_get",
"array_get_index",
"array_insert",
"array_intersection",
"array_last",
"array_length",
"array_map",
"array_map_ext",
"array_pop",
"array_push",
"array_reduce",
"array_resize",
"array_reverse",
"array_reverse_ext",
"array_set",
"array_shuffle",
"array_shuffle_ext",
"array_sort",
"array_union",
"array_unique",
"array_unique_ext",
"asset_add_tags",
"asset_clear_tags",
"asset_get_ids",
"asset_get_index",
"asset_get_tags",
"asset_get_type",
"asset_has_any_tag",
"asset_has_tags",
"asset_remove_tags",
"audio_bus_clear_emitters",
"audio_bus_create",
"audio_bus_get_emitters",
"audio_channel_num",
"audio_create_buffer_sound",
"audio_create_play_queue",
"audio_create_stream",
"audio_create_sync_group",
"audio_debug",
"audio_destroy_stream",
"audio_destroy_sync_group",
"audio_effect_create",
"audio_emitter_bus",
"audio_emitter_create",
"audio_emitter_exists",
"audio_emitter_falloff",
"audio_emitter_free",
"audio_emitter_gain",
"audio_emitter_get_bus",
"audio_emitter_get_gain",
"audio_emitter_get_listener_mask",
"audio_emitter_get_pitch",
"audio_emitter_get_vx",
"audio_emitter_get_vy",
"audio_emitter_get_vz",
"audio_emitter_get_x",
"audio_emitter_get_y",
"audio_emitter_get_z",
"audio_emitter_pitch",
"audio_emitter_position",
"audio_emitter_set_listener_mask",
"audio_emitter_velocity",
"audio_exists",
"audio_falloff_set_model",
"audio_free_buffer_sound",
"audio_free_play_queue",
"audio_get_listener_count",
"audio_get_listener_info",
"audio_get_listener_mask",
"audio_get_master_gain",
"audio_get_name",
"audio_get_recorder_count",
"audio_get_recorder_info",
"audio_get_type",
"audio_group_get_assets",
"audio_group_get_gain",
"audio_group_is_loaded",
"audio_group_load",
"audio_group_load_progress",
"audio_group_name",
"audio_group_set_gain",
"audio_group_stop_all",
"audio_group_unload",
"audio_is_paused",
"audio_is_playing",
"audio_listener_get_data",
"audio_listener_orientation",
"audio_listener_position",
"audio_listener_set_orientation",
"audio_listener_set_position",
"audio_listener_set_velocity",
"audio_listener_velocity",
"audio_master_gain",
"audio_pause_all",
"audio_pause_sound",
"audio_pause_sync_group",
"audio_play_in_sync_group",
"audio_play_sound",
"audio_play_sound_at",
"audio_play_sound_ext",
"audio_play_sound_on",
"audio_queue_sound",
"audio_resume_all",
"audio_resume_sound",
"audio_resume_sync_group",
"audio_set_listener_mask",
"audio_set_master_gain",
"audio_sound_gain",
"audio_sound_get_audio_group",
"audio_sound_get_gain",
"audio_sound_get_listener_mask",
"audio_sound_get_loop",
"audio_sound_get_loop_end",
"audio_sound_get_loop_start",
"audio_sound_get_pitch",
"audio_sound_get_track_position",
"audio_sound_is_playable",
"audio_sound_length",
"audio_sound_loop",
"audio_sound_loop_end",
"audio_sound_loop_start",
"audio_sound_pitch",
"audio_sound_set_listener_mask",
"audio_sound_set_track_position",
"audio_start_recording",
"audio_start_sync_group",
"audio_stop_all",
"audio_stop_recording",
"audio_stop_sound",
"audio_stop_sync_group",
"audio_sync_group_debug",
"audio_sync_group_get_track_pos",
"audio_sync_group_is_paused",
"audio_sync_group_is_playing",
"audio_system_is_available",
"audio_system_is_initialised",
"base64_decode",
"base64_encode",
"bool",
"browser_input_capture",
"buffer_async_group_begin",
"buffer_async_group_end",
"buffer_async_group_option",
"buffer_base64_decode",
"buffer_base64_decode_ext",
"buffer_base64_encode",
"buffer_compress",
"buffer_copy",
"buffer_copy_from_vertex_buffer",
"buffer_copy_stride",
"buffer_crc32",
"buffer_create",
"buffer_create_from_vertex_buffer",
"buffer_create_from_vertex_buffer_ext",
"buffer_decompress",
"buffer_delete",
"buffer_exists",
"buffer_fill",
"buffer_get_address",
"buffer_get_alignment",
"buffer_get_size",
"buffer_get_surface",
"buffer_get_type",
"buffer_load",
"buffer_load_async",
"buffer_load_ext",
"buffer_load_partial",
"buffer_md5",
"buffer_peek",
"buffer_poke",
"buffer_read",
"buffer_resize",
"buffer_save",
"buffer_save_async",
"buffer_save_ext",
"buffer_seek",
"buffer_set_surface",
"buffer_set_used_size",
"buffer_sha1",
"buffer_sizeof",
"buffer_tell",
"buffer_write",
"call_cancel",
"call_later",
"camera_apply",
"camera_copy_transforms",
"camera_create",
"camera_create_view",
"camera_destroy",
"camera_get_active",
"camera_get_begin_script",
"camera_get_default",
"camera_get_end_script",
"camera_get_proj_mat",
"camera_get_update_script",
"camera_get_view_angle",
"camera_get_view_border_x",
"camera_get_view_border_y",
"camera_get_view_height",
"camera_get_view_mat",
"camera_get_view_speed_x",
"camera_get_view_speed_y",
"camera_get_view_target",
"camera_get_view_width",
"camera_get_view_x",
"camera_get_view_y",
"camera_set_begin_script",
"camera_set_default",
"camera_set_end_script",
"camera_set_proj_mat",
"camera_set_update_script",
"camera_set_view_angle",
"camera_set_view_border",
"camera_set_view_mat",
"camera_set_view_pos",
"camera_set_view_size",
"camera_set_view_speed",
"camera_set_view_target",
"ceil",
"choose",
"chr",
"clamp",
"clickable_add",
"clickable_add_ext",
"clickable_change",
"clickable_change_ext",
"clickable_delete",
"clickable_exists",
"clickable_set_style",
"clipboard_get_text",
"clipboard_has_text",
"clipboard_set_text",
"cloud_file_save",
"cloud_string_save",
"cloud_synchronise",
"code_is_compiled",
"collision_circle",
"collision_circle_list",
"collision_ellipse",
"collision_ellipse_list",
"collision_line",
"collision_line_list",
"collision_point",
"collision_point_list",
"collision_rectangle",
"collision_rectangle_list",
"color_get_blue",
"color_get_green",
"color_get_hue",
"color_get_red",
"color_get_saturation",
"color_get_value",
"colour_get_blue",
"colour_get_green",
"colour_get_hue",
"colour_get_red",
"colour_get_saturation",
"colour_get_value",
"cos",
"darccos",
"darcsin",
"darctan",
"darctan2",
"date_compare_date",
"date_compare_datetime",
"date_compare_time",
"date_create_datetime",
"date_current_datetime",
"date_date_of",
"date_date_string",
"date_datetime_string",
"date_day_span",
"date_days_in_month",
"date_days_in_year",
"date_get_day",
"date_get_day_of_year",
"date_get_hour",
"date_get_hour_of_year",
"date_get_minute",
"date_get_minute_of_year",
"date_get_month",
"date_get_second",
"date_get_second_of_year",
"date_get_timezone",
"date_get_week",
"date_get_weekday",
"date_get_year",
"date_hour_span",
"date_inc_day",
"date_inc_hour",
"date_inc_minute",
"date_inc_month",
"date_inc_second",
"date_inc_week",
"date_inc_year",
"date_is_today",
"date_leap_year",
"date_minute_span",
"date_month_span",
"date_second_span",
"date_set_timezone",
"date_time_of",
"date_time_string",
"date_valid_datetime",
"date_week_span",
"date_year_span",
"db_to_lin",
"dbg_add_font_glyphs",
"dbg_button",
"dbg_checkbox",
"dbg_color",
"dbg_colour",
"dbg_drop_down",
"dbg_same_line",
"dbg_section",
"dbg_section_delete",
"dbg_section_exists",
"dbg_slider",
"dbg_slider_int",
"dbg_sprite",
"dbg_text",
"dbg_text_input",
"dbg_view",
"dbg_view_delete",
"dbg_view_exists",
"dbg_watch",
"dcos",
"debug_event",
"debug_get_callstack",
"degtorad",
"device_get_tilt_x",
"device_get_tilt_y",
"device_get_tilt_z",
"device_is_keypad_open",
"device_mouse_check_button",
"device_mouse_check_button_pressed",
"device_mouse_check_button_released",
"device_mouse_dbclick_enable",
"device_mouse_raw_x",
"device_mouse_raw_y",
"device_mouse_x",
"device_mouse_x_to_gui",
"device_mouse_y",
"device_mouse_y_to_gui",
"directory_create",
"directory_destroy",
"directory_exists",
"display_get_dpi_x",
"display_get_dpi_y",
"display_get_frequency",
"display_get_gui_height",
"display_get_gui_width",
"display_get_height",
"display_get_orientation",
"display_get_sleep_margin",
"display_get_timing_method",
"display_get_width",
"display_mouse_get_x",
"display_mouse_get_y",
"display_mouse_set",
"display_reset",
"display_set_gui_maximise",
"display_set_gui_maximize",
"display_set_gui_size",
"display_set_sleep_margin",
"display_set_timing_method",
"display_set_ui_visibility",
"distance_to_object",
"distance_to_point",
"dot_product",
"dot_product_3d",
"dot_product_3d_normalised",
"dot_product_3d_normalized",
"dot_product_normalised",
"dot_product_normalized",
"draw_arrow",
"draw_button",
"draw_circle",
"draw_circle_color",
"draw_circle_colour",
"draw_clear",
"draw_clear_alpha",
"draw_ellipse",
"draw_ellipse_color",
"draw_ellipse_colour",
"draw_enable_drawevent",
"draw_enable_skeleton_blendmodes",
"draw_enable_swf_aa",
"draw_flush",
"draw_get_alpha",
"draw_get_color",
"draw_get_colour",
"draw_get_enable_skeleton_blendmodes",
"draw_get_font",
"draw_get_halign",
"draw_get_lighting",
"draw_get_swf_aa_level",
"draw_get_valign",
"draw_getpixel",
"draw_getpixel_ext",
"draw_healthbar",
"draw_highscore",
"draw_light_define_ambient",
"draw_light_define_direction",
"draw_light_define_point",
"draw_light_enable",
"draw_light_get",
"draw_light_get_ambient",
"draw_line",
"draw_line_color",
"draw_line_colour",
"draw_line_width",
"draw_line_width_color",
"draw_line_width_colour",
"draw_path",
"draw_point",
"draw_point_color",
"draw_point_colour",
"draw_primitive_begin",
"draw_primitive_begin_texture",
"draw_primitive_end",
"draw_rectangle",
"draw_rectangle_color",
"draw_rectangle_colour",
"draw_roundrect",
"draw_roundrect_color",
"draw_roundrect_color_ext",
"draw_roundrect_colour",
"draw_roundrect_colour_ext",
"draw_roundrect_ext",
"draw_self",
"draw_set_alpha",
"draw_set_circle_precision",
"draw_set_color",
"draw_set_colour",
"draw_set_font",
"draw_set_halign",
"draw_set_lighting",
"draw_set_swf_aa_level",
"draw_set_valign",
"draw_skeleton",
"draw_skeleton_collision",
"draw_skeleton_instance",
"draw_skeleton_time",
"draw_sprite",
"draw_sprite_ext",
"draw_sprite_general",
"draw_sprite_part",
"draw_sprite_part_ext",
"draw_sprite_pos",
"draw_sprite_stretched",
"draw_sprite_stretched_ext",
"draw_sprite_tiled",
"draw_sprite_tiled_ext",
"draw_surface",
"draw_surface_ext",
"draw_surface_general",
"draw_surface_part",
"draw_surface_part_ext",
"draw_surface_stretched",
"draw_surface_stretched_ext",
"draw_surface_tiled",
"draw_surface_tiled_ext",
"draw_text",
"draw_text_color",
"draw_text_colour",
"draw_text_ext",
"draw_text_ext_color",
"draw_text_ext_colour",
"draw_text_ext_transformed",
"draw_text_ext_transformed_color",
"draw_text_ext_transformed_colour",
"draw_text_transformed",
"draw_text_transformed_color",
"draw_text_transformed_colour",
"draw_texture_flush",
"draw_tile",
"draw_tilemap",
"draw_triangle",
"draw_triangle_color",
"draw_triangle_colour",
"draw_vertex",
"draw_vertex_color",
"draw_vertex_colour",
"draw_vertex_texture",
"draw_vertex_texture_color",
"draw_vertex_texture_colour",
"ds_exists",
"ds_grid_add",
"ds_grid_add_disk",
"ds_grid_add_grid_region",
"ds_grid_add_region",
"ds_grid_clear",
"ds_grid_copy",
"ds_grid_create",
"ds_grid_destroy",
"ds_grid_get",
"ds_grid_get_disk_max",
"ds_grid_get_disk_mean",
"ds_grid_get_disk_min",
"ds_grid_get_disk_sum",
"ds_grid_get_max",
"ds_grid_get_mean",
"ds_grid_get_min",
"ds_grid_get_sum",
"ds_grid_height",
"ds_grid_multiply",
"ds_grid_multiply_disk",
"ds_grid_multiply_grid_region",
"ds_grid_multiply_region",
"ds_grid_read",
"ds_grid_resize",
"ds_grid_set",
"ds_grid_set_disk",
"ds_grid_set_grid_region",
"ds_grid_set_region",
"ds_grid_shuffle",
"ds_grid_sort",
"ds_grid_to_mp_grid",
"ds_grid_value_disk_exists",
"ds_grid_value_disk_x",
"ds_grid_value_disk_y",
"ds_grid_value_exists",
"ds_grid_value_x",
"ds_grid_value_y",
"ds_grid_width",
"ds_grid_write",
"ds_list_add",
"ds_list_clear",
"ds_list_copy",
"ds_list_create",
"ds_list_delete",
"ds_list_destroy",
"ds_list_empty",
"ds_list_find_index",
"ds_list_find_value",
"ds_list_insert",
"ds_list_is_list",
"ds_list_is_map",
"ds_list_mark_as_list",
"ds_list_mark_as_map",
"ds_list_read",
"ds_list_replace",
"ds_list_set",
"ds_list_shuffle",
"ds_list_size",
"ds_list_sort",
"ds_list_write",
"ds_map_add",
"ds_map_add_list",
"ds_map_add_map",
"ds_map_clear",
"ds_map_copy",
"ds_map_create",
"ds_map_delete",
"ds_map_destroy",
"ds_map_empty",
"ds_map_exists",
"ds_map_find_first",
"ds_map_find_last",
"ds_map_find_next",
"ds_map_find_previous",
"ds_map_find_value",
"ds_map_is_list",
"ds_map_is_map",
"ds_map_keys_to_array",
"ds_map_read",
"ds_map_replace",
"ds_map_replace_list",
"ds_map_replace_map",
"ds_map_secure_load",
"ds_map_secure_load_buffer",
"ds_map_secure_save",
"ds_map_secure_save_buffer",
"ds_map_set",
"ds_map_size",
"ds_map_values_to_array",
"ds_map_write",
"ds_priority_add",
"ds_priority_change_priority",
"ds_priority_clear",
"ds_priority_copy",
"ds_priority_create",
"ds_priority_delete_max",
"ds_priority_delete_min",
"ds_priority_delete_value",
"ds_priority_destroy",
"ds_priority_empty",
"ds_priority_find_max",
"ds_priority_find_min",
"ds_priority_find_priority",
"ds_priority_read",
"ds_priority_size",
"ds_priority_write",
"ds_queue_clear",
"ds_queue_copy",
"ds_queue_create",
"ds_queue_dequeue",
"ds_queue_destroy",
"ds_queue_empty",
"ds_queue_enqueue",
"ds_queue_head",
"ds_queue_read",
"ds_queue_size",
"ds_queue_tail",
"ds_queue_write",
"ds_set_precision",
"ds_stack_clear",
"ds_stack_copy",
"ds_stack_create",
"ds_stack_destroy",
"ds_stack_empty",
"ds_stack_pop",
"ds_stack_push",
"ds_stack_read",
"ds_stack_size",
"ds_stack_top",
"ds_stack_write",
"dsin",
"dtan",
"effect_clear",
"effect_create_above",
"effect_create_below",
"effect_create_depth",
"effect_create_layer",
"environment_get_variable",
"event_inherited",
"event_perform",
"event_perform_async",
"event_perform_object",
"event_user",
"exception_unhandled_handler",
"exp",
"extension_exists",
"extension_get_option_count",
"extension_get_option_names",
"extension_get_option_value",
"extension_get_options",
"extension_get_version",
"external_call",
"external_define",
"external_free",
"file_attributes",
"file_bin_close",
"file_bin_open",
"file_bin_position",
"file_bin_read_byte",
"file_bin_rewrite",
"file_bin_seek",
"file_bin_size",
"file_bin_write_byte",
"file_copy",
"file_delete",
"file_exists",
"file_find_close",
"file_find_first",
"file_find_next",
"file_rename",
"file_text_close",
"file_text_eof",
"file_text_eoln",
"file_text_open_append",
"file_text_open_from_string",
"file_text_open_read",
"file_text_open_write",
"file_text_read_real",
"file_text_read_string",
"file_text_readln",
"file_text_write_real",
"file_text_write_string",
"file_text_writeln",
"filename_change_ext",
"filename_dir",
"filename_drive",
"filename_ext",
"filename_name",
"filename_path",
"floor",
"font_add",
"font_add_enable_aa",
"font_add_get_enable_aa",
"font_add_sprite",
"font_add_sprite_ext",
"font_cache_glyph",
"font_delete",
"font_enable_effects",
"font_enable_sdf",
"font_exists",
"font_get_bold",
"font_get_first",
"font_get_fontname",
"font_get_info",
"font_get_italic",
"font_get_last",
"font_get_name",
"font_get_sdf_enabled",
"font_get_sdf_spread",
"font_get_size",
"font_get_texture",
"font_get_uvs",
"font_replace_sprite",
"font_replace_sprite_ext",
"font_sdf_spread",
"font_set_cache_size",
"frac",
"fx_create",
"fx_get_name",
"fx_get_parameter",
"fx_get_parameter_names",
"fx_get_parameters",
"fx_get_single_layer",
"fx_set_parameter",
"fx_set_parameters",
"fx_set_single_layer",
"game_change",
"game_end",
"game_get_speed",
"game_load",
"game_load_buffer",
"game_restart",
"game_save",
"game_save_buffer",
"game_set_speed",
"gamepad_axis_count",
"gamepad_axis_value",
"gamepad_button_check",
"gamepad_button_check_pressed",
"gamepad_button_check_released",
"gamepad_button_count",
"gamepad_button_value",
"gamepad_get_axis_deadzone",
"gamepad_get_button_threshold",
"gamepad_get_description",
"gamepad_get_device_count",
"gamepad_get_guid",
"gamepad_get_mapping",
"gamepad_get_option",
"gamepad_hat_count",
"gamepad_hat_value",
"gamepad_is_connected",
"gamepad_is_supported",
"gamepad_remove_mapping",
"gamepad_set_axis_deadzone",
"gamepad_set_button_threshold",
"gamepad_set_color",
"gamepad_set_colour",
"gamepad_set_option",
"gamepad_set_vibration",
"gamepad_test_mapping",
"gc_collect",
"gc_enable",
"gc_get_stats",
"gc_get_target_frame_time",
"gc_is_enabled",
"gc_target_frame_time",
"gesture_double_tap_distance",
"gesture_double_tap_time",
"gesture_drag_distance",
"gesture_drag_time",
"gesture_flick_speed",
"gesture_get_double_tap_distance",
"gesture_get_double_tap_time",
"gesture_get_drag_distance",
"gesture_get_drag_time",
"gesture_get_flick_speed",
"gesture_get_pinch_angle_away",
"gesture_get_pinch_angle_towards",
"gesture_get_pinch_distance",
"gesture_get_rotate_angle",
"gesture_get_rotate_time",
"gesture_get_tap_count",
"gesture_pinch_angle_away",
"gesture_pinch_angle_towards",
"gesture_pinch_distance",
"gesture_rotate_angle",
"gesture_rotate_time",
"gesture_tap_count",
"get_integer",
"get_integer_async",
"get_login_async",
"get_open_filename",
"get_open_filename_ext",
"get_save_filename",
"get_save_filename_ext",
"get_string",
"get_string_async",
"get_timer",
"gif_add_surface",
"gif_open",
"gif_save",
"gif_save_buffer",
"gml_pragma",
"gml_release_mode",
"gpu_get_alphatestenable",
"gpu_get_alphatestref",
"gpu_get_blendenable",
"gpu_get_blendmode",
"gpu_get_blendmode_dest",
"gpu_get_blendmode_destalpha",
"gpu_get_blendmode_ext",
"gpu_get_blendmode_ext_sepalpha",
"gpu_get_blendmode_src",
"gpu_get_blendmode_srcalpha",
"gpu_get_colorwriteenable",
"gpu_get_colourwriteenable",
"gpu_get_cullmode",
"gpu_get_depth",
"gpu_get_fog",
"gpu_get_state",
"gpu_get_tex_filter",
"gpu_get_tex_filter_ext",
"gpu_get_tex_max_aniso",
"gpu_get_tex_max_aniso_ext",
"gpu_get_tex_max_mip",
"gpu_get_tex_max_mip_ext",
"gpu_get_tex_min_mip",
"gpu_get_tex_min_mip_ext",
"gpu_get_tex_mip_bias",
"gpu_get_tex_mip_bias_ext",
"gpu_get_tex_mip_enable",
"gpu_get_tex_mip_enable_ext",
"gpu_get_tex_mip_filter",
"gpu_get_tex_mip_filter_ext",
"gpu_get_tex_repeat",
"gpu_get_tex_repeat_ext",
"gpu_get_texfilter",
"gpu_get_texfilter_ext",
"gpu_get_texrepeat",
"gpu_get_texrepeat_ext",
"gpu_get_zfunc",
"gpu_get_ztestenable",
"gpu_get_zwriteenable",
"gpu_pop_state",
"gpu_push_state",
"gpu_set_alphatestenable",
"gpu_set_alphatestref",
"gpu_set_blendenable",
"gpu_set_blendmode",
"gpu_set_blendmode_ext",
"gpu_set_blendmode_ext_sepalpha",
"gpu_set_colorwriteenable",
"gpu_set_colourwriteenable",
"gpu_set_cullmode",
"gpu_set_depth",
"gpu_set_fog",
"gpu_set_state",
"gpu_set_tex_filter",
"gpu_set_tex_filter_ext",
"gpu_set_tex_max_aniso",
"gpu_set_tex_max_aniso_ext",
"gpu_set_tex_max_mip",
"gpu_set_tex_max_mip_ext",
"gpu_set_tex_min_mip",
"gpu_set_tex_min_mip_ext",
"gpu_set_tex_mip_bias",
"gpu_set_tex_mip_bias_ext",
"gpu_set_tex_mip_enable",
"gpu_set_tex_mip_enable_ext",
"gpu_set_tex_mip_filter",
"gpu_set_tex_mip_filter_ext",
"gpu_set_tex_repeat",
"gpu_set_tex_repeat_ext",
"gpu_set_texfilter",
"gpu_set_texfilter_ext",
"gpu_set_texrepeat",
"gpu_set_texrepeat_ext",
"gpu_set_zfunc",
"gpu_set_ztestenable",
"gpu_set_zwriteenable",
"handle_parse",
"highscore_add",
"highscore_clear",
"highscore_name",
"highscore_value",
"http_get",
"http_get_file",
"http_get_request_crossorigin",
"http_post_string",
"http_request",
"http_set_request_crossorigin",
"iap_acquire",
"iap_activate",
"iap_consume",
"iap_enumerate_products",
"iap_product_details",
"iap_purchase_details",
"iap_restore_all",
"iap_status",
"ini_close",
"ini_key_delete",
"ini_key_exists",
"ini_open",
"ini_open_from_string",
"ini_read_real",
"ini_read_string",
"ini_section_delete",
"ini_section_exists",
"ini_write_real",
"ini_write_string",
"instance_activate_all",
"instance_activate_layer",
"instance_activate_object",
"instance_activate_region",
"instance_change",
"instance_copy",
"instance_create_depth",
"instance_create_layer",
"instance_deactivate_all",
"instance_deactivate_layer",
"instance_deactivate_object",
"instance_deactivate_region",
"instance_destroy",
"instance_exists",
"instance_find",
"instance_furthest",
"instance_id_get",
"instance_nearest",
"instance_number",
"instance_place",
"instance_place_list",
"instance_position",
"instance_position_list",
"instanceof",
"int64",
"io_clear",
"irandom",
"irandom_range",
"is_array",
"is_bool",
"is_callable",
"is_debug_overlay_open",
"is_handle",
"is_infinity",
"is_instanceof",
"is_int32",
"is_int64",
"is_keyboard_used_debug_overlay",
"is_method",
"is_mouse_over_debug_overlay",
"is_nan",
"is_numeric",
"is_ptr",
"is_real",
"is_string",
"is_struct",
"is_undefined",
"json_decode",
"json_encode",
"json_parse",
"json_stringify",
"keyboard_check",
"keyboard_check_direct",
"keyboard_check_pressed",
"keyboard_check_released",
"keyboard_clear",
"keyboard_get_map",
"keyboard_get_numlock",
"keyboard_key_press",
"keyboard_key_release",
"keyboard_set_map",
"keyboard_set_numlock",
"keyboard_unset_map",
"keyboard_virtual_height",
"keyboard_virtual_hide",
"keyboard_virtual_show",
"keyboard_virtual_status",
"layer_add_instance",
"layer_background_alpha",
"layer_background_blend",
"layer_background_change",
"layer_background_create",
"layer_background_destroy",
"layer_background_exists",
"layer_background_get_alpha",
"layer_background_get_blend",
"layer_background_get_htiled",
"layer_background_get_id",
"layer_background_get_index",
"layer_background_get_speed",
"layer_background_get_sprite",
"layer_background_get_stretch",
"layer_background_get_visible",
"layer_background_get_vtiled",
"layer_background_get_xscale",
"layer_background_get_yscale",
"layer_background_htiled",
"layer_background_index",
"layer_background_speed",
"layer_background_sprite",
"layer_background_stretch",
"layer_background_visible",
"layer_background_vtiled",
"layer_background_xscale",
"layer_background_yscale",
"layer_clear_fx",
"layer_create",
"layer_depth",
"layer_destroy",
"layer_destroy_instances",
"layer_element_move",
"layer_enable_fx",
"layer_exists",
"layer_force_draw_depth",
"layer_fx_is_enabled",
"layer_get_all",
"layer_get_all_elements",
"layer_get_depth",
"layer_get_element_layer",
"layer_get_element_type",
"layer_get_forced_depth",
"layer_get_fx",
"layer_get_hspeed",
"layer_get_id",
"layer_get_id_at_depth",
"layer_get_name",
"layer_get_script_begin",
"layer_get_script_end",
"layer_get_shader",
"layer_get_target_room",
"layer_get_visible",
"layer_get_vspeed",
"layer_get_x",
"layer_get_y",
"layer_has_instance",
"layer_hspeed",
"layer_instance_get_instance",
"layer_is_draw_depth_forced",
"layer_reset_target_room",
"layer_script_begin",
"layer_script_end",
"layer_sequence_angle",
"layer_sequence_create",
"layer_sequence_destroy",
"layer_sequence_exists",
"layer_sequence_get_angle",
"layer_sequence_get_headdir",
"layer_sequence_get_headpos",
"layer_sequence_get_instance",
"layer_sequence_get_length",
"layer_sequence_get_sequence",
"layer_sequence_get_speedscale",
"layer_sequence_get_x",
"layer_sequence_get_xscale",
"layer_sequence_get_y",
"layer_sequence_get_yscale",
"layer_sequence_headdir",
"layer_sequence_headpos",
"layer_sequence_is_finished",
"layer_sequence_is_paused",
"layer_sequence_pause",
"layer_sequence_play",
"layer_sequence_speedscale",
"layer_sequence_x",
"layer_sequence_xscale",
"layer_sequence_y",
"layer_sequence_yscale",
"layer_set_fx",
"layer_set_target_room",
"layer_set_visible",
"layer_shader",
"layer_sprite_alpha",
"layer_sprite_angle",
"layer_sprite_blend",
"layer_sprite_change",
"layer_sprite_create",
"layer_sprite_destroy",
"layer_sprite_exists",
"layer_sprite_get_alpha",
"layer_sprite_get_angle",
"layer_sprite_get_blend",
"layer_sprite_get_id",
"layer_sprite_get_index",
"layer_sprite_get_speed",
"layer_sprite_get_sprite",
"layer_sprite_get_x",
"layer_sprite_get_xscale",
"layer_sprite_get_y",
"layer_sprite_get_yscale",
"layer_sprite_index",
"layer_sprite_speed",
"layer_sprite_x",
"layer_sprite_xscale",
"layer_sprite_y",
"layer_sprite_yscale",
"layer_tile_alpha",
"layer_tile_blend",
"layer_tile_change",
"layer_tile_create",
"layer_tile_destroy",
"layer_tile_exists",
"layer_tile_get_alpha",
"layer_tile_get_blend",
"layer_tile_get_region",
"layer_tile_get_sprite",
"layer_tile_get_visible",
"layer_tile_get_x",
"layer_tile_get_xscale",
"layer_tile_get_y",
"layer_tile_get_yscale",
"layer_tile_region",
"layer_tile_visible",
"layer_tile_x",
"layer_tile_xscale",
"layer_tile_y",
"layer_tile_yscale",
"layer_tilemap_create",
"layer_tilemap_destroy",
"layer_tilemap_exists",
"layer_tilemap_get_id",
"layer_vspeed",
"layer_x",
"layer_y",
"lengthdir_x",
"lengthdir_y",
"lerp",
"lin_to_db",
"ln",
"load_csv",
"log10",
"log2",
"logn",
"make_color_hsv",
"make_color_rgb",
"make_colour_hsv",
"make_colour_rgb",
"math_get_epsilon",
"math_set_epsilon",
"matrix_build",
"matrix_build_identity",
"matrix_build_lookat",
"matrix_build_projection_ortho",
"matrix_build_projection_perspective",
"matrix_build_projection_perspective_fov",
"matrix_get",
"matrix_multiply",
"matrix_set",
"matrix_stack_clear",
"matrix_stack_is_empty",
"matrix_stack_pop",
"matrix_stack_push",
"matrix_stack_set",
"matrix_stack_top",
"matrix_transform_vertex",
"max",
"md5_file",
"md5_string_unicode",
"md5_string_utf8",
"mean",
"median",
"merge_color",
"merge_colour",
"method",
"method_call",
"method_get_index",
"method_get_self",
"min",
"motion_add",
"motion_set",
"mouse_check_button",
"mouse_check_button_pressed",
"mouse_check_button_released",
"mouse_clear",
"mouse_wheel_down",
"mouse_wheel_up",
"move_and_collide",
"move_bounce_all",
"move_bounce_solid",
"move_contact_all",
"move_contact_solid",
"move_outside_all",
"move_outside_solid",
"move_random",
"move_snap",
"move_towards_point",
"move_wrap",
"mp_grid_add_cell",
"mp_grid_add_instances",
"mp_grid_add_rectangle",
"mp_grid_clear_all",
"mp_grid_clear_cell",
"mp_grid_clear_rectangle",
"mp_grid_create",
"mp_grid_destroy",
"mp_grid_draw",
"mp_grid_get_cell",
"mp_grid_path",
"mp_grid_to_ds_grid",
"mp_linear_path",
"mp_linear_path_object",
"mp_linear_step",
"mp_linear_step_object",
"mp_potential_path",
"mp_potential_path_object",
"mp_potential_settings",
"mp_potential_step",
"mp_potential_step_object",
"nameof",
"network_connect",
"network_connect_async",
"network_connect_raw",
"network_connect_raw_async",
"network_create_server",
"network_create_server_raw",
"network_create_socket",
"network_create_socket_ext",
"network_destroy",
"network_resolve",
"network_send_broadcast",
"network_send_packet",
"network_send_raw",
"network_send_udp",
"network_send_udp_raw",
"network_set_config",
"network_set_timeout",
"object_exists",
"object_get_mask",
"object_get_name",
"object_get_parent",
"object_get_persistent",
"object_get_physics",
"object_get_solid",
"object_get_sprite",
"object_get_visible",
"object_is_ancestor",
"object_set_mask",
"object_set_persistent",
"object_set_solid",
"object_set_sprite",
"object_set_visible",
"ord",
"os_check_permission",
"os_get_config",
"os_get_info",
"os_get_language",
"os_get_region",
"os_is_network_connected",
"os_is_paused",
"os_lock_orientation",
"os_powersave_enable",
"os_request_permission",
"os_set_orientation_lock",
"parameter_count",
"parameter_string",
"part_emitter_burst",
"part_emitter_clear",
"part_emitter_create",
"part_emitter_delay",
"part_emitter_destroy",
"part_emitter_destroy_all",
"part_emitter_enable",
"part_emitter_exists",
"part_emitter_interval",
"part_emitter_region",
"part_emitter_relative",
"part_emitter_stream",
"part_particles_burst",
"part_particles_clear",
"part_particles_count",
"part_particles_create",
"part_particles_create_color",
"part_particles_create_colour",
"part_system_angle",
"part_system_automatic_draw",
"part_system_automatic_update",
"part_system_clear",
"part_system_color",
"part_system_colour",
"part_system_create",
"part_system_create_layer",
"part_system_depth",
"part_system_destroy",
"part_system_draw_order",
"part_system_drawit",
"part_system_exists",
"part_system_get_info",
"part_system_get_layer",
"part_system_global_space",
"part_system_layer",
"part_system_position",
"part_system_update",
"part_type_alpha1",
"part_type_alpha2",
"part_type_alpha3",
"part_type_blend",
"part_type_clear",
"part_type_color1",
"part_type_color2",
"part_type_color3",
"part_type_color_hsv",
"part_type_color_mix",
"part_type_color_rgb",
"part_type_colour1",
"part_type_colour2",
"part_type_colour3",
"part_type_colour_hsv",
"part_type_colour_mix",
"part_type_colour_rgb",
"part_type_create",
"part_type_death",
"part_type_destroy",
"part_type_direction",
"part_type_exists",
"part_type_gravity",
"part_type_life",
"part_type_orientation",
"part_type_scale",
"part_type_shape",
"part_type_size",
"part_type_size_x",
"part_type_size_y",
"part_type_speed",
"part_type_sprite",
"part_type_step",
"part_type_subimage",
"particle_exists",
"particle_get_info",
"path_add",
"path_add_point",
"path_append",
"path_assign",
"path_change_point",
"path_clear_points",
"path_delete",
"path_delete_point",
"path_duplicate",
"path_end",
"path_exists",
"path_flip",
"path_get_closed",
"path_get_kind",
"path_get_length",
"path_get_name",
"path_get_number",
"path_get_point_speed",
"path_get_point_x",
"path_get_point_y",
"path_get_precision",
"path_get_speed",
"path_get_x",
"path_get_y",
"path_insert_point",
"path_mirror",
"path_rescale",
"path_reverse",
"path_rotate",
"path_set_closed",
"path_set_kind",
"path_set_precision",
"path_shift",
"path_start",
"physics_apply_angular_impulse",
"physics_apply_force",
"physics_apply_impulse",
"physics_apply_local_force",
"physics_apply_local_impulse",
"physics_apply_torque",
"physics_draw_debug",
"physics_fixture_add_point",
"physics_fixture_bind",
"physics_fixture_bind_ext",
"physics_fixture_create",
"physics_fixture_delete",
"physics_fixture_set_angular_damping",
"physics_fixture_set_awake",
"physics_fixture_set_box_shape",
"physics_fixture_set_chain_shape",
"physics_fixture_set_circle_shape",
"physics_fixture_set_collision_group",
"physics_fixture_set_density",
"physics_fixture_set_edge_shape",
"physics_fixture_set_friction",
"physics_fixture_set_kinematic",
"physics_fixture_set_linear_damping",
"physics_fixture_set_polygon_shape",
"physics_fixture_set_restitution",
"physics_fixture_set_sensor",
"physics_get_density",
"physics_get_friction",
"physics_get_restitution",
"physics_joint_delete",
"physics_joint_distance_create",
"physics_joint_enable_motor",
"physics_joint_friction_create",
"physics_joint_gear_create",
"physics_joint_get_value",
"physics_joint_prismatic_create",
"physics_joint_pulley_create",
"physics_joint_revolute_create",
"physics_joint_rope_create",
"physics_joint_set_value",
"physics_joint_weld_create",
"physics_joint_wheel_create",
"physics_mass_properties",
"physics_particle_count",
"physics_particle_create",
"physics_particle_delete",
"physics_particle_delete_region_box",
"physics_particle_delete_region_circle",
"physics_particle_delete_region_poly",
"physics_particle_draw",
"physics_particle_draw_ext",
"physics_particle_get_damping",
"physics_particle_get_data",
"physics_particle_get_data_particle",
"physics_particle_get_density",
"physics_particle_get_gravity_scale",
"physics_particle_get_group_flags",
"physics_particle_get_max_count",
"physics_particle_get_radius",
"physics_particle_group_add_point",
"physics_particle_group_begin",
"physics_particle_group_box",
"physics_particle_group_circle",
"physics_particle_group_count",
"physics_particle_group_delete",
"physics_particle_group_end",
"physics_particle_group_get_ang_vel",
"physics_particle_group_get_angle",
"physics_particle_group_get_centre_x",
"physics_particle_group_get_centre_y",
"physics_particle_group_get_data",
"physics_particle_group_get_inertia",
"physics_particle_group_get_mass",
"physics_particle_group_get_vel_x",
"physics_particle_group_get_vel_y",
"physics_particle_group_get_x",
"physics_particle_group_get_y",
"physics_particle_group_join",
"physics_particle_group_polygon",
"physics_particle_set_category_flags",
"physics_particle_set_damping",
"physics_particle_set_density",
"physics_particle_set_flags",
"physics_particle_set_gravity_scale",
"physics_particle_set_group_flags",
"physics_particle_set_max_count",
"physics_particle_set_radius",
"physics_pause_enable",
"physics_remove_fixture",
"physics_set_density",
"physics_set_friction",
"physics_set_restitution",
"physics_test_overlap",
"physics_world_create",
"physics_world_draw_debug",
"physics_world_gravity",
"physics_world_update_iterations",
"physics_world_update_speed",
"place_empty",
"place_free",
"place_meeting",
"place_snapped",
"point_direction",
"point_distance",
"point_distance_3d",
"point_in_circle",
"point_in_rectangle",
"point_in_triangle",
"position_change",
"position_destroy",
"position_empty",
"position_meeting",
"power",
"ptr",
"radtodeg",
"random",
"random_get_seed",
"random_range",
"random_set_seed",
"randomise",
"randomize",
"real",
"rectangle_in_circle",
"rectangle_in_rectangle",
"rectangle_in_triangle",
"ref_create",
"rollback_chat",
"rollback_create_game",
"rollback_define_extra_network_latency",
"rollback_define_input",
"rollback_define_input_frame_delay",
"rollback_define_mock_input",
"rollback_define_player",
"rollback_display_events",
"rollback_get_info",
"rollback_get_input",
"rollback_get_player_prefs",
"rollback_join_game",
"rollback_leave_game",
"rollback_set_player_prefs",
"rollback_start_game",
"rollback_sync_on_frame",
"rollback_use_late_join",
"rollback_use_manual_start",
"rollback_use_player_prefs",
"rollback_use_random_input",
"room_add",
"room_assign",
"room_duplicate",
"room_exists",
"room_get_camera",
"room_get_info",
"room_get_name",
"room_get_viewport",
"room_goto",
"room_goto_next",
"room_goto_previous",
"room_instance_add",
"room_instance_clear",
"room_next",
"room_previous",
"room_restart",
"room_set_camera",
"room_set_height",
"room_set_persistent",
"room_set_view_enabled",
"room_set_viewport",
"room_set_width",
"round",
"scheduler_resolution_get",
"scheduler_resolution_set",
"screen_save",
"screen_save_part",
"script_execute",
"script_execute_ext",
"script_exists",
"script_get_name",
"sequence_create",
"sequence_destroy",
"sequence_exists",
"sequence_get",
"sequence_get_objects",
"sequence_instance_override_object",
"sequence_keyframe_new",
"sequence_keyframedata_new",
"sequence_track_new",
"sha1_file",
"sha1_string_unicode",
"sha1_string_utf8",
"shader_current",
"shader_enable_corner_id",
"shader_get_name",
"shader_get_sampler_index",
"shader_get_uniform",
"shader_is_compiled",
"shader_reset",
"shader_set",
"shader_set_uniform_f",
"shader_set_uniform_f_array",
"shader_set_uniform_f_buffer",
"shader_set_uniform_i",
"shader_set_uniform_i_array",
"shader_set_uniform_matrix",
"shader_set_uniform_matrix_array",
"shaders_are_supported",
"shop_leave_rating",
"show_debug_message",
"show_debug_message_ext",
"show_debug_overlay",
"show_error",
"show_message",
"show_message_async",
"show_question",
"show_question_async",
"sign",
"sin",
"skeleton_animation_clear",
"skeleton_animation_get",
"skeleton_animation_get_duration",
"skeleton_animation_get_event_frames",
"skeleton_animation_get_ext",
"skeleton_animation_get_frame",
"skeleton_animation_get_frames",
"skeleton_animation_get_position",
"skeleton_animation_is_finished",
"skeleton_animation_is_looping",
"skeleton_animation_list",
"skeleton_animation_mix",
"skeleton_animation_set",
"skeleton_animation_set_ext",
"skeleton_animation_set_frame",
"skeleton_animation_set_position",
"skeleton_attachment_create",
"skeleton_attachment_create_color",
"skeleton_attachment_create_colour",
"skeleton_attachment_destroy",
"skeleton_attachment_exists",
"skeleton_attachment_get",
"skeleton_attachment_replace",
"skeleton_attachment_replace_color",
"skeleton_attachment_replace_colour",
"skeleton_attachment_set",
"skeleton_bone_data_get",
"skeleton_bone_data_set",
"skeleton_bone_list",
"skeleton_bone_state_get",
"skeleton_bone_state_set",
"skeleton_collision_draw_set",
"skeleton_find_slot",
"skeleton_get_bounds",
"skeleton_get_minmax",
"skeleton_get_num_bounds",
"skeleton_skin_create",
"skeleton_skin_get",
"skeleton_skin_list",
"skeleton_skin_set",
"skeleton_slot_alpha_get",
"skeleton_slot_color_get",
"skeleton_slot_color_set",
"skeleton_slot_colour_get",
"skeleton_slot_colour_set",
"skeleton_slot_data",
"skeleton_slot_data_instance",
"skeleton_slot_list",
"sprite_add",
"sprite_add_ext",
"sprite_add_from_surface",
"sprite_assign",
"sprite_collision_mask",
"sprite_create_from_surface",
"sprite_delete",
"sprite_duplicate",
"sprite_exists",
"sprite_flush",
"sprite_flush_multi",
"sprite_get_bbox_bottom",
"sprite_get_bbox_left",
"sprite_get_bbox_mode",
"sprite_get_bbox_right",
"sprite_get_bbox_top",
"sprite_get_height",
"sprite_get_info",
"sprite_get_name",
"sprite_get_nineslice",
"sprite_get_number",
"sprite_get_speed",
"sprite_get_speed_type",
"sprite_get_texture",
"sprite_get_tpe",
"sprite_get_uvs",
"sprite_get_width",
"sprite_get_xoffset",
"sprite_get_yoffset",
"sprite_merge",
"sprite_nineslice_create",
"sprite_prefetch",
"sprite_prefetch_multi",
"sprite_replace",
"sprite_save",
"sprite_save_strip",
"sprite_set_alpha_from_sprite",
"sprite_set_bbox",
"sprite_set_bbox_mode",
"sprite_set_cache_size",
"sprite_set_cache_size_ext",
"sprite_set_nineslice",
"sprite_set_offset",
"sprite_set_speed",
"sqr",
"sqrt",
"static_get",
"static_set",
"string",
"string_byte_at",
"string_byte_length",
"string_char_at",
"string_concat",
"string_concat_ext",
"string_copy",
"string_count",
"string_delete",
"string_digits",
"string_ends_with",
"string_ext",
"string_foreach",
"string_format",
"string_hash_to_newline",
"string_height",
"string_height_ext",
"string_insert",
"string_join",
"string_join_ext",
"string_last_pos",
"string_last_pos_ext",
"string_length",
"string_letters",
"string_lettersdigits",
"string_lower",
"string_ord_at",
"string_pos",
"string_pos_ext",
"string_repeat",
"string_replace",
"string_replace_all",
"string_set_byte_at",
"string_split",
"string_split_ext",
"string_starts_with",
"string_trim",
"string_trim_end",
"string_trim_start",
"string_upper",
"string_width",
"string_width_ext",
"struct_exists",
"struct_foreach",
"struct_get",
"struct_get_from_hash",
"struct_get_names",
"struct_names_count",
"struct_remove",
"struct_set",
"struct_set_from_hash",
"surface_copy",
"surface_copy_part",
"surface_create",
"surface_create_ext",
"surface_depth_disable",
"surface_exists",
"surface_format_is_supported",
"surface_free",
"surface_get_depth_disable",
"surface_get_format",
"surface_get_height",
"surface_get_target",
"surface_get_target_ext",
"surface_get_texture",
"surface_get_width",
"surface_getpixel",
"surface_getpixel_ext",
"surface_reset_target",
"surface_resize",
"surface_save",
"surface_save_part",
"surface_set_target",
"surface_set_target_ext",
"tag_get_asset_ids",
"tag_get_assets",
"tan",
"texture_debug_messages",
"texture_flush",
"texture_get_height",
"texture_get_texel_height",
"texture_get_texel_width",
"texture_get_uvs",
"texture_get_width",
"texture_global_scale",
"texture_is_ready",
"texture_prefetch",
"texture_set_stage",
"texturegroup_get_fonts",
"texturegroup_get_names",
"texturegroup_get_sprites",
"texturegroup_get_status",
"texturegroup_get_textures",
"texturegroup_get_tilesets",
"texturegroup_load",
"texturegroup_set_mode",
"texturegroup_unload",
"tile_get_empty",
"tile_get_flip",
"tile_get_index",
"tile_get_mirror",
"tile_get_rotate",
"tile_set_empty",
"tile_set_flip",
"tile_set_index",
"tile_set_mirror",
"tile_set_rotate",
"tilemap_clear",
"tilemap_get",
"tilemap_get_at_pixel",
"tilemap_get_cell_x_at_pixel",
"tilemap_get_cell_y_at_pixel",
"tilemap_get_frame",
"tilemap_get_global_mask",
"tilemap_get_height",
"tilemap_get_mask",
"tilemap_get_tile_height",
"tilemap_get_tile_width",
"tilemap_get_tileset",
"tilemap_get_width",
"tilemap_get_x",
"tilemap_get_y",
"tilemap_set",
"tilemap_set_at_pixel",
"tilemap_set_global_mask",
"tilemap_set_height",
"tilemap_set_mask",
"tilemap_set_width",
"tilemap_tileset",
"tilemap_x",
"tilemap_y",
"tileset_get_info",
"tileset_get_name",
"tileset_get_texture",
"tileset_get_uvs",
"time_bpm_to_seconds",
"time_seconds_to_bpm",
"time_source_create",
"time_source_destroy",
"time_source_exists",
"time_source_get_children",
"time_source_get_parent",
"time_source_get_period",
"time_source_get_reps_completed",
"time_source_get_reps_remaining",
"time_source_get_state",
"time_source_get_time_remaining",
"time_source_get_units",
"time_source_pause",
"time_source_reconfigure",
"time_source_reset",
"time_source_resume",
"time_source_start",
"time_source_stop",
"timeline_add",
"timeline_clear",
"timeline_delete",
"timeline_exists",
"timeline_get_name",
"timeline_max_moment",
"timeline_moment_add_script",
"timeline_moment_clear",
"timeline_size",
"typeof",
"url_get_domain",
"url_open",
"url_open_ext",
"url_open_full",
"uwp_device_touchscreen_available",
"uwp_livetile_badge_clear",
"uwp_livetile_badge_notification",
"uwp_livetile_notification_begin",
"uwp_livetile_notification_end",
"uwp_livetile_notification_expiry",
"uwp_livetile_notification_image_add",
"uwp_livetile_notification_secondary_begin",
"uwp_livetile_notification_tag",
"uwp_livetile_notification_template_add",
"uwp_livetile_notification_text_add",
"uwp_livetile_queue_enable",
"uwp_livetile_tile_clear",
"uwp_secondarytile_badge_clear",
"uwp_secondarytile_badge_notification",
"uwp_secondarytile_delete",
"uwp_secondarytile_pin",
"uwp_secondarytile_tile_clear",
"variable_clone",
"variable_get_hash",
"variable_global_exists",
"variable_global_get",
"variable_global_set",
"variable_instance_exists",
"variable_instance_get",
"variable_instance_get_names",
"variable_instance_names_count",
"variable_instance_set",
"variable_struct_exists",
"variable_struct_get",
"variable_struct_get_names",
"variable_struct_names_count",
"variable_struct_remove",
"variable_struct_set",
"vertex_argb",
"vertex_begin",
"vertex_color",
"vertex_colour",
"vertex_create_buffer",
"vertex_create_buffer_ext",
"vertex_create_buffer_from_buffer",
"vertex_create_buffer_from_buffer_ext",
"vertex_delete_buffer",
"vertex_end",
"vertex_float1",
"vertex_float2",
"vertex_float3",
"vertex_float4",
"vertex_format_add_color",
"vertex_format_add_colour",
"vertex_format_add_custom",
"vertex_format_add_normal",
"vertex_format_add_position",
"vertex_format_add_position_3d",
"vertex_format_add_texcoord",
"vertex_format_begin",
"vertex_format_delete",
"vertex_format_end",
"vertex_format_get_info",
"vertex_freeze",
"vertex_get_buffer_size",
"vertex_get_number",
"vertex_normal",
"vertex_position",
"vertex_position_3d",
"vertex_submit",
"vertex_submit_ext",
"vertex_texcoord",
"vertex_ubyte4",
"vertex_update_buffer_from_buffer",
"vertex_update_buffer_from_vertex",
"video_close",
"video_draw",
"video_enable_loop",
"video_get_duration",
"video_get_format",
"video_get_position",
"video_get_status",
"video_get_volume",
"video_is_looping",
"video_open",
"video_pause",
"video_resume",
"video_seek_to",
"video_set_volume",
"view_get_camera",
"view_get_hport",
"view_get_surface_id",
"view_get_visible",
"view_get_wport",
"view_get_xport",
"view_get_yport",
"view_set_camera",
"view_set_hport",
"view_set_surface_id",
"view_set_visible",
"view_set_wport",
"view_set_xport",
"view_set_yport",
"virtual_key_add",
"virtual_key_delete",
"virtual_key_hide",
"virtual_key_show",
"wallpaper_set_config",
"wallpaper_set_subscriptions",
"weak_ref_alive",
"weak_ref_any_alive",
"weak_ref_create",
"window_center",
"window_device",
"window_enable_borderless_fullscreen",
"window_get_borderless_fullscreen",
"window_get_caption",
"window_get_color",
"window_get_colour",
"window_get_cursor",
"window_get_fullscreen",
"window_get_height",
"window_get_showborder",
"window_get_visible_rects",
"window_get_width",
"window_get_x",
"window_get_y",
"window_handle",
"window_has_focus",
"window_mouse_get_delta_x",
"window_mouse_get_delta_y",
"window_mouse_get_locked",
"window_mouse_get_x",
"window_mouse_get_y",
"window_mouse_set",
"window_mouse_set_locked",
"window_set_caption",
"window_set_color",
"window_set_colour",
"window_set_cursor",
"window_set_fullscreen",
"window_set_max_height",
"window_set_max_width",
"window_set_min_height",
"window_set_min_width",
"window_set_position",
"window_set_rectangle",
"window_set_showborder",
"window_set_size",
"window_view_mouse_get_x",
"window_view_mouse_get_y",
"window_views_mouse_get_x",
"window_views_mouse_get_y",
"winphone_tile_background_color",
"winphone_tile_background_colour",
"zip_add_file",
"zip_create",
"zip_save",
"zip_unzip",
"zip_unzip_async"
];
const SYMBOLS = [
"AudioEffect",
"AudioEffectType",
"AudioLFOType",
"GM_build_date",
"GM_build_type",
"GM_is_sandboxed",
"GM_project_filename",
"GM_runtime_version",
"GM_version",
"NaN",
"_GMFILE_",
"_GMFUNCTION_",
"_GMLINE_",
"alignmentH",
"alignmentV",
"all",
"animcurvetype_bezier",
"animcurvetype_catmullrom",
"animcurvetype_linear",
"asset_animationcurve",
"asset_font",
"asset_object",
"asset_path",
"asset_room",
"asset_script",
"asset_sequence",
"asset_shader",
"asset_sound",
"asset_sprite",
"asset_tiles",
"asset_timeline",
"asset_unknown",
"audio_3D",
"audio_bus_main",
"audio_falloff_exponent_distance",
"audio_falloff_exponent_distance_clamped",
"audio_falloff_exponent_distance_scaled",
"audio_falloff_inverse_distance",
"audio_falloff_inverse_distance_clamped",
"audio_falloff_inverse_distance_scaled",
"audio_falloff_linear_distance",
"audio_falloff_linear_distance_clamped",
"audio_falloff_none",
"audio_mono",
"audio_stereo",
"bboxkind_diamond",
"bboxkind_ellipse",
"bboxkind_precise",
"bboxkind_rectangular",
"bboxmode_automatic",
"bboxmode_fullimage",
"bboxmode_manual",
"bm_add",
"bm_dest_alpha",
"bm_dest_color",
"bm_dest_colour",
"bm_inv_dest_alpha",
"bm_inv_dest_color",
"bm_inv_dest_colour",
"bm_inv_src_alpha",
"bm_inv_src_color",
"bm_inv_src_colour",
"bm_max",
"bm_normal",
"bm_one",
"bm_src_alpha",
"bm_src_alpha_sat",
"bm_src_color",
"bm_src_colour",
"bm_subtract",
"bm_zero",
"browser_chrome",
"browser_edge",
"browser_firefox",
"browser_ie",
"browser_ie_mobile",
"browser_not_a_browser",
"browser_opera",
"browser_safari",
"browser_safari_mobile",
"browser_tizen",
"browser_unknown",
"browser_windows_store",
"buffer_bool",
"buffer_f16",
"buffer_f32",
"buffer_f64",
"buffer_fast",
"buffer_fixed",
"buffer_grow",
"buffer_s16",
"buffer_s32",
"buffer_s8",
"buffer_seek_end",
"buffer_seek_relative",
"buffer_seek_start",
"buffer_string",
"buffer_text",
"buffer_u16",
"buffer_u32",
"buffer_u64",
"buffer_u8",
"buffer_vbuffer",
"buffer_wrap",
"c_aqua",
"c_black",
"c_blue",
"c_dkgray",
"c_dkgrey",
"c_fuchsia",
"c_gray",
"c_green",
"c_grey",
"c_lime",
"c_ltgray",
"c_ltgrey",
"c_maroon",
"c_navy",
"c_olive",
"c_orange",
"c_purple",
"c_red",
"c_silver",
"c_teal",
"c_white",
"c_yellow",
"cache_directory",
"characterSpacing",
"cmpfunc_always",
"cmpfunc_equal",
"cmpfunc_greater",
"cmpfunc_greaterequal",
"cmpfunc_less",
"cmpfunc_lessequal",
"cmpfunc_never",
"cmpfunc_notequal",
"coreColor",
"coreColour",
"cr_appstart",
"cr_arrow",
"cr_beam",
"cr_cross",
"cr_default",
"cr_drag",
"cr_handpoint",
"cr_hourglass",
"cr_none",
"cr_size_all",
"cr_size_nesw",
"cr_size_ns",
"cr_size_nwse",
"cr_size_we",
"cr_uparrow",
"cull_clockwise",
"cull_counterclockwise",
"cull_noculling",
"device_emulator",
"device_ios_ipad",
"device_ios_ipad_retina",
"device_ios_iphone",
"device_ios_iphone5",
"device_ios_iphone6",
"device_ios_iphone6plus",
"device_ios_iphone_retina",
"device_ios_unknown",
"device_tablet",
"display_landscape",
"display_landscape_flipped",
"display_portrait",
"display_portrait_flipped",
"dll_cdecl",
"dll_stdcall",
"dropShadowEnabled",
"dropShadowEnabled",
"ds_type_grid",
"ds_type_list",
"ds_type_map",
"ds_type_priority",
"ds_type_queue",
"ds_type_stack",
"ef_cloud",
"ef_ellipse",
"ef_explosion",
"ef_firework",
"ef_flare",
"ef_rain",
"ef_ring",
"ef_smoke",
"ef_smokeup",
"ef_snow",
"ef_spark",
"ef_star",
"effectsEnabled",
"effectsEnabled",
"ev_alarm",
"ev_animation_end",
"ev_animation_event",
"ev_animation_update",
"ev_async_audio_playback",
"ev_async_audio_playback_ended",
"ev_async_audio_recording",
"ev_async_dialog",
"ev_async_push_notification",
"ev_async_save_load",
"ev_async_save_load",
"ev_async_social",
"ev_async_system_event",
"ev_async_web",
"ev_async_web_cloud",
"ev_async_web_iap",
"ev_async_web_image_load",
"ev_async_web_networking",
"ev_async_web_steam",
"ev_audio_playback",
"ev_audio_playback_ended",
"ev_audio_recording",
"ev_boundary",
"ev_boundary_view0",
"ev_boundary_view1",
"ev_boundary_view2",
"ev_boundary_view3",
"ev_boundary_view4",
"ev_boundary_view5",
"ev_boundary_view6",
"ev_boundary_view7",
"ev_broadcast_message",
"ev_cleanup",
"ev_collision",
"ev_create",
"ev_destroy",
"ev_dialog_async",
"ev_draw",
"ev_draw_begin",
"ev_draw_end",
"ev_draw_normal",
"ev_draw_post",
"ev_draw_pre",
"ev_end_of_path",
"ev_game_end",
"ev_game_start",
"ev_gesture",
"ev_gesture_double_tap",
"ev_gesture_drag_end",
"ev_gesture_drag_start",
"ev_gesture_dragging",
"ev_gesture_flick",
"ev_gesture_pinch_end",
"ev_gesture_pinch_in",
"ev_gesture_pinch_out",
"ev_gesture_pinch_start",
"ev_gesture_rotate_end",
"ev_gesture_rotate_start",
"ev_gesture_rotating",
"ev_gesture_tap",
"ev_global_gesture_double_tap",
"ev_global_gesture_drag_end",
"ev_global_gesture_drag_start",
"ev_global_gesture_dragging",
"ev_global_gesture_flick",
"ev_global_gesture_pinch_end",
"ev_global_gesture_pinch_in",
"ev_global_gesture_pinch_out",
"ev_global_gesture_pinch_start",
"ev_global_gesture_rotate_end",
"ev_global_gesture_rotate_start",
"ev_global_gesture_rotating",
"ev_global_gesture_tap",
"ev_global_left_button",
"ev_global_left_press",
"ev_global_left_release",
"ev_global_middle_button",
"ev_global_middle_press",
"ev_global_middle_release",
"ev_global_right_button",
"ev_global_right_press",
"ev_global_right_release",
"ev_gui",
"ev_gui_begin",
"ev_gui_end",
"ev_joystick1_button1",
"ev_joystick1_button2",
"ev_joystick1_button3",
"ev_joystick1_button4",
"ev_joystick1_button5",
"ev_joystick1_button6",
"ev_joystick1_button7",
"ev_joystick1_button8",
"ev_joystick1_down",
"ev_joystick1_left",
"ev_joystick1_right",
"ev_joystick1_up",
"ev_joystick2_button1",
"ev_joystick2_button2",
"ev_joystick2_button3",
"ev_joystick2_button4",
"ev_joystick2_button5",
"ev_joystick2_button6",
"ev_joystick2_button7",
"ev_joystick2_button8",
"ev_joystick2_down",
"ev_joystick2_left",
"ev_joystick2_right",
"ev_joystick2_up",
"ev_keyboard",
"ev_keypress",
"ev_keyrelease",
"ev_left_button",
"ev_left_press",
"ev_left_release",
"ev_middle_button",
"ev_middle_press",
"ev_middle_release",
"ev_mouse",
"ev_mouse_enter",
"ev_mouse_leave",
"ev_mouse_wheel_down",
"ev_mouse_wheel_up",
"ev_no_button",
"ev_no_more_health",
"ev_no_more_lives",
"ev_other",
"ev_outside",
"ev_outside_view0",
"ev_outside_view1",
"ev_outside_view2",
"ev_outside_view3",
"ev_outside_view4",
"ev_outside_view5",
"ev_outside_view6",
"ev_outside_view7",
"ev_pre_create",
"ev_push_notification",
"ev_right_button",
"ev_right_press",
"ev_right_release",
"ev_room_end",
"ev_room_start",
"ev_social",
"ev_step",
"ev_step_begin",
"ev_step_end",
"ev_step_normal",
"ev_system_event",
"ev_trigger",
"ev_user0",
"ev_user1",
"ev_user10",
"ev_user11",
"ev_user12",
"ev_user13",
"ev_user14",
"ev_user15",
"ev_user2",
"ev_user3",
"ev_user4",
"ev_user5",
"ev_user6",
"ev_user7",
"ev_user8",
"ev_user9",
"ev_web_async",
"ev_web_cloud",
"ev_web_iap",
"ev_web_image_load",
"ev_web_networking",
"ev_web_sound_load",
"ev_web_steam",
"fa_archive",
"fa_bottom",
"fa_center",
"fa_directory",
"fa_hidden",
"fa_left",
"fa_middle",
"fa_none",
"fa_readonly",
"fa_right",
"fa_sysfile",
"fa_top",
"fa_volumeid",
"false",
"frameSizeX",
"frameSizeY",
"gamespeed_fps",
"gamespeed_microseconds",
"global",
"glowColor",
"glowColour",
"glowEnabled",
"glowEnabled",
"glowEnd",
"glowStart",
"gp_axis_acceleration_x",
"gp_axis_acceleration_y",
"gp_axis_acceleration_z",
"gp_axis_angular_velocity_x",
"gp_axis_angular_velocity_y",
"gp_axis_angular_velocity_z",
"gp_axis_orientation_w",
"gp_axis_orientation_x",
"gp_axis_orientation_y",
"gp_axis_orientation_z",
"gp_axislh",
"gp_axislv",
"gp_axisrh",
"gp_axisrv",
"gp_face1",
"gp_face2",
"gp_face3",
"gp_face4",
"gp_padd",
"gp_padl",
"gp_padr",
"gp_padu",
"gp_select",
"gp_shoulderl",
"gp_shoulderlb",
"gp_shoulderr",
"gp_shoulderrb",
"gp_start",
"gp_stickl",
"gp_stickr",
"iap_available",
"iap_canceled",
"iap_ev_consume",
"iap_ev_product",
"iap_ev_purchase",
"iap_ev_restore",
"iap_ev_storeload",
"iap_failed",
"iap_purchased",
"iap_refunded",
"iap_status_available",
"iap_status_loading",
"iap_status_processing",
"iap_status_restoring",
"iap_status_unavailable",
"iap_status_uninitialised",
"iap_storeload_failed",
"iap_storeload_ok",
"iap_unavailable",
"infinity",
"kbv_autocapitalize_characters",
"kbv_autocapitalize_none",
"kbv_autocapitalize_sentences",
"kbv_autocapitalize_words",
"kbv_returnkey_continue",
"kbv_returnkey_default",
"kbv_returnkey_done",
"kbv_returnkey_emergency",
"kbv_returnkey_go",
"kbv_returnkey_google",
"kbv_returnkey_join",
"kbv_returnkey_next",
"kbv_returnkey_route",
"kbv_returnkey_search",
"kbv_returnkey_send",
"kbv_returnkey_yahoo",
"kbv_type_ascii",
"kbv_type_default",
"kbv_type_email",
"kbv_type_numbers",
"kbv_type_phone",
"kbv_type_phone_name",
"kbv_type_url",
"layerelementtype_background",
"layerelementtype_instance",
"layerelementtype_oldtilemap",
"layerelementtype_particlesystem",
"layerelementtype_sequence",
"layerelementtype_sprite",
"layerelementtype_tile",
"layerelementtype_tilemap",
"layerelementtype_undefined",
"leaderboard_type_number",
"leaderboard_type_time_mins_secs",
"lighttype_dir",
"lighttype_point",
"lineSpacing",
"m_axisx",
"m_axisx_gui",
"m_axisy",
"m_axisy_gui",
"m_scroll_down",
"m_scroll_up",
"matrix_projection",
"matrix_view",
"matrix_world",
"mb_any",
"mb_left",
"mb_middle",
"mb_none",
"mb_right",
"mb_side1",
"mb_side2",
"mip_markedonly",
"mip_off",
"mip_on",
"network_config_avoid_time_wait",
"network_config_connect_timeout",
"network_config_disable_multicast",
"network_config_disable_reliable_udp",
"network_config_enable_multicast",
"network_config_enable_reliable_udp",
"network_config_use_non_blocking_socket",
"network_config_websocket_protocol",
"network_connect_active",
"network_connect_blocking",
"network_connect_nonblocking",
"network_connect_none",
"network_connect_passive",
"network_send_binary",
"network_send_text",
"network_socket_bluetooth",
"network_socket_tcp",
"network_socket_udp",
"network_socket_ws",
"network_socket_wss",
"network_type_connect",
"network_type_data",
"network_type_disconnect",
"network_type_down",
"network_type_non_blocking_connect",
"network_type_up",
"network_type_up_failed",
"nineslice_blank",
"nineslice_bottom",
"nineslice_center",
"nineslice_centre",
"nineslice_hide",
"nineslice_left",
"nineslice_mirror",
"nineslice_repeat",
"nineslice_right",
"nineslice_stretch",
"nineslice_top",
"noone",
"of_challenge_lose",
"of_challenge_tie",
"of_challenge_win",
"os_android",
"os_gdk",
"os_gxgames",
"os_ios",
"os_linux",
"os_macosx",
"os_operagx",
"os_permission_denied",
"os_permission_denied_dont_request",
"os_permission_granted",
"os_ps3",
"os_ps4",
"os_ps5",
"os_psvita",
"os_switch",
"os_tvos",
"os_unknown",
"os_uwp",
"os_win8native",
"os_windows",
"os_winphone",
"os_xboxone",
"os_xboxseriesxs",
"other",
"outlineColor",
"outlineColour",
"outlineDist",
"outlineEnabled",
"outlineEnabled",
"paragraphSpacing",
"path_action_continue",
"path_action_restart",
"path_action_reverse",
"path_action_stop",
"phy_debug_render_aabb",
"phy_debug_render_collision_pairs",
"phy_debug_render_coms",
"phy_debug_render_core_shapes",
"phy_debug_render_joints",
"phy_debug_render_obb",
"phy_debug_render_shapes",
"phy_joint_anchor_1_x",
"phy_joint_anchor_1_y",
"phy_joint_anchor_2_x",
"phy_joint_anchor_2_y",
"phy_joint_angle",
"phy_joint_angle_limits",
"phy_joint_damping_ratio",
"phy_joint_frequency",
"phy_joint_length_1",
"phy_joint_length_2",
"phy_joint_lower_angle_limit",
"phy_joint_max_force",
"phy_joint_max_length",
"phy_joint_max_motor_force",
"phy_joint_max_motor_torque",
"phy_joint_max_torque",
"phy_joint_motor_force",
"phy_joint_motor_speed",
"phy_joint_motor_torque",
"phy_joint_reaction_force_x",
"phy_joint_reaction_force_y",
"phy_joint_reaction_torque",
"phy_joint_speed",
"phy_joint_translation",
"phy_joint_upper_angle_limit",
"phy_particle_data_flag_category",
"phy_particle_data_flag_color",
"phy_particle_data_flag_colour",
"phy_particle_data_flag_position",
"phy_particle_data_flag_typeflags",
"phy_particle_data_flag_velocity",
"phy_particle_flag_colormixing",
"phy_particle_flag_colourmixing",
"phy_particle_flag_elastic",
"phy_particle_flag_powder",
"phy_particle_flag_spring",
"phy_particle_flag_tensile",
"phy_particle_flag_viscous",
"phy_particle_flag_wall",
"phy_particle_flag_water",
"phy_particle_flag_zombie",
"phy_particle_group_flag_rigid",
"phy_particle_group_flag_solid",
"pi",
"pointer_invalid",
"pointer_null",
"pr_linelist",
"pr_linestrip",
"pr_pointlist",
"pr_trianglefan",
"pr_trianglelist",
"pr_trianglestrip",
"ps_distr_gaussian",
"ps_distr_invgaussian",
"ps_distr_linear",
"ps_mode_burst",
"ps_mode_stream",
"ps_shape_diamond",
"ps_shape_ellipse",
"ps_shape_line",
"ps_shape_rectangle",
"pt_shape_circle",
"pt_shape_cloud",
"pt_shape_disk",
"pt_shape_explosion",
"pt_shape_flare",
"pt_shape_line",
"pt_shape_pixel",
"pt_shape_ring",
"pt_shape_smoke",
"pt_shape_snow",
"pt_shape_spark",
"pt_shape_sphere",
"pt_shape_square",
"pt_shape_star",
"rollback_chat_message",
"rollback_connect_error",
"rollback_connect_info",
"rollback_connected_to_peer",
"rollback_connection_rejected",
"rollback_disconnected_from_peer",
"rollback_end_game",
"rollback_game_full",
"rollback_game_info",
"rollback_game_interrupted",
"rollback_game_resumed",
"rollback_high_latency",
"rollback_player_prefs",
"rollback_protocol_rejected",
"rollback_synchronized_with_peer",
"rollback_synchronizing_with_peer",
"self",
"seqaudiokey_loop",
"seqaudiokey_oneshot",
"seqdir_left",
"seqdir_right",
"seqinterpolation_assign",
"seqinterpolation_lerp",
"seqplay_loop",
"seqplay_oneshot",
"seqplay_pingpong",
"seqtextkey_bottom",
"seqtextkey_center",
"seqtextkey_justify",
"seqtextkey_left",
"seqtextkey_middle",
"seqtextkey_right",
"seqtextkey_top",
"seqtracktype_audio",
"seqtracktype_bool",
"seqtracktype_clipmask",
"seqtracktype_clipmask_mask",
"seqtracktype_clipmask_subject",
"seqtracktype_color",
"seqtracktype_colour",
"seqtracktype_empty",
"seqtracktype_graphic",
"seqtracktype_group",
"seqtracktype_instance",
"seqtracktype_message",
"seqtracktype_moment",
"seqtracktype_particlesystem",
"seqtracktype_real",
"seqtracktype_sequence",
"seqtracktype_spriteframes",
"seqtracktype_string",
"seqtracktype_text",
"shadowColor",
"shadowColour",
"shadowOffsetX",
"shadowOffsetY",
"shadowSoftness",
"sprite_add_ext_error_cancelled",
"sprite_add_ext_error_decompressfailed",
"sprite_add_ext_error_loadfailed",
"sprite_add_ext_error_setupfailed",
"sprite_add_ext_error_spritenotfound",
"sprite_add_ext_error_unknown",
"spritespeed_framespergameframe",
"spritespeed_framespersecond",
"surface_r16float",
"surface_r32float",
"surface_r8unorm",
"surface_rg8unorm",
"surface_rgba16float",
"surface_rgba32float",
"surface_rgba4unorm",
"surface_rgba8unorm",
"texturegroup_status_fetched",
"texturegroup_status_loaded",
"texturegroup_status_loading",
"texturegroup_status_unloaded",
"tf_anisotropic",
"tf_linear",
"tf_point",
"thickness",
"tile_flip",
"tile_index_mask",
"tile_mirror",
"tile_rotate",
"time_source_expire_after",
"time_source_expire_nearest",
"time_source_game",
"time_source_global",
"time_source_state_active",
"time_source_state_initial",
"time_source_state_paused",
"time_source_state_stopped",
"time_source_units_frames",
"time_source_units_seconds",
"timezone_local",
"timezone_utc",
"tm_countvsyncs",
"tm_sleep",
"tm_systemtiming",
"true",
"ty_real",
"ty_string",
"undefined",
"vertex_type_color",
"vertex_type_colour",
"vertex_type_float1",
"vertex_type_float2",
"vertex_type_float3",
"vertex_type_float4",
"vertex_type_ubyte4",
"vertex_usage_binormal",
"vertex_usage_blendindices",
"vertex_usage_blendweight",
"vertex_usage_color",
"vertex_usage_colour",
"vertex_usage_depth",
"vertex_usage_fog",
"vertex_usage_normal",
"vertex_usage_position",
"vertex_usage_psize",
"vertex_usage_sample",
"vertex_usage_tangent",
"vertex_usage_texcoord",
"video_format_rgba",
"video_format_yuv",
"video_status_closed",
"video_status_paused",
"video_status_playing",
"video_status_preparing",
"vk_add",
"vk_alt",
"vk_anykey",
"vk_backspace",
"vk_control",
"vk_decimal",
"vk_delete",
"vk_divide",
"vk_down",
"vk_end",
"vk_enter",
"vk_escape",
"vk_f1",
"vk_f10",
"vk_f11",
"vk_f12",
"vk_f2",
"vk_f3",
"vk_f4",
"vk_f5",
"vk_f6",
"vk_f7",
"vk_f8",
"vk_f9",
"vk_home",
"vk_insert",
"vk_lalt",
"vk_lcontrol",
"vk_left",
"vk_lshift",
"vk_multiply",
"vk_nokey",
"vk_numpad0",
"vk_numpad1",
"vk_numpad2",
"vk_numpad3",
"vk_numpad4",
"vk_numpad5",
"vk_numpad6",
"vk_numpad7",
"vk_numpad8",
"vk_numpad9",
"vk_pagedown",
"vk_pageup",
"vk_pause",
"vk_printscreen",
"vk_ralt",
"vk_rcontrol",
"vk_return",
"vk_right",
"vk_rshift",
"vk_shift",
"vk_space",
"vk_subtract",
"vk_tab",
"vk_up",
"wallpaper_config",
"wallpaper_subscription_data",
"wrap"
];
const LANGUAGE_VARIABLES = [
"alarm",
"application_surface",
"argument",
"argument0",
"argument1",
"argument2",
"argument3",
"argument4",
"argument5",
"argument6",
"argument7",
"argument8",
"argument9",
"argument10",
"argument11",
"argument12",
"argument13",
"argument14",
"argument15",
"argument_count",
"async_load",
"background_color",
"background_colour",
"background_showcolor",
"background_showcolour",
"bbox_bottom",
"bbox_left",
"bbox_right",
"bbox_top",
"browser_height",
"browser_width",
"colour?ColourTrack",
"current_day",
"current_hour",
"current_minute",
"current_month",
"current_second",
"current_time",
"current_weekday",
"current_year",
"cursor_sprite",
"debug_mode",
"delta_time",
"depth",
"direction",
"display_aa",
"drawn_by_sequence",
"event_action",
"event_data",
"event_number",
"event_object",
"event_type",
"font_texture_page_size",
"fps",
"fps_real",
"friction",
"game_display_name",
"game_id",
"game_project_name",
"game_save_id",
"gravity",
"gravity_direction",
"health",
"hspeed",
"iap_data",
"id",
"image_alpha",
"image_angle",
"image_blend",
"image_index",
"image_number",
"image_speed",
"image_xscale",
"image_yscale",
"in_collision_tree",
"in_sequence",
"instance_count",
"instance_id",
"keyboard_key",
"keyboard_lastchar",
"keyboard_lastkey",
"keyboard_string",
"layer",
"lives",
"longMessage",
"managed",
"mask_index",
"message",
"mouse_button",
"mouse_lastbutton",
"mouse_x",
"mouse_y",
"object_index",
"os_browser",
"os_device",
"os_type",
"os_version",
"path_endaction",
"path_index",
"path_orientation",
"path_position",
"path_positionprevious",
"path_scale",
"path_speed",
"persistent",
"phy_active",
"phy_angular_damping",
"phy_angular_velocity",
"phy_bullet",
"phy_col_normal_x",
"phy_col_normal_y",
"phy_collision_points",
"phy_collision_x",
"phy_collision_y",
"phy_com_x",
"phy_com_y",
"phy_dynamic",
"phy_fixed_rotation",
"phy_inertia",
"phy_kinematic",
"phy_linear_damping",
"phy_linear_velocity_x",
"phy_linear_velocity_y",
"phy_mass",
"phy_position_x",
"phy_position_xprevious",
"phy_position_y",
"phy_position_yprevious",
"phy_rotation",
"phy_sleeping",
"phy_speed",
"phy_speed_x",
"phy_speed_y",
"player_avatar_sprite",
"player_avatar_url",
"player_id",
"player_local",
"player_type",
"player_user_id",
"program_directory",
"rollback_api_server",
"rollback_confirmed_frame",
"rollback_current_frame",
"rollback_event_id",
"rollback_event_param",
"rollback_game_running",
"room",
"room_first",
"room_height",
"room_last",
"room_persistent",
"room_speed",
"room_width",
"score",
"script",
"sequence_instance",
"solid",
"speed",
"sprite_height",
"sprite_index",
"sprite_width",
"sprite_xoffset",
"sprite_yoffset",
"stacktrace",
"temp_directory",
"timeline_index",
"timeline_loop",
"timeline_position",
"timeline_running",
"timeline_speed",
"view_camera",
"view_current",
"view_enabled",
"view_hport",
"view_surface_id",
"view_visible",
"view_wport",
"view_xport",
"view_yport",
"visible",
"vspeed",
"webgl_enabled",
"working_directory",
"x",
"xprevious",
"xstart",
"y",
"yprevious",
"ystart"
];
return {
name: 'GML',
case_insensitive: false, // language is case-insensitive
keywords: {
keyword: KEYWORDS,
built_in: BUILT_INS,
symbol: SYMBOLS,
"variable.language": LANGUAGE_VARIABLES
},
contains: [
hljs.C_LINE_COMMENT_MODE,
hljs.C_BLOCK_COMMENT_MODE,
hljs.APOS_STRING_MODE,
hljs.QUOTE_STRING_MODE,
hljs.C_NUMBER_MODE
]
};
}
return gml;
})();
hljs.registerLanguage('gml', hljsGrammar);
})();/*! `go` grammar compiled for Highlight.js 11.11.1 */
(function(){
var hljsGrammar = (function () {
'use strict';
/*
Language: Go
Author: Stephan Kountso aka StepLg
Contributors: Evgeny Stepanischev
Description: Google go language (golang). For info about language
Website: http://golang.org/
Category: common, system
*/
function go(hljs) {
const LITERALS = [
"true",
"false",
"iota",
"nil"
];
const BUILT_INS = [
"append",
"cap",
"close",
"complex",
"copy",
"imag",
"len",
"make",
"new",
"panic",
"print",
"println",
"real",
"recover",
"delete"
];
const TYPES = [
"bool",
"byte",
"complex64",
"complex128",
"error",
"float32",
"float64",
"int8",
"int16",
"int32",
"int64",
"string",
"uint8",
"uint16",
"uint32",
"uint64",
"int",
"uint",
"uintptr",
"rune"
];
const KWS = [
"break",
"case",
"chan",
"const",
"continue",
"default",
"defer",
"else",
"fallthrough",
"for",
"func",
"go",
"goto",
"if",
"import",
"interface",
"map",
"package",
"range",
"return",
"select",
"struct",
"switch",
"type",
"var",
];
const KEYWORDS = {
keyword: KWS,
type: TYPES,
literal: LITERALS,
built_in: BUILT_INS
};
return {
name: 'Go',
aliases: [ 'golang' ],
keywords: KEYWORDS,
illegal: '',
contains: [
hljs.C_LINE_COMMENT_MODE,
hljs.C_BLOCK_COMMENT_MODE,
{
className: 'string',
variants: [
hljs.QUOTE_STRING_MODE,
hljs.APOS_STRING_MODE,
{
begin: '`',
end: '`'
}
]
},
{
className: 'number',
variants: [
{
match: /-?\b0[xX]\.[a-fA-F0-9](_?[a-fA-F0-9])*[pP][+-]?\d(_?\d)*i?/, // hex without a present digit before . (making a digit afterwards required)
relevance: 0
},
{
match: /-?\b0[xX](_?[a-fA-F0-9])+((\.([a-fA-F0-9](_?[a-fA-F0-9])*)?)?[pP][+-]?\d(_?\d)*)?i?/, // hex with a present digit before . (making a digit afterwards optional)
relevance: 0
},
{
match: /-?\b0[oO](_?[0-7])*i?/, // leading 0o octal
relevance: 0
},
{
match: /-?\.\d(_?\d)*([eE][+-]?\d(_?\d)*)?i?/, // decimal without a present digit before . (making a digit afterwards required)
relevance: 0
},
{
match: /-?\b\d(_?\d)*(\.(\d(_?\d)*)?)?([eE][+-]?\d(_?\d)*)?i?/, // decimal with a present digit before . (making a digit afterwards optional)
relevance: 0
}
]
},
{ begin: /:=/ // relevance booster
},
{
className: 'function',
beginKeywords: 'func',
end: '\\s*(\\{|$)',
excludeEnd: true,
contains: [
hljs.TITLE_MODE,
{
className: 'params',
begin: /\(/,
end: /\)/,
endsParent: true,
keywords: KEYWORDS,
illegal: /["']/
}
]
}
]
};
}
return go;
})();
hljs.registerLanguage('go', hljsGrammar);
})();/*! `golo` grammar compiled for Highlight.js 11.11.1 */
(function(){
var hljsGrammar = (function () {
'use strict';
/*
Language: Golo
Author: Philippe Charriere
Description: a lightweight dynamic language for the JVM
Website: http://golo-lang.org/
Category: system
*/
function golo(hljs) {
const KEYWORDS = [
"println",
"readln",
"print",
"import",
"module",
"function",
"local",
"return",
"let",
"var",
"while",
"for",
"foreach",
"times",
"in",
"case",
"when",
"match",
"with",
"break",
"continue",
"augment",
"augmentation",
"each",
"find",
"filter",
"reduce",
"if",
"then",
"else",
"otherwise",
"try",
"catch",
"finally",
"raise",
"throw",
"orIfNull",
"DynamicObject|10",
"DynamicVariable",
"struct",
"Observable",
"map",
"set",
"vector",
"list",
"array"
];
return {
name: 'Golo',
keywords: {
keyword: KEYWORDS,
literal: [
"true",
"false",
"null"
]
},
contains: [
hljs.HASH_COMMENT_MODE,
hljs.QUOTE_STRING_MODE,
hljs.C_NUMBER_MODE,
{
className: 'meta',
begin: '@[A-Za-z]+'
}
]
};
}
return golo;
})();
hljs.registerLanguage('golo', hljsGrammar);
})();/*! `gradle` grammar compiled for Highlight.js 11.11.1 */
(function(){
var hljsGrammar = (function () {
'use strict';
/*
Language: Gradle
Description: Gradle is an open-source build automation tool focused on flexibility and performance.
Website: https://gradle.org
Author: Damian Mee
Category: build-system
*/
function gradle(hljs) {
const KEYWORDS = [
"task",
"project",
"allprojects",
"subprojects",
"artifacts",
"buildscript",
"configurations",
"dependencies",
"repositories",
"sourceSets",
"description",
"delete",
"from",
"into",
"include",
"exclude",
"source",
"classpath",
"destinationDir",
"includes",
"options",
"sourceCompatibility",
"targetCompatibility",
"group",
"flatDir",
"doLast",
"doFirst",
"flatten",
"todir",
"fromdir",
"ant",
"def",
"abstract",
"break",
"case",
"catch",
"continue",
"default",
"do",
"else",
"extends",
"final",
"finally",
"for",
"if",
"implements",
"instanceof",
"native",
"new",
"private",
"protected",
"public",
"return",
"static",
"switch",
"synchronized",
"throw",
"throws",
"transient",
"try",
"volatile",
"while",
"strictfp",
"package",
"import",
"false",
"null",
"super",
"this",
"true",
"antlrtask",
"checkstyle",
"codenarc",
"copy",
"boolean",
"byte",
"char",
"class",
"double",
"float",
"int",
"interface",
"long",
"short",
"void",
"compile",
"runTime",
"file",
"fileTree",
"abs",
"any",
"append",
"asList",
"asWritable",
"call",
"collect",
"compareTo",
"count",
"div",
"dump",
"each",
"eachByte",
"eachFile",
"eachLine",
"every",
"find",
"findAll",
"flatten",
"getAt",
"getErr",
"getIn",
"getOut",
"getText",
"grep",
"immutable",
"inject",
"inspect",
"intersect",
"invokeMethods",
"isCase",
"join",
"leftShift",
"minus",
"multiply",
"newInputStream",
"newOutputStream",
"newPrintWriter",
"newReader",
"newWriter",
"next",
"plus",
"pop",
"power",
"previous",
"print",
"println",
"push",
"putAt",
"read",
"readBytes",
"readLines",
"reverse",
"reverseEach",
"round",
"size",
"sort",
"splitEachLine",
"step",
"subMap",
"times",
"toInteger",
"toList",
"tokenize",
"upto",
"waitForOrKill",
"withPrintWriter",
"withReader",
"withStream",
"withWriter",
"withWriterAppend",
"write",
"writeLine"
];
return {
name: 'Gradle',
case_insensitive: true,
keywords: KEYWORDS,
contains: [
hljs.C_LINE_COMMENT_MODE,
hljs.C_BLOCK_COMMENT_MODE,
hljs.APOS_STRING_MODE,
hljs.QUOTE_STRING_MODE,
hljs.NUMBER_MODE,
hljs.REGEXP_MODE
]
};
}
return gradle;
})();
hljs.registerLanguage('gradle', hljsGrammar);
})();/*! `graphql` grammar compiled for Highlight.js 11.11.1 */
(function(){
var hljsGrammar = (function () {
'use strict';
/*
Language: GraphQL
Author: John Foster (GH jf990), and others
Description: GraphQL is a query language for APIs
Category: web, common
*/
/** @type LanguageFn */
function graphql(hljs) {
const regex = hljs.regex;
const GQL_NAME = /[_A-Za-z][_0-9A-Za-z]*/;
return {
name: "GraphQL",
aliases: [ "gql" ],
case_insensitive: true,
disableAutodetect: false,
keywords: {
keyword: [
"query",
"mutation",
"subscription",
"type",
"input",
"schema",
"directive",
"interface",
"union",
"scalar",
"fragment",
"enum",
"on"
],
literal: [
"true",
"false",
"null"
]
},
contains: [
hljs.HASH_COMMENT_MODE,
hljs.QUOTE_STRING_MODE,
hljs.NUMBER_MODE,
{
scope: "punctuation",
match: /[.]{3}/,
relevance: 0
},
{
scope: "punctuation",
begin: /[\!\(\)\:\=\[\]\{\|\}]{1}/,
relevance: 0
},
{
scope: "variable",
begin: /\$/,
end: /\W/,
excludeEnd: true,
relevance: 0
},
{
scope: "meta",
match: /@\w+/,
excludeEnd: true
},
{
scope: "symbol",
begin: regex.concat(GQL_NAME, regex.lookahead(/\s*:/)),
relevance: 0
}
],
illegal: [
/[;<']/,
/BEGIN/
]
};
}
return graphql;
})();
hljs.registerLanguage('graphql', hljsGrammar);
})();/*! `groovy` grammar compiled for Highlight.js 11.11.1 */
(function(){
var hljsGrammar = (function () {
'use strict';
/*
Language: Groovy
Author: Guillaume Laforge
Description: Groovy programming language implementation inspired from Vsevolod's Java mode
Website: https://groovy-lang.org
Category: system
*/
function variants(variants, obj = {}) {
obj.variants = variants;
return obj;
}
function groovy(hljs) {
const regex = hljs.regex;
const IDENT_RE = '[A-Za-z0-9_$]+';
const COMMENT = variants([
hljs.C_LINE_COMMENT_MODE,
hljs.C_BLOCK_COMMENT_MODE,
hljs.COMMENT(
'/\\*\\*',
'\\*/',
{
relevance: 0,
contains: [
{
// eat up @'s in emails to prevent them to be recognized as doctags
begin: /\w+@/,
relevance: 0
},
{
className: 'doctag',
begin: '@[A-Za-z]+'
}
]
}
)
]);
const REGEXP = {
className: 'regexp',
begin: /~?\/[^\/\n]+\//,
contains: [ hljs.BACKSLASH_ESCAPE ]
};
const NUMBER = variants([
hljs.BINARY_NUMBER_MODE,
hljs.C_NUMBER_MODE
]);
const STRING = variants([
{
begin: /"""/,
end: /"""/
},
{
begin: /'''/,
end: /'''/
},
{
begin: "\\$/",
end: "/\\$",
relevance: 10
},
hljs.APOS_STRING_MODE,
hljs.QUOTE_STRING_MODE
],
{ className: "string" }
);
const CLASS_DEFINITION = {
match: [
/(class|interface|trait|enum|record|extends|implements)/,
/\s+/,
hljs.UNDERSCORE_IDENT_RE
],
scope: {
1: "keyword",
3: "title.class",
}
};
const TYPES = [
"byte",
"short",
"char",
"int",
"long",
"boolean",
"float",
"double",
"void"
];
const KEYWORDS = [
// groovy specific keywords
"def",
"as",
"in",
"assert",
"trait",
// common keywords with Java
"abstract",
"static",
"volatile",
"transient",
"public",
"private",
"protected",
"synchronized",
"final",
"class",
"interface",
"enum",
"if",
"else",
"for",
"while",
"switch",
"case",
"break",
"default",
"continue",
"throw",
"throws",
"try",
"catch",
"finally",
"implements",
"extends",
"new",
"import",
"package",
"return",
"instanceof",
"var"
];
return {
name: 'Groovy',
keywords: {
"variable.language": 'this super',
literal: 'true false null',
type: TYPES,
keyword: KEYWORDS
},
contains: [
hljs.SHEBANG({
binary: "groovy",
relevance: 10
}),
COMMENT,
STRING,
REGEXP,
NUMBER,
CLASS_DEFINITION,
{
className: 'meta',
begin: '@[A-Za-z]+',
relevance: 0
},
{
// highlight map keys and named parameters as attrs
className: 'attr',
begin: IDENT_RE + '[ \t]*:',
relevance: 0
},
{
// catch middle element of the ternary operator
// to avoid highlight it as a label, named parameter, or map key
begin: /\?/,
end: /:/,
relevance: 0,
contains: [
COMMENT,
STRING,
REGEXP,
NUMBER,
'self'
]
},
{
// highlight labeled statements
className: 'symbol',
begin: '^[ \t]*' + regex.lookahead(IDENT_RE + ':'),
excludeBegin: true,
end: IDENT_RE + ':',
relevance: 0
}
],
illegal: /#|<\//
};
}
return groovy;
})();
hljs.registerLanguage('groovy', hljsGrammar);
})();/*! `haml` grammar compiled for Highlight.js 11.11.1 */
(function(){
var hljsGrammar = (function () {
'use strict';
/*
Language: HAML
Requires: ruby.js
Author: Dan Allen
Website: http://haml.info
Category: template
*/
// TODO support filter tags like :javascript, support inline HTML
function haml(hljs) {
return {
name: 'HAML',
case_insensitive: true,
contains: [
{
className: 'meta',
begin: '^!!!( (5|1\\.1|Strict|Frameset|Basic|Mobile|RDFa|XML\\b.*))?$',
relevance: 10
},
// FIXME these comments should be allowed to span indented lines
hljs.COMMENT(
'^\\s*(!=#|=#|-#|/).*$',
null,
{ relevance: 0 }
),
{
begin: '^\\s*(-|=|!=)(?!#)',
end: /$/,
subLanguage: 'ruby',
excludeBegin: true,
excludeEnd: true
},
{
className: 'tag',
begin: '^\\s*%',
contains: [
{
className: 'selector-tag',
begin: '\\w+'
},
{
className: 'selector-id',
begin: '#[\\w-]+'
},
{
className: 'selector-class',
begin: '\\.[\\w-]+'
},
{
begin: /\{\s*/,
end: /\s*\}/,
contains: [
{
begin: ':\\w+\\s*=>',
end: ',\\s+',
returnBegin: true,
endsWithParent: true,
contains: [
{
className: 'attr',
begin: ':\\w+'
},
hljs.APOS_STRING_MODE,
hljs.QUOTE_STRING_MODE,
{
begin: '\\w+',
relevance: 0
}
]
}
]
},
{
begin: '\\(\\s*',
end: '\\s*\\)',
excludeEnd: true,
contains: [
{
begin: '\\w+\\s*=',
end: '\\s+',
returnBegin: true,
endsWithParent: true,
contains: [
{
className: 'attr',
begin: '\\w+',
relevance: 0
},
hljs.APOS_STRING_MODE,
hljs.QUOTE_STRING_MODE,
{
begin: '\\w+',
relevance: 0
}
]
}
]
}
]
},
{ begin: '^\\s*[=~]\\s*' },
{
begin: /#\{/,
end: /\}/,
subLanguage: 'ruby',
excludeBegin: true,
excludeEnd: true
}
]
};
}
return haml;
})();
hljs.registerLanguage('haml', hljsGrammar);
})();/*! `handlebars` grammar compiled for Highlight.js 11.11.1 */
(function(){
var hljsGrammar = (function () {
'use strict';
/*
Language: Handlebars
Requires: xml.js
Author: Robin Ward
Description: Matcher for Handlebars as well as EmberJS additions.
Website: https://handlebarsjs.com
Category: template
*/
function handlebars(hljs) {
const regex = hljs.regex;
const BUILT_INS = {
$pattern: /[\w.\/]+/,
built_in: [
'action',
'bindattr',
'collection',
'component',
'concat',
'debugger',
'each',
'each-in',
'get',
'hash',
'if',
'in',
'input',
'link-to',
'loc',
'log',
'lookup',
'mut',
'outlet',
'partial',
'query-params',
'render',
'template',
'textarea',
'unbound',
'unless',
'view',
'with',
'yield'
]
};
const LITERALS = {
$pattern: /[\w.\/]+/,
literal: [
'true',
'false',
'undefined',
'null'
]
};
// as defined in https://handlebarsjs.com/guide/expressions.html#literal-segments
// this regex matches literal segments like ' abc ' or [ abc ] as well as helpers and paths
// like a/b, ./abc/cde, and abc.bcd
const DOUBLE_QUOTED_ID_REGEX = /""|"[^"]+"/;
const SINGLE_QUOTED_ID_REGEX = /''|'[^']+'/;
const BRACKET_QUOTED_ID_REGEX = /\[\]|\[[^\]]+\]/;
const PLAIN_ID_REGEX = /[^\s!"#%&'()*+,.\/;<=>@\[\\\]^`{|}~]+/;
const PATH_DELIMITER_REGEX = /(\.|\/)/;
const ANY_ID = regex.either(
DOUBLE_QUOTED_ID_REGEX,
SINGLE_QUOTED_ID_REGEX,
BRACKET_QUOTED_ID_REGEX,
PLAIN_ID_REGEX
);
const IDENTIFIER_REGEX = regex.concat(
regex.optional(/\.|\.\/|\//), // relative or absolute path
ANY_ID,
regex.anyNumberOfTimes(regex.concat(
PATH_DELIMITER_REGEX,
ANY_ID
))
);
// identifier followed by a equal-sign (without the equal sign)
const HASH_PARAM_REGEX = regex.concat(
'(',
BRACKET_QUOTED_ID_REGEX, '|',
PLAIN_ID_REGEX,
')(?==)'
);
const HELPER_NAME_OR_PATH_EXPRESSION = { begin: IDENTIFIER_REGEX };
const HELPER_PARAMETER = hljs.inherit(HELPER_NAME_OR_PATH_EXPRESSION, { keywords: LITERALS });
const SUB_EXPRESSION = {
begin: /\(/,
end: /\)/
// the "contains" is added below when all necessary sub-modes are defined
};
const HASH = {
// fka "attribute-assignment", parameters of the form 'key=value'
className: 'attr',
begin: HASH_PARAM_REGEX,
relevance: 0,
starts: {
begin: /=/,
end: /=/,
starts: { contains: [
hljs.NUMBER_MODE,
hljs.QUOTE_STRING_MODE,
hljs.APOS_STRING_MODE,
HELPER_PARAMETER,
SUB_EXPRESSION
] }
}
};
const BLOCK_PARAMS = {
// parameters of the form '{{#with x as | y |}}...{{/with}}'
begin: /as\s+\|/,
keywords: { keyword: 'as' },
end: /\|/,
contains: [
{
// define sub-mode in order to prevent highlighting of block-parameter named "as"
begin: /\w+/ }
]
};
const HELPER_PARAMETERS = {
contains: [
hljs.NUMBER_MODE,
hljs.QUOTE_STRING_MODE,
hljs.APOS_STRING_MODE,
BLOCK_PARAMS,
HASH,
HELPER_PARAMETER,
SUB_EXPRESSION
],
returnEnd: true
// the property "end" is defined through inheritance when the mode is used. If depends
// on the surrounding mode, but "endsWithParent" does not work here (i.e. it includes the
// end-token of the surrounding mode)
};
const SUB_EXPRESSION_CONTENTS = hljs.inherit(HELPER_NAME_OR_PATH_EXPRESSION, {
className: 'name',
keywords: BUILT_INS,
starts: hljs.inherit(HELPER_PARAMETERS, { end: /\)/ })
});
SUB_EXPRESSION.contains = [ SUB_EXPRESSION_CONTENTS ];
const OPENING_BLOCK_MUSTACHE_CONTENTS = hljs.inherit(HELPER_NAME_OR_PATH_EXPRESSION, {
keywords: BUILT_INS,
className: 'name',
starts: hljs.inherit(HELPER_PARAMETERS, { end: /\}\}/ })
});
const CLOSING_BLOCK_MUSTACHE_CONTENTS = hljs.inherit(HELPER_NAME_OR_PATH_EXPRESSION, {
keywords: BUILT_INS,
className: 'name'
});
const BASIC_MUSTACHE_CONTENTS = hljs.inherit(HELPER_NAME_OR_PATH_EXPRESSION, {
className: 'name',
keywords: BUILT_INS,
starts: hljs.inherit(HELPER_PARAMETERS, { end: /\}\}/ })
});
const ESCAPE_MUSTACHE_WITH_PRECEEDING_BACKSLASH = {
begin: /\\\{\{/,
skip: true
};
const PREVENT_ESCAPE_WITH_ANOTHER_PRECEEDING_BACKSLASH = {
begin: /\\\\(?=\{\{)/,
skip: true
};
return {
name: 'Handlebars',
aliases: [
'hbs',
'html.hbs',
'html.handlebars',
'htmlbars'
],
case_insensitive: true,
subLanguage: 'xml',
contains: [
ESCAPE_MUSTACHE_WITH_PRECEEDING_BACKSLASH,
PREVENT_ESCAPE_WITH_ANOTHER_PRECEEDING_BACKSLASH,
hljs.COMMENT(/\{\{!--/, /--\}\}/),
hljs.COMMENT(/\{\{!/, /\}\}/),
{
// open raw block "{{{{raw}}}} content not evaluated {{{{/raw}}}}"
className: 'template-tag',
begin: /\{\{\{\{(?!\/)/,
end: /\}\}\}\}/,
contains: [ OPENING_BLOCK_MUSTACHE_CONTENTS ],
starts: {
end: /\{\{\{\{\//,
returnEnd: true,
subLanguage: 'xml'
}
},
{
// close raw block
className: 'template-tag',
begin: /\{\{\{\{\//,
end: /\}\}\}\}/,
contains: [ CLOSING_BLOCK_MUSTACHE_CONTENTS ]
},
{
// open block statement
className: 'template-tag',
begin: /\{\{#/,
end: /\}\}/,
contains: [ OPENING_BLOCK_MUSTACHE_CONTENTS ]
},
{
className: 'template-tag',
begin: /\{\{(?=else\}\})/,
end: /\}\}/,
keywords: 'else'
},
{
className: 'template-tag',
begin: /\{\{(?=else if)/,
end: /\}\}/,
keywords: 'else if'
},
{
// closing block statement
className: 'template-tag',
begin: /\{\{\//,
end: /\}\}/,
contains: [ CLOSING_BLOCK_MUSTACHE_CONTENTS ]
},
{
// template variable or helper-call that is NOT html-escaped
className: 'template-variable',
begin: /\{\{\{/,
end: /\}\}\}/,
contains: [ BASIC_MUSTACHE_CONTENTS ]
},
{
// template variable or helper-call that is html-escaped
className: 'template-variable',
begin: /\{\{/,
end: /\}\}/,
contains: [ BASIC_MUSTACHE_CONTENTS ]
}
]
};
}
return handlebars;
})();
hljs.registerLanguage('handlebars', hljsGrammar);
})();/*! `haskell` grammar compiled for Highlight.js 11.11.1 */
(function(){
var hljsGrammar = (function () {
'use strict';
/*
Language: Haskell
Author: Jeremy Hull
Contributors: Zena Treep
Website: https://www.haskell.org
Category: functional
*/
function haskell(hljs) {
/* See:
- https://www.haskell.org/onlinereport/lexemes.html
- https://downloads.haskell.org/ghc/9.0.1/docs/html/users_guide/exts/binary_literals.html
- https://downloads.haskell.org/ghc/9.0.1/docs/html/users_guide/exts/numeric_underscores.html
- https://downloads.haskell.org/ghc/9.0.1/docs/html/users_guide/exts/hex_float_literals.html
*/
const decimalDigits = '([0-9]_*)+';
const hexDigits = '([0-9a-fA-F]_*)+';
const binaryDigits = '([01]_*)+';
const octalDigits = '([0-7]_*)+';
const ascSymbol = '[!#$%&*+.\\/<=>?@\\\\^~-]';
const uniSymbol = '(\\p{S}|\\p{P})'; // Symbol or Punctuation
const special = '[(),;\\[\\]`|{}]';
const symbol = `(${ascSymbol}|(?!(${special}|[_:"']))${uniSymbol})`;
const COMMENT = { variants: [
// Double dash forms a valid comment only if it's not part of legal lexeme.
// See: Haskell 98 report: https://www.haskell.org/onlinereport/lexemes.html
//
// The commented code does the job, but we can't use negative lookbehind,
// due to poor support by Safari browser.
// > hljs.COMMENT(`(?|<-' }
]
};
}
return haskell;
})();
hljs.registerLanguage('haskell', hljsGrammar);
})();/*! `haxe` grammar compiled for Highlight.js 11.11.1 */
(function(){
var hljsGrammar = (function () {
'use strict';
/*
Language: Haxe
Description: Haxe is an open source toolkit based on a modern, high level, strictly typed programming language.
Author: Christopher Kaster (Based on the actionscript.js language file by Alexander Myadzel)
Contributors: Kenton Hamaluik
Website: https://haxe.org
Category: system
*/
function haxe(hljs) {
const IDENT_RE = '[a-zA-Z_$][a-zA-Z0-9_$]*';
// C_NUMBER_RE with underscores and literal suffixes
const HAXE_NUMBER_RE = /(-?)(\b0[xX][a-fA-F0-9_]+|(\b\d+(\.[\d_]*)?|\.[\d_]+)(([eE][-+]?\d+)|i32|u32|i64|f64)?)/;
const HAXE_BASIC_TYPES = 'Int Float String Bool Dynamic Void Array ';
return {
name: 'Haxe',
aliases: [ 'hx' ],
keywords: {
keyword: 'abstract break case cast catch continue default do dynamic else enum extern '
+ 'final for function here if import in inline is macro never new override package private get set '
+ 'public return static super switch this throw trace try typedef untyped using var while '
+ HAXE_BASIC_TYPES,
built_in:
'trace this',
literal:
'true false null _'
},
contains: [
{
className: 'string', // interpolate-able strings
begin: '\'',
end: '\'',
contains: [
hljs.BACKSLASH_ESCAPE,
{
className: 'subst', // interpolation
begin: /\$\{/,
end: /\}/
},
{
className: 'subst', // interpolation
begin: /\$/,
end: /\W\}/
}
]
},
hljs.QUOTE_STRING_MODE,
hljs.C_LINE_COMMENT_MODE,
hljs.C_BLOCK_COMMENT_MODE,
{
className: 'number',
begin: HAXE_NUMBER_RE,
relevance: 0
},
{
className: 'variable',
begin: "\\$" + IDENT_RE,
},
{
className: 'meta', // compiler meta
begin: /@:?/,
end: /\(|$/,
excludeEnd: true,
},
{
className: 'meta', // compiler conditionals
begin: '#',
end: '$',
keywords: { keyword: 'if else elseif end error' }
},
{
className: 'type', // function types
begin: /:[ \t]*/,
end: /[^A-Za-z0-9_ \t\->]/,
excludeBegin: true,
excludeEnd: true,
relevance: 0
},
{
className: 'type', // types
begin: /:[ \t]*/,
end: /\W/,
excludeBegin: true,
excludeEnd: true
},
{
className: 'type', // instantiation
beginKeywords: 'new',
end: /\W/,
excludeBegin: true,
excludeEnd: true
},
{
className: 'title.class', // enums
beginKeywords: 'enum',
end: /\{/,
contains: [ hljs.TITLE_MODE ]
},
{
className: 'title.class', // abstracts
begin: '\\babstract\\b(?=\\s*' + hljs.IDENT_RE + '\\s*\\()',
end: /[\{$]/,
contains: [
{
className: 'type',
begin: /\(/,
end: /\)/,
excludeBegin: true,
excludeEnd: true
},
{
className: 'type',
begin: /from +/,
end: /\W/,
excludeBegin: true,
excludeEnd: true
},
{
className: 'type',
begin: /to +/,
end: /\W/,
excludeBegin: true,
excludeEnd: true
},
hljs.TITLE_MODE
],
keywords: { keyword: 'abstract from to' }
},
{
className: 'title.class', // classes
begin: /\b(class|interface) +/,
end: /[\{$]/,
excludeEnd: true,
keywords: 'class interface',
contains: [
{
className: 'keyword',
begin: /\b(extends|implements) +/,
keywords: 'extends implements',
contains: [
{
className: 'type',
begin: hljs.IDENT_RE,
relevance: 0
}
]
},
hljs.TITLE_MODE
]
},
{
className: 'title.function',
beginKeywords: 'function',
end: /\(/,
excludeEnd: true,
illegal: /\S/,
contains: [ hljs.TITLE_MODE ]
}
],
illegal: /<\//
};
}
return haxe;
})();
hljs.registerLanguage('haxe', hljsGrammar);
})();/*! `hsp` grammar compiled for Highlight.js 11.11.1 */
(function(){
var hljsGrammar = (function () {
'use strict';
/*
Language: HSP
Author: prince
Website: https://en.wikipedia.org/wiki/Hot_Soup_Processor
Category: scripting
*/
function hsp(hljs) {
return {
name: 'HSP',
case_insensitive: true,
keywords: {
$pattern: /[\w._]+/,
keyword: 'goto gosub return break repeat loop continue wait await dim sdim foreach dimtype dup dupptr end stop newmod delmod mref run exgoto on mcall assert logmes newlab resume yield onexit onerror onkey onclick oncmd exist delete mkdir chdir dirlist bload bsave bcopy memfile if else poke wpoke lpoke getstr chdpm memexpand memcpy memset notesel noteadd notedel noteload notesave randomize noteunsel noteget split strrep setease button chgdisp exec dialog mmload mmplay mmstop mci pset pget syscolor mes print title pos circle cls font sysfont objsize picload color palcolor palette redraw width gsel gcopy gzoom gmode bmpsave hsvcolor getkey listbox chkbox combox input mesbox buffer screen bgscr mouse objsel groll line clrobj boxf objprm objmode stick grect grotate gsquare gradf objimage objskip objenable celload celdiv celput newcom querycom delcom cnvstow comres axobj winobj sendmsg comevent comevarg sarrayconv callfunc cnvwtos comevdisp libptr system hspstat hspver stat cnt err strsize looplev sublev iparam wparam lparam refstr refdval int rnd strlen length length2 length3 length4 vartype gettime peek wpeek lpeek varptr varuse noteinfo instr abs limit getease str strmid strf getpath strtrim sin cos tan atan sqrt double absf expf logf limitf powf geteasef mousex mousey mousew hwnd hinstance hdc ginfo objinfo dirinfo sysinfo thismod __hspver__ __hsp30__ __date__ __time__ __line__ __file__ _debug __hspdef__ and or xor not screen_normal screen_palette screen_hide screen_fixedsize screen_tool screen_frame gmode_gdi gmode_mem gmode_rgb0 gmode_alpha gmode_rgb0alpha gmode_add gmode_sub gmode_pixela ginfo_mx ginfo_my ginfo_act ginfo_sel ginfo_wx1 ginfo_wy1 ginfo_wx2 ginfo_wy2 ginfo_vx ginfo_vy ginfo_sizex ginfo_sizey ginfo_winx ginfo_winy ginfo_mesx ginfo_mesy ginfo_r ginfo_g ginfo_b ginfo_paluse ginfo_dispx ginfo_dispy ginfo_cx ginfo_cy ginfo_intid ginfo_newid ginfo_sx ginfo_sy objinfo_mode objinfo_bmscr objinfo_hwnd notemax notesize dir_cur dir_exe dir_win dir_sys dir_cmdline dir_desktop dir_mydoc dir_tv font_normal font_bold font_italic font_underline font_strikeout font_antialias objmode_normal objmode_guifont objmode_usefont gsquare_grad msgothic msmincho do until while wend for next _break _continue switch case default swbreak swend ddim ldim alloc m_pi rad2deg deg2rad ease_linear ease_quad_in ease_quad_out ease_quad_inout ease_cubic_in ease_cubic_out ease_cubic_inout ease_quartic_in ease_quartic_out ease_quartic_inout ease_bounce_in ease_bounce_out ease_bounce_inout ease_shake_in ease_shake_out ease_shake_inout ease_loop'
},
contains: [
hljs.C_LINE_COMMENT_MODE,
hljs.C_BLOCK_COMMENT_MODE,
hljs.QUOTE_STRING_MODE,
hljs.APOS_STRING_MODE,
{
// multi-line string
className: 'string',
begin: /\{"/,
end: /"\}/,
contains: [ hljs.BACKSLASH_ESCAPE ]
},
hljs.COMMENT(';', '$', { relevance: 0 }),
{
// pre-processor
className: 'meta',
begin: '#',
end: '$',
keywords: { keyword: 'addion cfunc cmd cmpopt comfunc const defcfunc deffunc define else endif enum epack func global if ifdef ifndef include modcfunc modfunc modinit modterm module pack packopt regcmd runtime undef usecom uselib' },
contains: [
hljs.inherit(hljs.QUOTE_STRING_MODE, { className: 'string' }),
hljs.NUMBER_MODE,
hljs.C_NUMBER_MODE,
hljs.C_LINE_COMMENT_MODE,
hljs.C_BLOCK_COMMENT_MODE
]
},
{
// label
className: 'symbol',
begin: '^\\*(\\w+|@)'
},
hljs.NUMBER_MODE,
hljs.C_NUMBER_MODE
]
};
}
return hsp;
})();
hljs.registerLanguage('hsp', hljsGrammar);
})();/*! `http` grammar compiled for Highlight.js 11.11.1 */
(function(){
var hljsGrammar = (function () {
'use strict';
/*
Language: HTTP
Description: HTTP request and response headers with automatic body highlighting
Author: Ivan Sagalaev
Category: protocols, web
Website: https://developer.mozilla.org/en-US/docs/Web/HTTP/Overview
*/
function http(hljs) {
const regex = hljs.regex;
const VERSION = 'HTTP/([32]|1\\.[01])';
const HEADER_NAME = /[A-Za-z][A-Za-z0-9-]*/;
const HEADER = {
className: 'attribute',
begin: regex.concat('^', HEADER_NAME, '(?=\\:\\s)'),
starts: { contains: [
{
className: "punctuation",
begin: /: /,
relevance: 0,
starts: {
end: '$',
relevance: 0
}
}
] }
};
const HEADERS_AND_BODY = [
HEADER,
{
begin: '\\n\\n',
starts: {
subLanguage: [],
endsWithParent: true
}
}
];
return {
name: 'HTTP',
aliases: [ 'https' ],
illegal: /\S/,
contains: [
// response
{
begin: '^(?=' + VERSION + " \\d{3})",
end: /$/,
contains: [
{
className: "meta",
begin: VERSION
},
{
className: 'number',
begin: '\\b\\d{3}\\b'
}
],
starts: {
end: /\b\B/,
illegal: /\S/,
contains: HEADERS_AND_BODY
}
},
// request
{
begin: '(?=^[A-Z]+ (.*?) ' + VERSION + '$)',
end: /$/,
contains: [
{
className: 'string',
begin: ' ',
end: ' ',
excludeBegin: true,
excludeEnd: true
},
{
className: "meta",
begin: VERSION
},
{
className: 'keyword',
begin: '[A-Z]+'
}
],
starts: {
end: /\b\B/,
illegal: /\S/,
contains: HEADERS_AND_BODY
}
},
// to allow headers to work even without a preamble
hljs.inherit(HEADER, { relevance: 0 })
]
};
}
return http;
})();
hljs.registerLanguage('http', hljsGrammar);
})();/*! `hy` grammar compiled for Highlight.js 11.11.1 */
(function(){
var hljsGrammar = (function () {
'use strict';
/*
Language: Hy
Description: Hy is a wonderful dialect of Lisp that’s embedded in Python.
Author: Sergey Sobko
Website: http://docs.hylang.org/en/stable/
Category: lisp
*/
function hy(hljs) {
const SYMBOLSTART = 'a-zA-Z_\\-!.?+*=<>\'';
const SYMBOL_RE = '[' + SYMBOLSTART + '][' + SYMBOLSTART + '0-9/;:]*';
const keywords = {
$pattern: SYMBOL_RE,
built_in:
// keywords
'!= % %= & &= * ** **= *= *map '
+ '+ += , --build-class-- --import-- -= . / // //= '
+ '/= < << <<= <= = > >= >> >>= '
+ '@ @= ^ ^= abs accumulate all and any ap-compose '
+ 'ap-dotimes ap-each ap-each-while ap-filter ap-first ap-if ap-last ap-map ap-map-when ap-pipe '
+ 'ap-reduce ap-reject apply as-> ascii assert assoc bin break butlast '
+ 'callable calling-module-name car case cdr chain chr coll? combinations compile '
+ 'compress cond cons cons? continue count curry cut cycle dec '
+ 'def default-method defclass defmacro defmacro-alias defmacro/g! defmain defmethod defmulti defn '
+ 'defn-alias defnc defnr defreader defseq del delattr delete-route dict-comp dir '
+ 'disassemble dispatch-reader-macro distinct divmod do doto drop drop-last drop-while empty? '
+ 'end-sequence eval eval-and-compile eval-when-compile even? every? except exec filter first '
+ 'flatten float? fn fnc fnr for for* format fraction genexpr '
+ 'gensym get getattr global globals group-by hasattr hash hex id '
+ 'identity if if* if-not if-python2 import in inc input instance? '
+ 'integer integer-char? integer? interleave interpose is is-coll is-cons is-empty is-even '
+ 'is-every is-float is-instance is-integer is-integer-char is-iterable is-iterator is-keyword is-neg is-none '
+ 'is-not is-numeric is-odd is-pos is-string is-symbol is-zero isinstance islice issubclass '
+ 'iter iterable? iterate iterator? keyword keyword? lambda last len let '
+ 'lif lif-not list* list-comp locals loop macro-error macroexpand macroexpand-1 macroexpand-all '
+ 'map max merge-with method-decorator min multi-decorator multicombinations name neg? next '
+ 'none? nonlocal not not-in not? nth numeric? oct odd? open '
+ 'or ord partition permutations pos? post-route postwalk pow prewalk print '
+ 'product profile/calls profile/cpu put-route quasiquote quote raise range read read-str '
+ 'recursive-replace reduce remove repeat repeatedly repr require rest round route '
+ 'route-with-methods rwm second seq set-comp setattr setv some sorted string '
+ 'string? sum switch symbol? take take-nth take-while tee try unless '
+ 'unquote unquote-splicing vars walk when while with with* with-decorator with-gensyms '
+ 'xi xor yield yield-from zero? zip zip-longest | |= ~'
};
const SIMPLE_NUMBER_RE = '[-+]?\\d+(\\.\\d+)?';
const SYMBOL = {
begin: SYMBOL_RE,
relevance: 0
};
const NUMBER = {
className: 'number',
begin: SIMPLE_NUMBER_RE,
relevance: 0
};
const STRING = hljs.inherit(hljs.QUOTE_STRING_MODE, { illegal: null });
const COMMENT = hljs.COMMENT(
';',
'$',
{ relevance: 0 }
);
const LITERAL = {
className: 'literal',
begin: /\b([Tt]rue|[Ff]alse|nil|None)\b/
};
const COLLECTION = {
begin: '[\\[\\{]',
end: '[\\]\\}]',
relevance: 0
};
const HINT = {
className: 'comment',
begin: '\\^' + SYMBOL_RE
};
const HINT_COL = hljs.COMMENT('\\^\\{', '\\}');
const KEY = {
className: 'symbol',
begin: '[:]{1,2}' + SYMBOL_RE
};
const LIST = {
begin: '\\(',
end: '\\)'
};
const BODY = {
endsWithParent: true,
relevance: 0
};
const NAME = {
className: 'name',
relevance: 0,
keywords: keywords,
begin: SYMBOL_RE,
starts: BODY
};
const DEFAULT_CONTAINS = [
LIST,
STRING,
HINT,
HINT_COL,
COMMENT,
KEY,
COLLECTION,
NUMBER,
LITERAL,
SYMBOL
];
LIST.contains = [
hljs.COMMENT('comment', ''),
NAME,
BODY
];
BODY.contains = DEFAULT_CONTAINS;
COLLECTION.contains = DEFAULT_CONTAINS;
return {
name: 'Hy',
aliases: [ 'hylang' ],
illegal: /\S/,
contains: [
hljs.SHEBANG(),
LIST,
STRING,
HINT,
HINT_COL,
COMMENT,
KEY,
COLLECTION,
NUMBER,
LITERAL
]
};
}
return hy;
})();
hljs.registerLanguage('hy', hljsGrammar);
})();/*! `inform7` grammar compiled for Highlight.js 11.11.1 */
(function(){
var hljsGrammar = (function () {
'use strict';
/*
Language: Inform 7
Author: Bruno Dias
Description: Language definition for Inform 7, a DSL for writing parser interactive fiction.
Website: http://inform7.com
Category: gaming
*/
function inform7(hljs) {
const START_BRACKET = '\\[';
const END_BRACKET = '\\]';
return {
name: 'Inform 7',
aliases: [ 'i7' ],
case_insensitive: true,
keywords: {
// Some keywords more or less unique to I7, for relevance.
keyword:
// kind:
'thing room person man woman animal container '
+ 'supporter backdrop door '
// characteristic:
+ 'scenery open closed locked inside gender '
// verb:
+ 'is are say understand '
// misc keyword:
+ 'kind of rule' },
contains: [
{
className: 'string',
begin: '"',
end: '"',
relevance: 0,
contains: [
{
className: 'subst',
begin: START_BRACKET,
end: END_BRACKET
}
]
},
{
className: 'section',
begin: /^(Volume|Book|Part|Chapter|Section|Table)\b/,
end: '$'
},
{
// Rule definition
// This is here for relevance.
begin: /^(Check|Carry out|Report|Instead of|To|Rule|When|Before|After)\b/,
end: ':',
contains: [
{
// Rule name
begin: '\\(This',
end: '\\)'
}
]
},
{
className: 'comment',
begin: START_BRACKET,
end: END_BRACKET,
contains: [ 'self' ]
}
]
};
}
return inform7;
})();
hljs.registerLanguage('inform7', hljsGrammar);
})();/*! `ini` grammar compiled for Highlight.js 11.11.1 */
(function(){
var hljsGrammar = (function () {
'use strict';
/*
Language: TOML, also INI
Description: TOML aims to be a minimal configuration file format that's easy to read due to obvious semantics.
Contributors: Guillaume Gomez
Category: common, config
Website: https://github.com/toml-lang/toml
*/
function ini(hljs) {
const regex = hljs.regex;
const NUMBERS = {
className: 'number',
relevance: 0,
variants: [
{ begin: /([+-]+)?[\d]+_[\d_]+/ },
{ begin: hljs.NUMBER_RE }
]
};
const COMMENTS = hljs.COMMENT();
COMMENTS.variants = [
{
begin: /;/,
end: /$/
},
{
begin: /#/,
end: /$/
}
];
const VARIABLES = {
className: 'variable',
variants: [
{ begin: /\$[\w\d"][\w\d_]*/ },
{ begin: /\$\{(.*?)\}/ }
]
};
const LITERALS = {
className: 'literal',
begin: /\bon|off|true|false|yes|no\b/
};
const STRINGS = {
className: "string",
contains: [ hljs.BACKSLASH_ESCAPE ],
variants: [
{
begin: "'''",
end: "'''",
relevance: 10
},
{
begin: '"""',
end: '"""',
relevance: 10
},
{
begin: '"',
end: '"'
},
{
begin: "'",
end: "'"
}
]
};
const ARRAY = {
begin: /\[/,
end: /\]/,
contains: [
COMMENTS,
LITERALS,
VARIABLES,
STRINGS,
NUMBERS,
'self'
],
relevance: 0
};
const BARE_KEY = /[A-Za-z0-9_-]+/;
const QUOTED_KEY_DOUBLE_QUOTE = /"(\\"|[^"])*"/;
const QUOTED_KEY_SINGLE_QUOTE = /'[^']*'/;
const ANY_KEY = regex.either(
BARE_KEY, QUOTED_KEY_DOUBLE_QUOTE, QUOTED_KEY_SINGLE_QUOTE
);
const DOTTED_KEY = regex.concat(
ANY_KEY, '(\\s*\\.\\s*', ANY_KEY, ')*',
regex.lookahead(/\s*=\s*[^#\s]/)
);
return {
name: 'TOML, also INI',
aliases: [ 'toml' ],
case_insensitive: true,
illegal: /\S/,
contains: [
COMMENTS,
{
className: 'section',
begin: /\[+/,
end: /\]+/
},
{
begin: DOTTED_KEY,
className: 'attr',
starts: {
end: /$/,
contains: [
COMMENTS,
ARRAY,
LITERALS,
VARIABLES,
STRINGS,
NUMBERS
]
}
}
]
};
}
return ini;
})();
hljs.registerLanguage('ini', hljsGrammar);
})();/*! `irpf90` grammar compiled for Highlight.js 11.11.1 */
(function(){
var hljsGrammar = (function () {
'use strict';
/*
Language: IRPF90
Author: Anthony Scemama
Description: IRPF90 is an open-source Fortran code generator
Website: http://irpf90.ups-tlse.fr
Category: scientific
*/
/** @type LanguageFn */
function irpf90(hljs) {
const regex = hljs.regex;
const PARAMS = {
className: 'params',
begin: '\\(',
end: '\\)'
};
// regex in both fortran and irpf90 should match
const OPTIONAL_NUMBER_SUFFIX = /(_[a-z_\d]+)?/;
const OPTIONAL_NUMBER_EXP = /([de][+-]?\d+)?/;
const NUMBER = {
className: 'number',
variants: [
{ begin: regex.concat(/\b\d+/, /\.(\d*)/, OPTIONAL_NUMBER_EXP, OPTIONAL_NUMBER_SUFFIX) },
{ begin: regex.concat(/\b\d+/, OPTIONAL_NUMBER_EXP, OPTIONAL_NUMBER_SUFFIX) },
{ begin: regex.concat(/\.\d+/, OPTIONAL_NUMBER_EXP, OPTIONAL_NUMBER_SUFFIX) }
],
relevance: 0
};
const F_KEYWORDS = {
literal: '.False. .True.',
keyword: 'kind do while private call intrinsic where elsewhere '
+ 'type endtype endmodule endselect endinterface end enddo endif if forall endforall only contains default return stop then '
+ 'public subroutine|10 function program .and. .or. .not. .le. .eq. .ge. .gt. .lt. '
+ 'goto save else use module select case '
+ 'access blank direct exist file fmt form formatted iostat name named nextrec number opened rec recl sequential status unformatted unit '
+ 'continue format pause cycle exit '
+ 'c_null_char c_alert c_backspace c_form_feed flush wait decimal round iomsg '
+ 'synchronous nopass non_overridable pass protected volatile abstract extends import '
+ 'non_intrinsic value deferred generic final enumerator class associate bind enum '
+ 'c_int c_short c_long c_long_long c_signed_char c_size_t c_int8_t c_int16_t c_int32_t c_int64_t c_int_least8_t c_int_least16_t '
+ 'c_int_least32_t c_int_least64_t c_int_fast8_t c_int_fast16_t c_int_fast32_t c_int_fast64_t c_intmax_t C_intptr_t c_float c_double '
+ 'c_long_double c_float_complex c_double_complex c_long_double_complex c_bool c_char c_null_ptr c_null_funptr '
+ 'c_new_line c_carriage_return c_horizontal_tab c_vertical_tab iso_c_binding c_loc c_funloc c_associated c_f_pointer '
+ 'c_ptr c_funptr iso_fortran_env character_storage_size error_unit file_storage_size input_unit iostat_end iostat_eor '
+ 'numeric_storage_size output_unit c_f_procpointer ieee_arithmetic ieee_support_underflow_control '
+ 'ieee_get_underflow_mode ieee_set_underflow_mode newunit contiguous recursive '
+ 'pad position action delim readwrite eor advance nml interface procedure namelist include sequence elemental pure '
+ 'integer real character complex logical dimension allocatable|10 parameter '
+ 'external implicit|10 none double precision assign intent optional pointer '
+ 'target in out common equivalence data '
// IRPF90 special keywords
+ 'begin_provider &begin_provider end_provider begin_shell end_shell begin_template end_template subst assert touch '
+ 'soft_touch provide no_dep free irp_if irp_else irp_endif irp_write irp_read',
built_in: 'alog alog10 amax0 amax1 amin0 amin1 amod cabs ccos cexp clog csin csqrt dabs dacos dasin datan datan2 dcos dcosh ddim dexp dint '
+ 'dlog dlog10 dmax1 dmin1 dmod dnint dsign dsin dsinh dsqrt dtan dtanh float iabs idim idint idnint ifix isign max0 max1 min0 min1 sngl '
+ 'algama cdabs cdcos cdexp cdlog cdsin cdsqrt cqabs cqcos cqexp cqlog cqsin cqsqrt dcmplx dconjg derf derfc dfloat dgamma dimag dlgama '
+ 'iqint qabs qacos qasin qatan qatan2 qcmplx qconjg qcos qcosh qdim qerf qerfc qexp qgamma qimag qlgama qlog qlog10 qmax1 qmin1 qmod '
+ 'qnint qsign qsin qsinh qsqrt qtan qtanh abs acos aimag aint anint asin atan atan2 char cmplx conjg cos cosh exp ichar index int log '
+ 'log10 max min nint sign sin sinh sqrt tan tanh print write dim lge lgt lle llt mod nullify allocate deallocate '
+ 'adjustl adjustr all allocated any associated bit_size btest ceiling count cshift date_and_time digits dot_product '
+ 'eoshift epsilon exponent floor fraction huge iand ibclr ibits ibset ieor ior ishft ishftc lbound len_trim matmul '
+ 'maxexponent maxloc maxval merge minexponent minloc minval modulo mvbits nearest pack present product '
+ 'radix random_number random_seed range repeat reshape rrspacing scale scan selected_int_kind selected_real_kind '
+ 'set_exponent shape size spacing spread sum system_clock tiny transpose trim ubound unpack verify achar iachar transfer '
+ 'dble entry dprod cpu_time command_argument_count get_command get_command_argument get_environment_variable is_iostat_end '
+ 'ieee_arithmetic ieee_support_underflow_control ieee_get_underflow_mode ieee_set_underflow_mode '
+ 'is_iostat_eor move_alloc new_line selected_char_kind same_type_as extends_type_of '
+ 'acosh asinh atanh bessel_j0 bessel_j1 bessel_jn bessel_y0 bessel_y1 bessel_yn erf erfc erfc_scaled gamma log_gamma hypot norm2 '
+ 'atomic_define atomic_ref execute_command_line leadz trailz storage_size merge_bits '
+ 'bge bgt ble blt dshiftl dshiftr findloc iall iany iparity image_index lcobound ucobound maskl maskr '
+ 'num_images parity popcnt poppar shifta shiftl shiftr this_image '
// IRPF90 special built_ins
+ 'IRP_ALIGN irp_here'
};
return {
name: 'IRPF90',
case_insensitive: true,
keywords: F_KEYWORDS,
illegal: /\/\*/,
contains: [
hljs.inherit(hljs.APOS_STRING_MODE, {
className: 'string',
relevance: 0
}),
hljs.inherit(hljs.QUOTE_STRING_MODE, {
className: 'string',
relevance: 0
}),
{
className: 'function',
beginKeywords: 'subroutine function program',
illegal: '[${=\\n]',
contains: [
hljs.UNDERSCORE_TITLE_MODE,
PARAMS
]
},
hljs.COMMENT('!', '$', { relevance: 0 }),
hljs.COMMENT('begin_doc', 'end_doc', { relevance: 10 }),
NUMBER
]
};
}
return irpf90;
})();
hljs.registerLanguage('irpf90', hljsGrammar);
})();/*! `isbl` grammar compiled for Highlight.js 11.11.1 */
(function(){
var hljsGrammar = (function () {
'use strict';
/*
Language: ISBL
Author: Dmitriy Tarasov
Description: built-in language DIRECTUM
Category: enterprise
*/
function isbl(hljs) {
// Определение идентификаторов
const UNDERSCORE_IDENT_RE = "[A-Za-zА-Яа-яёЁ_!][A-Za-zА-Яа-яёЁ_0-9]*";
// Определение имен функций
const FUNCTION_NAME_IDENT_RE = "[A-Za-zА-Яа-яёЁ_][A-Za-zА-Яа-яёЁ_0-9]*";
// keyword : ключевые слова
const KEYWORD =
"and и else иначе endexcept endfinally endforeach конецвсе endif конецесли endwhile конецпока "
+ "except exitfor finally foreach все if если in в not не or или try while пока ";
// SYSRES Constants
const sysres_constants =
"SYSRES_CONST_ACCES_RIGHT_TYPE_EDIT "
+ "SYSRES_CONST_ACCES_RIGHT_TYPE_FULL "
+ "SYSRES_CONST_ACCES_RIGHT_TYPE_VIEW "
+ "SYSRES_CONST_ACCESS_MODE_REQUISITE_CODE "
+ "SYSRES_CONST_ACCESS_NO_ACCESS_VIEW "
+ "SYSRES_CONST_ACCESS_NO_ACCESS_VIEW_CODE "
+ "SYSRES_CONST_ACCESS_RIGHTS_ADD_REQUISITE_CODE "
+ "SYSRES_CONST_ACCESS_RIGHTS_ADD_REQUISITE_YES_CODE "
+ "SYSRES_CONST_ACCESS_RIGHTS_CHANGE_REQUISITE_CODE "
+ "SYSRES_CONST_ACCESS_RIGHTS_CHANGE_REQUISITE_YES_CODE "
+ "SYSRES_CONST_ACCESS_RIGHTS_DELETE_REQUISITE_CODE "
+ "SYSRES_CONST_ACCESS_RIGHTS_DELETE_REQUISITE_YES_CODE "
+ "SYSRES_CONST_ACCESS_RIGHTS_EXECUTE_REQUISITE_CODE "
+ "SYSRES_CONST_ACCESS_RIGHTS_EXECUTE_REQUISITE_YES_CODE "
+ "SYSRES_CONST_ACCESS_RIGHTS_NO_ACCESS_REQUISITE_CODE "
+ "SYSRES_CONST_ACCESS_RIGHTS_NO_ACCESS_REQUISITE_YES_CODE "
+ "SYSRES_CONST_ACCESS_RIGHTS_RATIFY_REQUISITE_CODE "
+ "SYSRES_CONST_ACCESS_RIGHTS_RATIFY_REQUISITE_YES_CODE "
+ "SYSRES_CONST_ACCESS_RIGHTS_REQUISITE_CODE "
+ "SYSRES_CONST_ACCESS_RIGHTS_VIEW "
+ "SYSRES_CONST_ACCESS_RIGHTS_VIEW_CODE "
+ "SYSRES_CONST_ACCESS_RIGHTS_VIEW_REQUISITE_CODE "
+ "SYSRES_CONST_ACCESS_RIGHTS_VIEW_REQUISITE_YES_CODE "
+ "SYSRES_CONST_ACCESS_TYPE_CHANGE "
+ "SYSRES_CONST_ACCESS_TYPE_CHANGE_CODE "
+ "SYSRES_CONST_ACCESS_TYPE_EXISTS "
+ "SYSRES_CONST_ACCESS_TYPE_EXISTS_CODE "
+ "SYSRES_CONST_ACCESS_TYPE_FULL "
+ "SYSRES_CONST_ACCESS_TYPE_FULL_CODE "
+ "SYSRES_CONST_ACCESS_TYPE_VIEW "
+ "SYSRES_CONST_ACCESS_TYPE_VIEW_CODE "
+ "SYSRES_CONST_ACTION_TYPE_ABORT "
+ "SYSRES_CONST_ACTION_TYPE_ACCEPT "
+ "SYSRES_CONST_ACTION_TYPE_ACCESS_RIGHTS "
+ "SYSRES_CONST_ACTION_TYPE_ADD_ATTACHMENT "
+ "SYSRES_CONST_ACTION_TYPE_CHANGE_CARD "
+ "SYSRES_CONST_ACTION_TYPE_CHANGE_KIND "
+ "SYSRES_CONST_ACTION_TYPE_CHANGE_STORAGE "
+ "SYSRES_CONST_ACTION_TYPE_CONTINUE "
+ "SYSRES_CONST_ACTION_TYPE_COPY "
+ "SYSRES_CONST_ACTION_TYPE_CREATE "
+ "SYSRES_CONST_ACTION_TYPE_CREATE_VERSION "
+ "SYSRES_CONST_ACTION_TYPE_DELETE "
+ "SYSRES_CONST_ACTION_TYPE_DELETE_ATTACHMENT "
+ "SYSRES_CONST_ACTION_TYPE_DELETE_VERSION "
+ "SYSRES_CONST_ACTION_TYPE_DISABLE_DELEGATE_ACCESS_RIGHTS "
+ "SYSRES_CONST_ACTION_TYPE_ENABLE_DELEGATE_ACCESS_RIGHTS "
+ "SYSRES_CONST_ACTION_TYPE_ENCRYPTION_BY_CERTIFICATE "
+ "SYSRES_CONST_ACTION_TYPE_ENCRYPTION_BY_CERTIFICATE_AND_PASSWORD "
+ "SYSRES_CONST_ACTION_TYPE_ENCRYPTION_BY_PASSWORD "
+ "SYSRES_CONST_ACTION_TYPE_EXPORT_WITH_LOCK "
+ "SYSRES_CONST_ACTION_TYPE_EXPORT_WITHOUT_LOCK "
+ "SYSRES_CONST_ACTION_TYPE_IMPORT_WITH_UNLOCK "
+ "SYSRES_CONST_ACTION_TYPE_IMPORT_WITHOUT_UNLOCK "
+ "SYSRES_CONST_ACTION_TYPE_LIFE_CYCLE_STAGE "
+ "SYSRES_CONST_ACTION_TYPE_LOCK "
+ "SYSRES_CONST_ACTION_TYPE_LOCK_FOR_SERVER "
+ "SYSRES_CONST_ACTION_TYPE_LOCK_MODIFY "
+ "SYSRES_CONST_ACTION_TYPE_MARK_AS_READED "
+ "SYSRES_CONST_ACTION_TYPE_MARK_AS_UNREADED "
+ "SYSRES_CONST_ACTION_TYPE_MODIFY "
+ "SYSRES_CONST_ACTION_TYPE_MODIFY_CARD "
+ "SYSRES_CONST_ACTION_TYPE_MOVE_TO_ARCHIVE "
+ "SYSRES_CONST_ACTION_TYPE_OFF_ENCRYPTION "
+ "SYSRES_CONST_ACTION_TYPE_PASSWORD_CHANGE "
+ "SYSRES_CONST_ACTION_TYPE_PERFORM "
+ "SYSRES_CONST_ACTION_TYPE_RECOVER_FROM_LOCAL_COPY "
+ "SYSRES_CONST_ACTION_TYPE_RESTART "
+ "SYSRES_CONST_ACTION_TYPE_RESTORE_FROM_ARCHIVE "
+ "SYSRES_CONST_ACTION_TYPE_REVISION "
+ "SYSRES_CONST_ACTION_TYPE_SEND_BY_MAIL "
+ "SYSRES_CONST_ACTION_TYPE_SIGN "
+ "SYSRES_CONST_ACTION_TYPE_START "
+ "SYSRES_CONST_ACTION_TYPE_UNLOCK "
+ "SYSRES_CONST_ACTION_TYPE_UNLOCK_FROM_SERVER "
+ "SYSRES_CONST_ACTION_TYPE_VERSION_STATE "
+ "SYSRES_CONST_ACTION_TYPE_VERSION_VISIBILITY "
+ "SYSRES_CONST_ACTION_TYPE_VIEW "
+ "SYSRES_CONST_ACTION_TYPE_VIEW_SHADOW_COPY "
+ "SYSRES_CONST_ACTION_TYPE_WORKFLOW_DESCRIPTION_MODIFY "
+ "SYSRES_CONST_ACTION_TYPE_WRITE_HISTORY "
+ "SYSRES_CONST_ACTIVE_VERSION_STATE_PICK_VALUE "
+ "SYSRES_CONST_ADD_REFERENCE_MODE_NAME "
+ "SYSRES_CONST_ADDITION_REQUISITE_CODE "
+ "SYSRES_CONST_ADDITIONAL_PARAMS_REQUISITE_CODE "
+ "SYSRES_CONST_ADITIONAL_JOB_END_DATE_REQUISITE_NAME "
+ "SYSRES_CONST_ADITIONAL_JOB_READ_REQUISITE_NAME "
+ "SYSRES_CONST_ADITIONAL_JOB_START_DATE_REQUISITE_NAME "
+ "SYSRES_CONST_ADITIONAL_JOB_STATE_REQUISITE_NAME "
+ "SYSRES_CONST_ADMINISTRATION_HISTORY_ADDING_USER_TO_GROUP_ACTION "
+ "SYSRES_CONST_ADMINISTRATION_HISTORY_ADDING_USER_TO_GROUP_ACTION_CODE "
+ "SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_COMP_ACTION "
+ "SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_COMP_ACTION_CODE "
+ "SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_GROUP_ACTION "
+ "SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_GROUP_ACTION_CODE "
+ "SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_USER_ACTION "
+ "SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_USER_ACTION_CODE "
+ "SYSRES_CONST_ADMINISTRATION_HISTORY_DATABASE_USER_CREATION "
+ "SYSRES_CONST_ADMINISTRATION_HISTORY_DATABASE_USER_CREATION_ACTION "
+ "SYSRES_CONST_ADMINISTRATION_HISTORY_DATABASE_USER_DELETION "
+ "SYSRES_CONST_ADMINISTRATION_HISTORY_DATABASE_USER_DELETION_ACTION "
+ "SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_COMP_ACTION "
+ "SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_COMP_ACTION_CODE "
+ "SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_GROUP_ACTION "
+ "SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_GROUP_ACTION_CODE "
+ "SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_USER_ACTION "
+ "SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_USER_ACTION_CODE "
+ "SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_USER_FROM_GROUP_ACTION "
+ "SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_USER_FROM_GROUP_ACTION_CODE "
+ "SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_FILTERER_ACTION "
+ "SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_FILTERER_ACTION_CODE "
+ "SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_FILTERER_RESTRICTION_ACTION "
+ "SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_FILTERER_RESTRICTION_ACTION_CODE "
+ "SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_PRIVILEGE_ACTION "
+ "SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_PRIVILEGE_ACTION_CODE "
+ "SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_RIGHTS_ACTION "
+ "SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_RIGHTS_ACTION_CODE "
+ "SYSRES_CONST_ADMINISTRATION_HISTORY_IS_MAIN_SERVER_CHANGED_ACTION "
+ "SYSRES_CONST_ADMINISTRATION_HISTORY_IS_MAIN_SERVER_CHANGED_ACTION_CODE "
+ "SYSRES_CONST_ADMINISTRATION_HISTORY_IS_PUBLIC_CHANGED_ACTION "
+ "SYSRES_CONST_ADMINISTRATION_HISTORY_IS_PUBLIC_CHANGED_ACTION_CODE "
+ "SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_FILTERER_ACTION "
+ "SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_FILTERER_ACTION_CODE "
+ "SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_FILTERER_RESTRICTION_ACTION "
+ "SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_FILTERER_RESTRICTION_ACTION_CODE "
+ "SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_PRIVILEGE_ACTION "
+ "SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_PRIVILEGE_ACTION_CODE "
+ "SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_RIGHTS_ACTION "
+ "SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_RIGHTS_ACTION_CODE "
+ "SYSRES_CONST_ADMINISTRATION_HISTORY_SERVER_LOGIN_CREATION "
+ "SYSRES_CONST_ADMINISTRATION_HISTORY_SERVER_LOGIN_CREATION_ACTION "
+ "SYSRES_CONST_ADMINISTRATION_HISTORY_SERVER_LOGIN_DELETION "
+ "SYSRES_CONST_ADMINISTRATION_HISTORY_SERVER_LOGIN_DELETION_ACTION "
+ "SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_CATEGORY_ACTION "
+ "SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_CATEGORY_ACTION_CODE "
+ "SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_COMP_TITLE_ACTION "
+ "SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_COMP_TITLE_ACTION_CODE "
+ "SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_FULL_NAME_ACTION "
+ "SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_FULL_NAME_ACTION_CODE "
+ "SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_GROUP_ACTION "
+ "SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_GROUP_ACTION_CODE "
+ "SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_PARENT_GROUP_ACTION "
+ "SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_PARENT_GROUP_ACTION_CODE "
+ "SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_AUTH_TYPE_ACTION "
+ "SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_AUTH_TYPE_ACTION_CODE "
+ "SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_LOGIN_ACTION "
+ "SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_LOGIN_ACTION_CODE "
+ "SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_STATUS_ACTION "
+ "SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_STATUS_ACTION_CODE "
+ "SYSRES_CONST_ADMINISTRATION_HISTORY_USER_PASSWORD_CHANGE "
+ "SYSRES_CONST_ADMINISTRATION_HISTORY_USER_PASSWORD_CHANGE_ACTION "
+ "SYSRES_CONST_ALL_ACCEPT_CONDITION_RUS "
+ "SYSRES_CONST_ALL_USERS_GROUP "
+ "SYSRES_CONST_ALL_USERS_GROUP_NAME "
+ "SYSRES_CONST_ALL_USERS_SERVER_GROUP_NAME "
+ "SYSRES_CONST_ALLOWED_ACCESS_TYPE_CODE "
+ "SYSRES_CONST_ALLOWED_ACCESS_TYPE_NAME "
+ "SYSRES_CONST_APP_VIEWER_TYPE_REQUISITE_CODE "
+ "SYSRES_CONST_APPROVING_SIGNATURE_NAME "
+ "SYSRES_CONST_APPROVING_SIGNATURE_REQUISITE_CODE "
+ "SYSRES_CONST_ASSISTANT_SUBSTITUE_TYPE "
+ "SYSRES_CONST_ASSISTANT_SUBSTITUE_TYPE_CODE "
+ "SYSRES_CONST_ATTACH_TYPE_COMPONENT_TOKEN "
+ "SYSRES_CONST_ATTACH_TYPE_DOC "
+ "SYSRES_CONST_ATTACH_TYPE_EDOC "
+ "SYSRES_CONST_ATTACH_TYPE_FOLDER "
+ "SYSRES_CONST_ATTACH_TYPE_JOB "
+ "SYSRES_CONST_ATTACH_TYPE_REFERENCE "
+ "SYSRES_CONST_ATTACH_TYPE_TASK "
+ "SYSRES_CONST_AUTH_ENCODED_PASSWORD "
+ "SYSRES_CONST_AUTH_ENCODED_PASSWORD_CODE "
+ "SYSRES_CONST_AUTH_NOVELL "
+ "SYSRES_CONST_AUTH_PASSWORD "
+ "SYSRES_CONST_AUTH_PASSWORD_CODE "
+ "SYSRES_CONST_AUTH_WINDOWS "
+ "SYSRES_CONST_AUTHENTICATING_SIGNATURE_NAME "
+ "SYSRES_CONST_AUTHENTICATING_SIGNATURE_REQUISITE_CODE "
+ "SYSRES_CONST_AUTO_ENUM_METHOD_FLAG "
+ "SYSRES_CONST_AUTO_NUMERATION_CODE "
+ "SYSRES_CONST_AUTO_STRONG_ENUM_METHOD_FLAG "
+ "SYSRES_CONST_AUTOTEXT_NAME_REQUISITE_CODE "
+ "SYSRES_CONST_AUTOTEXT_TEXT_REQUISITE_CODE "
+ "SYSRES_CONST_AUTOTEXT_USAGE_ALL "
+ "SYSRES_CONST_AUTOTEXT_USAGE_ALL_CODE "
+ "SYSRES_CONST_AUTOTEXT_USAGE_SIGN "
+ "SYSRES_CONST_AUTOTEXT_USAGE_SIGN_CODE "
+ "SYSRES_CONST_AUTOTEXT_USAGE_WORK "
+ "SYSRES_CONST_AUTOTEXT_USAGE_WORK_CODE "
+ "SYSRES_CONST_AUTOTEXT_USE_ANYWHERE_CODE "
+ "SYSRES_CONST_AUTOTEXT_USE_ON_SIGNING_CODE "
+ "SYSRES_CONST_AUTOTEXT_USE_ON_WORK_CODE "
+ "SYSRES_CONST_BEGIN_DATE_REQUISITE_CODE "
+ "SYSRES_CONST_BLACK_LIFE_CYCLE_STAGE_FONT_COLOR "
+ "SYSRES_CONST_BLUE_LIFE_CYCLE_STAGE_FONT_COLOR "
+ "SYSRES_CONST_BTN_PART "
+ "SYSRES_CONST_CALCULATED_ROLE_TYPE_CODE "
+ "SYSRES_CONST_CALL_TYPE_VARIABLE_BUTTON_VALUE "
+ "SYSRES_CONST_CALL_TYPE_VARIABLE_PROGRAM_VALUE "
+ "SYSRES_CONST_CANCEL_MESSAGE_FUNCTION_RESULT "
+ "SYSRES_CONST_CARD_PART "
+ "SYSRES_CONST_CARD_REFERENCE_MODE_NAME "
+ "SYSRES_CONST_CERTIFICATE_TYPE_REQUISITE_ENCRYPT_VALUE "
+ "SYSRES_CONST_CERTIFICATE_TYPE_REQUISITE_SIGN_AND_ENCRYPT_VALUE "
+ "SYSRES_CONST_CERTIFICATE_TYPE_REQUISITE_SIGN_VALUE "
+ "SYSRES_CONST_CHECK_PARAM_VALUE_DATE_PARAM_TYPE "
+ "SYSRES_CONST_CHECK_PARAM_VALUE_FLOAT_PARAM_TYPE "
+ "SYSRES_CONST_CHECK_PARAM_VALUE_INTEGER_PARAM_TYPE "
+ "SYSRES_CONST_CHECK_PARAM_VALUE_PICK_PARAM_TYPE "
+ "SYSRES_CONST_CHECK_PARAM_VALUE_REEFRENCE_PARAM_TYPE "
+ "SYSRES_CONST_CLOSED_RECORD_FLAG_VALUE_FEMININE "
+ "SYSRES_CONST_CLOSED_RECORD_FLAG_VALUE_MASCULINE "
+ "SYSRES_CONST_CODE_COMPONENT_TYPE_ADMIN "
+ "SYSRES_CONST_CODE_COMPONENT_TYPE_DEVELOPER "
+ "SYSRES_CONST_CODE_COMPONENT_TYPE_DOCS "
+ "SYSRES_CONST_CODE_COMPONENT_TYPE_EDOC_CARDS "
+ "SYSRES_CONST_CODE_COMPONENT_TYPE_EXTERNAL_EXECUTABLE "
+ "SYSRES_CONST_CODE_COMPONENT_TYPE_OTHER "
+ "SYSRES_CONST_CODE_COMPONENT_TYPE_REFERENCE "
+ "SYSRES_CONST_CODE_COMPONENT_TYPE_REPORT "
+ "SYSRES_CONST_CODE_COMPONENT_TYPE_SCRIPT "
+ "SYSRES_CONST_CODE_COMPONENT_TYPE_URL "
+ "SYSRES_CONST_CODE_REQUISITE_ACCESS "
+ "SYSRES_CONST_CODE_REQUISITE_CODE "
+ "SYSRES_CONST_CODE_REQUISITE_COMPONENT "
+ "SYSRES_CONST_CODE_REQUISITE_DESCRIPTION "
+ "SYSRES_CONST_CODE_REQUISITE_EXCLUDE_COMPONENT "
+ "SYSRES_CONST_CODE_REQUISITE_RECORD "
+ "SYSRES_CONST_COMMENT_REQ_CODE "
+ "SYSRES_CONST_COMMON_SETTINGS_REQUISITE_CODE "
+ "SYSRES_CONST_COMP_CODE_GRD "
+ "SYSRES_CONST_COMPONENT_GROUP_TYPE_REQUISITE_CODE "
+ "SYSRES_CONST_COMPONENT_TYPE_ADMIN_COMPONENTS "
+ "SYSRES_CONST_COMPONENT_TYPE_DEVELOPER_COMPONENTS "
+ "SYSRES_CONST_COMPONENT_TYPE_DOCS "
+ "SYSRES_CONST_COMPONENT_TYPE_EDOC_CARDS "
+ "SYSRES_CONST_COMPONENT_TYPE_EDOCS "
+ "SYSRES_CONST_COMPONENT_TYPE_EXTERNAL_EXECUTABLE "
+ "SYSRES_CONST_COMPONENT_TYPE_OTHER "
+ "SYSRES_CONST_COMPONENT_TYPE_REFERENCE_TYPES "
+ "SYSRES_CONST_COMPONENT_TYPE_REFERENCES "
+ "SYSRES_CONST_COMPONENT_TYPE_REPORTS "
+ "SYSRES_CONST_COMPONENT_TYPE_SCRIPTS "
+ "SYSRES_CONST_COMPONENT_TYPE_URL "
+ "SYSRES_CONST_COMPONENTS_REMOTE_SERVERS_VIEW_CODE "
+ "SYSRES_CONST_CONDITION_BLOCK_DESCRIPTION "
+ "SYSRES_CONST_CONST_FIRM_STATUS_COMMON "
+ "SYSRES_CONST_CONST_FIRM_STATUS_INDIVIDUAL "
+ "SYSRES_CONST_CONST_NEGATIVE_VALUE "
+ "SYSRES_CONST_CONST_POSITIVE_VALUE "
+ "SYSRES_CONST_CONST_SERVER_STATUS_DONT_REPLICATE "
+ "SYSRES_CONST_CONST_SERVER_STATUS_REPLICATE "
+ "SYSRES_CONST_CONTENTS_REQUISITE_CODE "
+ "SYSRES_CONST_DATA_TYPE_BOOLEAN "
+ "SYSRES_CONST_DATA_TYPE_DATE "
+ "SYSRES_CONST_DATA_TYPE_FLOAT "
+ "SYSRES_CONST_DATA_TYPE_INTEGER "
+ "SYSRES_CONST_DATA_TYPE_PICK "
+ "SYSRES_CONST_DATA_TYPE_REFERENCE "
+ "SYSRES_CONST_DATA_TYPE_STRING "
+ "SYSRES_CONST_DATA_TYPE_TEXT "
+ "SYSRES_CONST_DATA_TYPE_VARIANT "
+ "SYSRES_CONST_DATE_CLOSE_REQ_CODE "
+ "SYSRES_CONST_DATE_FORMAT_DATE_ONLY_CHAR "
+ "SYSRES_CONST_DATE_OPEN_REQ_CODE "
+ "SYSRES_CONST_DATE_REQUISITE "
+ "SYSRES_CONST_DATE_REQUISITE_CODE "
+ "SYSRES_CONST_DATE_REQUISITE_NAME "
+ "SYSRES_CONST_DATE_REQUISITE_TYPE "
+ "SYSRES_CONST_DATE_TYPE_CHAR "
+ "SYSRES_CONST_DATETIME_FORMAT_VALUE "
+ "SYSRES_CONST_DEA_ACCESS_RIGHTS_ACTION_CODE "
+ "SYSRES_CONST_DESCRIPTION_LOCALIZE_ID_REQUISITE_CODE "
+ "SYSRES_CONST_DESCRIPTION_REQUISITE_CODE "
+ "SYSRES_CONST_DET1_PART "
+ "SYSRES_CONST_DET2_PART "
+ "SYSRES_CONST_DET3_PART "
+ "SYSRES_CONST_DET4_PART "
+ "SYSRES_CONST_DET5_PART "
+ "SYSRES_CONST_DET6_PART "
+ "SYSRES_CONST_DETAIL_DATASET_KEY_REQUISITE_CODE "
+ "SYSRES_CONST_DETAIL_PICK_REQUISITE_CODE "
+ "SYSRES_CONST_DETAIL_REQ_CODE "
+ "SYSRES_CONST_DO_NOT_USE_ACCESS_TYPE_CODE "
+ "SYSRES_CONST_DO_NOT_USE_ACCESS_TYPE_NAME "
+ "SYSRES_CONST_DO_NOT_USE_ON_VIEW_ACCESS_TYPE_CODE "
+ "SYSRES_CONST_DO_NOT_USE_ON_VIEW_ACCESS_TYPE_NAME "
+ "SYSRES_CONST_DOCUMENT_STORAGES_CODE "
+ "SYSRES_CONST_DOCUMENT_TEMPLATES_TYPE_NAME "
+ "SYSRES_CONST_DOUBLE_REQUISITE_CODE "
+ "SYSRES_CONST_EDITOR_CLOSE_FILE_OBSERV_TYPE_CODE "
+ "SYSRES_CONST_EDITOR_CLOSE_PROCESS_OBSERV_TYPE_CODE "
+ "SYSRES_CONST_EDITOR_TYPE_REQUISITE_CODE "
+ "SYSRES_CONST_EDITORS_APPLICATION_NAME_REQUISITE_CODE "
+ "SYSRES_CONST_EDITORS_CREATE_SEVERAL_PROCESSES_REQUISITE_CODE "
+ "SYSRES_CONST_EDITORS_EXTENSION_REQUISITE_CODE "
+ "SYSRES_CONST_EDITORS_OBSERVER_BY_PROCESS_TYPE "
+ "SYSRES_CONST_EDITORS_REFERENCE_CODE "
+ "SYSRES_CONST_EDITORS_REPLACE_SPEC_CHARS_REQUISITE_CODE "
+ "SYSRES_CONST_EDITORS_USE_PLUGINS_REQUISITE_CODE "
+ "SYSRES_CONST_EDITORS_VIEW_DOCUMENT_OPENED_TO_EDIT_CODE "
+ "SYSRES_CONST_EDOC_CARD_TYPE_REQUISITE_CODE "
+ "SYSRES_CONST_EDOC_CARD_TYPES_LINK_REQUISITE_CODE "
+ "SYSRES_CONST_EDOC_CERTIFICATE_AND_PASSWORD_ENCODE_CODE "
+ "SYSRES_CONST_EDOC_CERTIFICATE_ENCODE_CODE "
+ "SYSRES_CONST_EDOC_DATE_REQUISITE_CODE "
+ "SYSRES_CONST_EDOC_KIND_REFERENCE_CODE "
+ "SYSRES_CONST_EDOC_KINDS_BY_TEMPLATE_ACTION_CODE "
+ "SYSRES_CONST_EDOC_MANAGE_ACCESS_CODE "
+ "SYSRES_CONST_EDOC_NONE_ENCODE_CODE "
+ "SYSRES_CONST_EDOC_NUMBER_REQUISITE_CODE "
+ "SYSRES_CONST_EDOC_PASSWORD_ENCODE_CODE "
+ "SYSRES_CONST_EDOC_READONLY_ACCESS_CODE "
+ "SYSRES_CONST_EDOC_SHELL_LIFE_TYPE_VIEW_VALUE "
+ "SYSRES_CONST_EDOC_SIZE_RESTRICTION_PRIORITY_REQUISITE_CODE "
+ "SYSRES_CONST_EDOC_STORAGE_CHECK_ACCESS_RIGHTS_REQUISITE_CODE "
+ "SYSRES_CONST_EDOC_STORAGE_COMPUTER_NAME_REQUISITE_CODE "
+ "SYSRES_CONST_EDOC_STORAGE_DATABASE_NAME_REQUISITE_CODE "
+ "SYSRES_CONST_EDOC_STORAGE_EDIT_IN_STORAGE_REQUISITE_CODE "
+ "SYSRES_CONST_EDOC_STORAGE_LOCAL_PATH_REQUISITE_CODE "
+ "SYSRES_CONST_EDOC_STORAGE_SHARED_SOURCE_NAME_REQUISITE_CODE "
+ "SYSRES_CONST_EDOC_TEMPLATE_REQUISITE_CODE "
+ "SYSRES_CONST_EDOC_TYPES_REFERENCE_CODE "
+ "SYSRES_CONST_EDOC_VERSION_ACTIVE_STAGE_CODE "
+ "SYSRES_CONST_EDOC_VERSION_DESIGN_STAGE_CODE "
+ "SYSRES_CONST_EDOC_VERSION_OBSOLETE_STAGE_CODE "
+ "SYSRES_CONST_EDOC_WRITE_ACCES_CODE "
+ "SYSRES_CONST_EDOCUMENT_CARD_REQUISITES_REFERENCE_CODE_SELECTED_REQUISITE "
+ "SYSRES_CONST_ENCODE_CERTIFICATE_TYPE_CODE "
+ "SYSRES_CONST_END_DATE_REQUISITE_CODE "
+ "SYSRES_CONST_ENUMERATION_TYPE_REQUISITE_CODE "
+ "SYSRES_CONST_EXECUTE_ACCESS_RIGHTS_TYPE_CODE "
+ "SYSRES_CONST_EXECUTIVE_FILE_STORAGE_TYPE "
+ "SYSRES_CONST_EXIST_CONST "
+ "SYSRES_CONST_EXIST_VALUE "
+ "SYSRES_CONST_EXPORT_LOCK_TYPE_ASK "
+ "SYSRES_CONST_EXPORT_LOCK_TYPE_WITH_LOCK "
+ "SYSRES_CONST_EXPORT_LOCK_TYPE_WITHOUT_LOCK "
+ "SYSRES_CONST_EXPORT_VERSION_TYPE_ASK "
+ "SYSRES_CONST_EXPORT_VERSION_TYPE_LAST "
+ "SYSRES_CONST_EXPORT_VERSION_TYPE_LAST_ACTIVE "
+ "SYSRES_CONST_EXTENSION_REQUISITE_CODE "
+ "SYSRES_CONST_FILTER_NAME_REQUISITE_CODE "
+ "SYSRES_CONST_FILTER_REQUISITE_CODE "
+ "SYSRES_CONST_FILTER_TYPE_COMMON_CODE "
+ "SYSRES_CONST_FILTER_TYPE_COMMON_NAME "
+ "SYSRES_CONST_FILTER_TYPE_USER_CODE "
+ "SYSRES_CONST_FILTER_TYPE_USER_NAME "
+ "SYSRES_CONST_FILTER_VALUE_REQUISITE_NAME "
+ "SYSRES_CONST_FLOAT_NUMBER_FORMAT_CHAR "
+ "SYSRES_CONST_FLOAT_REQUISITE_TYPE "
+ "SYSRES_CONST_FOLDER_AUTHOR_VALUE "
+ "SYSRES_CONST_FOLDER_KIND_ANY_OBJECTS "
+ "SYSRES_CONST_FOLDER_KIND_COMPONENTS "
+ "SYSRES_CONST_FOLDER_KIND_EDOCS "
+ "SYSRES_CONST_FOLDER_KIND_JOBS "
+ "SYSRES_CONST_FOLDER_KIND_TASKS "
+ "SYSRES_CONST_FOLDER_TYPE_COMMON "
+ "SYSRES_CONST_FOLDER_TYPE_COMPONENT "
+ "SYSRES_CONST_FOLDER_TYPE_FAVORITES "
+ "SYSRES_CONST_FOLDER_TYPE_INBOX "
+ "SYSRES_CONST_FOLDER_TYPE_OUTBOX "
+ "SYSRES_CONST_FOLDER_TYPE_QUICK_LAUNCH "
+ "SYSRES_CONST_FOLDER_TYPE_SEARCH "
+ "SYSRES_CONST_FOLDER_TYPE_SHORTCUTS "
+ "SYSRES_CONST_FOLDER_TYPE_USER "
+ "SYSRES_CONST_FROM_DICTIONARY_ENUM_METHOD_FLAG "
+ "SYSRES_CONST_FULL_SUBSTITUTE_TYPE "
+ "SYSRES_CONST_FULL_SUBSTITUTE_TYPE_CODE "
+ "SYSRES_CONST_FUNCTION_CANCEL_RESULT "
+ "SYSRES_CONST_FUNCTION_CATEGORY_SYSTEM "
+ "SYSRES_CONST_FUNCTION_CATEGORY_USER "
+ "SYSRES_CONST_FUNCTION_FAILURE_RESULT "
+ "SYSRES_CONST_FUNCTION_SAVE_RESULT "
+ "SYSRES_CONST_GENERATED_REQUISITE "
+ "SYSRES_CONST_GREEN_LIFE_CYCLE_STAGE_FONT_COLOR "
+ "SYSRES_CONST_GROUP_ACCOUNT_TYPE_VALUE_CODE "
+ "SYSRES_CONST_GROUP_CATEGORY_NORMAL_CODE "
+ "SYSRES_CONST_GROUP_CATEGORY_NORMAL_NAME "
+ "SYSRES_CONST_GROUP_CATEGORY_SERVICE_CODE "
+ "SYSRES_CONST_GROUP_CATEGORY_SERVICE_NAME "
+ "SYSRES_CONST_GROUP_COMMON_CATEGORY_FIELD_VALUE "
+ "SYSRES_CONST_GROUP_FULL_NAME_REQUISITE_CODE "
+ "SYSRES_CONST_GROUP_NAME_REQUISITE_CODE "
+ "SYSRES_CONST_GROUP_RIGHTS_T_REQUISITE_CODE "
+ "SYSRES_CONST_GROUP_SERVER_CODES_REQUISITE_CODE "
+ "SYSRES_CONST_GROUP_SERVER_NAME_REQUISITE_CODE "
+ "SYSRES_CONST_GROUP_SERVICE_CATEGORY_FIELD_VALUE "
+ "SYSRES_CONST_GROUP_USER_REQUISITE_CODE "
+ "SYSRES_CONST_GROUPS_REFERENCE_CODE "
+ "SYSRES_CONST_GROUPS_REQUISITE_CODE "
+ "SYSRES_CONST_HIDDEN_MODE_NAME "
+ "SYSRES_CONST_HIGH_LVL_REQUISITE_CODE "
+ "SYSRES_CONST_HISTORY_ACTION_CREATE_CODE "
+ "SYSRES_CONST_HISTORY_ACTION_DELETE_CODE "
+ "SYSRES_CONST_HISTORY_ACTION_EDIT_CODE "
+ "SYSRES_CONST_HOUR_CHAR "
+ "SYSRES_CONST_ID_REQUISITE_CODE "
+ "SYSRES_CONST_IDSPS_REQUISITE_CODE "
+ "SYSRES_CONST_IMAGE_MODE_COLOR "
+ "SYSRES_CONST_IMAGE_MODE_GREYSCALE "
+ "SYSRES_CONST_IMAGE_MODE_MONOCHROME "
+ "SYSRES_CONST_IMPORTANCE_HIGH "
+ "SYSRES_CONST_IMPORTANCE_LOW "
+ "SYSRES_CONST_IMPORTANCE_NORMAL "
+ "SYSRES_CONST_IN_DESIGN_VERSION_STATE_PICK_VALUE "
+ "SYSRES_CONST_INCOMING_WORK_RULE_TYPE_CODE "
+ "SYSRES_CONST_INT_REQUISITE "
+ "SYSRES_CONST_INT_REQUISITE_TYPE "
+ "SYSRES_CONST_INTEGER_NUMBER_FORMAT_CHAR "
+ "SYSRES_CONST_INTEGER_TYPE_CHAR "
+ "SYSRES_CONST_IS_GENERATED_REQUISITE_NEGATIVE_VALUE "
+ "SYSRES_CONST_IS_PUBLIC_ROLE_REQUISITE_CODE "
+ "SYSRES_CONST_IS_REMOTE_USER_NEGATIVE_VALUE "
+ "SYSRES_CONST_IS_REMOTE_USER_POSITIVE_VALUE "
+ "SYSRES_CONST_IS_STORED_REQUISITE_NEGATIVE_VALUE "
+ "SYSRES_CONST_IS_STORED_REQUISITE_STORED_VALUE "
+ "SYSRES_CONST_ITALIC_LIFE_CYCLE_STAGE_DRAW_STYLE "
+ "SYSRES_CONST_JOB_BLOCK_DESCRIPTION "
+ "SYSRES_CONST_JOB_KIND_CONTROL_JOB "
+ "SYSRES_CONST_JOB_KIND_JOB "
+ "SYSRES_CONST_JOB_KIND_NOTICE "
+ "SYSRES_CONST_JOB_STATE_ABORTED "
+ "SYSRES_CONST_JOB_STATE_COMPLETE "
+ "SYSRES_CONST_JOB_STATE_WORKING "
+ "SYSRES_CONST_KIND_REQUISITE_CODE "
+ "SYSRES_CONST_KIND_REQUISITE_NAME "
+ "SYSRES_CONST_KINDS_CREATE_SHADOW_COPIES_REQUISITE_CODE "
+ "SYSRES_CONST_KINDS_DEFAULT_EDOC_LIFE_STAGE_REQUISITE_CODE "
+ "SYSRES_CONST_KINDS_EDOC_ALL_TEPLATES_ALLOWED_REQUISITE_CODE "
+ "SYSRES_CONST_KINDS_EDOC_ALLOW_LIFE_CYCLE_STAGE_CHANGING_REQUISITE_CODE "
+ "SYSRES_CONST_KINDS_EDOC_ALLOW_MULTIPLE_ACTIVE_VERSIONS_REQUISITE_CODE "
+ "SYSRES_CONST_KINDS_EDOC_SHARE_ACCES_RIGHTS_BY_DEFAULT_CODE "
+ "SYSRES_CONST_KINDS_EDOC_TEMPLATE_REQUISITE_CODE "
+ "SYSRES_CONST_KINDS_EDOC_TYPE_REQUISITE_CODE "
+ "SYSRES_CONST_KINDS_SIGNERS_REQUISITES_CODE "
+ "SYSRES_CONST_KOD_INPUT_TYPE "
+ "SYSRES_CONST_LAST_UPDATE_DATE_REQUISITE_CODE "
+ "SYSRES_CONST_LIFE_CYCLE_START_STAGE_REQUISITE_CODE "
+ "SYSRES_CONST_LILAC_LIFE_CYCLE_STAGE_FONT_COLOR "
+ "SYSRES_CONST_LINK_OBJECT_KIND_COMPONENT "
+ "SYSRES_CONST_LINK_OBJECT_KIND_DOCUMENT "
+ "SYSRES_CONST_LINK_OBJECT_KIND_EDOC "
+ "SYSRES_CONST_LINK_OBJECT_KIND_FOLDER "
+ "SYSRES_CONST_LINK_OBJECT_KIND_JOB "
+ "SYSRES_CONST_LINK_OBJECT_KIND_REFERENCE "
+ "SYSRES_CONST_LINK_OBJECT_KIND_TASK "
+ "SYSRES_CONST_LINK_REF_TYPE_REQUISITE_CODE "
+ "SYSRES_CONST_LIST_REFERENCE_MODE_NAME "
+ "SYSRES_CONST_LOCALIZATION_DICTIONARY_MAIN_VIEW_CODE "
+ "SYSRES_CONST_MAIN_VIEW_CODE "
+ "SYSRES_CONST_MANUAL_ENUM_METHOD_FLAG "
+ "SYSRES_CONST_MASTER_COMP_TYPE_REQUISITE_CODE "
+ "SYSRES_CONST_MASTER_TABLE_REC_ID_REQUISITE_CODE "
+ "SYSRES_CONST_MAXIMIZED_MODE_NAME "
+ "SYSRES_CONST_ME_VALUE "
+ "SYSRES_CONST_MESSAGE_ATTENTION_CAPTION "
+ "SYSRES_CONST_MESSAGE_CONFIRMATION_CAPTION "
+ "SYSRES_CONST_MESSAGE_ERROR_CAPTION "
+ "SYSRES_CONST_MESSAGE_INFORMATION_CAPTION "
+ "SYSRES_CONST_MINIMIZED_MODE_NAME "
+ "SYSRES_CONST_MINUTE_CHAR "
+ "SYSRES_CONST_MODULE_REQUISITE_CODE "
+ "SYSRES_CONST_MONITORING_BLOCK_DESCRIPTION "
+ "SYSRES_CONST_MONTH_FORMAT_VALUE "
+ "SYSRES_CONST_NAME_LOCALIZE_ID_REQUISITE_CODE "
+ "SYSRES_CONST_NAME_REQUISITE_CODE "
+ "SYSRES_CONST_NAME_SINGULAR_REQUISITE_CODE "
+ "SYSRES_CONST_NAMEAN_INPUT_TYPE "
+ "SYSRES_CONST_NEGATIVE_PICK_VALUE "
+ "SYSRES_CONST_NEGATIVE_VALUE "
+ "SYSRES_CONST_NO "
+ "SYSRES_CONST_NO_PICK_VALUE "
+ "SYSRES_CONST_NO_SIGNATURE_REQUISITE_CODE "
+ "SYSRES_CONST_NO_VALUE "
+ "SYSRES_CONST_NONE_ACCESS_RIGHTS_TYPE_CODE "
+ "SYSRES_CONST_NONOPERATING_RECORD_FLAG_VALUE "
+ "SYSRES_CONST_NONOPERATING_RECORD_FLAG_VALUE_MASCULINE "
+ "SYSRES_CONST_NORMAL_ACCESS_RIGHTS_TYPE_CODE "
+ "SYSRES_CONST_NORMAL_LIFE_CYCLE_STAGE_DRAW_STYLE "
+ "SYSRES_CONST_NORMAL_MODE_NAME "
+ "SYSRES_CONST_NOT_ALLOWED_ACCESS_TYPE_CODE "
+ "SYSRES_CONST_NOT_ALLOWED_ACCESS_TYPE_NAME "
+ "SYSRES_CONST_NOTE_REQUISITE_CODE "
+ "SYSRES_CONST_NOTICE_BLOCK_DESCRIPTION "
+ "SYSRES_CONST_NUM_REQUISITE "
+ "SYSRES_CONST_NUM_STR_REQUISITE_CODE "
+ "SYSRES_CONST_NUMERATION_AUTO_NOT_STRONG "
+ "SYSRES_CONST_NUMERATION_AUTO_STRONG "
+ "SYSRES_CONST_NUMERATION_FROM_DICTONARY "
+ "SYSRES_CONST_NUMERATION_MANUAL "
+ "SYSRES_CONST_NUMERIC_TYPE_CHAR "
+ "SYSRES_CONST_NUMREQ_REQUISITE_CODE "
+ "SYSRES_CONST_OBSOLETE_VERSION_STATE_PICK_VALUE "
+ "SYSRES_CONST_OPERATING_RECORD_FLAG_VALUE "
+ "SYSRES_CONST_OPERATING_RECORD_FLAG_VALUE_CODE "
+ "SYSRES_CONST_OPERATING_RECORD_FLAG_VALUE_FEMININE "
+ "SYSRES_CONST_OPERATING_RECORD_FLAG_VALUE_MASCULINE "
+ "SYSRES_CONST_OPTIONAL_FORM_COMP_REQCODE_PREFIX "
+ "SYSRES_CONST_ORANGE_LIFE_CYCLE_STAGE_FONT_COLOR "
+ "SYSRES_CONST_ORIGINALREF_REQUISITE_CODE "
+ "SYSRES_CONST_OURFIRM_REF_CODE "
+ "SYSRES_CONST_OURFIRM_REQUISITE_CODE "
+ "SYSRES_CONST_OURFIRM_VAR "
+ "SYSRES_CONST_OUTGOING_WORK_RULE_TYPE_CODE "
+ "SYSRES_CONST_PICK_NEGATIVE_RESULT "
+ "SYSRES_CONST_PICK_POSITIVE_RESULT "
+ "SYSRES_CONST_PICK_REQUISITE "
+ "SYSRES_CONST_PICK_REQUISITE_TYPE "
+ "SYSRES_CONST_PICK_TYPE_CHAR "
+ "SYSRES_CONST_PLAN_STATUS_REQUISITE_CODE "
+ "SYSRES_CONST_PLATFORM_VERSION_COMMENT "
+ "SYSRES_CONST_PLUGINS_SETTINGS_DESCRIPTION_REQUISITE_CODE "
+ "SYSRES_CONST_POSITIVE_PICK_VALUE "
+ "SYSRES_CONST_POWER_TO_CREATE_ACTION_CODE "
+ "SYSRES_CONST_POWER_TO_SIGN_ACTION_CODE "
+ "SYSRES_CONST_PRIORITY_REQUISITE_CODE "
+ "SYSRES_CONST_QUALIFIED_TASK_TYPE "
+ "SYSRES_CONST_QUALIFIED_TASK_TYPE_CODE "
+ "SYSRES_CONST_RECSTAT_REQUISITE_CODE "
+ "SYSRES_CONST_RED_LIFE_CYCLE_STAGE_FONT_COLOR "
+ "SYSRES_CONST_REF_ID_T_REF_TYPE_REQUISITE_CODE "
+ "SYSRES_CONST_REF_REQUISITE "
+ "SYSRES_CONST_REF_REQUISITE_TYPE "
+ "SYSRES_CONST_REF_REQUISITES_REFERENCE_CODE_SELECTED_REQUISITE "
+ "SYSRES_CONST_REFERENCE_RECORD_HISTORY_CREATE_ACTION_CODE "
+ "SYSRES_CONST_REFERENCE_RECORD_HISTORY_DELETE_ACTION_CODE "
+ "SYSRES_CONST_REFERENCE_RECORD_HISTORY_MODIFY_ACTION_CODE "
+ "SYSRES_CONST_REFERENCE_TYPE_CHAR "
+ "SYSRES_CONST_REFERENCE_TYPE_REQUISITE_NAME "
+ "SYSRES_CONST_REFERENCES_ADD_PARAMS_REQUISITE_CODE "
+ "SYSRES_CONST_REFERENCES_DISPLAY_REQUISITE_REQUISITE_CODE "
+ "SYSRES_CONST_REMOTE_SERVER_STATUS_WORKING "
+ "SYSRES_CONST_REMOTE_SERVER_TYPE_MAIN "
+ "SYSRES_CONST_REMOTE_SERVER_TYPE_SECONDARY "
+ "SYSRES_CONST_REMOTE_USER_FLAG_VALUE_CODE "
+ "SYSRES_CONST_REPORT_APP_EDITOR_INTERNAL "
+ "SYSRES_CONST_REPORT_BASE_REPORT_ID_REQUISITE_CODE "
+ "SYSRES_CONST_REPORT_BASE_REPORT_REQUISITE_CODE "
+ "SYSRES_CONST_REPORT_SCRIPT_REQUISITE_CODE "
+ "SYSRES_CONST_REPORT_TEMPLATE_REQUISITE_CODE "
+ "SYSRES_CONST_REPORT_VIEWER_CODE_REQUISITE_CODE "
+ "SYSRES_CONST_REQ_ALLOW_COMPONENT_DEFAULT_VALUE "
+ "SYSRES_CONST_REQ_ALLOW_RECORD_DEFAULT_VALUE "
+ "SYSRES_CONST_REQ_ALLOW_SERVER_COMPONENT_DEFAULT_VALUE "
+ "SYSRES_CONST_REQ_MODE_AVAILABLE_CODE "
+ "SYSRES_CONST_REQ_MODE_EDIT_CODE "
+ "SYSRES_CONST_REQ_MODE_HIDDEN_CODE "
+ "SYSRES_CONST_REQ_MODE_NOT_AVAILABLE_CODE "
+ "SYSRES_CONST_REQ_MODE_VIEW_CODE "
+ "SYSRES_CONST_REQ_NUMBER_REQUISITE_CODE "
+ "SYSRES_CONST_REQ_SECTION_VALUE "
+ "SYSRES_CONST_REQ_TYPE_VALUE "
+ "SYSRES_CONST_REQUISITE_FORMAT_BY_UNIT "
+ "SYSRES_CONST_REQUISITE_FORMAT_DATE_FULL "
+ "SYSRES_CONST_REQUISITE_FORMAT_DATE_TIME "
+ "SYSRES_CONST_REQUISITE_FORMAT_LEFT "
+ "SYSRES_CONST_REQUISITE_FORMAT_RIGHT "
+ "SYSRES_CONST_REQUISITE_FORMAT_WITHOUT_UNIT "
+ "SYSRES_CONST_REQUISITE_NUMBER_REQUISITE_CODE "
+ "SYSRES_CONST_REQUISITE_SECTION_ACTIONS "
+ "SYSRES_CONST_REQUISITE_SECTION_BUTTON "
+ "SYSRES_CONST_REQUISITE_SECTION_BUTTONS "
+ "SYSRES_CONST_REQUISITE_SECTION_CARD "
+ "SYSRES_CONST_REQUISITE_SECTION_TABLE "
+ "SYSRES_CONST_REQUISITE_SECTION_TABLE10 "
+ "SYSRES_CONST_REQUISITE_SECTION_TABLE11 "
+ "SYSRES_CONST_REQUISITE_SECTION_TABLE12 "
+ "SYSRES_CONST_REQUISITE_SECTION_TABLE13 "
+ "SYSRES_CONST_REQUISITE_SECTION_TABLE14 "
+ "SYSRES_CONST_REQUISITE_SECTION_TABLE15 "
+ "SYSRES_CONST_REQUISITE_SECTION_TABLE16 "
+ "SYSRES_CONST_REQUISITE_SECTION_TABLE17 "
+ "SYSRES_CONST_REQUISITE_SECTION_TABLE18 "
+ "SYSRES_CONST_REQUISITE_SECTION_TABLE19 "
+ "SYSRES_CONST_REQUISITE_SECTION_TABLE2 "
+ "SYSRES_CONST_REQUISITE_SECTION_TABLE20 "
+ "SYSRES_CONST_REQUISITE_SECTION_TABLE21 "
+ "SYSRES_CONST_REQUISITE_SECTION_TABLE22 "
+ "SYSRES_CONST_REQUISITE_SECTION_TABLE23 "
+ "SYSRES_CONST_REQUISITE_SECTION_TABLE24 "
+ "SYSRES_CONST_REQUISITE_SECTION_TABLE3 "
+ "SYSRES_CONST_REQUISITE_SECTION_TABLE4 "
+ "SYSRES_CONST_REQUISITE_SECTION_TABLE5 "
+ "SYSRES_CONST_REQUISITE_SECTION_TABLE6 "
+ "SYSRES_CONST_REQUISITE_SECTION_TABLE7 "
+ "SYSRES_CONST_REQUISITE_SECTION_TABLE8 "
+ "SYSRES_CONST_REQUISITE_SECTION_TABLE9 "
+ "SYSRES_CONST_REQUISITES_PSEUDOREFERENCE_REQUISITE_NUMBER_REQUISITE_CODE "
+ "SYSRES_CONST_RIGHT_ALIGNMENT_CODE "
+ "SYSRES_CONST_ROLES_REFERENCE_CODE "
+ "SYSRES_CONST_ROUTE_STEP_AFTER_RUS "
+ "SYSRES_CONST_ROUTE_STEP_AND_CONDITION_RUS "
+ "SYSRES_CONST_ROUTE_STEP_OR_CONDITION_RUS "
+ "SYSRES_CONST_ROUTE_TYPE_COMPLEX "
+ "SYSRES_CONST_ROUTE_TYPE_PARALLEL "
+ "SYSRES_CONST_ROUTE_TYPE_SERIAL "
+ "SYSRES_CONST_SBDATASETDESC_NEGATIVE_VALUE "
+ "SYSRES_CONST_SBDATASETDESC_POSITIVE_VALUE "
+ "SYSRES_CONST_SBVIEWSDESC_POSITIVE_VALUE "
+ "SYSRES_CONST_SCRIPT_BLOCK_DESCRIPTION "
+ "SYSRES_CONST_SEARCH_BY_TEXT_REQUISITE_CODE "
+ "SYSRES_CONST_SEARCHES_COMPONENT_CONTENT "
+ "SYSRES_CONST_SEARCHES_CRITERIA_ACTION_NAME "
+ "SYSRES_CONST_SEARCHES_EDOC_CONTENT "
+ "SYSRES_CONST_SEARCHES_FOLDER_CONTENT "
+ "SYSRES_CONST_SEARCHES_JOB_CONTENT "
+ "SYSRES_CONST_SEARCHES_REFERENCE_CODE "
+ "SYSRES_CONST_SEARCHES_TASK_CONTENT "
+ "SYSRES_CONST_SECOND_CHAR "
+ "SYSRES_CONST_SECTION_REQUISITE_ACTIONS_VALUE "
+ "SYSRES_CONST_SECTION_REQUISITE_CARD_VALUE "
+ "SYSRES_CONST_SECTION_REQUISITE_CODE "
+ "SYSRES_CONST_SECTION_REQUISITE_DETAIL_1_VALUE "
+ "SYSRES_CONST_SECTION_REQUISITE_DETAIL_2_VALUE "
+ "SYSRES_CONST_SECTION_REQUISITE_DETAIL_3_VALUE "
+ "SYSRES_CONST_SECTION_REQUISITE_DETAIL_4_VALUE "
+ "SYSRES_CONST_SECTION_REQUISITE_DETAIL_5_VALUE "
+ "SYSRES_CONST_SECTION_REQUISITE_DETAIL_6_VALUE "
+ "SYSRES_CONST_SELECT_REFERENCE_MODE_NAME "
+ "SYSRES_CONST_SELECT_TYPE_SELECTABLE "
+ "SYSRES_CONST_SELECT_TYPE_SELECTABLE_ONLY_CHILD "
+ "SYSRES_CONST_SELECT_TYPE_SELECTABLE_WITH_CHILD "
+ "SYSRES_CONST_SELECT_TYPE_UNSLECTABLE "
+ "SYSRES_CONST_SERVER_TYPE_MAIN "
+ "SYSRES_CONST_SERVICE_USER_CATEGORY_FIELD_VALUE "
+ "SYSRES_CONST_SETTINGS_USER_REQUISITE_CODE "
+ "SYSRES_CONST_SIGNATURE_AND_ENCODE_CERTIFICATE_TYPE_CODE "
+ "SYSRES_CONST_SIGNATURE_CERTIFICATE_TYPE_CODE "
+ "SYSRES_CONST_SINGULAR_TITLE_REQUISITE_CODE "
+ "SYSRES_CONST_SQL_SERVER_AUTHENTIFICATION_FLAG_VALUE_CODE "
+ "SYSRES_CONST_SQL_SERVER_ENCODE_AUTHENTIFICATION_FLAG_VALUE_CODE "
+ "SYSRES_CONST_STANDART_ROUTE_REFERENCE_CODE "
+ "SYSRES_CONST_STANDART_ROUTE_REFERENCE_COMMENT_REQUISITE_CODE "
+ "SYSRES_CONST_STANDART_ROUTES_GROUPS_REFERENCE_CODE "
+ "SYSRES_CONST_STATE_REQ_NAME "
+ "SYSRES_CONST_STATE_REQUISITE_ACTIVE_VALUE "
+ "SYSRES_CONST_STATE_REQUISITE_CLOSED_VALUE "
+ "SYSRES_CONST_STATE_REQUISITE_CODE "
+ "SYSRES_CONST_STATIC_ROLE_TYPE_CODE "
+ "SYSRES_CONST_STATUS_PLAN_DEFAULT_VALUE "
+ "SYSRES_CONST_STATUS_VALUE_AUTOCLEANING "
+ "SYSRES_CONST_STATUS_VALUE_BLUE_SQUARE "
+ "SYSRES_CONST_STATUS_VALUE_COMPLETE "
+ "SYSRES_CONST_STATUS_VALUE_GREEN_SQUARE "
+ "SYSRES_CONST_STATUS_VALUE_ORANGE_SQUARE "
+ "SYSRES_CONST_STATUS_VALUE_PURPLE_SQUARE "
+ "SYSRES_CONST_STATUS_VALUE_RED_SQUARE "
+ "SYSRES_CONST_STATUS_VALUE_SUSPEND "
+ "SYSRES_CONST_STATUS_VALUE_YELLOW_SQUARE "
+ "SYSRES_CONST_STDROUTE_SHOW_TO_USERS_REQUISITE_CODE "
+ "SYSRES_CONST_STORAGE_TYPE_FILE "
+ "SYSRES_CONST_STORAGE_TYPE_SQL_SERVER "
+ "SYSRES_CONST_STR_REQUISITE "
+ "SYSRES_CONST_STRIKEOUT_LIFE_CYCLE_STAGE_DRAW_STYLE "
+ "SYSRES_CONST_STRING_FORMAT_LEFT_ALIGN_CHAR "
+ "SYSRES_CONST_STRING_FORMAT_RIGHT_ALIGN_CHAR "
+ "SYSRES_CONST_STRING_REQUISITE_CODE "
+ "SYSRES_CONST_STRING_REQUISITE_TYPE "
+ "SYSRES_CONST_STRING_TYPE_CHAR "
+ "SYSRES_CONST_SUBSTITUTES_PSEUDOREFERENCE_CODE "
+ "SYSRES_CONST_SUBTASK_BLOCK_DESCRIPTION "
+ "SYSRES_CONST_SYSTEM_SETTING_CURRENT_USER_PARAM_VALUE "
+ "SYSRES_CONST_SYSTEM_SETTING_EMPTY_VALUE_PARAM_VALUE "
+ "SYSRES_CONST_SYSTEM_VERSION_COMMENT "
+ "SYSRES_CONST_TASK_ACCESS_TYPE_ALL "
+ "SYSRES_CONST_TASK_ACCESS_TYPE_ALL_MEMBERS "
+ "SYSRES_CONST_TASK_ACCESS_TYPE_MANUAL "
+ "SYSRES_CONST_TASK_ENCODE_TYPE_CERTIFICATION "
+ "SYSRES_CONST_TASK_ENCODE_TYPE_CERTIFICATION_AND_PASSWORD "
+ "SYSRES_CONST_TASK_ENCODE_TYPE_NONE "
+ "SYSRES_CONST_TASK_ENCODE_TYPE_PASSWORD "
+ "SYSRES_CONST_TASK_ROUTE_ALL_CONDITION "
+ "SYSRES_CONST_TASK_ROUTE_AND_CONDITION "
+ "SYSRES_CONST_TASK_ROUTE_OR_CONDITION "
+ "SYSRES_CONST_TASK_STATE_ABORTED "
+ "SYSRES_CONST_TASK_STATE_COMPLETE "
+ "SYSRES_CONST_TASK_STATE_CONTINUED "
+ "SYSRES_CONST_TASK_STATE_CONTROL "
+ "SYSRES_CONST_TASK_STATE_INIT "
+ "SYSRES_CONST_TASK_STATE_WORKING "
+ "SYSRES_CONST_TASK_TITLE "
+ "SYSRES_CONST_TASK_TYPES_GROUPS_REFERENCE_CODE "
+ "SYSRES_CONST_TASK_TYPES_REFERENCE_CODE "
+ "SYSRES_CONST_TEMPLATES_REFERENCE_CODE "
+ "SYSRES_CONST_TEST_DATE_REQUISITE_NAME "
+ "SYSRES_CONST_TEST_DEV_DATABASE_NAME "
+ "SYSRES_CONST_TEST_DEV_SYSTEM_CODE "
+ "SYSRES_CONST_TEST_EDMS_DATABASE_NAME "
+ "SYSRES_CONST_TEST_EDMS_MAIN_CODE "
+ "SYSRES_CONST_TEST_EDMS_MAIN_DB_NAME "
+ "SYSRES_CONST_TEST_EDMS_SECOND_CODE "
+ "SYSRES_CONST_TEST_EDMS_SECOND_DB_NAME "
+ "SYSRES_CONST_TEST_EDMS_SYSTEM_CODE "
+ "SYSRES_CONST_TEST_NUMERIC_REQUISITE_NAME "
+ "SYSRES_CONST_TEXT_REQUISITE "
+ "SYSRES_CONST_TEXT_REQUISITE_CODE "
+ "SYSRES_CONST_TEXT_REQUISITE_TYPE "
+ "SYSRES_CONST_TEXT_TYPE_CHAR "
+ "SYSRES_CONST_TYPE_CODE_REQUISITE_CODE "
+ "SYSRES_CONST_TYPE_REQUISITE_CODE "
+ "SYSRES_CONST_UNDEFINED_LIFE_CYCLE_STAGE_FONT_COLOR "
+ "SYSRES_CONST_UNITS_SECTION_ID_REQUISITE_CODE "
+ "SYSRES_CONST_UNITS_SECTION_REQUISITE_CODE "
+ "SYSRES_CONST_UNOPERATING_RECORD_FLAG_VALUE_CODE "
+ "SYSRES_CONST_UNSTORED_DATA_REQUISITE_CODE "
+ "SYSRES_CONST_UNSTORED_DATA_REQUISITE_NAME "
+ "SYSRES_CONST_USE_ACCESS_TYPE_CODE "
+ "SYSRES_CONST_USE_ACCESS_TYPE_NAME "
+ "SYSRES_CONST_USER_ACCOUNT_TYPE_VALUE_CODE "
+ "SYSRES_CONST_USER_ADDITIONAL_INFORMATION_REQUISITE_CODE "
+ "SYSRES_CONST_USER_AND_GROUP_ID_FROM_PSEUDOREFERENCE_REQUISITE_CODE "
+ "SYSRES_CONST_USER_CATEGORY_NORMAL "
+ "SYSRES_CONST_USER_CERTIFICATE_REQUISITE_CODE "
+ "SYSRES_CONST_USER_CERTIFICATE_STATE_REQUISITE_CODE "
+ "SYSRES_CONST_USER_CERTIFICATE_SUBJECT_NAME_REQUISITE_CODE "
+ "SYSRES_CONST_USER_CERTIFICATE_THUMBPRINT_REQUISITE_CODE "
+ "SYSRES_CONST_USER_COMMON_CATEGORY "
+ "SYSRES_CONST_USER_COMMON_CATEGORY_CODE "
+ "SYSRES_CONST_USER_FULL_NAME_REQUISITE_CODE "
+ "SYSRES_CONST_USER_GROUP_TYPE_REQUISITE_CODE "
+ "SYSRES_CONST_USER_LOGIN_REQUISITE_CODE "
+ "SYSRES_CONST_USER_REMOTE_CONTROLLER_REQUISITE_CODE "
+ "SYSRES_CONST_USER_REMOTE_SYSTEM_REQUISITE_CODE "
+ "SYSRES_CONST_USER_RIGHTS_T_REQUISITE_CODE "
+ "SYSRES_CONST_USER_SERVER_NAME_REQUISITE_CODE "
+ "SYSRES_CONST_USER_SERVICE_CATEGORY "
+ "SYSRES_CONST_USER_SERVICE_CATEGORY_CODE "
+ "SYSRES_CONST_USER_STATUS_ADMINISTRATOR_CODE "
+ "SYSRES_CONST_USER_STATUS_ADMINISTRATOR_NAME "
+ "SYSRES_CONST_USER_STATUS_DEVELOPER_CODE "
+ "SYSRES_CONST_USER_STATUS_DEVELOPER_NAME "
+ "SYSRES_CONST_USER_STATUS_DISABLED_CODE "
+ "SYSRES_CONST_USER_STATUS_DISABLED_NAME "
+ "SYSRES_CONST_USER_STATUS_SYSTEM_DEVELOPER_CODE "
+ "SYSRES_CONST_USER_STATUS_USER_CODE "
+ "SYSRES_CONST_USER_STATUS_USER_NAME "
+ "SYSRES_CONST_USER_STATUS_USER_NAME_DEPRECATED "
+ "SYSRES_CONST_USER_TYPE_FIELD_VALUE_USER "
+ "SYSRES_CONST_USER_TYPE_REQUISITE_CODE "
+ "SYSRES_CONST_USERS_CONTROLLER_REQUISITE_CODE "
+ "SYSRES_CONST_USERS_IS_MAIN_SERVER_REQUISITE_CODE "
+ "SYSRES_CONST_USERS_REFERENCE_CODE "
+ "SYSRES_CONST_USERS_REGISTRATION_CERTIFICATES_ACTION_NAME "
+ "SYSRES_CONST_USERS_REQUISITE_CODE "
+ "SYSRES_CONST_USERS_SYSTEM_REQUISITE_CODE "
+ "SYSRES_CONST_USERS_USER_ACCESS_RIGHTS_TYPR_REQUISITE_CODE "
+ "SYSRES_CONST_USERS_USER_AUTHENTICATION_REQUISITE_CODE "
+ "SYSRES_CONST_USERS_USER_COMPONENT_REQUISITE_CODE "
+ "SYSRES_CONST_USERS_USER_GROUP_REQUISITE_CODE "
+ "SYSRES_CONST_USERS_VIEW_CERTIFICATES_ACTION_NAME "
+ "SYSRES_CONST_VIEW_DEFAULT_CODE "
+ "SYSRES_CONST_VIEW_DEFAULT_NAME "
+ "SYSRES_CONST_VIEWER_REQUISITE_CODE "
+ "SYSRES_CONST_WAITING_BLOCK_DESCRIPTION "
+ "SYSRES_CONST_WIZARD_FORM_LABEL_TEST_STRING "
+ "SYSRES_CONST_WIZARD_QUERY_PARAM_HEIGHT_ETALON_STRING "
+ "SYSRES_CONST_WIZARD_REFERENCE_COMMENT_REQUISITE_CODE "
+ "SYSRES_CONST_WORK_RULES_DESCRIPTION_REQUISITE_CODE "
+ "SYSRES_CONST_WORK_TIME_CALENDAR_REFERENCE_CODE "
+ "SYSRES_CONST_WORK_WORKFLOW_HARD_ROUTE_TYPE_VALUE "
+ "SYSRES_CONST_WORK_WORKFLOW_HARD_ROUTE_TYPE_VALUE_CODE "
+ "SYSRES_CONST_WORK_WORKFLOW_HARD_ROUTE_TYPE_VALUE_CODE_RUS "
+ "SYSRES_CONST_WORK_WORKFLOW_SOFT_ROUTE_TYPE_VALUE_CODE_RUS "
+ "SYSRES_CONST_WORKFLOW_ROUTE_TYPR_HARD "
+ "SYSRES_CONST_WORKFLOW_ROUTE_TYPR_SOFT "
+ "SYSRES_CONST_XML_ENCODING "
+ "SYSRES_CONST_XREC_STAT_REQUISITE_CODE "
+ "SYSRES_CONST_XRECID_FIELD_NAME "
+ "SYSRES_CONST_YES "
+ "SYSRES_CONST_YES_NO_2_REQUISITE_CODE "
+ "SYSRES_CONST_YES_NO_REQUISITE_CODE "
+ "SYSRES_CONST_YES_NO_T_REF_TYPE_REQUISITE_CODE "
+ "SYSRES_CONST_YES_PICK_VALUE "
+ "SYSRES_CONST_YES_VALUE ";
// Base constant
const base_constants = "CR FALSE nil NO_VALUE NULL TAB TRUE YES_VALUE ";
// Base group name
const base_group_name_constants =
"ADMINISTRATORS_GROUP_NAME CUSTOMIZERS_GROUP_NAME DEVELOPERS_GROUP_NAME SERVICE_USERS_GROUP_NAME ";
// Decision block properties
const decision_block_properties_constants =
"DECISION_BLOCK_FIRST_OPERAND_PROPERTY DECISION_BLOCK_NAME_PROPERTY DECISION_BLOCK_OPERATION_PROPERTY "
+ "DECISION_BLOCK_RESULT_TYPE_PROPERTY DECISION_BLOCK_SECOND_OPERAND_PROPERTY ";
// File extension
const file_extension_constants =
"ANY_FILE_EXTENTION COMPRESSED_DOCUMENT_EXTENSION EXTENDED_DOCUMENT_EXTENSION "
+ "SHORT_COMPRESSED_DOCUMENT_EXTENSION SHORT_EXTENDED_DOCUMENT_EXTENSION ";
// Job block properties
const job_block_properties_constants =
"JOB_BLOCK_ABORT_DEADLINE_PROPERTY "
+ "JOB_BLOCK_AFTER_FINISH_EVENT "
+ "JOB_BLOCK_AFTER_QUERY_PARAMETERS_EVENT "
+ "JOB_BLOCK_ATTACHMENT_PROPERTY "
+ "JOB_BLOCK_ATTACHMENTS_RIGHTS_GROUP_PROPERTY "
+ "JOB_BLOCK_ATTACHMENTS_RIGHTS_TYPE_PROPERTY "
+ "JOB_BLOCK_BEFORE_QUERY_PARAMETERS_EVENT "
+ "JOB_BLOCK_BEFORE_START_EVENT "
+ "JOB_BLOCK_CREATED_JOBS_PROPERTY "
+ "JOB_BLOCK_DEADLINE_PROPERTY "
+ "JOB_BLOCK_EXECUTION_RESULTS_PROPERTY "
+ "JOB_BLOCK_IS_PARALLEL_PROPERTY "
+ "JOB_BLOCK_IS_RELATIVE_ABORT_DEADLINE_PROPERTY "
+ "JOB_BLOCK_IS_RELATIVE_DEADLINE_PROPERTY "
+ "JOB_BLOCK_JOB_TEXT_PROPERTY "
+ "JOB_BLOCK_NAME_PROPERTY "
+ "JOB_BLOCK_NEED_SIGN_ON_PERFORM_PROPERTY "
+ "JOB_BLOCK_PERFORMER_PROPERTY "
+ "JOB_BLOCK_RELATIVE_ABORT_DEADLINE_TYPE_PROPERTY "
+ "JOB_BLOCK_RELATIVE_DEADLINE_TYPE_PROPERTY "
+ "JOB_BLOCK_SUBJECT_PROPERTY ";
// Language code
const language_code_constants = "ENGLISH_LANGUAGE_CODE RUSSIAN_LANGUAGE_CODE ";
// Launching external applications
const launching_external_applications_constants =
"smHidden smMaximized smMinimized smNormal wmNo wmYes ";
// Link kind
const link_kind_constants =
"COMPONENT_TOKEN_LINK_KIND "
+ "DOCUMENT_LINK_KIND "
+ "EDOCUMENT_LINK_KIND "
+ "FOLDER_LINK_KIND "
+ "JOB_LINK_KIND "
+ "REFERENCE_LINK_KIND "
+ "TASK_LINK_KIND ";
// Lock type
const lock_type_constants =
"COMPONENT_TOKEN_LOCK_TYPE EDOCUMENT_VERSION_LOCK_TYPE ";
// Monitor block properties
const monitor_block_properties_constants =
"MONITOR_BLOCK_AFTER_FINISH_EVENT "
+ "MONITOR_BLOCK_BEFORE_START_EVENT "
+ "MONITOR_BLOCK_DEADLINE_PROPERTY "
+ "MONITOR_BLOCK_INTERVAL_PROPERTY "
+ "MONITOR_BLOCK_INTERVAL_TYPE_PROPERTY "
+ "MONITOR_BLOCK_IS_RELATIVE_DEADLINE_PROPERTY "
+ "MONITOR_BLOCK_NAME_PROPERTY "
+ "MONITOR_BLOCK_RELATIVE_DEADLINE_TYPE_PROPERTY "
+ "MONITOR_BLOCK_SEARCH_SCRIPT_PROPERTY ";
// Notice block properties
const notice_block_properties_constants =
"NOTICE_BLOCK_AFTER_FINISH_EVENT "
+ "NOTICE_BLOCK_ATTACHMENT_PROPERTY "
+ "NOTICE_BLOCK_ATTACHMENTS_RIGHTS_GROUP_PROPERTY "
+ "NOTICE_BLOCK_ATTACHMENTS_RIGHTS_TYPE_PROPERTY "
+ "NOTICE_BLOCK_BEFORE_START_EVENT "
+ "NOTICE_BLOCK_CREATED_NOTICES_PROPERTY "
+ "NOTICE_BLOCK_DEADLINE_PROPERTY "
+ "NOTICE_BLOCK_IS_RELATIVE_DEADLINE_PROPERTY "
+ "NOTICE_BLOCK_NAME_PROPERTY "
+ "NOTICE_BLOCK_NOTICE_TEXT_PROPERTY "
+ "NOTICE_BLOCK_PERFORMER_PROPERTY "
+ "NOTICE_BLOCK_RELATIVE_DEADLINE_TYPE_PROPERTY "
+ "NOTICE_BLOCK_SUBJECT_PROPERTY ";
// Object events
const object_events_constants =
"dseAfterCancel "
+ "dseAfterClose "
+ "dseAfterDelete "
+ "dseAfterDeleteOutOfTransaction "
+ "dseAfterInsert "
+ "dseAfterOpen "
+ "dseAfterScroll "
+ "dseAfterUpdate "
+ "dseAfterUpdateOutOfTransaction "
+ "dseBeforeCancel "
+ "dseBeforeClose "
+ "dseBeforeDelete "
+ "dseBeforeDetailUpdate "
+ "dseBeforeInsert "
+ "dseBeforeOpen "
+ "dseBeforeUpdate "
+ "dseOnAnyRequisiteChange "
+ "dseOnCloseRecord "
+ "dseOnDeleteError "
+ "dseOnOpenRecord "
+ "dseOnPrepareUpdate "
+ "dseOnUpdateError "
+ "dseOnUpdateRatifiedRecord "
+ "dseOnValidDelete "
+ "dseOnValidUpdate "
+ "reOnChange "
+ "reOnChangeValues "
+ "SELECTION_BEGIN_ROUTE_EVENT "
+ "SELECTION_END_ROUTE_EVENT ";
// Object params
const object_params_constants =
"CURRENT_PERIOD_IS_REQUIRED "
+ "PREVIOUS_CARD_TYPE_NAME "
+ "SHOW_RECORD_PROPERTIES_FORM ";
// Other
const other_constants =
"ACCESS_RIGHTS_SETTING_DIALOG_CODE "
+ "ADMINISTRATOR_USER_CODE "
+ "ANALYTIC_REPORT_TYPE "
+ "asrtHideLocal "
+ "asrtHideRemote "
+ "CALCULATED_ROLE_TYPE_CODE "
+ "COMPONENTS_REFERENCE_DEVELOPER_VIEW_CODE "
+ "DCTS_TEST_PROTOCOLS_FOLDER_PATH "
+ "E_EDOC_VERSION_ALREADY_APPROVINGLY_SIGNED "
+ "E_EDOC_VERSION_ALREADY_APPROVINGLY_SIGNED_BY_USER "
+ "E_EDOC_VERSION_ALREDY_SIGNED "
+ "E_EDOC_VERSION_ALREDY_SIGNED_BY_USER "
+ "EDOC_TYPES_CODE_REQUISITE_FIELD_NAME "
+ "EDOCUMENTS_ALIAS_NAME "
+ "FILES_FOLDER_PATH "
+ "FILTER_OPERANDS_DELIMITER "
+ "FILTER_OPERATIONS_DELIMITER "
+ "FORMCARD_NAME "
+ "FORMLIST_NAME "
+ "GET_EXTENDED_DOCUMENT_EXTENSION_CREATION_MODE "
+ "GET_EXTENDED_DOCUMENT_EXTENSION_IMPORT_MODE "
+ "INTEGRATED_REPORT_TYPE "
+ "IS_BUILDER_APPLICATION_ROLE "
+ "IS_BUILDER_APPLICATION_ROLE2 "
+ "IS_BUILDER_USERS "
+ "ISBSYSDEV "
+ "LOG_FOLDER_PATH "
+ "mbCancel "
+ "mbNo "
+ "mbNoToAll "
+ "mbOK "
+ "mbYes "
+ "mbYesToAll "
+ "MEMORY_DATASET_DESRIPTIONS_FILENAME "
+ "mrNo "
+ "mrNoToAll "
+ "mrYes "
+ "mrYesToAll "
+ "MULTIPLE_SELECT_DIALOG_CODE "
+ "NONOPERATING_RECORD_FLAG_FEMININE "
+ "NONOPERATING_RECORD_FLAG_MASCULINE "
+ "OPERATING_RECORD_FLAG_FEMININE "
+ "OPERATING_RECORD_FLAG_MASCULINE "
+ "PROFILING_SETTINGS_COMMON_SETTINGS_CODE_VALUE "
+ "PROGRAM_INITIATED_LOOKUP_ACTION "
+ "ratDelete "
+ "ratEdit "
+ "ratInsert "
+ "REPORT_TYPE "
+ "REQUIRED_PICK_VALUES_VARIABLE "
+ "rmCard "
+ "rmList "
+ "SBRTE_PROGID_DEV "
+ "SBRTE_PROGID_RELEASE "
+ "STATIC_ROLE_TYPE_CODE "
+ "SUPPRESS_EMPTY_TEMPLATE_CREATION "
+ "SYSTEM_USER_CODE "
+ "UPDATE_DIALOG_DATASET "
+ "USED_IN_OBJECT_HINT_PARAM "
+ "USER_INITIATED_LOOKUP_ACTION "
+ "USER_NAME_FORMAT "
+ "USER_SELECTION_RESTRICTIONS "
+ "WORKFLOW_TEST_PROTOCOLS_FOLDER_PATH "
+ "ELS_SUBTYPE_CONTROL_NAME "
+ "ELS_FOLDER_KIND_CONTROL_NAME "
+ "REPEAT_PROCESS_CURRENT_OBJECT_EXCEPTION_NAME ";
// Privileges
const privileges_constants =
"PRIVILEGE_COMPONENT_FULL_ACCESS "
+ "PRIVILEGE_DEVELOPMENT_EXPORT "
+ "PRIVILEGE_DEVELOPMENT_IMPORT "
+ "PRIVILEGE_DOCUMENT_DELETE "
+ "PRIVILEGE_ESD "
+ "PRIVILEGE_FOLDER_DELETE "
+ "PRIVILEGE_MANAGE_ACCESS_RIGHTS "
+ "PRIVILEGE_MANAGE_REPLICATION "
+ "PRIVILEGE_MANAGE_SESSION_SERVER "
+ "PRIVILEGE_OBJECT_FULL_ACCESS "
+ "PRIVILEGE_OBJECT_VIEW "
+ "PRIVILEGE_RESERVE_LICENSE "
+ "PRIVILEGE_SYSTEM_CUSTOMIZE "
+ "PRIVILEGE_SYSTEM_DEVELOP "
+ "PRIVILEGE_SYSTEM_INSTALL "
+ "PRIVILEGE_TASK_DELETE "
+ "PRIVILEGE_USER_PLUGIN_SETTINGS_CUSTOMIZE "
+ "PRIVILEGES_PSEUDOREFERENCE_CODE ";
// Pseudoreference code
const pseudoreference_code_constants =
"ACCESS_TYPES_PSEUDOREFERENCE_CODE "
+ "ALL_AVAILABLE_COMPONENTS_PSEUDOREFERENCE_CODE "
+ "ALL_AVAILABLE_PRIVILEGES_PSEUDOREFERENCE_CODE "
+ "ALL_REPLICATE_COMPONENTS_PSEUDOREFERENCE_CODE "
+ "AVAILABLE_DEVELOPERS_COMPONENTS_PSEUDOREFERENCE_CODE "
+ "COMPONENTS_PSEUDOREFERENCE_CODE "
+ "FILTRATER_SETTINGS_CONFLICTS_PSEUDOREFERENCE_CODE "
+ "GROUPS_PSEUDOREFERENCE_CODE "
+ "RECEIVE_PROTOCOL_PSEUDOREFERENCE_CODE "
+ "REFERENCE_REQUISITE_PSEUDOREFERENCE_CODE "
+ "REFERENCE_REQUISITES_PSEUDOREFERENCE_CODE "
+ "REFTYPES_PSEUDOREFERENCE_CODE "
+ "REPLICATION_SEANCES_DIARY_PSEUDOREFERENCE_CODE "
+ "SEND_PROTOCOL_PSEUDOREFERENCE_CODE "
+ "SUBSTITUTES_PSEUDOREFERENCE_CODE "
+ "SYSTEM_SETTINGS_PSEUDOREFERENCE_CODE "
+ "UNITS_PSEUDOREFERENCE_CODE "
+ "USERS_PSEUDOREFERENCE_CODE "
+ "VIEWERS_PSEUDOREFERENCE_CODE ";
// Requisite ISBCertificateType values
const requisite_ISBCertificateType_values_constants =
"CERTIFICATE_TYPE_ENCRYPT "
+ "CERTIFICATE_TYPE_SIGN "
+ "CERTIFICATE_TYPE_SIGN_AND_ENCRYPT ";
// Requisite ISBEDocStorageType values
const requisite_ISBEDocStorageType_values_constants =
"STORAGE_TYPE_FILE "
+ "STORAGE_TYPE_NAS_CIFS "
+ "STORAGE_TYPE_SAPERION "
+ "STORAGE_TYPE_SQL_SERVER ";
// Requisite CompType2 values
const requisite_compType2_values_constants =
"COMPTYPE2_REQUISITE_DOCUMENTS_VALUE "
+ "COMPTYPE2_REQUISITE_TASKS_VALUE "
+ "COMPTYPE2_REQUISITE_FOLDERS_VALUE "
+ "COMPTYPE2_REQUISITE_REFERENCES_VALUE ";
// Requisite name
const requisite_name_constants =
"SYSREQ_CODE "
+ "SYSREQ_COMPTYPE2 "
+ "SYSREQ_CONST_AVAILABLE_FOR_WEB "
+ "SYSREQ_CONST_COMMON_CODE "
+ "SYSREQ_CONST_COMMON_VALUE "
+ "SYSREQ_CONST_FIRM_CODE "
+ "SYSREQ_CONST_FIRM_STATUS "
+ "SYSREQ_CONST_FIRM_VALUE "
+ "SYSREQ_CONST_SERVER_STATUS "
+ "SYSREQ_CONTENTS "
+ "SYSREQ_DATE_OPEN "
+ "SYSREQ_DATE_CLOSE "
+ "SYSREQ_DESCRIPTION "
+ "SYSREQ_DESCRIPTION_LOCALIZE_ID "
+ "SYSREQ_DOUBLE "
+ "SYSREQ_EDOC_ACCESS_TYPE "
+ "SYSREQ_EDOC_AUTHOR "
+ "SYSREQ_EDOC_CREATED "
+ "SYSREQ_EDOC_DELEGATE_RIGHTS_REQUISITE_CODE "
+ "SYSREQ_EDOC_EDITOR "
+ "SYSREQ_EDOC_ENCODE_TYPE "
+ "SYSREQ_EDOC_ENCRYPTION_PLUGIN_NAME "
+ "SYSREQ_EDOC_ENCRYPTION_PLUGIN_VERSION "
+ "SYSREQ_EDOC_EXPORT_DATE "
+ "SYSREQ_EDOC_EXPORTER "
+ "SYSREQ_EDOC_KIND "
+ "SYSREQ_EDOC_LIFE_STAGE_NAME "
+ "SYSREQ_EDOC_LOCKED_FOR_SERVER_CODE "
+ "SYSREQ_EDOC_MODIFIED "
+ "SYSREQ_EDOC_NAME "
+ "SYSREQ_EDOC_NOTE "
+ "SYSREQ_EDOC_QUALIFIED_ID "
+ "SYSREQ_EDOC_SESSION_KEY "
+ "SYSREQ_EDOC_SESSION_KEY_ENCRYPTION_PLUGIN_NAME "
+ "SYSREQ_EDOC_SESSION_KEY_ENCRYPTION_PLUGIN_VERSION "
+ "SYSREQ_EDOC_SIGNATURE_TYPE "
+ "SYSREQ_EDOC_SIGNED "
+ "SYSREQ_EDOC_STORAGE "
+ "SYSREQ_EDOC_STORAGES_ARCHIVE_STORAGE "
+ "SYSREQ_EDOC_STORAGES_CHECK_RIGHTS "
+ "SYSREQ_EDOC_STORAGES_COMPUTER_NAME "
+ "SYSREQ_EDOC_STORAGES_EDIT_IN_STORAGE "
+ "SYSREQ_EDOC_STORAGES_EXECUTIVE_STORAGE "
+ "SYSREQ_EDOC_STORAGES_FUNCTION "
+ "SYSREQ_EDOC_STORAGES_INITIALIZED "
+ "SYSREQ_EDOC_STORAGES_LOCAL_PATH "
+ "SYSREQ_EDOC_STORAGES_SAPERION_DATABASE_NAME "
+ "SYSREQ_EDOC_STORAGES_SEARCH_BY_TEXT "
+ "SYSREQ_EDOC_STORAGES_SERVER_NAME "
+ "SYSREQ_EDOC_STORAGES_SHARED_SOURCE_NAME "
+ "SYSREQ_EDOC_STORAGES_TYPE "
+ "SYSREQ_EDOC_TEXT_MODIFIED "
+ "SYSREQ_EDOC_TYPE_ACT_CODE "
+ "SYSREQ_EDOC_TYPE_ACT_DESCRIPTION "
+ "SYSREQ_EDOC_TYPE_ACT_DESCRIPTION_LOCALIZE_ID "
+ "SYSREQ_EDOC_TYPE_ACT_ON_EXECUTE "
+ "SYSREQ_EDOC_TYPE_ACT_ON_EXECUTE_EXISTS "
+ "SYSREQ_EDOC_TYPE_ACT_SECTION "
+ "SYSREQ_EDOC_TYPE_ADD_PARAMS "
+ "SYSREQ_EDOC_TYPE_COMMENT "
+ "SYSREQ_EDOC_TYPE_EVENT_TEXT "
+ "SYSREQ_EDOC_TYPE_NAME_IN_SINGULAR "
+ "SYSREQ_EDOC_TYPE_NAME_IN_SINGULAR_LOCALIZE_ID "
+ "SYSREQ_EDOC_TYPE_NAME_LOCALIZE_ID "
+ "SYSREQ_EDOC_TYPE_NUMERATION_METHOD "
+ "SYSREQ_EDOC_TYPE_PSEUDO_REQUISITE_CODE "
+ "SYSREQ_EDOC_TYPE_REQ_CODE "
+ "SYSREQ_EDOC_TYPE_REQ_DESCRIPTION "
+ "SYSREQ_EDOC_TYPE_REQ_DESCRIPTION_LOCALIZE_ID "
+ "SYSREQ_EDOC_TYPE_REQ_IS_LEADING "
+ "SYSREQ_EDOC_TYPE_REQ_IS_REQUIRED "
+ "SYSREQ_EDOC_TYPE_REQ_NUMBER "
+ "SYSREQ_EDOC_TYPE_REQ_ON_CHANGE "
+ "SYSREQ_EDOC_TYPE_REQ_ON_CHANGE_EXISTS "
+ "SYSREQ_EDOC_TYPE_REQ_ON_SELECT "
+ "SYSREQ_EDOC_TYPE_REQ_ON_SELECT_KIND "
+ "SYSREQ_EDOC_TYPE_REQ_SECTION "
+ "SYSREQ_EDOC_TYPE_VIEW_CARD "
+ "SYSREQ_EDOC_TYPE_VIEW_CODE "
+ "SYSREQ_EDOC_TYPE_VIEW_COMMENT "
+ "SYSREQ_EDOC_TYPE_VIEW_IS_MAIN "
+ "SYSREQ_EDOC_TYPE_VIEW_NAME "
+ "SYSREQ_EDOC_TYPE_VIEW_NAME_LOCALIZE_ID "
+ "SYSREQ_EDOC_VERSION_AUTHOR "
+ "SYSREQ_EDOC_VERSION_CRC "
+ "SYSREQ_EDOC_VERSION_DATA "
+ "SYSREQ_EDOC_VERSION_EDITOR "
+ "SYSREQ_EDOC_VERSION_EXPORT_DATE "
+ "SYSREQ_EDOC_VERSION_EXPORTER "
+ "SYSREQ_EDOC_VERSION_HIDDEN "
+ "SYSREQ_EDOC_VERSION_LIFE_STAGE "
+ "SYSREQ_EDOC_VERSION_MODIFIED "
+ "SYSREQ_EDOC_VERSION_NOTE "
+ "SYSREQ_EDOC_VERSION_SIGNATURE_TYPE "
+ "SYSREQ_EDOC_VERSION_SIGNED "
+ "SYSREQ_EDOC_VERSION_SIZE "
+ "SYSREQ_EDOC_VERSION_SOURCE "
+ "SYSREQ_EDOC_VERSION_TEXT_MODIFIED "
+ "SYSREQ_EDOCKIND_DEFAULT_VERSION_STATE_CODE "
+ "SYSREQ_FOLDER_KIND "
+ "SYSREQ_FUNC_CATEGORY "
+ "SYSREQ_FUNC_COMMENT "
+ "SYSREQ_FUNC_GROUP "
+ "SYSREQ_FUNC_GROUP_COMMENT "
+ "SYSREQ_FUNC_GROUP_NUMBER "
+ "SYSREQ_FUNC_HELP "
+ "SYSREQ_FUNC_PARAM_DEF_VALUE "
+ "SYSREQ_FUNC_PARAM_IDENT "
+ "SYSREQ_FUNC_PARAM_NUMBER "
+ "SYSREQ_FUNC_PARAM_TYPE "
+ "SYSREQ_FUNC_TEXT "
+ "SYSREQ_GROUP_CATEGORY "
+ "SYSREQ_ID "
+ "SYSREQ_LAST_UPDATE "
+ "SYSREQ_LEADER_REFERENCE "
+ "SYSREQ_LINE_NUMBER "
+ "SYSREQ_MAIN_RECORD_ID "
+ "SYSREQ_NAME "
+ "SYSREQ_NAME_LOCALIZE_ID "
+ "SYSREQ_NOTE "
+ "SYSREQ_ORIGINAL_RECORD "
+ "SYSREQ_OUR_FIRM "
+ "SYSREQ_PROFILING_SETTINGS_BATCH_LOGING "
+ "SYSREQ_PROFILING_SETTINGS_BATCH_SIZE "
+ "SYSREQ_PROFILING_SETTINGS_PROFILING_ENABLED "
+ "SYSREQ_PROFILING_SETTINGS_SQL_PROFILING_ENABLED "
+ "SYSREQ_PROFILING_SETTINGS_START_LOGGED "
+ "SYSREQ_RECORD_STATUS "
+ "SYSREQ_REF_REQ_FIELD_NAME "
+ "SYSREQ_REF_REQ_FORMAT "
+ "SYSREQ_REF_REQ_GENERATED "
+ "SYSREQ_REF_REQ_LENGTH "
+ "SYSREQ_REF_REQ_PRECISION "
+ "SYSREQ_REF_REQ_REFERENCE "
+ "SYSREQ_REF_REQ_SECTION "
+ "SYSREQ_REF_REQ_STORED "
+ "SYSREQ_REF_REQ_TOKENS "
+ "SYSREQ_REF_REQ_TYPE "
+ "SYSREQ_REF_REQ_VIEW "
+ "SYSREQ_REF_TYPE_ACT_CODE "
+ "SYSREQ_REF_TYPE_ACT_DESCRIPTION "
+ "SYSREQ_REF_TYPE_ACT_DESCRIPTION_LOCALIZE_ID "
+ "SYSREQ_REF_TYPE_ACT_ON_EXECUTE "
+ "SYSREQ_REF_TYPE_ACT_ON_EXECUTE_EXISTS "
+ "SYSREQ_REF_TYPE_ACT_SECTION "
+ "SYSREQ_REF_TYPE_ADD_PARAMS "
+ "SYSREQ_REF_TYPE_COMMENT "
+ "SYSREQ_REF_TYPE_COMMON_SETTINGS "
+ "SYSREQ_REF_TYPE_DISPLAY_REQUISITE_NAME "
+ "SYSREQ_REF_TYPE_EVENT_TEXT "
+ "SYSREQ_REF_TYPE_MAIN_LEADING_REF "
+ "SYSREQ_REF_TYPE_NAME_IN_SINGULAR "
+ "SYSREQ_REF_TYPE_NAME_IN_SINGULAR_LOCALIZE_ID "
+ "SYSREQ_REF_TYPE_NAME_LOCALIZE_ID "
+ "SYSREQ_REF_TYPE_NUMERATION_METHOD "
+ "SYSREQ_REF_TYPE_REQ_CODE "
+ "SYSREQ_REF_TYPE_REQ_DESCRIPTION "
+ "SYSREQ_REF_TYPE_REQ_DESCRIPTION_LOCALIZE_ID "
+ "SYSREQ_REF_TYPE_REQ_IS_CONTROL "
+ "SYSREQ_REF_TYPE_REQ_IS_FILTER "
+ "SYSREQ_REF_TYPE_REQ_IS_LEADING "
+ "SYSREQ_REF_TYPE_REQ_IS_REQUIRED "
+ "SYSREQ_REF_TYPE_REQ_NUMBER "
+ "SYSREQ_REF_TYPE_REQ_ON_CHANGE "
+ "SYSREQ_REF_TYPE_REQ_ON_CHANGE_EXISTS "
+ "SYSREQ_REF_TYPE_REQ_ON_SELECT "
+ "SYSREQ_REF_TYPE_REQ_ON_SELECT_KIND "
+ "SYSREQ_REF_TYPE_REQ_SECTION "
+ "SYSREQ_REF_TYPE_VIEW_CARD "
+ "SYSREQ_REF_TYPE_VIEW_CODE "
+ "SYSREQ_REF_TYPE_VIEW_COMMENT "
+ "SYSREQ_REF_TYPE_VIEW_IS_MAIN "
+ "SYSREQ_REF_TYPE_VIEW_NAME "
+ "SYSREQ_REF_TYPE_VIEW_NAME_LOCALIZE_ID "
+ "SYSREQ_REFERENCE_TYPE_ID "
+ "SYSREQ_STATE "
+ "SYSREQ_STATЕ "
+ "SYSREQ_SYSTEM_SETTINGS_VALUE "
+ "SYSREQ_TYPE "
+ "SYSREQ_UNIT "
+ "SYSREQ_UNIT_ID "
+ "SYSREQ_USER_GROUPS_GROUP_FULL_NAME "
+ "SYSREQ_USER_GROUPS_GROUP_NAME "
+ "SYSREQ_USER_GROUPS_GROUP_SERVER_NAME "
+ "SYSREQ_USERS_ACCESS_RIGHTS "
+ "SYSREQ_USERS_AUTHENTICATION "
+ "SYSREQ_USERS_CATEGORY "
+ "SYSREQ_USERS_COMPONENT "
+ "SYSREQ_USERS_COMPONENT_USER_IS_PUBLIC "
+ "SYSREQ_USERS_DOMAIN "
+ "SYSREQ_USERS_FULL_USER_NAME "
+ "SYSREQ_USERS_GROUP "
+ "SYSREQ_USERS_IS_MAIN_SERVER "
+ "SYSREQ_USERS_LOGIN "
+ "SYSREQ_USERS_REFERENCE_USER_IS_PUBLIC "
+ "SYSREQ_USERS_STATUS "
+ "SYSREQ_USERS_USER_CERTIFICATE "
+ "SYSREQ_USERS_USER_CERTIFICATE_INFO "
+ "SYSREQ_USERS_USER_CERTIFICATE_PLUGIN_NAME "
+ "SYSREQ_USERS_USER_CERTIFICATE_PLUGIN_VERSION "
+ "SYSREQ_USERS_USER_CERTIFICATE_STATE "
+ "SYSREQ_USERS_USER_CERTIFICATE_SUBJECT_NAME "
+ "SYSREQ_USERS_USER_CERTIFICATE_THUMBPRINT "
+ "SYSREQ_USERS_USER_DEFAULT_CERTIFICATE "
+ "SYSREQ_USERS_USER_DESCRIPTION "
+ "SYSREQ_USERS_USER_GLOBAL_NAME "
+ "SYSREQ_USERS_USER_LOGIN "
+ "SYSREQ_USERS_USER_MAIN_SERVER "
+ "SYSREQ_USERS_USER_TYPE "
+ "SYSREQ_WORK_RULES_FOLDER_ID ";
// Result
const result_constants = "RESULT_VAR_NAME RESULT_VAR_NAME_ENG ";
// Rule identification
const rule_identification_constants =
"AUTO_NUMERATION_RULE_ID "
+ "CANT_CHANGE_ID_REQUISITE_RULE_ID "
+ "CANT_CHANGE_OURFIRM_REQUISITE_RULE_ID "
+ "CHECK_CHANGING_REFERENCE_RECORD_USE_RULE_ID "
+ "CHECK_CODE_REQUISITE_RULE_ID "
+ "CHECK_DELETING_REFERENCE_RECORD_USE_RULE_ID "
+ "CHECK_FILTRATER_CHANGES_RULE_ID "
+ "CHECK_RECORD_INTERVAL_RULE_ID "
+ "CHECK_REFERENCE_INTERVAL_RULE_ID "
+ "CHECK_REQUIRED_DATA_FULLNESS_RULE_ID "
+ "CHECK_REQUIRED_REQUISITES_FULLNESS_RULE_ID "
+ "MAKE_RECORD_UNRATIFIED_RULE_ID "
+ "RESTORE_AUTO_NUMERATION_RULE_ID "
+ "SET_FIRM_CONTEXT_FROM_RECORD_RULE_ID "
+ "SET_FIRST_RECORD_IN_LIST_FORM_RULE_ID "
+ "SET_IDSPS_VALUE_RULE_ID "
+ "SET_NEXT_CODE_VALUE_RULE_ID "
+ "SET_OURFIRM_BOUNDS_RULE_ID "
+ "SET_OURFIRM_REQUISITE_RULE_ID ";
// Script block properties
const script_block_properties_constants =
"SCRIPT_BLOCK_AFTER_FINISH_EVENT "
+ "SCRIPT_BLOCK_BEFORE_START_EVENT "
+ "SCRIPT_BLOCK_EXECUTION_RESULTS_PROPERTY "
+ "SCRIPT_BLOCK_NAME_PROPERTY "
+ "SCRIPT_BLOCK_SCRIPT_PROPERTY ";
// Subtask block properties
const subtask_block_properties_constants =
"SUBTASK_BLOCK_ABORT_DEADLINE_PROPERTY "
+ "SUBTASK_BLOCK_AFTER_FINISH_EVENT "
+ "SUBTASK_BLOCK_ASSIGN_PARAMS_EVENT "
+ "SUBTASK_BLOCK_ATTACHMENTS_PROPERTY "
+ "SUBTASK_BLOCK_ATTACHMENTS_RIGHTS_GROUP_PROPERTY "
+ "SUBTASK_BLOCK_ATTACHMENTS_RIGHTS_TYPE_PROPERTY "
+ "SUBTASK_BLOCK_BEFORE_START_EVENT "
+ "SUBTASK_BLOCK_CREATED_TASK_PROPERTY "
+ "SUBTASK_BLOCK_CREATION_EVENT "
+ "SUBTASK_BLOCK_DEADLINE_PROPERTY "
+ "SUBTASK_BLOCK_IMPORTANCE_PROPERTY "
+ "SUBTASK_BLOCK_INITIATOR_PROPERTY "
+ "SUBTASK_BLOCK_IS_RELATIVE_ABORT_DEADLINE_PROPERTY "
+ "SUBTASK_BLOCK_IS_RELATIVE_DEADLINE_PROPERTY "
+ "SUBTASK_BLOCK_JOBS_TYPE_PROPERTY "
+ "SUBTASK_BLOCK_NAME_PROPERTY "
+ "SUBTASK_BLOCK_PARALLEL_ROUTE_PROPERTY "
+ "SUBTASK_BLOCK_PERFORMERS_PROPERTY "
+ "SUBTASK_BLOCK_RELATIVE_ABORT_DEADLINE_TYPE_PROPERTY "
+ "SUBTASK_BLOCK_RELATIVE_DEADLINE_TYPE_PROPERTY "
+ "SUBTASK_BLOCK_REQUIRE_SIGN_PROPERTY "
+ "SUBTASK_BLOCK_STANDARD_ROUTE_PROPERTY "
+ "SUBTASK_BLOCK_START_EVENT "
+ "SUBTASK_BLOCK_STEP_CONTROL_PROPERTY "
+ "SUBTASK_BLOCK_SUBJECT_PROPERTY "
+ "SUBTASK_BLOCK_TASK_CONTROL_PROPERTY "
+ "SUBTASK_BLOCK_TEXT_PROPERTY "
+ "SUBTASK_BLOCK_UNLOCK_ATTACHMENTS_ON_STOP_PROPERTY "
+ "SUBTASK_BLOCK_USE_STANDARD_ROUTE_PROPERTY "
+ "SUBTASK_BLOCK_WAIT_FOR_TASK_COMPLETE_PROPERTY ";
// System component
const system_component_constants =
"SYSCOMP_CONTROL_JOBS "
+ "SYSCOMP_FOLDERS "
+ "SYSCOMP_JOBS "
+ "SYSCOMP_NOTICES "
+ "SYSCOMP_TASKS ";
// System dialogs
const system_dialogs_constants =
"SYSDLG_CREATE_EDOCUMENT "
+ "SYSDLG_CREATE_EDOCUMENT_VERSION "
+ "SYSDLG_CURRENT_PERIOD "
+ "SYSDLG_EDIT_FUNCTION_HELP "
+ "SYSDLG_EDOCUMENT_KINDS_FOR_TEMPLATE "
+ "SYSDLG_EXPORT_MULTIPLE_EDOCUMENTS "
+ "SYSDLG_EXPORT_SINGLE_EDOCUMENT "
+ "SYSDLG_IMPORT_EDOCUMENT "
+ "SYSDLG_MULTIPLE_SELECT "
+ "SYSDLG_SETUP_ACCESS_RIGHTS "
+ "SYSDLG_SETUP_DEFAULT_RIGHTS "
+ "SYSDLG_SETUP_FILTER_CONDITION "
+ "SYSDLG_SETUP_SIGN_RIGHTS "
+ "SYSDLG_SETUP_TASK_OBSERVERS "
+ "SYSDLG_SETUP_TASK_ROUTE "
+ "SYSDLG_SETUP_USERS_LIST "
+ "SYSDLG_SIGN_EDOCUMENT "
+ "SYSDLG_SIGN_MULTIPLE_EDOCUMENTS ";
// System reference names
const system_reference_names_constants =
"SYSREF_ACCESS_RIGHTS_TYPES "
+ "SYSREF_ADMINISTRATION_HISTORY "
+ "SYSREF_ALL_AVAILABLE_COMPONENTS "
+ "SYSREF_ALL_AVAILABLE_PRIVILEGES "
+ "SYSREF_ALL_REPLICATING_COMPONENTS "
+ "SYSREF_AVAILABLE_DEVELOPERS_COMPONENTS "
+ "SYSREF_CALENDAR_EVENTS "
+ "SYSREF_COMPONENT_TOKEN_HISTORY "
+ "SYSREF_COMPONENT_TOKENS "
+ "SYSREF_COMPONENTS "
+ "SYSREF_CONSTANTS "
+ "SYSREF_DATA_RECEIVE_PROTOCOL "
+ "SYSREF_DATA_SEND_PROTOCOL "
+ "SYSREF_DIALOGS "
+ "SYSREF_DIALOGS_REQUISITES "
+ "SYSREF_EDITORS "
+ "SYSREF_EDOC_CARDS "
+ "SYSREF_EDOC_TYPES "
+ "SYSREF_EDOCUMENT_CARD_REQUISITES "
+ "SYSREF_EDOCUMENT_CARD_TYPES "
+ "SYSREF_EDOCUMENT_CARD_TYPES_REFERENCE "
+ "SYSREF_EDOCUMENT_CARDS "
+ "SYSREF_EDOCUMENT_HISTORY "
+ "SYSREF_EDOCUMENT_KINDS "
+ "SYSREF_EDOCUMENT_REQUISITES "
+ "SYSREF_EDOCUMENT_SIGNATURES "
+ "SYSREF_EDOCUMENT_TEMPLATES "
+ "SYSREF_EDOCUMENT_TEXT_STORAGES "
+ "SYSREF_EDOCUMENT_VIEWS "
+ "SYSREF_FILTERER_SETUP_CONFLICTS "
+ "SYSREF_FILTRATER_SETTING_CONFLICTS "
+ "SYSREF_FOLDER_HISTORY "
+ "SYSREF_FOLDERS "
+ "SYSREF_FUNCTION_GROUPS "
+ "SYSREF_FUNCTION_PARAMS "
+ "SYSREF_FUNCTIONS "
+ "SYSREF_JOB_HISTORY "
+ "SYSREF_LINKS "
+ "SYSREF_LOCALIZATION_DICTIONARY "
+ "SYSREF_LOCALIZATION_LANGUAGES "
+ "SYSREF_MODULES "
+ "SYSREF_PRIVILEGES "
+ "SYSREF_RECORD_HISTORY "
+ "SYSREF_REFERENCE_REQUISITES "
+ "SYSREF_REFERENCE_TYPE_VIEWS "
+ "SYSREF_REFERENCE_TYPES "
+ "SYSREF_REFERENCES "
+ "SYSREF_REFERENCES_REQUISITES "
+ "SYSREF_REMOTE_SERVERS "
+ "SYSREF_REPLICATION_SESSIONS_LOG "
+ "SYSREF_REPLICATION_SESSIONS_PROTOCOL "
+ "SYSREF_REPORTS "
+ "SYSREF_ROLES "
+ "SYSREF_ROUTE_BLOCK_GROUPS "
+ "SYSREF_ROUTE_BLOCKS "
+ "SYSREF_SCRIPTS "
+ "SYSREF_SEARCHES "
+ "SYSREF_SERVER_EVENTS "
+ "SYSREF_SERVER_EVENTS_HISTORY "
+ "SYSREF_STANDARD_ROUTE_GROUPS "
+ "SYSREF_STANDARD_ROUTES "
+ "SYSREF_STATUSES "
+ "SYSREF_SYSTEM_SETTINGS "
+ "SYSREF_TASK_HISTORY "
+ "SYSREF_TASK_KIND_GROUPS "
+ "SYSREF_TASK_KINDS "
+ "SYSREF_TASK_RIGHTS "
+ "SYSREF_TASK_SIGNATURES "
+ "SYSREF_TASKS "
+ "SYSREF_UNITS "
+ "SYSREF_USER_GROUPS "
+ "SYSREF_USER_GROUPS_REFERENCE "
+ "SYSREF_USER_SUBSTITUTION "
+ "SYSREF_USERS "
+ "SYSREF_USERS_REFERENCE "
+ "SYSREF_VIEWERS "
+ "SYSREF_WORKING_TIME_CALENDARS ";
// Table name
const table_name_constants =
"ACCESS_RIGHTS_TABLE_NAME "
+ "EDMS_ACCESS_TABLE_NAME "
+ "EDOC_TYPES_TABLE_NAME ";
// Test
const test_constants =
"TEST_DEV_DB_NAME "
+ "TEST_DEV_SYSTEM_CODE "
+ "TEST_EDMS_DB_NAME "
+ "TEST_EDMS_MAIN_CODE "
+ "TEST_EDMS_MAIN_DB_NAME "
+ "TEST_EDMS_SECOND_CODE "
+ "TEST_EDMS_SECOND_DB_NAME "
+ "TEST_EDMS_SYSTEM_CODE "
+ "TEST_ISB5_MAIN_CODE "
+ "TEST_ISB5_SECOND_CODE "
+ "TEST_SQL_SERVER_2005_NAME "
+ "TEST_SQL_SERVER_NAME ";
// Using the dialog windows
const using_the_dialog_windows_constants =
"ATTENTION_CAPTION "
+ "cbsCommandLinks "
+ "cbsDefault "
+ "CONFIRMATION_CAPTION "
+ "ERROR_CAPTION "
+ "INFORMATION_CAPTION "
+ "mrCancel "
+ "mrOk ";
// Using the document
const using_the_document_constants =
"EDOC_VERSION_ACTIVE_STAGE_CODE "
+ "EDOC_VERSION_DESIGN_STAGE_CODE "
+ "EDOC_VERSION_OBSOLETE_STAGE_CODE ";
// Using the EA and encryption
const using_the_EA_and_encryption_constants =
"cpDataEnciphermentEnabled "
+ "cpDigitalSignatureEnabled "
+ "cpID "
+ "cpIssuer "
+ "cpPluginVersion "
+ "cpSerial "
+ "cpSubjectName "
+ "cpSubjSimpleName "
+ "cpValidFromDate "
+ "cpValidToDate ";
// Using the ISBL-editor
const using_the_ISBL_editor_constants =
"ISBL_SYNTAX " + "NO_SYNTAX " + "XML_SYNTAX ";
// Wait block properties
const wait_block_properties_constants =
"WAIT_BLOCK_AFTER_FINISH_EVENT "
+ "WAIT_BLOCK_BEFORE_START_EVENT "
+ "WAIT_BLOCK_DEADLINE_PROPERTY "
+ "WAIT_BLOCK_IS_RELATIVE_DEADLINE_PROPERTY "
+ "WAIT_BLOCK_NAME_PROPERTY "
+ "WAIT_BLOCK_RELATIVE_DEADLINE_TYPE_PROPERTY ";
// SYSRES Common
const sysres_common_constants =
"SYSRES_COMMON "
+ "SYSRES_CONST "
+ "SYSRES_MBFUNC "
+ "SYSRES_SBDATA "
+ "SYSRES_SBGUI "
+ "SYSRES_SBINTF "
+ "SYSRES_SBREFDSC "
+ "SYSRES_SQLERRORS "
+ "SYSRES_SYSCOMP ";
// Константы ==> built_in
const CONSTANTS =
sysres_constants
+ base_constants
+ base_group_name_constants
+ decision_block_properties_constants
+ file_extension_constants
+ job_block_properties_constants
+ language_code_constants
+ launching_external_applications_constants
+ link_kind_constants
+ lock_type_constants
+ monitor_block_properties_constants
+ notice_block_properties_constants
+ object_events_constants
+ object_params_constants
+ other_constants
+ privileges_constants
+ pseudoreference_code_constants
+ requisite_ISBCertificateType_values_constants
+ requisite_ISBEDocStorageType_values_constants
+ requisite_compType2_values_constants
+ requisite_name_constants
+ result_constants
+ rule_identification_constants
+ script_block_properties_constants
+ subtask_block_properties_constants
+ system_component_constants
+ system_dialogs_constants
+ system_reference_names_constants
+ table_name_constants
+ test_constants
+ using_the_dialog_windows_constants
+ using_the_document_constants
+ using_the_EA_and_encryption_constants
+ using_the_ISBL_editor_constants
+ wait_block_properties_constants
+ sysres_common_constants;
// enum TAccountType
const TAccountType = "atUser atGroup atRole ";
// enum TActionEnabledMode
const TActionEnabledMode =
"aemEnabledAlways "
+ "aemDisabledAlways "
+ "aemEnabledOnBrowse "
+ "aemEnabledOnEdit "
+ "aemDisabledOnBrowseEmpty ";
// enum TAddPosition
const TAddPosition = "apBegin apEnd ";
// enum TAlignment
const TAlignment = "alLeft alRight ";
// enum TAreaShowMode
const TAreaShowMode =
"asmNever "
+ "asmNoButCustomize "
+ "asmAsLastTime "
+ "asmYesButCustomize "
+ "asmAlways ";
// enum TCertificateInvalidationReason
const TCertificateInvalidationReason = "cirCommon cirRevoked ";
// enum TCertificateType
const TCertificateType = "ctSignature ctEncode ctSignatureEncode ";
// enum TCheckListBoxItemState
const TCheckListBoxItemState = "clbUnchecked clbChecked clbGrayed ";
// enum TCloseOnEsc
const TCloseOnEsc = "ceISB ceAlways ceNever ";
// enum TCompType
const TCompType =
"ctDocument "
+ "ctReference "
+ "ctScript "
+ "ctUnknown "
+ "ctReport "
+ "ctDialog "
+ "ctFunction "
+ "ctFolder "
+ "ctEDocument "
+ "ctTask "
+ "ctJob "
+ "ctNotice "
+ "ctControlJob ";
// enum TConditionFormat
const TConditionFormat = "cfInternal cfDisplay ";
// enum TConnectionIntent
const TConnectionIntent = "ciUnspecified ciWrite ciRead ";
// enum TContentKind
const TContentKind =
"ckFolder "
+ "ckEDocument "
+ "ckTask "
+ "ckJob "
+ "ckComponentToken "
+ "ckAny "
+ "ckReference "
+ "ckScript "
+ "ckReport "
+ "ckDialog ";
// enum TControlType
const TControlType =
"ctISBLEditor "
+ "ctBevel "
+ "ctButton "
+ "ctCheckListBox "
+ "ctComboBox "
+ "ctComboEdit "
+ "ctGrid "
+ "ctDBCheckBox "
+ "ctDBComboBox "
+ "ctDBEdit "
+ "ctDBEllipsis "
+ "ctDBMemo "
+ "ctDBNavigator "
+ "ctDBRadioGroup "
+ "ctDBStatusLabel "
+ "ctEdit "
+ "ctGroupBox "
+ "ctInplaceHint "
+ "ctMemo "
+ "ctPanel "
+ "ctListBox "
+ "ctRadioButton "
+ "ctRichEdit "
+ "ctTabSheet "
+ "ctWebBrowser "
+ "ctImage "
+ "ctHyperLink "
+ "ctLabel "
+ "ctDBMultiEllipsis "
+ "ctRibbon "
+ "ctRichView "
+ "ctInnerPanel "
+ "ctPanelGroup "
+ "ctBitButton ";
// enum TCriterionContentType
const TCriterionContentType =
"cctDate "
+ "cctInteger "
+ "cctNumeric "
+ "cctPick "
+ "cctReference "
+ "cctString "
+ "cctText ";
// enum TCultureType
const TCultureType = "cltInternal cltPrimary cltGUI ";
// enum TDataSetEventType
const TDataSetEventType =
"dseBeforeOpen "
+ "dseAfterOpen "
+ "dseBeforeClose "
+ "dseAfterClose "
+ "dseOnValidDelete "
+ "dseBeforeDelete "
+ "dseAfterDelete "
+ "dseAfterDeleteOutOfTransaction "
+ "dseOnDeleteError "
+ "dseBeforeInsert "
+ "dseAfterInsert "
+ "dseOnValidUpdate "
+ "dseBeforeUpdate "
+ "dseOnUpdateRatifiedRecord "
+ "dseAfterUpdate "
+ "dseAfterUpdateOutOfTransaction "
+ "dseOnUpdateError "
+ "dseAfterScroll "
+ "dseOnOpenRecord "
+ "dseOnCloseRecord "
+ "dseBeforeCancel "
+ "dseAfterCancel "
+ "dseOnUpdateDeadlockError "
+ "dseBeforeDetailUpdate "
+ "dseOnPrepareUpdate "
+ "dseOnAnyRequisiteChange ";
// enum TDataSetState
const TDataSetState = "dssEdit dssInsert dssBrowse dssInActive ";
// enum TDateFormatType
const TDateFormatType = "dftDate dftShortDate dftDateTime dftTimeStamp ";
// enum TDateOffsetType
const TDateOffsetType = "dotDays dotHours dotMinutes dotSeconds ";
// enum TDateTimeKind
const TDateTimeKind = "dtkndLocal dtkndUTC ";
// enum TDeaAccessRights
const TDeaAccessRights = "arNone arView arEdit arFull ";
// enum TDocumentDefaultAction
const TDocumentDefaultAction = "ddaView ddaEdit ";
// enum TEditMode
const TEditMode =
"emLock "
+ "emEdit "
+ "emSign "
+ "emExportWithLock "
+ "emImportWithUnlock "
+ "emChangeVersionNote "
+ "emOpenForModify "
+ "emChangeLifeStage "
+ "emDelete "
+ "emCreateVersion "
+ "emImport "
+ "emUnlockExportedWithLock "
+ "emStart "
+ "emAbort "
+ "emReInit "
+ "emMarkAsReaded "
+ "emMarkAsUnreaded "
+ "emPerform "
+ "emAccept "
+ "emResume "
+ "emChangeRights "
+ "emEditRoute "
+ "emEditObserver "
+ "emRecoveryFromLocalCopy "
+ "emChangeWorkAccessType "
+ "emChangeEncodeTypeToCertificate "
+ "emChangeEncodeTypeToPassword "
+ "emChangeEncodeTypeToNone "
+ "emChangeEncodeTypeToCertificatePassword "
+ "emChangeStandardRoute "
+ "emGetText "
+ "emOpenForView "
+ "emMoveToStorage "
+ "emCreateObject "
+ "emChangeVersionHidden "
+ "emDeleteVersion "
+ "emChangeLifeCycleStage "
+ "emApprovingSign "
+ "emExport "
+ "emContinue "
+ "emLockFromEdit "
+ "emUnLockForEdit "
+ "emLockForServer "
+ "emUnlockFromServer "
+ "emDelegateAccessRights "
+ "emReEncode ";
// enum TEditorCloseObservType
const TEditorCloseObservType = "ecotFile ecotProcess ";
// enum TEdmsApplicationAction
const TEdmsApplicationAction = "eaGet eaCopy eaCreate eaCreateStandardRoute ";
// enum TEDocumentLockType
const TEDocumentLockType = "edltAll edltNothing edltQuery ";
// enum TEDocumentStepShowMode
const TEDocumentStepShowMode = "essmText essmCard ";
// enum TEDocumentStepVersionType
const TEDocumentStepVersionType = "esvtLast esvtLastActive esvtSpecified ";
// enum TEDocumentStorageFunction
const TEDocumentStorageFunction = "edsfExecutive edsfArchive ";
// enum TEDocumentStorageType
const TEDocumentStorageType = "edstSQLServer edstFile ";
// enum TEDocumentVersionSourceType
const TEDocumentVersionSourceType =
"edvstNone edvstEDocumentVersionCopy edvstFile edvstTemplate edvstScannedFile ";
// enum TEDocumentVersionState
const TEDocumentVersionState = "vsDefault vsDesign vsActive vsObsolete ";
// enum TEncodeType
const TEncodeType = "etNone etCertificate etPassword etCertificatePassword ";
// enum TExceptionCategory
const TExceptionCategory = "ecException ecWarning ecInformation ";
// enum TExportedSignaturesType
const TExportedSignaturesType = "estAll estApprovingOnly ";
// enum TExportedVersionType
const TExportedVersionType = "evtLast evtLastActive evtQuery ";
// enum TFieldDataType
const TFieldDataType =
"fdtString "
+ "fdtNumeric "
+ "fdtInteger "
+ "fdtDate "
+ "fdtText "
+ "fdtUnknown "
+ "fdtWideString "
+ "fdtLargeInteger ";
// enum TFolderType
const TFolderType =
"ftInbox "
+ "ftOutbox "
+ "ftFavorites "
+ "ftCommonFolder "
+ "ftUserFolder "
+ "ftComponents "
+ "ftQuickLaunch "
+ "ftShortcuts "
+ "ftSearch ";
// enum TGridRowHeight
const TGridRowHeight = "grhAuto " + "grhX1 " + "grhX2 " + "grhX3 ";
// enum THyperlinkType
const THyperlinkType = "hltText " + "hltRTF " + "hltHTML ";
// enum TImageFileFormat
const TImageFileFormat =
"iffBMP "
+ "iffJPEG "
+ "iffMultiPageTIFF "
+ "iffSinglePageTIFF "
+ "iffTIFF "
+ "iffPNG ";
// enum TImageMode
const TImageMode = "im8bGrayscale " + "im24bRGB " + "im1bMonochrome ";
// enum TImageType
const TImageType = "itBMP " + "itJPEG " + "itWMF " + "itPNG ";
// enum TInplaceHintKind
const TInplaceHintKind =
"ikhInformation " + "ikhWarning " + "ikhError " + "ikhNoIcon ";
// enum TISBLContext
const TISBLContext =
"icUnknown "
+ "icScript "
+ "icFunction "
+ "icIntegratedReport "
+ "icAnalyticReport "
+ "icDataSetEventHandler "
+ "icActionHandler "
+ "icFormEventHandler "
+ "icLookUpEventHandler "
+ "icRequisiteChangeEventHandler "
+ "icBeforeSearchEventHandler "
+ "icRoleCalculation "
+ "icSelectRouteEventHandler "
+ "icBlockPropertyCalculation "
+ "icBlockQueryParamsEventHandler "
+ "icChangeSearchResultEventHandler "
+ "icBlockEventHandler "
+ "icSubTaskInitEventHandler "
+ "icEDocDataSetEventHandler "
+ "icEDocLookUpEventHandler "
+ "icEDocActionHandler "
+ "icEDocFormEventHandler "
+ "icEDocRequisiteChangeEventHandler "
+ "icStructuredConversionRule "
+ "icStructuredConversionEventBefore "
+ "icStructuredConversionEventAfter "
+ "icWizardEventHandler "
+ "icWizardFinishEventHandler "
+ "icWizardStepEventHandler "
+ "icWizardStepFinishEventHandler "
+ "icWizardActionEnableEventHandler "
+ "icWizardActionExecuteEventHandler "
+ "icCreateJobsHandler "
+ "icCreateNoticesHandler "
+ "icBeforeLookUpEventHandler "
+ "icAfterLookUpEventHandler "
+ "icTaskAbortEventHandler "
+ "icWorkflowBlockActionHandler "
+ "icDialogDataSetEventHandler "
+ "icDialogActionHandler "
+ "icDialogLookUpEventHandler "
+ "icDialogRequisiteChangeEventHandler "
+ "icDialogFormEventHandler "
+ "icDialogValidCloseEventHandler "
+ "icBlockFormEventHandler "
+ "icTaskFormEventHandler "
+ "icReferenceMethod "
+ "icEDocMethod "
+ "icDialogMethod "
+ "icProcessMessageHandler ";
// enum TItemShow
const TItemShow = "isShow " + "isHide " + "isByUserSettings ";
// enum TJobKind
const TJobKind = "jkJob " + "jkNotice " + "jkControlJob ";
// enum TJoinType
const TJoinType = "jtInner " + "jtLeft " + "jtRight " + "jtFull " + "jtCross ";
// enum TLabelPos
const TLabelPos = "lbpAbove " + "lbpBelow " + "lbpLeft " + "lbpRight ";
// enum TLicensingType
const TLicensingType = "eltPerConnection " + "eltPerUser ";
// enum TLifeCycleStageFontColor
const TLifeCycleStageFontColor =
"sfcUndefined "
+ "sfcBlack "
+ "sfcGreen "
+ "sfcRed "
+ "sfcBlue "
+ "sfcOrange "
+ "sfcLilac ";
// enum TLifeCycleStageFontStyle
const TLifeCycleStageFontStyle = "sfsItalic " + "sfsStrikeout " + "sfsNormal ";
// enum TLockableDevelopmentComponentType
const TLockableDevelopmentComponentType =
"ldctStandardRoute "
+ "ldctWizard "
+ "ldctScript "
+ "ldctFunction "
+ "ldctRouteBlock "
+ "ldctIntegratedReport "
+ "ldctAnalyticReport "
+ "ldctReferenceType "
+ "ldctEDocumentType "
+ "ldctDialog "
+ "ldctServerEvents ";
// enum TMaxRecordCountRestrictionType
const TMaxRecordCountRestrictionType =
"mrcrtNone " + "mrcrtUser " + "mrcrtMaximal " + "mrcrtCustom ";
// enum TRangeValueType
const TRangeValueType =
"vtEqual " + "vtGreaterOrEqual " + "vtLessOrEqual " + "vtRange ";
// enum TRelativeDate
const TRelativeDate =
"rdYesterday "
+ "rdToday "
+ "rdTomorrow "
+ "rdThisWeek "
+ "rdThisMonth "
+ "rdThisYear "
+ "rdNextMonth "
+ "rdNextWeek "
+ "rdLastWeek "
+ "rdLastMonth ";
// enum TReportDestination
const TReportDestination = "rdWindow " + "rdFile " + "rdPrinter ";
// enum TReqDataType
const TReqDataType =
"rdtString "
+ "rdtNumeric "
+ "rdtInteger "
+ "rdtDate "
+ "rdtReference "
+ "rdtAccount "
+ "rdtText "
+ "rdtPick "
+ "rdtUnknown "
+ "rdtLargeInteger "
+ "rdtDocument ";
// enum TRequisiteEventType
const TRequisiteEventType = "reOnChange " + "reOnChangeValues ";
// enum TSBTimeType
const TSBTimeType = "ttGlobal " + "ttLocal " + "ttUser " + "ttSystem ";
// enum TSearchShowMode
const TSearchShowMode =
"ssmBrowse " + "ssmSelect " + "ssmMultiSelect " + "ssmBrowseModal ";
// enum TSelectMode
const TSelectMode = "smSelect " + "smLike " + "smCard ";
// enum TSignatureType
const TSignatureType = "stNone " + "stAuthenticating " + "stApproving ";
// enum TSignerContentType
const TSignerContentType = "sctString " + "sctStream ";
// enum TStringsSortType
const TStringsSortType = "sstAnsiSort " + "sstNaturalSort ";
// enum TStringValueType
const TStringValueType = "svtEqual " + "svtContain ";
// enum TStructuredObjectAttributeType
const TStructuredObjectAttributeType =
"soatString "
+ "soatNumeric "
+ "soatInteger "
+ "soatDatetime "
+ "soatReferenceRecord "
+ "soatText "
+ "soatPick "
+ "soatBoolean "
+ "soatEDocument "
+ "soatAccount "
+ "soatIntegerCollection "
+ "soatNumericCollection "
+ "soatStringCollection "
+ "soatPickCollection "
+ "soatDatetimeCollection "
+ "soatBooleanCollection "
+ "soatReferenceRecordCollection "
+ "soatEDocumentCollection "
+ "soatAccountCollection "
+ "soatContents "
+ "soatUnknown ";
// enum TTaskAbortReason
const TTaskAbortReason = "tarAbortByUser " + "tarAbortByWorkflowException ";
// enum TTextValueType
const TTextValueType = "tvtAllWords " + "tvtExactPhrase " + "tvtAnyWord ";
// enum TUserObjectStatus
const TUserObjectStatus =
"usNone "
+ "usCompleted "
+ "usRedSquare "
+ "usBlueSquare "
+ "usYellowSquare "
+ "usGreenSquare "
+ "usOrangeSquare "
+ "usPurpleSquare "
+ "usFollowUp ";
// enum TUserType
const TUserType =
"utUnknown "
+ "utUser "
+ "utDeveloper "
+ "utAdministrator "
+ "utSystemDeveloper "
+ "utDisconnected ";
// enum TValuesBuildType
const TValuesBuildType =
"btAnd " + "btDetailAnd " + "btOr " + "btNotOr " + "btOnly ";
// enum TViewMode
const TViewMode = "vmView " + "vmSelect " + "vmNavigation ";
// enum TViewSelectionMode
const TViewSelectionMode =
"vsmSingle " + "vsmMultiple " + "vsmMultipleCheck " + "vsmNoSelection ";
// enum TWizardActionType
const TWizardActionType =
"wfatPrevious " + "wfatNext " + "wfatCancel " + "wfatFinish ";
// enum TWizardFormElementProperty
const TWizardFormElementProperty =
"wfepUndefined "
+ "wfepText3 "
+ "wfepText6 "
+ "wfepText9 "
+ "wfepSpinEdit "
+ "wfepDropDown "
+ "wfepRadioGroup "
+ "wfepFlag "
+ "wfepText12 "
+ "wfepText15 "
+ "wfepText18 "
+ "wfepText21 "
+ "wfepText24 "
+ "wfepText27 "
+ "wfepText30 "
+ "wfepRadioGroupColumn1 "
+ "wfepRadioGroupColumn2 "
+ "wfepRadioGroupColumn3 ";
// enum TWizardFormElementType
const TWizardFormElementType =
"wfetQueryParameter " + "wfetText " + "wfetDelimiter " + "wfetLabel ";
// enum TWizardParamType
const TWizardParamType =
"wptString "
+ "wptInteger "
+ "wptNumeric "
+ "wptBoolean "
+ "wptDateTime "
+ "wptPick "
+ "wptText "
+ "wptUser "
+ "wptUserList "
+ "wptEDocumentInfo "
+ "wptEDocumentInfoList "
+ "wptReferenceRecordInfo "
+ "wptReferenceRecordInfoList "
+ "wptFolderInfo "
+ "wptTaskInfo "
+ "wptContents "
+ "wptFileName "
+ "wptDate ";
// enum TWizardStepResult
const TWizardStepResult =
"wsrComplete "
+ "wsrGoNext "
+ "wsrGoPrevious "
+ "wsrCustom "
+ "wsrCancel "
+ "wsrGoFinal ";
// enum TWizardStepType
const TWizardStepType =
"wstForm "
+ "wstEDocument "
+ "wstTaskCard "
+ "wstReferenceRecordCard "
+ "wstFinal ";
// enum TWorkAccessType
const TWorkAccessType = "waAll " + "waPerformers " + "waManual ";
// enum TWorkflowBlockType
const TWorkflowBlockType =
"wsbStart "
+ "wsbFinish "
+ "wsbNotice "
+ "wsbStep "
+ "wsbDecision "
+ "wsbWait "
+ "wsbMonitor "
+ "wsbScript "
+ "wsbConnector "
+ "wsbSubTask "
+ "wsbLifeCycleStage "
+ "wsbPause ";
// enum TWorkflowDataType
const TWorkflowDataType =
"wdtInteger "
+ "wdtFloat "
+ "wdtString "
+ "wdtPick "
+ "wdtDateTime "
+ "wdtBoolean "
+ "wdtTask "
+ "wdtJob "
+ "wdtFolder "
+ "wdtEDocument "
+ "wdtReferenceRecord "
+ "wdtUser "
+ "wdtGroup "
+ "wdtRole "
+ "wdtIntegerCollection "
+ "wdtFloatCollection "
+ "wdtStringCollection "
+ "wdtPickCollection "
+ "wdtDateTimeCollection "
+ "wdtBooleanCollection "
+ "wdtTaskCollection "
+ "wdtJobCollection "
+ "wdtFolderCollection "
+ "wdtEDocumentCollection "
+ "wdtReferenceRecordCollection "
+ "wdtUserCollection "
+ "wdtGroupCollection "
+ "wdtRoleCollection "
+ "wdtContents "
+ "wdtUserList "
+ "wdtSearchDescription "
+ "wdtDeadLine "
+ "wdtPickSet "
+ "wdtAccountCollection ";
// enum TWorkImportance
const TWorkImportance = "wiLow " + "wiNormal " + "wiHigh ";
// enum TWorkRouteType
const TWorkRouteType = "wrtSoft " + "wrtHard ";
// enum TWorkState
const TWorkState =
"wsInit "
+ "wsRunning "
+ "wsDone "
+ "wsControlled "
+ "wsAborted "
+ "wsContinued ";
// enum TWorkTextBuildingMode
const TWorkTextBuildingMode =
"wtmFull " + "wtmFromCurrent " + "wtmOnlyCurrent ";
// Перечисления
const ENUMS =
TAccountType
+ TActionEnabledMode
+ TAddPosition
+ TAlignment
+ TAreaShowMode
+ TCertificateInvalidationReason
+ TCertificateType
+ TCheckListBoxItemState
+ TCloseOnEsc
+ TCompType
+ TConditionFormat
+ TConnectionIntent
+ TContentKind
+ TControlType
+ TCriterionContentType
+ TCultureType
+ TDataSetEventType
+ TDataSetState
+ TDateFormatType
+ TDateOffsetType
+ TDateTimeKind
+ TDeaAccessRights
+ TDocumentDefaultAction
+ TEditMode
+ TEditorCloseObservType
+ TEdmsApplicationAction
+ TEDocumentLockType
+ TEDocumentStepShowMode
+ TEDocumentStepVersionType
+ TEDocumentStorageFunction
+ TEDocumentStorageType
+ TEDocumentVersionSourceType
+ TEDocumentVersionState
+ TEncodeType
+ TExceptionCategory
+ TExportedSignaturesType
+ TExportedVersionType
+ TFieldDataType
+ TFolderType
+ TGridRowHeight
+ THyperlinkType
+ TImageFileFormat
+ TImageMode
+ TImageType
+ TInplaceHintKind
+ TISBLContext
+ TItemShow
+ TJobKind
+ TJoinType
+ TLabelPos
+ TLicensingType
+ TLifeCycleStageFontColor
+ TLifeCycleStageFontStyle
+ TLockableDevelopmentComponentType
+ TMaxRecordCountRestrictionType
+ TRangeValueType
+ TRelativeDate
+ TReportDestination
+ TReqDataType
+ TRequisiteEventType
+ TSBTimeType
+ TSearchShowMode
+ TSelectMode
+ TSignatureType
+ TSignerContentType
+ TStringsSortType
+ TStringValueType
+ TStructuredObjectAttributeType
+ TTaskAbortReason
+ TTextValueType
+ TUserObjectStatus
+ TUserType
+ TValuesBuildType
+ TViewMode
+ TViewSelectionMode
+ TWizardActionType
+ TWizardFormElementProperty
+ TWizardFormElementType
+ TWizardParamType
+ TWizardStepResult
+ TWizardStepType
+ TWorkAccessType
+ TWorkflowBlockType
+ TWorkflowDataType
+ TWorkImportance
+ TWorkRouteType
+ TWorkState
+ TWorkTextBuildingMode;
// Системные функции ==> SYSFUNCTIONS
const system_functions =
"AddSubString "
+ "AdjustLineBreaks "
+ "AmountInWords "
+ "Analysis "
+ "ArrayDimCount "
+ "ArrayHighBound "
+ "ArrayLowBound "
+ "ArrayOf "
+ "ArrayReDim "
+ "Assert "
+ "Assigned "
+ "BeginOfMonth "
+ "BeginOfPeriod "
+ "BuildProfilingOperationAnalysis "
+ "CallProcedure "
+ "CanReadFile "
+ "CArrayElement "
+ "CDataSetRequisite "
+ "ChangeDate "
+ "ChangeReferenceDataset "
+ "Char "
+ "CharPos "
+ "CheckParam "
+ "CheckParamValue "
+ "CompareStrings "
+ "ConstantExists "
+ "ControlState "
+ "ConvertDateStr "
+ "Copy "
+ "CopyFile "
+ "CreateArray "
+ "CreateCachedReference "
+ "CreateConnection "
+ "CreateDialog "
+ "CreateDualListDialog "
+ "CreateEditor "
+ "CreateException "
+ "CreateFile "
+ "CreateFolderDialog "
+ "CreateInputDialog "
+ "CreateLinkFile "
+ "CreateList "
+ "CreateLock "
+ "CreateMemoryDataSet "
+ "CreateObject "
+ "CreateOpenDialog "
+ "CreateProgress "
+ "CreateQuery "
+ "CreateReference "
+ "CreateReport "
+ "CreateSaveDialog "
+ "CreateScript "
+ "CreateSQLPivotFunction "
+ "CreateStringList "
+ "CreateTreeListSelectDialog "
+ "CSelectSQL "
+ "CSQL "
+ "CSubString "
+ "CurrentUserID "
+ "CurrentUserName "
+ "CurrentVersion "
+ "DataSetLocateEx "
+ "DateDiff "
+ "DateTimeDiff "
+ "DateToStr "
+ "DayOfWeek "
+ "DeleteFile "
+ "DirectoryExists "
+ "DisableCheckAccessRights "
+ "DisableCheckFullShowingRestriction "
+ "DisableMassTaskSendingRestrictions "
+ "DropTable "
+ "DupeString "
+ "EditText "
+ "EnableCheckAccessRights "
+ "EnableCheckFullShowingRestriction "
+ "EnableMassTaskSendingRestrictions "
+ "EndOfMonth "
+ "EndOfPeriod "
+ "ExceptionExists "
+ "ExceptionsOff "
+ "ExceptionsOn "
+ "Execute "
+ "ExecuteProcess "
+ "Exit "
+ "ExpandEnvironmentVariables "
+ "ExtractFileDrive "
+ "ExtractFileExt "
+ "ExtractFileName "
+ "ExtractFilePath "
+ "ExtractParams "
+ "FileExists "
+ "FileSize "
+ "FindFile "
+ "FindSubString "
+ "FirmContext "
+ "ForceDirectories "
+ "Format "
+ "FormatDate "
+ "FormatNumeric "
+ "FormatSQLDate "
+ "FormatString "
+ "FreeException "
+ "GetComponent "
+ "GetComponentLaunchParam "
+ "GetConstant "
+ "GetLastException "
+ "GetReferenceRecord "
+ "GetRefTypeByRefID "
+ "GetTableID "
+ "GetTempFolder "
+ "IfThen "
+ "In "
+ "IndexOf "
+ "InputDialog "
+ "InputDialogEx "
+ "InteractiveMode "
+ "IsFileLocked "
+ "IsGraphicFile "
+ "IsNumeric "
+ "Length "
+ "LoadString "
+ "LoadStringFmt "
+ "LocalTimeToUTC "
+ "LowerCase "
+ "Max "
+ "MessageBox "
+ "MessageBoxEx "
+ "MimeDecodeBinary "
+ "MimeDecodeString "
+ "MimeEncodeBinary "
+ "MimeEncodeString "
+ "Min "
+ "MoneyInWords "
+ "MoveFile "
+ "NewID "
+ "Now "
+ "OpenFile "
+ "Ord "
+ "Precision "
+ "Raise "
+ "ReadCertificateFromFile "
+ "ReadFile "
+ "ReferenceCodeByID "
+ "ReferenceNumber "
+ "ReferenceRequisiteMode "
+ "ReferenceRequisiteValue "
+ "RegionDateSettings "
+ "RegionNumberSettings "
+ "RegionTimeSettings "
+ "RegRead "
+ "RegWrite "
+ "RenameFile "
+ "Replace "
+ "Round "
+ "SelectServerCode "
+ "SelectSQL "
+ "ServerDateTime "
+ "SetConstant "
+ "SetManagedFolderFieldsState "
+ "ShowConstantsInputDialog "
+ "ShowMessage "
+ "Sleep "
+ "Split "
+ "SQL "
+ "SQL2XLSTAB "
+ "SQLProfilingSendReport "
+ "StrToDate "
+ "SubString "
+ "SubStringCount "
+ "SystemSetting "
+ "Time "
+ "TimeDiff "
+ "Today "
+ "Transliterate "
+ "Trim "
+ "UpperCase "
+ "UserStatus "
+ "UTCToLocalTime "
+ "ValidateXML "
+ "VarIsClear "
+ "VarIsEmpty "
+ "VarIsNull "
+ "WorkTimeDiff "
+ "WriteFile "
+ "WriteFileEx "
+ "WriteObjectHistory "
+ "Анализ "
+ "БазаДанных "
+ "БлокЕсть "
+ "БлокЕстьРасш "
+ "БлокИнфо "
+ "БлокСнять "
+ "БлокСнятьРасш "
+ "БлокУстановить "
+ "Ввод "
+ "ВводМеню "
+ "ВедС "
+ "ВедСпр "
+ "ВерхняяГраницаМассива "
+ "ВнешПрогр "
+ "Восст "
+ "ВременнаяПапка "
+ "Время "
+ "ВыборSQL "
+ "ВыбратьЗапись "
+ "ВыделитьСтр "
+ "Вызвать "
+ "Выполнить "
+ "ВыпПрогр "
+ "ГрафическийФайл "
+ "ГруппаДополнительно "
+ "ДатаВремяСерв "
+ "ДеньНедели "
+ "ДиалогДаНет "
+ "ДлинаСтр "
+ "ДобПодстр "
+ "ЕПусто "
+ "ЕслиТо "
+ "ЕЧисло "
+ "ЗамПодстр "
+ "ЗаписьСправочника "
+ "ЗначПоляСпр "
+ "ИДТипСпр "
+ "ИзвлечьДиск "
+ "ИзвлечьИмяФайла "
+ "ИзвлечьПуть "
+ "ИзвлечьРасширение "
+ "ИзмДат "
+ "ИзменитьРазмерМассива "
+ "ИзмеренийМассива "
+ "ИмяОрг "
+ "ИмяПоляСпр "
+ "Индекс "
+ "ИндикаторЗакрыть "
+ "ИндикаторОткрыть "
+ "ИндикаторШаг "
+ "ИнтерактивныйРежим "
+ "ИтогТблСпр "
+ "КодВидВедСпр "
+ "КодВидСпрПоИД "
+ "КодПоAnalit "
+ "КодСимвола "
+ "КодСпр "
+ "КолПодстр "
+ "КолПроп "
+ "КонМес "
+ "Конст "
+ "КонстЕсть "
+ "КонстЗнач "
+ "КонТран "
+ "КопироватьФайл "
+ "КопияСтр "
+ "КПериод "
+ "КСтрТблСпр "
+ "Макс "
+ "МаксСтрТблСпр "
+ "Массив "
+ "Меню "
+ "МенюРасш "
+ "Мин "
+ "НаборДанныхНайтиРасш "
+ "НаимВидСпр "
+ "НаимПоAnalit "
+ "НаимСпр "
+ "НастроитьПереводыСтрок "
+ "НачМес "
+ "НачТран "
+ "НижняяГраницаМассива "
+ "НомерСпр "
+ "НПериод "
+ "Окно "
+ "Окр "
+ "Окружение "
+ "ОтлИнфДобавить "
+ "ОтлИнфУдалить "
+ "Отчет "
+ "ОтчетАнал "
+ "ОтчетИнт "
+ "ПапкаСуществует "
+ "Пауза "
+ "ПВыборSQL "
+ "ПереименоватьФайл "
+ "Переменные "
+ "ПереместитьФайл "
+ "Подстр "
+ "ПоискПодстр "
+ "ПоискСтр "
+ "ПолучитьИДТаблицы "
+ "ПользовательДополнительно "
+ "ПользовательИД "
+ "ПользовательИмя "
+ "ПользовательСтатус "
+ "Прервать "
+ "ПроверитьПараметр "
+ "ПроверитьПараметрЗнач "
+ "ПроверитьУсловие "
+ "РазбСтр "
+ "РазнВремя "
+ "РазнДат "
+ "РазнДатаВремя "
+ "РазнРабВремя "
+ "РегУстВрем "
+ "РегУстДат "
+ "РегУстЧсл "
+ "РедТекст "
+ "РеестрЗапись "
+ "РеестрСписокИменПарам "
+ "РеестрЧтение "
+ "РеквСпр "
+ "РеквСпрПр "
+ "Сегодня "
+ "Сейчас "
+ "Сервер "
+ "СерверПроцессИД "
+ "СертификатФайлСчитать "
+ "СжПроб "
+ "Символ "
+ "СистемаДиректумКод "
+ "СистемаИнформация "
+ "СистемаКод "
+ "Содержит "
+ "СоединениеЗакрыть "
+ "СоединениеОткрыть "
+ "СоздатьДиалог "
+ "СоздатьДиалогВыбораИзДвухСписков "
+ "СоздатьДиалогВыбораПапки "
+ "СоздатьДиалогОткрытияФайла "
+ "СоздатьДиалогСохраненияФайла "
+ "СоздатьЗапрос "
+ "СоздатьИндикатор "
+ "СоздатьИсключение "
+ "СоздатьКэшированныйСправочник "
+ "СоздатьМассив "
+ "СоздатьНаборДанных "
+ "СоздатьОбъект "
+ "СоздатьОтчет "
+ "СоздатьПапку "
+ "СоздатьРедактор "
+ "СоздатьСоединение "
+ "СоздатьСписок "
+ "СоздатьСписокСтрок "
+ "СоздатьСправочник "
+ "СоздатьСценарий "
+ "СоздСпр "
+ "СостСпр "
+ "Сохр "
+ "СохрСпр "
+ "СписокСистем "
+ "Спр "
+ "Справочник "
+ "СпрБлокЕсть "
+ "СпрБлокСнять "
+ "СпрБлокСнятьРасш "
+ "СпрБлокУстановить "
+ "СпрИзмНабДан "
+ "СпрКод "
+ "СпрНомер "
+ "СпрОбновить "
+ "СпрОткрыть "
+ "СпрОтменить "
+ "СпрПарам "
+ "СпрПолеЗнач "
+ "СпрПолеИмя "
+ "СпрРекв "
+ "СпрРеквВведЗн "
+ "СпрРеквНовые "
+ "СпрРеквПр "
+ "СпрРеквПредЗн "
+ "СпрРеквРежим "
+ "СпрРеквТипТекст "
+ "СпрСоздать "
+ "СпрСост "
+ "СпрСохранить "
+ "СпрТблИтог "
+ "СпрТблСтр "
+ "СпрТблСтрКол "
+ "СпрТблСтрМакс "
+ "СпрТблСтрМин "
+ "СпрТблСтрПред "
+ "СпрТблСтрСлед "
+ "СпрТблСтрСозд "
+ "СпрТблСтрУд "
+ "СпрТекПредст "
+ "СпрУдалить "
+ "СравнитьСтр "
+ "СтрВерхРегистр "
+ "СтрНижнРегистр "
+ "СтрТблСпр "
+ "СумПроп "
+ "Сценарий "
+ "СценарийПарам "
+ "ТекВерсия "
+ "ТекОрг "
+ "Точн "
+ "Тран "
+ "Транслитерация "
+ "УдалитьТаблицу "
+ "УдалитьФайл "
+ "УдСпр "
+ "УдСтрТблСпр "
+ "Уст "
+ "УстановкиКонстант "
+ "ФайлАтрибутСчитать "
+ "ФайлАтрибутУстановить "
+ "ФайлВремя "
+ "ФайлВремяУстановить "
+ "ФайлВыбрать "
+ "ФайлЗанят "
+ "ФайлЗаписать "
+ "ФайлИскать "
+ "ФайлКопировать "
+ "ФайлМожноЧитать "
+ "ФайлОткрыть "
+ "ФайлПереименовать "
+ "ФайлПерекодировать "
+ "ФайлПереместить "
+ "ФайлПросмотреть "
+ "ФайлРазмер "
+ "ФайлСоздать "
+ "ФайлСсылкаСоздать "
+ "ФайлСуществует "
+ "ФайлСчитать "
+ "ФайлУдалить "
+ "ФмтSQLДат "
+ "ФмтДат "
+ "ФмтСтр "
+ "ФмтЧсл "
+ "Формат "
+ "ЦМассивЭлемент "
+ "ЦНаборДанныхРеквизит "
+ "ЦПодстр ";
// Предопределенные переменные ==> built_in
const predefined_variables =
"AltState "
+ "Application "
+ "CallType "
+ "ComponentTokens "
+ "CreatedJobs "
+ "CreatedNotices "
+ "ControlState "
+ "DialogResult "
+ "Dialogs "
+ "EDocuments "
+ "EDocumentVersionSource "
+ "Folders "
+ "GlobalIDs "
+ "Job "
+ "Jobs "
+ "InputValue "
+ "LookUpReference "
+ "LookUpRequisiteNames "
+ "LookUpSearch "
+ "Object "
+ "ParentComponent "
+ "Processes "
+ "References "
+ "Requisite "
+ "ReportName "
+ "Reports "
+ "Result "
+ "Scripts "
+ "Searches "
+ "SelectedAttachments "
+ "SelectedItems "
+ "SelectMode "
+ "Sender "
+ "ServerEvents "
+ "ServiceFactory "
+ "ShiftState "
+ "SubTask "
+ "SystemDialogs "
+ "Tasks "
+ "Wizard "
+ "Wizards "
+ "Work "
+ "ВызовСпособ "
+ "ИмяОтчета "
+ "РеквЗнач ";
// Интерфейсы ==> type
const interfaces =
"IApplication "
+ "IAccessRights "
+ "IAccountRepository "
+ "IAccountSelectionRestrictions "
+ "IAction "
+ "IActionList "
+ "IAdministrationHistoryDescription "
+ "IAnchors "
+ "IApplication "
+ "IArchiveInfo "
+ "IAttachment "
+ "IAttachmentList "
+ "ICheckListBox "
+ "ICheckPointedList "
+ "IColumn "
+ "IComponent "
+ "IComponentDescription "
+ "IComponentToken "
+ "IComponentTokenFactory "
+ "IComponentTokenInfo "
+ "ICompRecordInfo "
+ "IConnection "
+ "IContents "
+ "IControl "
+ "IControlJob "
+ "IControlJobInfo "
+ "IControlList "
+ "ICrypto "
+ "ICrypto2 "
+ "ICustomJob "
+ "ICustomJobInfo "
+ "ICustomListBox "
+ "ICustomObjectWizardStep "
+ "ICustomWork "
+ "ICustomWorkInfo "
+ "IDataSet "
+ "IDataSetAccessInfo "
+ "IDataSigner "
+ "IDateCriterion "
+ "IDateRequisite "
+ "IDateRequisiteDescription "
+ "IDateValue "
+ "IDeaAccessRights "
+ "IDeaObjectInfo "
+ "IDevelopmentComponentLock "
+ "IDialog "
+ "IDialogFactory "
+ "IDialogPickRequisiteItems "
+ "IDialogsFactory "
+ "IDICSFactory "
+ "IDocRequisite "
+ "IDocumentInfo "
+ "IDualListDialog "
+ "IECertificate "
+ "IECertificateInfo "
+ "IECertificates "
+ "IEditControl "
+ "IEditorForm "
+ "IEdmsExplorer "
+ "IEdmsObject "
+ "IEdmsObjectDescription "
+ "IEdmsObjectFactory "
+ "IEdmsObjectInfo "
+ "IEDocument "
+ "IEDocumentAccessRights "
+ "IEDocumentDescription "
+ "IEDocumentEditor "
+ "IEDocumentFactory "
+ "IEDocumentInfo "
+ "IEDocumentStorage "
+ "IEDocumentVersion "
+ "IEDocumentVersionListDialog "
+ "IEDocumentVersionSource "
+ "IEDocumentWizardStep "
+ "IEDocVerSignature "
+ "IEDocVersionState "
+ "IEnabledMode "
+ "IEncodeProvider "
+ "IEncrypter "
+ "IEvent "
+ "IEventList "
+ "IException "
+ "IExternalEvents "
+ "IExternalHandler "
+ "IFactory "
+ "IField "
+ "IFileDialog "
+ "IFolder "
+ "IFolderDescription "
+ "IFolderDialog "
+ "IFolderFactory "
+ "IFolderInfo "
+ "IForEach "
+ "IForm "
+ "IFormTitle "
+ "IFormWizardStep "
+ "IGlobalIDFactory "
+ "IGlobalIDInfo "
+ "IGrid "
+ "IHasher "
+ "IHistoryDescription "
+ "IHyperLinkControl "
+ "IImageButton "
+ "IImageControl "
+ "IInnerPanel "
+ "IInplaceHint "
+ "IIntegerCriterion "
+ "IIntegerList "
+ "IIntegerRequisite "
+ "IIntegerValue "
+ "IISBLEditorForm "
+ "IJob "
+ "IJobDescription "
+ "IJobFactory "
+ "IJobForm "
+ "IJobInfo "
+ "ILabelControl "
+ "ILargeIntegerCriterion "
+ "ILargeIntegerRequisite "
+ "ILargeIntegerValue "
+ "ILicenseInfo "
+ "ILifeCycleStage "
+ "IList "
+ "IListBox "
+ "ILocalIDInfo "
+ "ILocalization "
+ "ILock "
+ "IMemoryDataSet "
+ "IMessagingFactory "
+ "IMetadataRepository "
+ "INotice "
+ "INoticeInfo "
+ "INumericCriterion "
+ "INumericRequisite "
+ "INumericValue "
+ "IObject "
+ "IObjectDescription "
+ "IObjectImporter "
+ "IObjectInfo "
+ "IObserver "
+ "IPanelGroup "
+ "IPickCriterion "
+ "IPickProperty "
+ "IPickRequisite "
+ "IPickRequisiteDescription "
+ "IPickRequisiteItem "
+ "IPickRequisiteItems "
+ "IPickValue "
+ "IPrivilege "
+ "IPrivilegeList "
+ "IProcess "
+ "IProcessFactory "
+ "IProcessMessage "
+ "IProgress "
+ "IProperty "
+ "IPropertyChangeEvent "
+ "IQuery "
+ "IReference "
+ "IReferenceCriterion "
+ "IReferenceEnabledMode "
+ "IReferenceFactory "
+ "IReferenceHistoryDescription "
+ "IReferenceInfo "
+ "IReferenceRecordCardWizardStep "
+ "IReferenceRequisiteDescription "
+ "IReferencesFactory "
+ "IReferenceValue "
+ "IRefRequisite "
+ "IReport "
+ "IReportFactory "
+ "IRequisite "
+ "IRequisiteDescription "
+ "IRequisiteDescriptionList "
+ "IRequisiteFactory "
+ "IRichEdit "
+ "IRouteStep "
+ "IRule "
+ "IRuleList "
+ "ISchemeBlock "
+ "IScript "
+ "IScriptFactory "
+ "ISearchCriteria "
+ "ISearchCriterion "
+ "ISearchDescription "
+ "ISearchFactory "
+ "ISearchFolderInfo "
+ "ISearchForObjectDescription "
+ "ISearchResultRestrictions "
+ "ISecuredContext "
+ "ISelectDialog "
+ "IServerEvent "
+ "IServerEventFactory "
+ "IServiceDialog "
+ "IServiceFactory "
+ "ISignature "
+ "ISignProvider "
+ "ISignProvider2 "
+ "ISignProvider3 "
+ "ISimpleCriterion "
+ "IStringCriterion "
+ "IStringList "
+ "IStringRequisite "
+ "IStringRequisiteDescription "
+ "IStringValue "
+ "ISystemDialogsFactory "
+ "ISystemInfo "
+ "ITabSheet "
+ "ITask "
+ "ITaskAbortReasonInfo "
+ "ITaskCardWizardStep "
+ "ITaskDescription "
+ "ITaskFactory "
+ "ITaskInfo "
+ "ITaskRoute "
+ "ITextCriterion "
+ "ITextRequisite "
+ "ITextValue "
+ "ITreeListSelectDialog "
+ "IUser "
+ "IUserList "
+ "IValue "
+ "IView "
+ "IWebBrowserControl "
+ "IWizard "
+ "IWizardAction "
+ "IWizardFactory "
+ "IWizardFormElement "
+ "IWizardParam "
+ "IWizardPickParam "
+ "IWizardReferenceParam "
+ "IWizardStep "
+ "IWorkAccessRights "
+ "IWorkDescription "
+ "IWorkflowAskableParam "
+ "IWorkflowAskableParams "
+ "IWorkflowBlock "
+ "IWorkflowBlockResult "
+ "IWorkflowEnabledMode "
+ "IWorkflowParam "
+ "IWorkflowPickParam "
+ "IWorkflowReferenceParam "
+ "IWorkState "
+ "IWorkTreeCustomNode "
+ "IWorkTreeJobNode "
+ "IWorkTreeTaskNode "
+ "IXMLEditorForm "
+ "SBCrypto ";
// built_in : встроенные или библиотечные объекты (константы, перечисления)
const BUILTIN = CONSTANTS + ENUMS;
// class: встроенные наборы значений, системные объекты, фабрики
const CLASS = predefined_variables;
// literal : примитивные типы
const LITERAL = "null true false nil ";
// number : числа
const NUMBERS = {
className: "number",
begin: hljs.NUMBER_RE,
relevance: 0
};
// string : строки
const STRINGS = {
className: "string",
variants: [
{
begin: '"',
end: '"'
},
{
begin: "'",
end: "'"
}
]
};
// Токены
const DOCTAGS = {
className: "doctag",
begin: "\\b(?:TODO|DONE|BEGIN|END|STUB|CHG|FIXME|NOTE|BUG|XXX)\\b",
relevance: 0
};
// Однострочный комментарий
const ISBL_LINE_COMMENT_MODE = {
className: "comment",
begin: "//",
end: "$",
relevance: 0,
contains: [
hljs.PHRASAL_WORDS_MODE,
DOCTAGS
]
};
// Многострочный комментарий
const ISBL_BLOCK_COMMENT_MODE = {
className: "comment",
begin: "/\\*",
end: "\\*/",
relevance: 0,
contains: [
hljs.PHRASAL_WORDS_MODE,
DOCTAGS
]
};
// comment : комментарии
const COMMENTS = { variants: [
ISBL_LINE_COMMENT_MODE,
ISBL_BLOCK_COMMENT_MODE
] };
// keywords : ключевые слова
const KEYWORDS = {
$pattern: UNDERSCORE_IDENT_RE,
keyword: KEYWORD,
built_in: BUILTIN,
class: CLASS,
literal: LITERAL
};
// methods : методы
const METHODS = {
begin: "\\.\\s*" + hljs.UNDERSCORE_IDENT_RE,
keywords: KEYWORDS,
relevance: 0
};
// type : встроенные типы
const TYPES = {
className: "type",
begin: ":[ \\t]*(" + interfaces.trim().replace(/\s/g, "|") + ")",
end: "[ \\t]*=",
excludeEnd: true
};
// variables : переменные
const VARIABLES = {
className: "variable",
keywords: KEYWORDS,
begin: UNDERSCORE_IDENT_RE,
relevance: 0,
contains: [
TYPES,
METHODS
]
};
// Имена функций
const FUNCTION_TITLE = FUNCTION_NAME_IDENT_RE + "\\(";
const TITLE_MODE = {
className: "title",
keywords: {
$pattern: UNDERSCORE_IDENT_RE,
built_in: system_functions
},
begin: FUNCTION_TITLE,
end: "\\(",
returnBegin: true,
excludeEnd: true
};
// function : функции
const FUNCTIONS = {
className: "function",
begin: FUNCTION_TITLE,
end: "\\)$",
returnBegin: true,
keywords: KEYWORDS,
illegal: "[\\[\\]\\|\\$\\?%,~#@]",
contains: [
TITLE_MODE,
METHODS,
VARIABLES,
STRINGS,
NUMBERS,
COMMENTS
]
};
return {
name: 'ISBL',
case_insensitive: true,
keywords: KEYWORDS,
illegal: "\\$|\\?|%|,|;$|~|#|@|",
contains: [
FUNCTIONS,
TYPES,
METHODS,
VARIABLES,
STRINGS,
NUMBERS,
COMMENTS
]
};
}
return isbl;
})();
hljs.registerLanguage('isbl', hljsGrammar);
})();/*! `java` grammar compiled for Highlight.js 11.11.1 */
(function(){
var hljsGrammar = (function () {
'use strict';
// https://docs.oracle.com/javase/specs/jls/se15/html/jls-3.html#jls-3.10
var decimalDigits = '[0-9](_*[0-9])*';
var frac = `\\.(${decimalDigits})`;
var hexDigits = '[0-9a-fA-F](_*[0-9a-fA-F])*';
var NUMERIC = {
className: 'number',
variants: [
// DecimalFloatingPointLiteral
// including ExponentPart
{ begin: `(\\b(${decimalDigits})((${frac})|\\.)?|(${frac}))` +
`[eE][+-]?(${decimalDigits})[fFdD]?\\b` },
// excluding ExponentPart
{ begin: `\\b(${decimalDigits})((${frac})[fFdD]?\\b|\\.([fFdD]\\b)?)` },
{ begin: `(${frac})[fFdD]?\\b` },
{ begin: `\\b(${decimalDigits})[fFdD]\\b` },
// HexadecimalFloatingPointLiteral
{ begin: `\\b0[xX]((${hexDigits})\\.?|(${hexDigits})?\\.(${hexDigits}))` +
`[pP][+-]?(${decimalDigits})[fFdD]?\\b` },
// DecimalIntegerLiteral
{ begin: '\\b(0|[1-9](_*[0-9])*)[lL]?\\b' },
// HexIntegerLiteral
{ begin: `\\b0[xX](${hexDigits})[lL]?\\b` },
// OctalIntegerLiteral
{ begin: '\\b0(_*[0-7])*[lL]?\\b' },
// BinaryIntegerLiteral
{ begin: '\\b0[bB][01](_*[01])*[lL]?\\b' },
],
relevance: 0
};
/*
Language: Java
Author: Vsevolod Solovyov
Category: common, enterprise
Website: https://www.java.com/
*/
/**
* Allows recursive regex expressions to a given depth
*
* ie: recurRegex("(abc~~~)", /~~~/g, 2) becomes:
* (abc(abc(abc)))
*
* @param {string} re
* @param {RegExp} substitution (should be a g mode regex)
* @param {number} depth
* @returns {string}``
*/
function recurRegex(re, substitution, depth) {
if (depth === -1) return "";
return re.replace(substitution, _ => {
return recurRegex(re, substitution, depth - 1);
});
}
/** @type LanguageFn */
function java(hljs) {
const regex = hljs.regex;
const JAVA_IDENT_RE = '[\u00C0-\u02B8a-zA-Z_$][\u00C0-\u02B8a-zA-Z_$0-9]*';
const GENERIC_IDENT_RE = JAVA_IDENT_RE
+ recurRegex('(?:<' + JAVA_IDENT_RE + '~~~(?:\\s*,\\s*' + JAVA_IDENT_RE + '~~~)*>)?', /~~~/g, 2);
const MAIN_KEYWORDS = [
'synchronized',
'abstract',
'private',
'var',
'static',
'if',
'const ',
'for',
'while',
'strictfp',
'finally',
'protected',
'import',
'native',
'final',
'void',
'enum',
'else',
'break',
'transient',
'catch',
'instanceof',
'volatile',
'case',
'assert',
'package',
'default',
'public',
'try',
'switch',
'continue',
'throws',
'protected',
'public',
'private',
'module',
'requires',
'exports',
'do',
'sealed',
'yield',
'permits',
'goto',
'when'
];
const BUILT_INS = [
'super',
'this'
];
const LITERALS = [
'false',
'true',
'null'
];
const TYPES = [
'char',
'boolean',
'long',
'float',
'int',
'byte',
'short',
'double'
];
const KEYWORDS = {
keyword: MAIN_KEYWORDS,
literal: LITERALS,
type: TYPES,
built_in: BUILT_INS
};
const ANNOTATION = {
className: 'meta',
begin: '@' + JAVA_IDENT_RE,
contains: [
{
begin: /\(/,
end: /\)/,
contains: [ "self" ] // allow nested () inside our annotation
}
]
};
const PARAMS = {
className: 'params',
begin: /\(/,
end: /\)/,
keywords: KEYWORDS,
relevance: 0,
contains: [ hljs.C_BLOCK_COMMENT_MODE ],
endsParent: true
};
return {
name: 'Java',
aliases: [ 'jsp' ],
keywords: KEYWORDS,
illegal: /<\/|#/,
contains: [
hljs.COMMENT(
'/\\*\\*',
'\\*/',
{
relevance: 0,
contains: [
{
// eat up @'s in emails to prevent them to be recognized as doctags
begin: /\w+@/,
relevance: 0
},
{
className: 'doctag',
begin: '@[A-Za-z]+'
}
]
}
),
// relevance boost
{
begin: /import java\.[a-z]+\./,
keywords: "import",
relevance: 2
},
hljs.C_LINE_COMMENT_MODE,
hljs.C_BLOCK_COMMENT_MODE,
{
begin: /"""/,
end: /"""/,
className: "string",
contains: [ hljs.BACKSLASH_ESCAPE ]
},
hljs.APOS_STRING_MODE,
hljs.QUOTE_STRING_MODE,
{
match: [
/\b(?:class|interface|enum|extends|implements|new)/,
/\s+/,
JAVA_IDENT_RE
],
className: {
1: "keyword",
3: "title.class"
}
},
{
// Exceptions for hyphenated keywords
match: /non-sealed/,
scope: "keyword"
},
{
begin: [
regex.concat(/(?!else)/, JAVA_IDENT_RE),
/\s+/,
JAVA_IDENT_RE,
/\s+/,
/=(?!=)/
],
className: {
1: "type",
3: "variable",
5: "operator"
}
},
{
begin: [
/record/,
/\s+/,
JAVA_IDENT_RE
],
className: {
1: "keyword",
3: "title.class"
},
contains: [
PARAMS,
hljs.C_LINE_COMMENT_MODE,
hljs.C_BLOCK_COMMENT_MODE
]
},
{
// Expression keywords prevent 'keyword Name(...)' from being
// recognized as a function definition
beginKeywords: 'new throw return else',
relevance: 0
},
{
begin: [
'(?:' + GENERIC_IDENT_RE + '\\s+)',
hljs.UNDERSCORE_IDENT_RE,
/\s*(?=\()/
],
className: { 2: "title.function" },
keywords: KEYWORDS,
contains: [
{
className: 'params',
begin: /\(/,
end: /\)/,
keywords: KEYWORDS,
relevance: 0,
contains: [
ANNOTATION,
hljs.APOS_STRING_MODE,
hljs.QUOTE_STRING_MODE,
NUMERIC,
hljs.C_BLOCK_COMMENT_MODE
]
},
hljs.C_LINE_COMMENT_MODE,
hljs.C_BLOCK_COMMENT_MODE
]
},
NUMERIC,
ANNOTATION
]
};
}
return java;
})();
hljs.registerLanguage('java', hljsGrammar);
})();/*! `javascript` grammar compiled for Highlight.js 11.11.1 */
(function(){
var hljsGrammar = (function () {
'use strict';
const IDENT_RE = '[A-Za-z$_][0-9A-Za-z$_]*';
const KEYWORDS = [
"as", // for exports
"in",
"of",
"if",
"for",
"while",
"finally",
"var",
"new",
"function",
"do",
"return",
"void",
"else",
"break",
"catch",
"instanceof",
"with",
"throw",
"case",
"default",
"try",
"switch",
"continue",
"typeof",
"delete",
"let",
"yield",
"const",
"class",
// JS handles these with a special rule
// "get",
// "set",
"debugger",
"async",
"await",
"static",
"import",
"from",
"export",
"extends",
// It's reached stage 3, which is "recommended for implementation":
"using"
];
const LITERALS = [
"true",
"false",
"null",
"undefined",
"NaN",
"Infinity"
];
// https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects
const TYPES = [
// Fundamental objects
"Object",
"Function",
"Boolean",
"Symbol",
// numbers and dates
"Math",
"Date",
"Number",
"BigInt",
// text
"String",
"RegExp",
// Indexed collections
"Array",
"Float32Array",
"Float64Array",
"Int8Array",
"Uint8Array",
"Uint8ClampedArray",
"Int16Array",
"Int32Array",
"Uint16Array",
"Uint32Array",
"BigInt64Array",
"BigUint64Array",
// Keyed collections
"Set",
"Map",
"WeakSet",
"WeakMap",
// Structured data
"ArrayBuffer",
"SharedArrayBuffer",
"Atomics",
"DataView",
"JSON",
// Control abstraction objects
"Promise",
"Generator",
"GeneratorFunction",
"AsyncFunction",
// Reflection
"Reflect",
"Proxy",
// Internationalization
"Intl",
// WebAssembly
"WebAssembly"
];
const ERROR_TYPES = [
"Error",
"EvalError",
"InternalError",
"RangeError",
"ReferenceError",
"SyntaxError",
"TypeError",
"URIError"
];
const BUILT_IN_GLOBALS = [
"setInterval",
"setTimeout",
"clearInterval",
"clearTimeout",
"require",
"exports",
"eval",
"isFinite",
"isNaN",
"parseFloat",
"parseInt",
"decodeURI",
"decodeURIComponent",
"encodeURI",
"encodeURIComponent",
"escape",
"unescape"
];
const BUILT_IN_VARIABLES = [
"arguments",
"this",
"super",
"console",
"window",
"document",
"localStorage",
"sessionStorage",
"module",
"global" // Node.js
];
const BUILT_INS = [].concat(
BUILT_IN_GLOBALS,
TYPES,
ERROR_TYPES
);
/*
Language: JavaScript
Description: JavaScript (JS) is a lightweight, interpreted, or just-in-time compiled programming language with first-class functions.
Category: common, scripting, web
Website: https://developer.mozilla.org/en-US/docs/Web/JavaScript
*/
/** @type LanguageFn */
function javascript(hljs) {
const regex = hljs.regex;
/**
* Takes a string like " {
const tag = "" + match[0].slice(1);
const pos = match.input.indexOf(tag, after);
return pos !== -1;
};
const IDENT_RE$1 = IDENT_RE;
const FRAGMENT = {
begin: '<>',
end: '>'
};
// to avoid some special cases inside isTrulyOpeningTag
const XML_SELF_CLOSING = /<[A-Za-z0-9\\._:-]+\s*\/>/;
const XML_TAG = {
begin: /<[A-Za-z0-9\\._:-]+/,
end: /\/[A-Za-z0-9\\._:-]+>|\/>/,
/**
* @param {RegExpMatchArray} match
* @param {CallbackResponse} response
*/
isTrulyOpeningTag: (match, response) => {
const afterMatchIndex = match[0].length + match.index;
const nextChar = match.input[afterMatchIndex];
if (
// HTML should not include another raw `<` inside a tag
// nested type?
// `>`, etc.
nextChar === "<" ||
// the , gives away that this is not HTML
// ``
nextChar === ","
) {
response.ignoreMatch();
return;
}
// ``
// Quite possibly a tag, lets look for a matching closing tag...
if (nextChar === ">") {
// if we cannot find a matching closing tag, then we
// will ignore it
if (!hasClosingTag(match, { after: afterMatchIndex })) {
response.ignoreMatch();
}
}
// ` ` (self-closing)
// handled by simpleSelfClosing rule
let m;
const afterMatch = match.input.substring(afterMatchIndex);
// some more template typing stuff
// (key?: string) => Modify<
if ((m = afterMatch.match(/^\s*=/))) {
response.ignoreMatch();
return;
}
// ``
// technically this could be HTML, but it smells like a type
// NOTE: This is ugh, but added specifically for https://github.com/highlightjs/highlight.js/issues/3276
if ((m = afterMatch.match(/^\s+extends\s+/))) {
if (m.index === 0) {
response.ignoreMatch();
// eslint-disable-next-line no-useless-return
return;
}
}
}
};
const KEYWORDS$1 = {
$pattern: IDENT_RE,
keyword: KEYWORDS,
literal: LITERALS,
built_in: BUILT_INS,
"variable.language": BUILT_IN_VARIABLES
};
// https://tc39.es/ecma262/#sec-literals-numeric-literals
const decimalDigits = '[0-9](_?[0-9])*';
const frac = `\\.(${decimalDigits})`;
// DecimalIntegerLiteral, including Annex B NonOctalDecimalIntegerLiteral
// https://tc39.es/ecma262/#sec-additional-syntax-numeric-literals
const decimalInteger = `0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*`;
const NUMBER = {
className: 'number',
variants: [
// DecimalLiteral
{ begin: `(\\b(${decimalInteger})((${frac})|\\.)?|(${frac}))` +
`[eE][+-]?(${decimalDigits})\\b` },
{ begin: `\\b(${decimalInteger})\\b((${frac})\\b|\\.)?|(${frac})\\b` },
// DecimalBigIntegerLiteral
{ begin: `\\b(0|[1-9](_?[0-9])*)n\\b` },
// NonDecimalIntegerLiteral
{ begin: "\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b" },
{ begin: "\\b0[bB][0-1](_?[0-1])*n?\\b" },
{ begin: "\\b0[oO][0-7](_?[0-7])*n?\\b" },
// LegacyOctalIntegerLiteral (does not include underscore separators)
// https://tc39.es/ecma262/#sec-additional-syntax-numeric-literals
{ begin: "\\b0[0-7]+n?\\b" },
],
relevance: 0
};
const SUBST = {
className: 'subst',
begin: '\\$\\{',
end: '\\}',
keywords: KEYWORDS$1,
contains: [] // defined later
};
const HTML_TEMPLATE = {
begin: '\.?html`',
end: '',
starts: {
end: '`',
returnEnd: false,
contains: [
hljs.BACKSLASH_ESCAPE,
SUBST
],
subLanguage: 'xml'
}
};
const CSS_TEMPLATE = {
begin: '\.?css`',
end: '',
starts: {
end: '`',
returnEnd: false,
contains: [
hljs.BACKSLASH_ESCAPE,
SUBST
],
subLanguage: 'css'
}
};
const GRAPHQL_TEMPLATE = {
begin: '\.?gql`',
end: '',
starts: {
end: '`',
returnEnd: false,
contains: [
hljs.BACKSLASH_ESCAPE,
SUBST
],
subLanguage: 'graphql'
}
};
const TEMPLATE_STRING = {
className: 'string',
begin: '`',
end: '`',
contains: [
hljs.BACKSLASH_ESCAPE,
SUBST
]
};
const JSDOC_COMMENT = hljs.COMMENT(
/\/\*\*(?!\/)/,
'\\*/',
{
relevance: 0,
contains: [
{
begin: '(?=@[A-Za-z]+)',
relevance: 0,
contains: [
{
className: 'doctag',
begin: '@[A-Za-z]+'
},
{
className: 'type',
begin: '\\{',
end: '\\}',
excludeEnd: true,
excludeBegin: true,
relevance: 0
},
{
className: 'variable',
begin: IDENT_RE$1 + '(?=\\s*(-)|$)',
endsParent: true,
relevance: 0
},
// eat spaces (not newlines) so we can find
// types or variables
{
begin: /(?=[^\n])\s/,
relevance: 0
}
]
}
]
}
);
const COMMENT = {
className: "comment",
variants: [
JSDOC_COMMENT,
hljs.C_BLOCK_COMMENT_MODE,
hljs.C_LINE_COMMENT_MODE
]
};
const SUBST_INTERNALS = [
hljs.APOS_STRING_MODE,
hljs.QUOTE_STRING_MODE,
HTML_TEMPLATE,
CSS_TEMPLATE,
GRAPHQL_TEMPLATE,
TEMPLATE_STRING,
// Skip numbers when they are part of a variable name
{ match: /\$\d+/ },
NUMBER,
// This is intentional:
// See https://github.com/highlightjs/highlight.js/issues/3288
// hljs.REGEXP_MODE
];
SUBST.contains = SUBST_INTERNALS
.concat({
// we need to pair up {} inside our subst to prevent
// it from ending too early by matching another }
begin: /\{/,
end: /\}/,
keywords: KEYWORDS$1,
contains: [
"self"
].concat(SUBST_INTERNALS)
});
const SUBST_AND_COMMENTS = [].concat(COMMENT, SUBST.contains);
const PARAMS_CONTAINS = SUBST_AND_COMMENTS.concat([
// eat recursive parens in sub expressions
{
begin: /(\s*)\(/,
end: /\)/,
keywords: KEYWORDS$1,
contains: ["self"].concat(SUBST_AND_COMMENTS)
}
]);
const PARAMS = {
className: 'params',
// convert this to negative lookbehind in v12
begin: /(\s*)\(/, // to match the parms with
end: /\)/,
excludeBegin: true,
excludeEnd: true,
keywords: KEYWORDS$1,
contains: PARAMS_CONTAINS
};
// ES6 classes
const CLASS_OR_EXTENDS = {
variants: [
// class Car extends vehicle
{
match: [
/class/,
/\s+/,
IDENT_RE$1,
/\s+/,
/extends/,
/\s+/,
regex.concat(IDENT_RE$1, "(", regex.concat(/\./, IDENT_RE$1), ")*")
],
scope: {
1: "keyword",
3: "title.class",
5: "keyword",
7: "title.class.inherited"
}
},
// class Car
{
match: [
/class/,
/\s+/,
IDENT_RE$1
],
scope: {
1: "keyword",
3: "title.class"
}
},
]
};
const CLASS_REFERENCE = {
relevance: 0,
match:
regex.either(
// Hard coded exceptions
/\bJSON/,
// Float32Array, OutT
/\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/,
// CSSFactory, CSSFactoryT
/\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/,
// FPs, FPsT
/\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/,
// P
// single letters are not highlighted
// BLAH
// this will be flagged as a UPPER_CASE_CONSTANT instead
),
className: "title.class",
keywords: {
_: [
// se we still get relevance credit for JS library classes
...TYPES,
...ERROR_TYPES
]
}
};
const USE_STRICT = {
label: "use_strict",
className: 'meta',
relevance: 10,
begin: /^\s*['"]use (strict|asm)['"]/
};
const FUNCTION_DEFINITION = {
variants: [
{
match: [
/function/,
/\s+/,
IDENT_RE$1,
/(?=\s*\()/
]
},
// anonymous function
{
match: [
/function/,
/\s*(?=\()/
]
}
],
className: {
1: "keyword",
3: "title.function"
},
label: "func.def",
contains: [ PARAMS ],
illegal: /%/
};
const UPPER_CASE_CONSTANT = {
relevance: 0,
match: /\b[A-Z][A-Z_0-9]+\b/,
className: "variable.constant"
};
function noneOf(list) {
return regex.concat("(?!", list.join("|"), ")");
}
const FUNCTION_CALL = {
match: regex.concat(
/\b/,
noneOf([
...BUILT_IN_GLOBALS,
"super",
"import"
].map(x => `${x}\\s*\\(`)),
IDENT_RE$1, regex.lookahead(/\s*\(/)),
className: "title.function",
relevance: 0
};
const PROPERTY_ACCESS = {
begin: regex.concat(/\./, regex.lookahead(
regex.concat(IDENT_RE$1, /(?![0-9A-Za-z$_(])/)
)),
end: IDENT_RE$1,
excludeBegin: true,
keywords: "prototype",
className: "property",
relevance: 0
};
const GETTER_OR_SETTER = {
match: [
/get|set/,
/\s+/,
IDENT_RE$1,
/(?=\()/
],
className: {
1: "keyword",
3: "title.function"
},
contains: [
{ // eat to avoid empty params
begin: /\(\)/
},
PARAMS
]
};
const FUNC_LEAD_IN_RE = '(\\(' +
'[^()]*(\\(' +
'[^()]*(\\(' +
'[^()]*' +
'\\)[^()]*)*' +
'\\)[^()]*)*' +
'\\)|' + hljs.UNDERSCORE_IDENT_RE + ')\\s*=>';
const FUNCTION_VARIABLE = {
match: [
/const|var|let/, /\s+/,
IDENT_RE$1, /\s*/,
/=\s*/,
/(async\s*)?/, // async is optional
regex.lookahead(FUNC_LEAD_IN_RE)
],
keywords: "async",
className: {
1: "keyword",
3: "title.function"
},
contains: [
PARAMS
]
};
return {
name: 'JavaScript',
aliases: ['js', 'jsx', 'mjs', 'cjs'],
keywords: KEYWORDS$1,
// this will be extended by TypeScript
exports: { PARAMS_CONTAINS, CLASS_REFERENCE },
illegal: /#(?![$_A-z])/,
contains: [
hljs.SHEBANG({
label: "shebang",
binary: "node",
relevance: 5
}),
USE_STRICT,
hljs.APOS_STRING_MODE,
hljs.QUOTE_STRING_MODE,
HTML_TEMPLATE,
CSS_TEMPLATE,
GRAPHQL_TEMPLATE,
TEMPLATE_STRING,
COMMENT,
// Skip numbers when they are part of a variable name
{ match: /\$\d+/ },
NUMBER,
CLASS_REFERENCE,
{
scope: 'attr',
match: IDENT_RE$1 + regex.lookahead(':'),
relevance: 0
},
FUNCTION_VARIABLE,
{ // "value" container
begin: '(' + hljs.RE_STARTERS_RE + '|\\b(case|return|throw)\\b)\\s*',
keywords: 'return throw case',
relevance: 0,
contains: [
COMMENT,
hljs.REGEXP_MODE,
{
className: 'function',
// we have to count the parens to make sure we actually have the
// correct bounding ( ) before the =>. There could be any number of
// sub-expressions inside also surrounded by parens.
begin: FUNC_LEAD_IN_RE,
returnBegin: true,
end: '\\s*=>',
contains: [
{
className: 'params',
variants: [
{
begin: hljs.UNDERSCORE_IDENT_RE,
relevance: 0
},
{
className: null,
begin: /\(\s*\)/,
skip: true
},
{
begin: /(\s*)\(/,
end: /\)/,
excludeBegin: true,
excludeEnd: true,
keywords: KEYWORDS$1,
contains: PARAMS_CONTAINS
}
]
}
]
},
{ // could be a comma delimited list of params to a function call
begin: /,/,
relevance: 0
},
{
match: /\s+/,
relevance: 0
},
{ // JSX
variants: [
{ begin: FRAGMENT.begin, end: FRAGMENT.end },
{ match: XML_SELF_CLOSING },
{
begin: XML_TAG.begin,
// we carefully check the opening tag to see if it truly
// is a tag and not a false positive
'on:begin': XML_TAG.isTrulyOpeningTag,
end: XML_TAG.end
}
],
subLanguage: 'xml',
contains: [
{
begin: XML_TAG.begin,
end: XML_TAG.end,
skip: true,
contains: ['self']
}
]
}
],
},
FUNCTION_DEFINITION,
{
// prevent this from getting swallowed up by function
// since they appear "function like"
beginKeywords: "while if switch catch for"
},
{
// we have to count the parens to make sure we actually have the correct
// bounding ( ). There could be any number of sub-expressions inside
// also surrounded by parens.
begin: '\\b(?!function)' + hljs.UNDERSCORE_IDENT_RE +
'\\(' + // first parens
'[^()]*(\\(' +
'[^()]*(\\(' +
'[^()]*' +
'\\)[^()]*)*' +
'\\)[^()]*)*' +
'\\)\\s*\\{', // end parens
returnBegin:true,
label: "func.def",
contains: [
PARAMS,
hljs.inherit(hljs.TITLE_MODE, { begin: IDENT_RE$1, className: "title.function" })
]
},
// catch ... so it won't trigger the property rule below
{
match: /\.\.\./,
relevance: 0
},
PROPERTY_ACCESS,
// hack: prevents detection of keywords in some circumstances
// .keyword()
// $keyword = x
{
match: '\\$' + IDENT_RE$1,
relevance: 0
},
{
match: [ /\bconstructor(?=\s*\()/ ],
className: { 1: "title.function" },
contains: [ PARAMS ]
},
FUNCTION_CALL,
UPPER_CASE_CONSTANT,
CLASS_OR_EXTENDS,
GETTER_OR_SETTER,
{
match: /\$[(.]/ // relevance booster for a pattern common to JS libs: `$(something)` and `$.something`
}
]
};
}
return javascript;
})();
hljs.registerLanguage('javascript', hljsGrammar);
})();/*! `jboss-cli` grammar compiled for Highlight.js 11.11.1 */
(function(){
var hljsGrammar = (function () {
'use strict';
/*
Language: JBoss CLI
Author: Raphaël Parrëe
Description: language definition jboss cli
Website: https://docs.jboss.org/author/display/WFLY/Command+Line+Interface
Category: config
*/
function jbossCli(hljs) {
const PARAM = {
begin: /[\w-]+ *=/,
returnBegin: true,
relevance: 0,
contains: [
{
className: 'attr',
begin: /[\w-]+/
}
]
};
const PARAMSBLOCK = {
className: 'params',
begin: /\(/,
end: /\)/,
contains: [ PARAM ],
relevance: 0
};
const OPERATION = {
className: 'function',
begin: /:[\w\-.]+/,
relevance: 0
};
const PATH = {
className: 'string',
begin: /\B([\/.])[\w\-.\/=]+/
};
const COMMAND_PARAMS = {
className: 'params',
begin: /--[\w\-=\/]+/
};
return {
name: 'JBoss CLI',
aliases: [ 'wildfly-cli' ],
keywords: {
$pattern: '[a-z\-]+',
keyword: 'alias batch cd clear command connect connection-factory connection-info data-source deploy '
+ 'deployment-info deployment-overlay echo echo-dmr help history if jdbc-driver-info jms-queue|20 jms-topic|20 ls '
+ 'patch pwd quit read-attribute read-operation reload rollout-plan run-batch set shutdown try unalias '
+ 'undeploy unset version xa-data-source', // module
literal: 'true false'
},
contains: [
hljs.HASH_COMMENT_MODE,
hljs.QUOTE_STRING_MODE,
COMMAND_PARAMS,
OPERATION,
PATH,
PARAMSBLOCK
]
};
}
return jbossCli;
})();
hljs.registerLanguage('jboss-cli', hljsGrammar);
})();/*! `json` grammar compiled for Highlight.js 11.11.1 */
(function(){
var hljsGrammar = (function () {
'use strict';
/*
Language: JSON
Description: JSON (JavaScript Object Notation) is a lightweight data-interchange format.
Author: Ivan Sagalaev
Website: http://www.json.org
Category: common, protocols, web
*/
function json(hljs) {
const ATTRIBUTE = {
className: 'attr',
begin: /"(\\.|[^\\"\r\n])*"(?=\s*:)/,
relevance: 1.01
};
const PUNCTUATION = {
match: /[{}[\],:]/,
className: "punctuation",
relevance: 0
};
const LITERALS = [
"true",
"false",
"null"
];
// NOTE: normally we would rely on `keywords` for this but using a mode here allows us
// - to use the very tight `illegal: \S` rule later to flag any other character
// - as illegal indicating that despite looking like JSON we do not truly have
// - JSON and thus improve false-positively greatly since JSON will try and claim
// - all sorts of JSON looking stuff
const LITERALS_MODE = {
scope: "literal",
beginKeywords: LITERALS.join(" "),
};
return {
name: 'JSON',
aliases: ['jsonc'],
keywords:{
literal: LITERALS,
},
contains: [
ATTRIBUTE,
PUNCTUATION,
hljs.QUOTE_STRING_MODE,
LITERALS_MODE,
hljs.C_NUMBER_MODE,
hljs.C_LINE_COMMENT_MODE,
hljs.C_BLOCK_COMMENT_MODE
],
illegal: '\\S'
};
}
return json;
})();
hljs.registerLanguage('json', hljsGrammar);
})();/*! `julia` grammar compiled for Highlight.js 11.11.1 */
(function(){
var hljsGrammar = (function () {
'use strict';
/*
Language: Julia
Description: Julia is a high-level, high-performance, dynamic programming language.
Author: Kenta Sato
Contributors: Alex Arslan , Fredrik Ekre
Website: https://julialang.org
Category: scientific
*/
function julia(hljs) {
// Since there are numerous special names in Julia, it is too much trouble
// to maintain them by hand. Hence these names (i.e. keywords, literals and
// built-ins) are automatically generated from Julia 1.5.2 itself through
// the following scripts for each.
// ref: https://docs.julialang.org/en/v1/manual/variables/#Allowed-Variable-Names
const VARIABLE_NAME_RE = '[A-Za-z_\\u00A1-\\uFFFF][A-Za-z_0-9\\u00A1-\\uFFFF]*';
// # keyword generator, multi-word keywords handled manually below (Julia 1.5.2)
// import REPL.REPLCompletions
// res = String["in", "isa", "where"]
// for kw in collect(x.keyword for x in REPLCompletions.complete_keyword(""))
// if !(contains(kw, " ") || kw == "struct")
// push!(res, kw)
// end
// end
// sort!(unique!(res))
// foreach(x -> println("\'", x, "\',"), res)
const KEYWORD_LIST = [
'baremodule',
'begin',
'break',
'catch',
'ccall',
'const',
'continue',
'do',
'else',
'elseif',
'end',
'export',
'false',
'finally',
'for',
'function',
'global',
'if',
'import',
'in',
'isa',
'let',
'local',
'macro',
'module',
'quote',
'return',
'true',
'try',
'using',
'where',
'while',
];
// # literal generator (Julia 1.5.2)
// import REPL.REPLCompletions
// res = String["true", "false"]
// for compl in filter!(x -> isa(x, REPLCompletions.ModuleCompletion) && (x.parent === Base || x.parent === Core),
// REPLCompletions.completions("", 0)[1])
// try
// v = eval(Symbol(compl.mod))
// if !(v isa Function || v isa Type || v isa TypeVar || v isa Module || v isa Colon)
// push!(res, compl.mod)
// end
// catch e
// end
// end
// sort!(unique!(res))
// foreach(x -> println("\'", x, "\',"), res)
const LITERAL_LIST = [
'ARGS',
'C_NULL',
'DEPOT_PATH',
'ENDIAN_BOM',
'ENV',
'Inf',
'Inf16',
'Inf32',
'Inf64',
'InsertionSort',
'LOAD_PATH',
'MergeSort',
'NaN',
'NaN16',
'NaN32',
'NaN64',
'PROGRAM_FILE',
'QuickSort',
'RoundDown',
'RoundFromZero',
'RoundNearest',
'RoundNearestTiesAway',
'RoundNearestTiesUp',
'RoundToZero',
'RoundUp',
'VERSION|0',
'devnull',
'false',
'im',
'missing',
'nothing',
'pi',
'stderr',
'stdin',
'stdout',
'true',
'undef',
'π',
'ℯ',
];
// # built_in generator (Julia 1.5.2)
// import REPL.REPLCompletions
// res = String[]
// for compl in filter!(x -> isa(x, REPLCompletions.ModuleCompletion) && (x.parent === Base || x.parent === Core),
// REPLCompletions.completions("", 0)[1])
// try
// v = eval(Symbol(compl.mod))
// if (v isa Type || v isa TypeVar) && (compl.mod != "=>")
// push!(res, compl.mod)
// end
// catch e
// end
// end
// sort!(unique!(res))
// foreach(x -> println("\'", x, "\',"), res)
const BUILT_IN_LIST = [
'AbstractArray',
'AbstractChannel',
'AbstractChar',
'AbstractDict',
'AbstractDisplay',
'AbstractFloat',
'AbstractIrrational',
'AbstractMatrix',
'AbstractRange',
'AbstractSet',
'AbstractString',
'AbstractUnitRange',
'AbstractVecOrMat',
'AbstractVector',
'Any',
'ArgumentError',
'Array',
'AssertionError',
'BigFloat',
'BigInt',
'BitArray',
'BitMatrix',
'BitSet',
'BitVector',
'Bool',
'BoundsError',
'CapturedException',
'CartesianIndex',
'CartesianIndices',
'Cchar',
'Cdouble',
'Cfloat',
'Channel',
'Char',
'Cint',
'Cintmax_t',
'Clong',
'Clonglong',
'Cmd',
'Colon',
'Complex',
'ComplexF16',
'ComplexF32',
'ComplexF64',
'CompositeException',
'Condition',
'Cptrdiff_t',
'Cshort',
'Csize_t',
'Cssize_t',
'Cstring',
'Cuchar',
'Cuint',
'Cuintmax_t',
'Culong',
'Culonglong',
'Cushort',
'Cvoid',
'Cwchar_t',
'Cwstring',
'DataType',
'DenseArray',
'DenseMatrix',
'DenseVecOrMat',
'DenseVector',
'Dict',
'DimensionMismatch',
'Dims',
'DivideError',
'DomainError',
'EOFError',
'Enum',
'ErrorException',
'Exception',
'ExponentialBackOff',
'Expr',
'Float16',
'Float32',
'Float64',
'Function',
'GlobalRef',
'HTML',
'IO',
'IOBuffer',
'IOContext',
'IOStream',
'IdDict',
'IndexCartesian',
'IndexLinear',
'IndexStyle',
'InexactError',
'InitError',
'Int',
'Int128',
'Int16',
'Int32',
'Int64',
'Int8',
'Integer',
'InterruptException',
'InvalidStateException',
'Irrational',
'KeyError',
'LinRange',
'LineNumberNode',
'LinearIndices',
'LoadError',
'MIME',
'Matrix',
'Method',
'MethodError',
'Missing',
'MissingException',
'Module',
'NTuple',
'NamedTuple',
'Nothing',
'Number',
'OrdinalRange',
'OutOfMemoryError',
'OverflowError',
'Pair',
'PartialQuickSort',
'PermutedDimsArray',
'Pipe',
'ProcessFailedException',
'Ptr',
'QuoteNode',
'Rational',
'RawFD',
'ReadOnlyMemoryError',
'Real',
'ReentrantLock',
'Ref',
'Regex',
'RegexMatch',
'RoundingMode',
'SegmentationFault',
'Set',
'Signed',
'Some',
'StackOverflowError',
'StepRange',
'StepRangeLen',
'StridedArray',
'StridedMatrix',
'StridedVecOrMat',
'StridedVector',
'String',
'StringIndexError',
'SubArray',
'SubString',
'SubstitutionString',
'Symbol',
'SystemError',
'Task',
'TaskFailedException',
'Text',
'TextDisplay',
'Timer',
'Tuple',
'Type',
'TypeError',
'TypeVar',
'UInt',
'UInt128',
'UInt16',
'UInt32',
'UInt64',
'UInt8',
'UndefInitializer',
'UndefKeywordError',
'UndefRefError',
'UndefVarError',
'Union',
'UnionAll',
'UnitRange',
'Unsigned',
'Val',
'Vararg',
'VecElement',
'VecOrMat',
'Vector',
'VersionNumber',
'WeakKeyDict',
'WeakRef',
];
const KEYWORDS = {
$pattern: VARIABLE_NAME_RE,
keyword: KEYWORD_LIST,
literal: LITERAL_LIST,
built_in: BUILT_IN_LIST,
};
// placeholder for recursive self-reference
const DEFAULT = {
keywords: KEYWORDS,
illegal: /<\//
};
// ref: https://docs.julialang.org/en/v1/manual/integers-and-floating-point-numbers/
const NUMBER = {
className: 'number',
// supported numeric literals:
// * binary literal (e.g. 0x10)
// * octal literal (e.g. 0o76543210)
// * hexadecimal literal (e.g. 0xfedcba876543210)
// * hexadecimal floating point literal (e.g. 0x1p0, 0x1.2p2)
// * decimal literal (e.g. 9876543210, 100_000_000)
// * floating pointe literal (e.g. 1.2, 1.2f, .2, 1., 1.2e10, 1.2e-10)
begin: /(\b0x[\d_]*(\.[\d_]*)?|0x\.\d[\d_]*)p[-+]?\d+|\b0[box][a-fA-F0-9][a-fA-F0-9_]*|(\b\d[\d_]*(\.[\d_]*)?|\.\d[\d_]*)([eEfF][-+]?\d+)?/,
relevance: 0
};
const CHAR = {
className: 'string',
begin: /'(.|\\[xXuU][a-zA-Z0-9]+)'/
};
const INTERPOLATION = {
className: 'subst',
begin: /\$\(/,
end: /\)/,
keywords: KEYWORDS
};
const INTERPOLATED_VARIABLE = {
className: 'variable',
begin: '\\$' + VARIABLE_NAME_RE
};
// TODO: neatly escape normal code in string literal
const STRING = {
className: 'string',
contains: [
hljs.BACKSLASH_ESCAPE,
INTERPOLATION,
INTERPOLATED_VARIABLE
],
variants: [
{
begin: /\w*"""/,
end: /"""\w*/,
relevance: 10
},
{
begin: /\w*"/,
end: /"\w*/
}
]
};
const COMMAND = {
className: 'string',
contains: [
hljs.BACKSLASH_ESCAPE,
INTERPOLATION,
INTERPOLATED_VARIABLE
],
begin: '`',
end: '`'
};
const MACROCALL = {
className: 'meta',
begin: '@' + VARIABLE_NAME_RE
};
const COMMENT = {
className: 'comment',
variants: [
{
begin: '#=',
end: '=#',
relevance: 10
},
{
begin: '#',
end: '$'
}
]
};
DEFAULT.name = 'Julia';
DEFAULT.contains = [
NUMBER,
CHAR,
STRING,
COMMAND,
MACROCALL,
COMMENT,
hljs.HASH_COMMENT_MODE,
{
className: 'keyword',
begin:
'\\b(((abstract|primitive)\\s+)type|(mutable\\s+)?struct)\\b'
},
{ begin: /<:/ } // relevance booster
];
INTERPOLATION.contains = DEFAULT.contains;
return DEFAULT;
}
return julia;
})();
hljs.registerLanguage('julia', hljsGrammar);
})();/*! `julia-repl` grammar compiled for Highlight.js 11.11.1 */
(function(){
var hljsGrammar = (function () {
'use strict';
/*
Language: Julia REPL
Description: Julia REPL sessions
Author: Morten Piibeleht
Website: https://julialang.org
Requires: julia.js
Category: scientific
The Julia REPL code blocks look something like the following:
julia> function foo(x)
x + 1
end
foo (generic function with 1 method)
They start on a new line with "julia>". Usually there should also be a space after this, but
we also allow the code to start right after the > character. The code may run over multiple
lines, but the additional lines must start with six spaces (i.e. be indented to match
"julia>"). The rest of the code is assumed to be output from the executed code and will be
left un-highlighted.
Using simply spaces to identify line continuations may get a false-positive if the output
also prints out six spaces, but such cases should be rare.
*/
function juliaRepl(hljs) {
return {
name: 'Julia REPL',
contains: [
{
className: 'meta.prompt',
begin: /^julia>/,
relevance: 10,
starts: {
// end the highlighting if we are on a new line and the line does not have at
// least six spaces in the beginning
end: /^(?![ ]{6})/,
subLanguage: 'julia'
},
},
],
// jldoctest Markdown blocks are used in the Julia manual and package docs indicate
// code snippets that should be verified when the documentation is built. They can be
// either REPL-like or script-like, but are usually REPL-like and therefore we apply
// julia-repl highlighting to them. More information can be found in Documenter's
// manual: https://juliadocs.github.io/Documenter.jl/latest/man/doctests.html
aliases: [ 'jldoctest' ],
};
}
return juliaRepl;
})();
hljs.registerLanguage('julia-repl', hljsGrammar);
})();/*! `kotlin` grammar compiled for Highlight.js 11.11.1 */
(function(){
var hljsGrammar = (function () {
'use strict';
// https://docs.oracle.com/javase/specs/jls/se15/html/jls-3.html#jls-3.10
var decimalDigits = '[0-9](_*[0-9])*';
var frac = `\\.(${decimalDigits})`;
var hexDigits = '[0-9a-fA-F](_*[0-9a-fA-F])*';
var NUMERIC = {
className: 'number',
variants: [
// DecimalFloatingPointLiteral
// including ExponentPart
{ begin: `(\\b(${decimalDigits})((${frac})|\\.)?|(${frac}))` +
`[eE][+-]?(${decimalDigits})[fFdD]?\\b` },
// excluding ExponentPart
{ begin: `\\b(${decimalDigits})((${frac})[fFdD]?\\b|\\.([fFdD]\\b)?)` },
{ begin: `(${frac})[fFdD]?\\b` },
{ begin: `\\b(${decimalDigits})[fFdD]\\b` },
// HexadecimalFloatingPointLiteral
{ begin: `\\b0[xX]((${hexDigits})\\.?|(${hexDigits})?\\.(${hexDigits}))` +
`[pP][+-]?(${decimalDigits})[fFdD]?\\b` },
// DecimalIntegerLiteral
{ begin: '\\b(0|[1-9](_*[0-9])*)[lL]?\\b' },
// HexIntegerLiteral
{ begin: `\\b0[xX](${hexDigits})[lL]?\\b` },
// OctalIntegerLiteral
{ begin: '\\b0(_*[0-7])*[lL]?\\b' },
// BinaryIntegerLiteral
{ begin: '\\b0[bB][01](_*[01])*[lL]?\\b' },
],
relevance: 0
};
/*
Language: Kotlin
Description: Kotlin is an OSS statically typed programming language that targets the JVM, Android, JavaScript and Native.
Author: Sergey Mashkov
Website: https://kotlinlang.org
Category: common
*/
function kotlin(hljs) {
const KEYWORDS = {
keyword:
'abstract as val var vararg get set class object open private protected public noinline '
+ 'crossinline dynamic final enum if else do while for when throw try catch finally '
+ 'import package is in fun override companion reified inline lateinit init '
+ 'interface annotation data sealed internal infix operator out by constructor super '
+ 'tailrec where const inner suspend typealias external expect actual',
built_in:
'Byte Short Char Int Long Boolean Float Double Void Unit Nothing',
literal:
'true false null'
};
const KEYWORDS_WITH_LABEL = {
className: 'keyword',
begin: /\b(break|continue|return|this)\b/,
starts: { contains: [
{
className: 'symbol',
begin: /@\w+/
}
] }
};
const LABEL = {
className: 'symbol',
begin: hljs.UNDERSCORE_IDENT_RE + '@'
};
// for string templates
const SUBST = {
className: 'subst',
begin: /\$\{/,
end: /\}/,
contains: [ hljs.C_NUMBER_MODE ]
};
const VARIABLE = {
className: 'variable',
begin: '\\$' + hljs.UNDERSCORE_IDENT_RE
};
const STRING = {
className: 'string',
variants: [
{
begin: '"""',
end: '"""(?=[^"])',
contains: [
VARIABLE,
SUBST
]
},
// Can't use built-in modes easily, as we want to use STRING in the meta
// context as 'meta-string' and there's no syntax to remove explicitly set
// classNames in built-in modes.
{
begin: '\'',
end: '\'',
illegal: /\n/,
contains: [ hljs.BACKSLASH_ESCAPE ]
},
{
begin: '"',
end: '"',
illegal: /\n/,
contains: [
hljs.BACKSLASH_ESCAPE,
VARIABLE,
SUBST
]
}
]
};
SUBST.contains.push(STRING);
const ANNOTATION_USE_SITE = {
className: 'meta',
begin: '@(?:file|property|field|get|set|receiver|param|setparam|delegate)\\s*:(?:\\s*' + hljs.UNDERSCORE_IDENT_RE + ')?'
};
const ANNOTATION = {
className: 'meta',
begin: '@' + hljs.UNDERSCORE_IDENT_RE,
contains: [
{
begin: /\(/,
end: /\)/,
contains: [
hljs.inherit(STRING, { className: 'string' }),
"self"
]
}
]
};
// https://kotlinlang.org/docs/reference/whatsnew11.html#underscores-in-numeric-literals
// According to the doc above, the number mode of kotlin is the same as java 8,
// so the code below is copied from java.js
const KOTLIN_NUMBER_MODE = NUMERIC;
const KOTLIN_NESTED_COMMENT = hljs.COMMENT(
'/\\*', '\\*/',
{ contains: [ hljs.C_BLOCK_COMMENT_MODE ] }
);
const KOTLIN_PAREN_TYPE = { variants: [
{
className: 'type',
begin: hljs.UNDERSCORE_IDENT_RE
},
{
begin: /\(/,
end: /\)/,
contains: [] // defined later
}
] };
const KOTLIN_PAREN_TYPE2 = KOTLIN_PAREN_TYPE;
KOTLIN_PAREN_TYPE2.variants[1].contains = [ KOTLIN_PAREN_TYPE ];
KOTLIN_PAREN_TYPE.variants[1].contains = [ KOTLIN_PAREN_TYPE2 ];
return {
name: 'Kotlin',
aliases: [
'kt',
'kts'
],
keywords: KEYWORDS,
contains: [
hljs.COMMENT(
'/\\*\\*',
'\\*/',
{
relevance: 0,
contains: [
{
className: 'doctag',
begin: '@[A-Za-z]+'
}
]
}
),
hljs.C_LINE_COMMENT_MODE,
KOTLIN_NESTED_COMMENT,
KEYWORDS_WITH_LABEL,
LABEL,
ANNOTATION_USE_SITE,
ANNOTATION,
{
className: 'function',
beginKeywords: 'fun',
end: '[(]|$',
returnBegin: true,
excludeEnd: true,
keywords: KEYWORDS,
relevance: 5,
contains: [
{
begin: hljs.UNDERSCORE_IDENT_RE + '\\s*\\(',
returnBegin: true,
relevance: 0,
contains: [ hljs.UNDERSCORE_TITLE_MODE ]
},
{
className: 'type',
begin: /,
end: />/,
keywords: 'reified',
relevance: 0
},
{
className: 'params',
begin: /\(/,
end: /\)/,
endsParent: true,
keywords: KEYWORDS,
relevance: 0,
contains: [
{
begin: /:/,
end: /[=,\/]/,
endsWithParent: true,
contains: [
KOTLIN_PAREN_TYPE,
hljs.C_LINE_COMMENT_MODE,
KOTLIN_NESTED_COMMENT
],
relevance: 0
},
hljs.C_LINE_COMMENT_MODE,
KOTLIN_NESTED_COMMENT,
ANNOTATION_USE_SITE,
ANNOTATION,
STRING,
hljs.C_NUMBER_MODE
]
},
KOTLIN_NESTED_COMMENT
]
},
{
begin: [
/class|interface|trait/,
/\s+/,
hljs.UNDERSCORE_IDENT_RE
],
beginScope: {
3: "title.class"
},
keywords: 'class interface trait',
end: /[:\{(]|$/,
excludeEnd: true,
illegal: 'extends implements',
contains: [
{ beginKeywords: 'public protected internal private constructor' },
hljs.UNDERSCORE_TITLE_MODE,
{
className: 'type',
begin: /,
end: />/,
excludeBegin: true,
excludeEnd: true,
relevance: 0
},
{
className: 'type',
begin: /[,:]\s*/,
end: /[<\(,){\s]|$/,
excludeBegin: true,
returnEnd: true
},
ANNOTATION_USE_SITE,
ANNOTATION
]
},
STRING,
{
className: 'meta',
begin: "^#!/usr/bin/env",
end: '$',
illegal: '\n'
},
KOTLIN_NUMBER_MODE
]
};
}
return kotlin;
})();
hljs.registerLanguage('kotlin', hljsGrammar);
})();/*! `lasso` grammar compiled for Highlight.js 11.11.1 */
(function(){
var hljsGrammar = (function () {
'use strict';
/*
Language: Lasso
Author: Eric Knibbe
Description: Lasso is a language and server platform for database-driven web applications. This definition handles Lasso 9 syntax and LassoScript for Lasso 8.6 and earlier.
Website: http://www.lassosoft.com/What-Is-Lasso
Category: database, web
*/
function lasso(hljs) {
const LASSO_IDENT_RE = '[a-zA-Z_][\\w.]*';
const LASSO_ANGLE_RE = '<\\?(lasso(script)?|=)';
const LASSO_CLOSE_RE = '\\]|\\?>';
const LASSO_KEYWORDS = {
$pattern: LASSO_IDENT_RE + '|&[lg]t;',
literal:
'true false none minimal full all void and or not '
+ 'bw nbw ew new cn ncn lt lte gt gte eq neq rx nrx ft',
built_in:
'array date decimal duration integer map pair string tag xml null '
+ 'boolean bytes keyword list locale queue set stack staticarray '
+ 'local var variable global data self inherited currentcapture givenblock',
keyword:
'cache database_names database_schemanames database_tablenames '
+ 'define_tag define_type email_batch encode_set html_comment handle '
+ 'handle_error header if inline iterate ljax_target link '
+ 'link_currentaction link_currentgroup link_currentrecord link_detail '
+ 'link_firstgroup link_firstrecord link_lastgroup link_lastrecord '
+ 'link_nextgroup link_nextrecord link_prevgroup link_prevrecord log '
+ 'loop namespace_using output_none portal private protect records '
+ 'referer referrer repeating resultset rows search_args '
+ 'search_arguments select sort_args sort_arguments thread_atomic '
+ 'value_list while abort case else fail_if fail_ifnot fail if_empty '
+ 'if_false if_null if_true loop_abort loop_continue loop_count params '
+ 'params_up return return_value run_children soap_definetag '
+ 'soap_lastrequest soap_lastresponse tag_name ascending average by '
+ 'define descending do equals frozen group handle_failure import in '
+ 'into join let match max min on order parent protected provide public '
+ 'require returnhome skip split_thread sum take thread to trait type '
+ 'where with yield yieldhome'
};
const HTML_COMMENT = hljs.COMMENT(
'',
{ relevance: 0 }
);
const LASSO_NOPROCESS = {
className: 'meta',
begin: '\\[noprocess\\]',
starts: {
end: '\\[/noprocess\\]',
returnEnd: true,
contains: [ HTML_COMMENT ]
}
};
const LASSO_START = {
className: 'meta',
begin: '\\[/noprocess|' + LASSO_ANGLE_RE
};
const LASSO_DATAMEMBER = {
className: 'symbol',
begin: '\'' + LASSO_IDENT_RE + '\''
};
const LASSO_CODE = [
hljs.C_LINE_COMMENT_MODE,
hljs.C_BLOCK_COMMENT_MODE,
hljs.inherit(hljs.C_NUMBER_MODE, { begin: hljs.C_NUMBER_RE + '|(-?infinity|NaN)\\b' }),
hljs.inherit(hljs.APOS_STRING_MODE, { illegal: null }),
hljs.inherit(hljs.QUOTE_STRING_MODE, { illegal: null }),
{
className: 'string',
begin: '`',
end: '`'
},
{ // variables
variants: [
{ begin: '[#$]' + LASSO_IDENT_RE },
{
begin: '#',
end: '\\d+',
illegal: '\\W'
}
] },
{
className: 'type',
begin: '::\\s*',
end: LASSO_IDENT_RE,
illegal: '\\W'
},
{
className: 'params',
variants: [
{
begin: '-(?!infinity)' + LASSO_IDENT_RE,
relevance: 0
},
{ begin: '(\\.\\.\\.)' }
]
},
{
begin: /(->|\.)\s*/,
relevance: 0,
contains: [ LASSO_DATAMEMBER ]
},
{
className: 'class',
beginKeywords: 'define',
returnEnd: true,
end: '\\(|=>',
contains: [ hljs.inherit(hljs.TITLE_MODE, { begin: LASSO_IDENT_RE + '(=(?!>))?|[-+*/%](?!>)' }) ]
}
];
return {
name: 'Lasso',
aliases: [
'ls',
'lassoscript'
],
case_insensitive: true,
keywords: LASSO_KEYWORDS,
contains: [
{
className: 'meta',
begin: LASSO_CLOSE_RE,
relevance: 0,
starts: { // markup
end: '\\[|' + LASSO_ANGLE_RE,
returnEnd: true,
relevance: 0,
contains: [ HTML_COMMENT ]
}
},
LASSO_NOPROCESS,
LASSO_START,
{
className: 'meta',
begin: '\\[no_square_brackets',
starts: {
end: '\\[/no_square_brackets\\]', // not implemented in the language
keywords: LASSO_KEYWORDS,
contains: [
{
className: 'meta',
begin: LASSO_CLOSE_RE,
relevance: 0,
starts: {
end: '\\[noprocess\\]|' + LASSO_ANGLE_RE,
returnEnd: true,
contains: [ HTML_COMMENT ]
}
},
LASSO_NOPROCESS,
LASSO_START
].concat(LASSO_CODE)
}
},
{
className: 'meta',
begin: '\\[',
relevance: 0
},
{
className: 'meta',
begin: '^#!',
end: 'lasso9$',
relevance: 10
}
].concat(LASSO_CODE)
};
}
return lasso;
})();
hljs.registerLanguage('lasso', hljsGrammar);
})();/*! `latex` grammar compiled for Highlight.js 11.11.1 */
(function(){
var hljsGrammar = (function () {
'use strict';
/*
Language: LaTeX
Author: Benedikt Wilde
Website: https://www.latex-project.org
Category: markup
*/
/** @type LanguageFn */
function latex(hljs) {
const regex = hljs.regex;
const KNOWN_CONTROL_WORDS = regex.either(...[
'(?:NeedsTeXFormat|RequirePackage|GetIdInfo)',
'Provides(?:Expl)?(?:Package|Class|File)',
'(?:DeclareOption|ProcessOptions)',
'(?:documentclass|usepackage|input|include)',
'makeat(?:letter|other)',
'ExplSyntax(?:On|Off)',
'(?:new|renew|provide)?command',
'(?:re)newenvironment',
'(?:New|Renew|Provide|Declare)(?:Expandable)?DocumentCommand',
'(?:New|Renew|Provide|Declare)DocumentEnvironment',
'(?:(?:e|g|x)?def|let)',
'(?:begin|end)',
'(?:part|chapter|(?:sub){0,2}section|(?:sub)?paragraph)',
'caption',
'(?:label|(?:eq|page|name)?ref|(?:paren|foot|super)?cite)',
'(?:alpha|beta|[Gg]amma|[Dd]elta|(?:var)?epsilon|zeta|eta|[Tt]heta|vartheta)',
'(?:iota|(?:var)?kappa|[Ll]ambda|mu|nu|[Xx]i|[Pp]i|varpi|(?:var)rho)',
'(?:[Ss]igma|varsigma|tau|[Uu]psilon|[Pp]hi|varphi|chi|[Pp]si|[Oo]mega)',
'(?:frac|sum|prod|lim|infty|times|sqrt|leq|geq|left|right|middle|[bB]igg?)',
'(?:[lr]angle|q?quad|[lcvdi]?dots|d?dot|hat|tilde|bar)'
].map(word => word + '(?![a-zA-Z@:_])'));
const L3_REGEX = new RegExp([
// A function \module_function_name:signature or \__module_function_name:signature,
// where both module and function_name need at least two characters and
// function_name may contain single underscores.
'(?:__)?[a-zA-Z]{2,}_[a-zA-Z](?:_?[a-zA-Z])+:[a-zA-Z]*',
// A variable \scope_module_and_name_type or \scope__module_ane_name_type,
// where scope is one of l, g or c, type needs at least two characters
// and module_and_name may contain single underscores.
'[lgc]__?[a-zA-Z](?:_?[a-zA-Z])*_[a-zA-Z]{2,}',
// A quark \q_the_name or \q__the_name or
// scan mark \s_the_name or \s__vthe_name,
// where variable_name needs at least two characters and
// may contain single underscores.
'[qs]__?[a-zA-Z](?:_?[a-zA-Z])+',
// Other LaTeX3 macro names that are not covered by the three rules above.
'use(?:_i)?:[a-zA-Z]*',
'(?:else|fi|or):',
'(?:if|cs|exp):w',
'(?:hbox|vbox):n',
'::[a-zA-Z]_unbraced',
'::[a-zA-Z:]'
].map(pattern => pattern + '(?![a-zA-Z:_])').join('|'));
const L2_VARIANTS = [
{ begin: /[a-zA-Z@]+/ }, // control word
{ begin: /[^a-zA-Z@]?/ } // control symbol
];
const DOUBLE_CARET_VARIANTS = [
{ begin: /\^{6}[0-9a-f]{6}/ },
{ begin: /\^{5}[0-9a-f]{5}/ },
{ begin: /\^{4}[0-9a-f]{4}/ },
{ begin: /\^{3}[0-9a-f]{3}/ },
{ begin: /\^{2}[0-9a-f]{2}/ },
{ begin: /\^{2}[\u0000-\u007f]/ }
];
const CONTROL_SEQUENCE = {
className: 'keyword',
begin: /\\/,
relevance: 0,
contains: [
{
endsParent: true,
begin: KNOWN_CONTROL_WORDS
},
{
endsParent: true,
begin: L3_REGEX
},
{
endsParent: true,
variants: DOUBLE_CARET_VARIANTS
},
{
endsParent: true,
relevance: 0,
variants: L2_VARIANTS
}
]
};
const MACRO_PARAM = {
className: 'params',
relevance: 0,
begin: /#+\d?/
};
const DOUBLE_CARET_CHAR = {
// relevance: 1
variants: DOUBLE_CARET_VARIANTS };
const SPECIAL_CATCODE = {
className: 'built_in',
relevance: 0,
begin: /[$&^_]/
};
const MAGIC_COMMENT = {
className: 'meta',
begin: /% ?!(T[eE]X|tex|BIB|bib)/,
end: '$',
relevance: 10
};
const COMMENT = hljs.COMMENT(
'%',
'$',
{ relevance: 0 }
);
const EVERYTHING_BUT_VERBATIM = [
CONTROL_SEQUENCE,
MACRO_PARAM,
DOUBLE_CARET_CHAR,
SPECIAL_CATCODE,
MAGIC_COMMENT,
COMMENT
];
const BRACE_GROUP_NO_VERBATIM = {
begin: /\{/,
end: /\}/,
relevance: 0,
contains: [
'self',
...EVERYTHING_BUT_VERBATIM
]
};
const ARGUMENT_BRACES = hljs.inherit(
BRACE_GROUP_NO_VERBATIM,
{
relevance: 0,
endsParent: true,
contains: [
BRACE_GROUP_NO_VERBATIM,
...EVERYTHING_BUT_VERBATIM
]
}
);
const ARGUMENT_BRACKETS = {
begin: /\[/,
end: /\]/,
endsParent: true,
relevance: 0,
contains: [
BRACE_GROUP_NO_VERBATIM,
...EVERYTHING_BUT_VERBATIM
]
};
const SPACE_GOBBLER = {
begin: /\s+/,
relevance: 0
};
const ARGUMENT_M = [ ARGUMENT_BRACES ];
const ARGUMENT_O = [ ARGUMENT_BRACKETS ];
const ARGUMENT_AND_THEN = function(arg, starts_mode) {
return {
contains: [ SPACE_GOBBLER ],
starts: {
relevance: 0,
contains: arg,
starts: starts_mode
}
};
};
const CSNAME = function(csname, starts_mode) {
return {
begin: '\\\\' + csname + '(?![a-zA-Z@:_])',
keywords: {
$pattern: /\\[a-zA-Z]+/,
keyword: '\\' + csname
},
relevance: 0,
contains: [ SPACE_GOBBLER ],
starts: starts_mode
};
};
const BEGIN_ENV = function(envname, starts_mode) {
return hljs.inherit(
{
begin: '\\\\begin(?=[ \t]*(\\r?\\n[ \t]*)?\\{' + envname + '\\})',
keywords: {
$pattern: /\\[a-zA-Z]+/,
keyword: '\\begin'
},
relevance: 0,
},
ARGUMENT_AND_THEN(ARGUMENT_M, starts_mode)
);
};
const VERBATIM_DELIMITED_EQUAL = (innerName = "string") => {
return hljs.END_SAME_AS_BEGIN({
className: innerName,
begin: /(.|\r?\n)/,
end: /(.|\r?\n)/,
excludeBegin: true,
excludeEnd: true,
endsParent: true
});
};
const VERBATIM_DELIMITED_ENV = function(envname) {
return {
className: 'string',
end: '(?=\\\\end\\{' + envname + '\\})'
};
};
const VERBATIM_DELIMITED_BRACES = (innerName = "string") => {
return {
relevance: 0,
begin: /\{/,
starts: {
endsParent: true,
contains: [
{
className: innerName,
end: /(?=\})/,
endsParent: true,
contains: [
{
begin: /\{/,
end: /\}/,
relevance: 0,
contains: [ "self" ]
}
],
}
]
}
};
};
const VERBATIM = [
...[
'verb',
'lstinline'
].map(csname => CSNAME(csname, { contains: [ VERBATIM_DELIMITED_EQUAL() ] })),
CSNAME('mint', ARGUMENT_AND_THEN(ARGUMENT_M, { contains: [ VERBATIM_DELIMITED_EQUAL() ] })),
CSNAME('mintinline', ARGUMENT_AND_THEN(ARGUMENT_M, { contains: [
VERBATIM_DELIMITED_BRACES(),
VERBATIM_DELIMITED_EQUAL()
] })),
CSNAME('url', { contains: [
VERBATIM_DELIMITED_BRACES("link"),
VERBATIM_DELIMITED_BRACES("link")
] }),
CSNAME('hyperref', { contains: [ VERBATIM_DELIMITED_BRACES("link") ] }),
CSNAME('href', ARGUMENT_AND_THEN(ARGUMENT_O, { contains: [ VERBATIM_DELIMITED_BRACES("link") ] })),
...[].concat(...[
'',
'\\*'
].map(suffix => [
BEGIN_ENV('verbatim' + suffix, VERBATIM_DELIMITED_ENV('verbatim' + suffix)),
BEGIN_ENV('filecontents' + suffix, ARGUMENT_AND_THEN(ARGUMENT_M, VERBATIM_DELIMITED_ENV('filecontents' + suffix))),
...[
'',
'B',
'L'
].map(prefix =>
BEGIN_ENV(prefix + 'Verbatim' + suffix, ARGUMENT_AND_THEN(ARGUMENT_O, VERBATIM_DELIMITED_ENV(prefix + 'Verbatim' + suffix)))
)
])),
BEGIN_ENV('minted', ARGUMENT_AND_THEN(ARGUMENT_O, ARGUMENT_AND_THEN(ARGUMENT_M, VERBATIM_DELIMITED_ENV('minted')))),
];
return {
name: 'LaTeX',
aliases: [ 'tex' ],
contains: [
...VERBATIM,
...EVERYTHING_BUT_VERBATIM
]
};
}
return latex;
})();
hljs.registerLanguage('latex', hljsGrammar);
})();/*! `ldif` grammar compiled for Highlight.js 11.11.1 */
(function(){
var hljsGrammar = (function () {
'use strict';
/*
Language: LDIF
Contributors: Jacob Childress
Category: enterprise, config
Website: https://en.wikipedia.org/wiki/LDAP_Data_Interchange_Format
*/
/** @type LanguageFn */
function ldif(hljs) {
return {
name: 'LDIF',
contains: [
{
className: 'attribute',
match: '^dn(?=:)',
relevance: 10
},
{
className: 'attribute',
match: '^\\w+(?=:)'
},
{
className: 'literal',
match: '^-'
},
hljs.HASH_COMMENT_MODE
]
};
}
return ldif;
})();
hljs.registerLanguage('ldif', hljsGrammar);
})();/*! `leaf` grammar compiled for Highlight.js 11.11.1 */
(function(){
var hljsGrammar = (function () {
'use strict';
/*
Language: Leaf
Description: A Swift-based templating language created for the Vapor project.
Website: https://docs.vapor.codes/leaf/overview
Category: template
*/
function leaf(hljs) {
const IDENT = /([A-Za-z_][A-Za-z_0-9]*)?/;
const LITERALS = [
'true',
'false',
'in'
];
const PARAMS = {
scope: 'params',
begin: /\(/,
end: /\)(?=\:?)/,
endsParent: true,
relevance: 7,
contains: [
{
scope: 'string',
begin: '"',
end: '"'
},
{
scope: 'keyword',
match: LITERALS.join("|"),
},
{
scope: 'variable',
match: /[A-Za-z_][A-Za-z_0-9]*/
},
{
scope: 'operator',
match: /\+|\-|\*|\/|\%|\=\=|\=|\!|\>|\<|\&\&|\|\|/
}
]
};
const INSIDE_DISPATCH = {
match: [
IDENT,
/(?=\()/,
],
scope: {
1: "keyword"
},
contains: [ PARAMS ]
};
PARAMS.contains.unshift(INSIDE_DISPATCH);
return {
name: 'Leaf',
contains: [
// #ident():
{
match: [
/#+/,
IDENT,
/(?=\()/,
],
scope: {
1: "punctuation",
2: "keyword"
},
// will start up after the ending `)` match from line ~44
// just to grab the trailing `:` if we can match it
starts: {
contains: [
{
match: /\:/,
scope: "punctuation"
}
]
},
contains: [
PARAMS
],
},
// #ident or #ident:
{
match: [
/#+/,
IDENT,
/:?/,
],
scope: {
1: "punctuation",
2: "keyword",
3: "punctuation"
}
},
]
};
}
return leaf;
})();
hljs.registerLanguage('leaf', hljsGrammar);
})();/*! `less` grammar compiled for Highlight.js 11.11.1 */
(function(){
var hljsGrammar = (function () {
'use strict';
const MODES = (hljs) => {
return {
IMPORTANT: {
scope: 'meta',
begin: '!important'
},
BLOCK_COMMENT: hljs.C_BLOCK_COMMENT_MODE,
HEXCOLOR: {
scope: 'number',
begin: /#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/
},
FUNCTION_DISPATCH: {
className: "built_in",
begin: /[\w-]+(?=\()/
},
ATTRIBUTE_SELECTOR_MODE: {
scope: 'selector-attr',
begin: /\[/,
end: /\]/,
illegal: '$',
contains: [
hljs.APOS_STRING_MODE,
hljs.QUOTE_STRING_MODE
]
},
CSS_NUMBER_MODE: {
scope: 'number',
begin: hljs.NUMBER_RE + '(' +
'%|em|ex|ch|rem' +
'|vw|vh|vmin|vmax' +
'|cm|mm|in|pt|pc|px' +
'|deg|grad|rad|turn' +
'|s|ms' +
'|Hz|kHz' +
'|dpi|dpcm|dppx' +
')?',
relevance: 0
},
CSS_VARIABLE: {
className: "attr",
begin: /--[A-Za-z_][A-Za-z0-9_-]*/
}
};
};
const HTML_TAGS = [
'a',
'abbr',
'address',
'article',
'aside',
'audio',
'b',
'blockquote',
'body',
'button',
'canvas',
'caption',
'cite',
'code',
'dd',
'del',
'details',
'dfn',
'div',
'dl',
'dt',
'em',
'fieldset',
'figcaption',
'figure',
'footer',
'form',
'h1',
'h2',
'h3',
'h4',
'h5',
'h6',
'header',
'hgroup',
'html',
'i',
'iframe',
'img',
'input',
'ins',
'kbd',
'label',
'legend',
'li',
'main',
'mark',
'menu',
'nav',
'object',
'ol',
'optgroup',
'option',
'p',
'picture',
'q',
'quote',
'samp',
'section',
'select',
'source',
'span',
'strong',
'summary',
'sup',
'table',
'tbody',
'td',
'textarea',
'tfoot',
'th',
'thead',
'time',
'tr',
'ul',
'var',
'video'
];
const SVG_TAGS = [
'defs',
'g',
'marker',
'mask',
'pattern',
'svg',
'switch',
'symbol',
'feBlend',
'feColorMatrix',
'feComponentTransfer',
'feComposite',
'feConvolveMatrix',
'feDiffuseLighting',
'feDisplacementMap',
'feFlood',
'feGaussianBlur',
'feImage',
'feMerge',
'feMorphology',
'feOffset',
'feSpecularLighting',
'feTile',
'feTurbulence',
'linearGradient',
'radialGradient',
'stop',
'circle',
'ellipse',
'image',
'line',
'path',
'polygon',
'polyline',
'rect',
'text',
'use',
'textPath',
'tspan',
'foreignObject',
'clipPath'
];
const TAGS = [
...HTML_TAGS,
...SVG_TAGS,
];
// Sorting, then reversing makes sure longer attributes/elements like
// `font-weight` are matched fully instead of getting false positives on say `font`
const MEDIA_FEATURES = [
'any-hover',
'any-pointer',
'aspect-ratio',
'color',
'color-gamut',
'color-index',
'device-aspect-ratio',
'device-height',
'device-width',
'display-mode',
'forced-colors',
'grid',
'height',
'hover',
'inverted-colors',
'monochrome',
'orientation',
'overflow-block',
'overflow-inline',
'pointer',
'prefers-color-scheme',
'prefers-contrast',
'prefers-reduced-motion',
'prefers-reduced-transparency',
'resolution',
'scan',
'scripting',
'update',
'width',
// TODO: find a better solution?
'min-width',
'max-width',
'min-height',
'max-height'
].sort().reverse();
// https://developer.mozilla.org/en-US/docs/Web/CSS/Pseudo-classes
const PSEUDO_CLASSES = [
'active',
'any-link',
'blank',
'checked',
'current',
'default',
'defined',
'dir', // dir()
'disabled',
'drop',
'empty',
'enabled',
'first',
'first-child',
'first-of-type',
'fullscreen',
'future',
'focus',
'focus-visible',
'focus-within',
'has', // has()
'host', // host or host()
'host-context', // host-context()
'hover',
'indeterminate',
'in-range',
'invalid',
'is', // is()
'lang', // lang()
'last-child',
'last-of-type',
'left',
'link',
'local-link',
'not', // not()
'nth-child', // nth-child()
'nth-col', // nth-col()
'nth-last-child', // nth-last-child()
'nth-last-col', // nth-last-col()
'nth-last-of-type', //nth-last-of-type()
'nth-of-type', //nth-of-type()
'only-child',
'only-of-type',
'optional',
'out-of-range',
'past',
'placeholder-shown',
'read-only',
'read-write',
'required',
'right',
'root',
'scope',
'target',
'target-within',
'user-invalid',
'valid',
'visited',
'where' // where()
].sort().reverse();
// https://developer.mozilla.org/en-US/docs/Web/CSS/Pseudo-elements
const PSEUDO_ELEMENTS = [
'after',
'backdrop',
'before',
'cue',
'cue-region',
'first-letter',
'first-line',
'grammar-error',
'marker',
'part',
'placeholder',
'selection',
'slotted',
'spelling-error'
].sort().reverse();
const ATTRIBUTES = [
'accent-color',
'align-content',
'align-items',
'align-self',
'alignment-baseline',
'all',
'anchor-name',
'animation',
'animation-composition',
'animation-delay',
'animation-direction',
'animation-duration',
'animation-fill-mode',
'animation-iteration-count',
'animation-name',
'animation-play-state',
'animation-range',
'animation-range-end',
'animation-range-start',
'animation-timeline',
'animation-timing-function',
'appearance',
'aspect-ratio',
'backdrop-filter',
'backface-visibility',
'background',
'background-attachment',
'background-blend-mode',
'background-clip',
'background-color',
'background-image',
'background-origin',
'background-position',
'background-position-x',
'background-position-y',
'background-repeat',
'background-size',
'baseline-shift',
'block-size',
'border',
'border-block',
'border-block-color',
'border-block-end',
'border-block-end-color',
'border-block-end-style',
'border-block-end-width',
'border-block-start',
'border-block-start-color',
'border-block-start-style',
'border-block-start-width',
'border-block-style',
'border-block-width',
'border-bottom',
'border-bottom-color',
'border-bottom-left-radius',
'border-bottom-right-radius',
'border-bottom-style',
'border-bottom-width',
'border-collapse',
'border-color',
'border-end-end-radius',
'border-end-start-radius',
'border-image',
'border-image-outset',
'border-image-repeat',
'border-image-slice',
'border-image-source',
'border-image-width',
'border-inline',
'border-inline-color',
'border-inline-end',
'border-inline-end-color',
'border-inline-end-style',
'border-inline-end-width',
'border-inline-start',
'border-inline-start-color',
'border-inline-start-style',
'border-inline-start-width',
'border-inline-style',
'border-inline-width',
'border-left',
'border-left-color',
'border-left-style',
'border-left-width',
'border-radius',
'border-right',
'border-right-color',
'border-right-style',
'border-right-width',
'border-spacing',
'border-start-end-radius',
'border-start-start-radius',
'border-style',
'border-top',
'border-top-color',
'border-top-left-radius',
'border-top-right-radius',
'border-top-style',
'border-top-width',
'border-width',
'bottom',
'box-align',
'box-decoration-break',
'box-direction',
'box-flex',
'box-flex-group',
'box-lines',
'box-ordinal-group',
'box-orient',
'box-pack',
'box-shadow',
'box-sizing',
'break-after',
'break-before',
'break-inside',
'caption-side',
'caret-color',
'clear',
'clip',
'clip-path',
'clip-rule',
'color',
'color-interpolation',
'color-interpolation-filters',
'color-profile',
'color-rendering',
'color-scheme',
'column-count',
'column-fill',
'column-gap',
'column-rule',
'column-rule-color',
'column-rule-style',
'column-rule-width',
'column-span',
'column-width',
'columns',
'contain',
'contain-intrinsic-block-size',
'contain-intrinsic-height',
'contain-intrinsic-inline-size',
'contain-intrinsic-size',
'contain-intrinsic-width',
'container',
'container-name',
'container-type',
'content',
'content-visibility',
'counter-increment',
'counter-reset',
'counter-set',
'cue',
'cue-after',
'cue-before',
'cursor',
'cx',
'cy',
'direction',
'display',
'dominant-baseline',
'empty-cells',
'enable-background',
'field-sizing',
'fill',
'fill-opacity',
'fill-rule',
'filter',
'flex',
'flex-basis',
'flex-direction',
'flex-flow',
'flex-grow',
'flex-shrink',
'flex-wrap',
'float',
'flood-color',
'flood-opacity',
'flow',
'font',
'font-display',
'font-family',
'font-feature-settings',
'font-kerning',
'font-language-override',
'font-optical-sizing',
'font-palette',
'font-size',
'font-size-adjust',
'font-smooth',
'font-smoothing',
'font-stretch',
'font-style',
'font-synthesis',
'font-synthesis-position',
'font-synthesis-small-caps',
'font-synthesis-style',
'font-synthesis-weight',
'font-variant',
'font-variant-alternates',
'font-variant-caps',
'font-variant-east-asian',
'font-variant-emoji',
'font-variant-ligatures',
'font-variant-numeric',
'font-variant-position',
'font-variation-settings',
'font-weight',
'forced-color-adjust',
'gap',
'glyph-orientation-horizontal',
'glyph-orientation-vertical',
'grid',
'grid-area',
'grid-auto-columns',
'grid-auto-flow',
'grid-auto-rows',
'grid-column',
'grid-column-end',
'grid-column-start',
'grid-gap',
'grid-row',
'grid-row-end',
'grid-row-start',
'grid-template',
'grid-template-areas',
'grid-template-columns',
'grid-template-rows',
'hanging-punctuation',
'height',
'hyphenate-character',
'hyphenate-limit-chars',
'hyphens',
'icon',
'image-orientation',
'image-rendering',
'image-resolution',
'ime-mode',
'initial-letter',
'initial-letter-align',
'inline-size',
'inset',
'inset-area',
'inset-block',
'inset-block-end',
'inset-block-start',
'inset-inline',
'inset-inline-end',
'inset-inline-start',
'isolation',
'justify-content',
'justify-items',
'justify-self',
'kerning',
'left',
'letter-spacing',
'lighting-color',
'line-break',
'line-height',
'line-height-step',
'list-style',
'list-style-image',
'list-style-position',
'list-style-type',
'margin',
'margin-block',
'margin-block-end',
'margin-block-start',
'margin-bottom',
'margin-inline',
'margin-inline-end',
'margin-inline-start',
'margin-left',
'margin-right',
'margin-top',
'margin-trim',
'marker',
'marker-end',
'marker-mid',
'marker-start',
'marks',
'mask',
'mask-border',
'mask-border-mode',
'mask-border-outset',
'mask-border-repeat',
'mask-border-slice',
'mask-border-source',
'mask-border-width',
'mask-clip',
'mask-composite',
'mask-image',
'mask-mode',
'mask-origin',
'mask-position',
'mask-repeat',
'mask-size',
'mask-type',
'masonry-auto-flow',
'math-depth',
'math-shift',
'math-style',
'max-block-size',
'max-height',
'max-inline-size',
'max-width',
'min-block-size',
'min-height',
'min-inline-size',
'min-width',
'mix-blend-mode',
'nav-down',
'nav-index',
'nav-left',
'nav-right',
'nav-up',
'none',
'normal',
'object-fit',
'object-position',
'offset',
'offset-anchor',
'offset-distance',
'offset-path',
'offset-position',
'offset-rotate',
'opacity',
'order',
'orphans',
'outline',
'outline-color',
'outline-offset',
'outline-style',
'outline-width',
'overflow',
'overflow-anchor',
'overflow-block',
'overflow-clip-margin',
'overflow-inline',
'overflow-wrap',
'overflow-x',
'overflow-y',
'overlay',
'overscroll-behavior',
'overscroll-behavior-block',
'overscroll-behavior-inline',
'overscroll-behavior-x',
'overscroll-behavior-y',
'padding',
'padding-block',
'padding-block-end',
'padding-block-start',
'padding-bottom',
'padding-inline',
'padding-inline-end',
'padding-inline-start',
'padding-left',
'padding-right',
'padding-top',
'page',
'page-break-after',
'page-break-before',
'page-break-inside',
'paint-order',
'pause',
'pause-after',
'pause-before',
'perspective',
'perspective-origin',
'place-content',
'place-items',
'place-self',
'pointer-events',
'position',
'position-anchor',
'position-visibility',
'print-color-adjust',
'quotes',
'r',
'resize',
'rest',
'rest-after',
'rest-before',
'right',
'rotate',
'row-gap',
'ruby-align',
'ruby-position',
'scale',
'scroll-behavior',
'scroll-margin',
'scroll-margin-block',
'scroll-margin-block-end',
'scroll-margin-block-start',
'scroll-margin-bottom',
'scroll-margin-inline',
'scroll-margin-inline-end',
'scroll-margin-inline-start',
'scroll-margin-left',
'scroll-margin-right',
'scroll-margin-top',
'scroll-padding',
'scroll-padding-block',
'scroll-padding-block-end',
'scroll-padding-block-start',
'scroll-padding-bottom',
'scroll-padding-inline',
'scroll-padding-inline-end',
'scroll-padding-inline-start',
'scroll-padding-left',
'scroll-padding-right',
'scroll-padding-top',
'scroll-snap-align',
'scroll-snap-stop',
'scroll-snap-type',
'scroll-timeline',
'scroll-timeline-axis',
'scroll-timeline-name',
'scrollbar-color',
'scrollbar-gutter',
'scrollbar-width',
'shape-image-threshold',
'shape-margin',
'shape-outside',
'shape-rendering',
'speak',
'speak-as',
'src', // @font-face
'stop-color',
'stop-opacity',
'stroke',
'stroke-dasharray',
'stroke-dashoffset',
'stroke-linecap',
'stroke-linejoin',
'stroke-miterlimit',
'stroke-opacity',
'stroke-width',
'tab-size',
'table-layout',
'text-align',
'text-align-all',
'text-align-last',
'text-anchor',
'text-combine-upright',
'text-decoration',
'text-decoration-color',
'text-decoration-line',
'text-decoration-skip',
'text-decoration-skip-ink',
'text-decoration-style',
'text-decoration-thickness',
'text-emphasis',
'text-emphasis-color',
'text-emphasis-position',
'text-emphasis-style',
'text-indent',
'text-justify',
'text-orientation',
'text-overflow',
'text-rendering',
'text-shadow',
'text-size-adjust',
'text-transform',
'text-underline-offset',
'text-underline-position',
'text-wrap',
'text-wrap-mode',
'text-wrap-style',
'timeline-scope',
'top',
'touch-action',
'transform',
'transform-box',
'transform-origin',
'transform-style',
'transition',
'transition-behavior',
'transition-delay',
'transition-duration',
'transition-property',
'transition-timing-function',
'translate',
'unicode-bidi',
'user-modify',
'user-select',
'vector-effect',
'vertical-align',
'view-timeline',
'view-timeline-axis',
'view-timeline-inset',
'view-timeline-name',
'view-transition-name',
'visibility',
'voice-balance',
'voice-duration',
'voice-family',
'voice-pitch',
'voice-range',
'voice-rate',
'voice-stress',
'voice-volume',
'white-space',
'white-space-collapse',
'widows',
'width',
'will-change',
'word-break',
'word-spacing',
'word-wrap',
'writing-mode',
'x',
'y',
'z-index',
'zoom'
].sort().reverse();
// some grammars use them all as a single group
const PSEUDO_SELECTORS = PSEUDO_CLASSES.concat(PSEUDO_ELEMENTS).sort().reverse();
/*
Language: Less
Description: It's CSS, with just a little more.
Author: Max Mikhailov
Website: http://lesscss.org
Category: common, css, web
*/
/** @type LanguageFn */
function less(hljs) {
const modes = MODES(hljs);
const PSEUDO_SELECTORS$1 = PSEUDO_SELECTORS;
const AT_MODIFIERS = "and or not only";
const IDENT_RE = '[\\w-]+'; // yes, Less identifiers may begin with a digit
const INTERP_IDENT_RE = '(' + IDENT_RE + '|@\\{' + IDENT_RE + '\\})';
/* Generic Modes */
const RULES = []; const VALUE_MODES = []; // forward def. for recursive modes
const STRING_MODE = function(c) {
return {
// Less strings are not multiline (also include '~' for more consistent coloring of "escaped" strings)
className: 'string',
begin: '~?' + c + '.*?' + c
};
};
const IDENT_MODE = function(name, begin, relevance) {
return {
className: name,
begin: begin,
relevance: relevance
};
};
const AT_KEYWORDS = {
$pattern: /[a-z-]+/,
keyword: AT_MODIFIERS,
attribute: MEDIA_FEATURES.join(" ")
};
const PARENS_MODE = {
// used only to properly balance nested parens inside mixin call, def. arg list
begin: '\\(',
end: '\\)',
contains: VALUE_MODES,
keywords: AT_KEYWORDS,
relevance: 0
};
// generic Less highlighter (used almost everywhere except selectors):
VALUE_MODES.push(
hljs.C_LINE_COMMENT_MODE,
hljs.C_BLOCK_COMMENT_MODE,
STRING_MODE("'"),
STRING_MODE('"'),
modes.CSS_NUMBER_MODE, // fixme: it does not include dot for numbers like .5em :(
{
begin: '(url|data-uri)\\(',
starts: {
className: 'string',
end: '[\\)\\n]',
excludeEnd: true
}
},
modes.HEXCOLOR,
PARENS_MODE,
IDENT_MODE('variable', '@@?' + IDENT_RE, 10),
IDENT_MODE('variable', '@\\{' + IDENT_RE + '\\}'),
IDENT_MODE('built_in', '~?`[^`]*?`'), // inline javascript (or whatever host language) *multiline* string
{ // @media features (it’s here to not duplicate things in AT_RULE_MODE with extra PARENS_MODE overriding):
className: 'attribute',
begin: IDENT_RE + '\\s*:',
end: ':',
returnBegin: true,
excludeEnd: true
},
modes.IMPORTANT,
{ beginKeywords: 'and not' },
modes.FUNCTION_DISPATCH
);
const VALUE_WITH_RULESETS = VALUE_MODES.concat({
begin: /\{/,
end: /\}/,
contains: RULES
});
const MIXIN_GUARD_MODE = {
beginKeywords: 'when',
endsWithParent: true,
contains: [ { beginKeywords: 'and not' } ].concat(VALUE_MODES) // using this form to override VALUE’s 'function' match
};
/* Rule-Level Modes */
const RULE_MODE = {
begin: INTERP_IDENT_RE + '\\s*:',
returnBegin: true,
end: /[;}]/,
relevance: 0,
contains: [
{ begin: /-(webkit|moz|ms|o)-/ },
modes.CSS_VARIABLE,
{
className: 'attribute',
begin: '\\b(' + ATTRIBUTES.join('|') + ')\\b',
end: /(?=:)/,
starts: {
endsWithParent: true,
illegal: '[<=$]',
relevance: 0,
contains: VALUE_MODES
}
}
]
};
const AT_RULE_MODE = {
className: 'keyword',
begin: '@(import|media|charset|font-face|(-[a-z]+-)?keyframes|supports|document|namespace|page|viewport|host)\\b',
starts: {
end: '[;{}]',
keywords: AT_KEYWORDS,
returnEnd: true,
contains: VALUE_MODES,
relevance: 0
}
};
// variable definitions and calls
const VAR_RULE_MODE = {
className: 'variable',
variants: [
// using more strict pattern for higher relevance to increase chances of Less detection.
// this is *the only* Less specific statement used in most of the sources, so...
// (we’ll still often loose to the css-parser unless there's '//' comment,
// simply because 1 variable just can't beat 99 properties :)
{
begin: '@' + IDENT_RE + '\\s*:',
relevance: 15
},
{ begin: '@' + IDENT_RE }
],
starts: {
end: '[;}]',
returnEnd: true,
contains: VALUE_WITH_RULESETS
}
};
const SELECTOR_MODE = {
// first parse unambiguous selectors (i.e. those not starting with tag)
// then fall into the scary lookahead-discriminator variant.
// this mode also handles mixin definitions and calls
variants: [
{
begin: '[\\.#:&\\[>]',
end: '[;{}]' // mixin calls end with ';'
},
{
begin: INTERP_IDENT_RE,
end: /\{/
}
],
returnBegin: true,
returnEnd: true,
illegal: '[<=\'$"]',
relevance: 0,
contains: [
hljs.C_LINE_COMMENT_MODE,
hljs.C_BLOCK_COMMENT_MODE,
MIXIN_GUARD_MODE,
IDENT_MODE('keyword', 'all\\b'),
IDENT_MODE('variable', '@\\{' + IDENT_RE + '\\}'), // otherwise it’s identified as tag
{
begin: '\\b(' + TAGS.join('|') + ')\\b',
className: 'selector-tag'
},
modes.CSS_NUMBER_MODE,
IDENT_MODE('selector-tag', INTERP_IDENT_RE, 0),
IDENT_MODE('selector-id', '#' + INTERP_IDENT_RE),
IDENT_MODE('selector-class', '\\.' + INTERP_IDENT_RE, 0),
IDENT_MODE('selector-tag', '&', 0),
modes.ATTRIBUTE_SELECTOR_MODE,
{
className: 'selector-pseudo',
begin: ':(' + PSEUDO_CLASSES.join('|') + ')'
},
{
className: 'selector-pseudo',
begin: ':(:)?(' + PSEUDO_ELEMENTS.join('|') + ')'
},
{
begin: /\(/,
end: /\)/,
relevance: 0,
contains: VALUE_WITH_RULESETS
}, // argument list of parametric mixins
{ begin: '!important' }, // eat !important after mixin call or it will be colored as tag
modes.FUNCTION_DISPATCH
]
};
const PSEUDO_SELECTOR_MODE = {
begin: IDENT_RE + ':(:)?' + `(${PSEUDO_SELECTORS$1.join('|')})`,
returnBegin: true,
contains: [ SELECTOR_MODE ]
};
RULES.push(
hljs.C_LINE_COMMENT_MODE,
hljs.C_BLOCK_COMMENT_MODE,
AT_RULE_MODE,
VAR_RULE_MODE,
PSEUDO_SELECTOR_MODE,
RULE_MODE,
SELECTOR_MODE,
MIXIN_GUARD_MODE,
modes.FUNCTION_DISPATCH
);
return {
name: 'Less',
case_insensitive: true,
illegal: '[=>\'/<($"]',
contains: RULES
};
}
return less;
})();
hljs.registerLanguage('less', hljsGrammar);
})();/*! `lisp` grammar compiled for Highlight.js 11.11.1 */
(function(){
var hljsGrammar = (function () {
'use strict';
/*
Language: Lisp
Description: Generic lisp syntax
Author: Vasily Polovnyov
Category: lisp
*/
function lisp(hljs) {
const LISP_IDENT_RE = '[a-zA-Z_\\-+\\*\\/<=>][a-zA-Z0-9_\\-+*\\/<=>!]*';
const MEC_RE = '\\|[^]*?\\|';
const LISP_SIMPLE_NUMBER_RE = '(-|\\+)?\\d+(\\.\\d+|\\/\\d+)?((d|e|f|l|s|D|E|F|L|S)(\\+|-)?\\d+)?';
const LITERAL = {
className: 'literal',
begin: '\\b(t{1}|nil)\\b'
};
const NUMBER = {
className: 'number',
variants: [
{
begin: LISP_SIMPLE_NUMBER_RE,
relevance: 0
},
{ begin: '#(b|B)[0-1]+(/[0-1]+)?' },
{ begin: '#(o|O)[0-7]+(/[0-7]+)?' },
{ begin: '#(x|X)[0-9a-fA-F]+(/[0-9a-fA-F]+)?' },
{
begin: '#(c|C)\\(' + LISP_SIMPLE_NUMBER_RE + ' +' + LISP_SIMPLE_NUMBER_RE,
end: '\\)'
}
]
};
const STRING = hljs.inherit(hljs.QUOTE_STRING_MODE, { illegal: null });
const COMMENT = hljs.COMMENT(
';', '$',
{ relevance: 0 }
);
const VARIABLE = {
begin: '\\*',
end: '\\*'
};
const KEYWORD = {
className: 'symbol',
begin: '[:&]' + LISP_IDENT_RE
};
const IDENT = {
begin: LISP_IDENT_RE,
relevance: 0
};
const MEC = { begin: MEC_RE };
const QUOTED_LIST = {
begin: '\\(',
end: '\\)',
contains: [
'self',
LITERAL,
STRING,
NUMBER,
IDENT
]
};
const QUOTED = {
contains: [
NUMBER,
STRING,
VARIABLE,
KEYWORD,
QUOTED_LIST,
IDENT
],
variants: [
{
begin: '[\'`]\\(',
end: '\\)'
},
{
begin: '\\(quote ',
end: '\\)',
keywords: { name: 'quote' }
},
{ begin: '\'' + MEC_RE }
]
};
const QUOTED_ATOM = { variants: [
{ begin: '\'' + LISP_IDENT_RE },
{ begin: '#\'' + LISP_IDENT_RE + '(::' + LISP_IDENT_RE + ')*' }
] };
const LIST = {
begin: '\\(\\s*',
end: '\\)'
};
const BODY = {
endsWithParent: true,
relevance: 0
};
LIST.contains = [
{
className: 'name',
variants: [
{
begin: LISP_IDENT_RE,
relevance: 0,
},
{ begin: MEC_RE }
]
},
BODY
];
BODY.contains = [
QUOTED,
QUOTED_ATOM,
LIST,
LITERAL,
NUMBER,
STRING,
COMMENT,
VARIABLE,
KEYWORD,
MEC,
IDENT
];
return {
name: 'Lisp',
illegal: /\S/,
contains: [
NUMBER,
hljs.SHEBANG(),
LITERAL,
STRING,
COMMENT,
QUOTED,
QUOTED_ATOM,
LIST,
IDENT
]
};
}
return lisp;
})();
hljs.registerLanguage('lisp', hljsGrammar);
})();/*! `livecodeserver` grammar compiled for Highlight.js 11.11.1 */
(function(){
var hljsGrammar = (function () {
'use strict';
/*
Language: LiveCode
Author: Ralf Bitter
Description: Language definition for LiveCode server accounting for revIgniter (a web application framework) characteristics.
Version: 1.1
Date: 2019-04-17
Category: enterprise
*/
function livecodeserver(hljs) {
const VARIABLE = {
className: 'variable',
variants: [
{ begin: '\\b([gtps][A-Z]{1}[a-zA-Z0-9]*)(\\[.+\\])?(?:\\s*?)' },
{ begin: '\\$_[A-Z]+' }
],
relevance: 0
};
const COMMENT_MODES = [
hljs.C_BLOCK_COMMENT_MODE,
hljs.HASH_COMMENT_MODE,
hljs.COMMENT('--', '$'),
hljs.COMMENT('[^:]//', '$')
];
const TITLE1 = hljs.inherit(hljs.TITLE_MODE, { variants: [
{ begin: '\\b_*rig[A-Z][A-Za-z0-9_\\-]*' },
{ begin: '\\b_[a-z0-9\\-]+' }
] });
const TITLE2 = hljs.inherit(hljs.TITLE_MODE, { begin: '\\b([A-Za-z0-9_\\-]+)\\b' });
return {
name: 'LiveCode',
case_insensitive: false,
keywords: {
keyword:
'$_COOKIE $_FILES $_GET $_GET_BINARY $_GET_RAW $_POST $_POST_BINARY $_POST_RAW $_SESSION $_SERVER '
+ 'codepoint codepoints segment segments codeunit codeunits sentence sentences trueWord trueWords paragraph '
+ 'after byte bytes english the until http forever descending using line real8 with seventh '
+ 'for stdout finally element word words fourth before black ninth sixth characters chars stderr '
+ 'uInt1 uInt1s uInt2 uInt2s stdin string lines relative rel any fifth items from middle mid '
+ 'at else of catch then third it file milliseconds seconds second secs sec int1 int1s int4 '
+ 'int4s internet int2 int2s normal text item last long detailed effective uInt4 uInt4s repeat '
+ 'end repeat URL in try into switch to words https token binfile each tenth as ticks tick '
+ 'system real4 by dateItems without char character ascending eighth whole dateTime numeric short '
+ 'first ftp integer abbreviated abbr abbrev private case while if '
+ 'div mod wrap and or bitAnd bitNot bitOr bitXor among not in a an within '
+ 'contains ends with begins the keys of keys',
literal:
'SIX TEN FORMFEED NINE ZERO NONE SPACE FOUR FALSE COLON CRLF PI COMMA ENDOFFILE EOF EIGHT FIVE '
+ 'QUOTE EMPTY ONE TRUE RETURN CR LINEFEED RIGHT BACKSLASH NULL SEVEN TAB THREE TWO '
+ 'six ten formfeed nine zero none space four false colon crlf pi comma endoffile eof eight five '
+ 'quote empty one true return cr linefeed right backslash null seven tab three two '
+ 'RIVERSION RISTATE FILE_READ_MODE FILE_WRITE_MODE FILE_WRITE_MODE DIR_WRITE_MODE FILE_READ_UMASK '
+ 'FILE_WRITE_UMASK DIR_READ_UMASK DIR_WRITE_UMASK',
built_in:
'put abs acos aliasReference annuity arrayDecode arrayEncode asin atan atan2 average avg avgDev base64Decode '
+ 'base64Encode baseConvert binaryDecode binaryEncode byteOffset byteToNum cachedURL cachedURLs charToNum '
+ 'cipherNames codepointOffset codepointProperty codepointToNum codeunitOffset commandNames compound compress '
+ 'constantNames cos date dateFormat decompress difference directories '
+ 'diskSpace DNSServers exp exp1 exp2 exp10 extents files flushEvents folders format functionNames geometricMean global '
+ 'globals hasMemory harmonicMean hostAddress hostAddressToName hostName hostNameToAddress isNumber ISOToMac itemOffset '
+ 'keys len length libURLErrorData libUrlFormData libURLftpCommand libURLLastHTTPHeaders libURLLastRHHeaders '
+ 'libUrlMultipartFormAddPart libUrlMultipartFormData libURLVersion lineOffset ln ln1 localNames log log2 log10 '
+ 'longFilePath lower macToISO matchChunk matchText matrixMultiply max md5Digest median merge messageAuthenticationCode messageDigest millisec '
+ 'millisecs millisecond milliseconds min monthNames nativeCharToNum normalizeText num number numToByte numToChar '
+ 'numToCodepoint numToNativeChar offset open openfiles openProcesses openProcessIDs openSockets '
+ 'paragraphOffset paramCount param params peerAddress pendingMessages platform popStdDev populationStandardDeviation '
+ 'populationVariance popVariance processID random randomBytes replaceText result revCreateXMLTree revCreateXMLTreeFromFile '
+ 'revCurrentRecord revCurrentRecordIsFirst revCurrentRecordIsLast revDatabaseColumnCount revDatabaseColumnIsNull '
+ 'revDatabaseColumnLengths revDatabaseColumnNames revDatabaseColumnNamed revDatabaseColumnNumbered '
+ 'revDatabaseColumnTypes revDatabaseConnectResult revDatabaseCursors revDatabaseID revDatabaseTableNames '
+ 'revDatabaseType revDataFromQuery revdb_closeCursor revdb_columnbynumber revdb_columncount revdb_columnisnull '
+ 'revdb_columnlengths revdb_columnnames revdb_columntypes revdb_commit revdb_connect revdb_connections '
+ 'revdb_connectionerr revdb_currentrecord revdb_cursorconnection revdb_cursorerr revdb_cursors revdb_dbtype '
+ 'revdb_disconnect revdb_execute revdb_iseof revdb_isbof revdb_movefirst revdb_movelast revdb_movenext '
+ 'revdb_moveprev revdb_query revdb_querylist revdb_recordcount revdb_rollback revdb_tablenames '
+ 'revGetDatabaseDriverPath revNumberOfRecords revOpenDatabase revOpenDatabases revQueryDatabase '
+ 'revQueryDatabaseBlob revQueryResult revQueryIsAtStart revQueryIsAtEnd revUnixFromMacPath revXMLAttribute '
+ 'revXMLAttributes revXMLAttributeValues revXMLChildContents revXMLChildNames revXMLCreateTreeFromFileWithNamespaces '
+ 'revXMLCreateTreeWithNamespaces revXMLDataFromXPathQuery revXMLEvaluateXPath revXMLFirstChild revXMLMatchingNode '
+ 'revXMLNextSibling revXMLNodeContents revXMLNumberOfChildren revXMLParent revXMLPreviousSibling '
+ 'revXMLRootNode revXMLRPC_CreateRequest revXMLRPC_Documents revXMLRPC_Error '
+ 'revXMLRPC_GetHost revXMLRPC_GetMethod revXMLRPC_GetParam revXMLText revXMLRPC_Execute '
+ 'revXMLRPC_GetParamCount revXMLRPC_GetParamNode revXMLRPC_GetParamType revXMLRPC_GetPath revXMLRPC_GetPort '
+ 'revXMLRPC_GetProtocol revXMLRPC_GetRequest revXMLRPC_GetResponse revXMLRPC_GetSocket revXMLTree '
+ 'revXMLTrees revXMLValidateDTD revZipDescribeItem revZipEnumerateItems revZipOpenArchives round sampVariance '
+ 'sec secs seconds sentenceOffset sha1Digest shell shortFilePath sin specialFolderPath sqrt standardDeviation statRound '
+ 'stdDev sum sysError systemVersion tan tempName textDecode textEncode tick ticks time to tokenOffset toLower toUpper '
+ 'transpose truewordOffset trunc uniDecode uniEncode upper URLDecode URLEncode URLStatus uuid value variableNames '
+ 'variance version waitDepth weekdayNames wordOffset xsltApplyStylesheet xsltApplyStylesheetFromFile xsltLoadStylesheet '
+ 'xsltLoadStylesheetFromFile add breakpoint cancel clear local variable file word line folder directory URL close socket process '
+ 'combine constant convert create new alias folder directory decrypt delete variable word line folder '
+ 'directory URL dispatch divide do encrypt filter get include intersect kill libURLDownloadToFile '
+ 'libURLFollowHttpRedirects libURLftpUpload libURLftpUploadFile libURLresetAll libUrlSetAuthCallback libURLSetDriver '
+ 'libURLSetCustomHTTPHeaders libUrlSetExpect100 libURLSetFTPListCommand libURLSetFTPMode libURLSetFTPStopTime '
+ 'libURLSetStatusCallback load extension loadedExtensions multiply socket prepare process post seek rel relative read from process rename '
+ 'replace require resetAll resolve revAddXMLNode revAppendXML revCloseCursor revCloseDatabase revCommitDatabase '
+ 'revCopyFile revCopyFolder revCopyXMLNode revDeleteFolder revDeleteXMLNode revDeleteAllXMLTrees '
+ 'revDeleteXMLTree revExecuteSQL revGoURL revInsertXMLNode revMoveFolder revMoveToFirstRecord revMoveToLastRecord '
+ 'revMoveToNextRecord revMoveToPreviousRecord revMoveToRecord revMoveXMLNode revPutIntoXMLNode revRollBackDatabase '
+ 'revSetDatabaseDriverPath revSetXMLAttribute revXMLRPC_AddParam revXMLRPC_DeleteAllDocuments revXMLAddDTD '
+ 'revXMLRPC_Free revXMLRPC_FreeAll revXMLRPC_DeleteDocument revXMLRPC_DeleteParam revXMLRPC_SetHost '
+ 'revXMLRPC_SetMethod revXMLRPC_SetPort revXMLRPC_SetProtocol revXMLRPC_SetSocket revZipAddItemWithData '
+ 'revZipAddItemWithFile revZipAddUncompressedItemWithData revZipAddUncompressedItemWithFile revZipCancel '
+ 'revZipCloseArchive revZipDeleteItem revZipExtractItemToFile revZipExtractItemToVariable revZipSetProgressCallback '
+ 'revZipRenameItem revZipReplaceItemWithData revZipReplaceItemWithFile revZipOpenArchive send set sort split start stop '
+ 'subtract symmetric union unload vectorDotProduct wait write'
},
contains: [
VARIABLE,
{
className: 'keyword',
begin: '\\bend\\sif\\b'
},
{
className: 'function',
beginKeywords: 'function',
end: '$',
contains: [
VARIABLE,
TITLE2,
hljs.APOS_STRING_MODE,
hljs.QUOTE_STRING_MODE,
hljs.BINARY_NUMBER_MODE,
hljs.C_NUMBER_MODE,
TITLE1
]
},
{
className: 'function',
begin: '\\bend\\s+',
end: '$',
keywords: 'end',
contains: [
TITLE2,
TITLE1
],
relevance: 0
},
{
beginKeywords: 'command on',
end: '$',
contains: [
VARIABLE,
TITLE2,
hljs.APOS_STRING_MODE,
hljs.QUOTE_STRING_MODE,
hljs.BINARY_NUMBER_MODE,
hljs.C_NUMBER_MODE,
TITLE1
]
},
{
className: 'meta',
variants: [
{
begin: '<\\?(rev|lc|livecode)',
relevance: 10
},
{ begin: '<\\?' },
{ begin: '\\?>' }
]
},
hljs.APOS_STRING_MODE,
hljs.QUOTE_STRING_MODE,
hljs.BINARY_NUMBER_MODE,
hljs.C_NUMBER_MODE,
TITLE1
].concat(COMMENT_MODES),
illegal: ';$|^\\[|^=|&|\\{'
};
}
return livecodeserver;
})();
hljs.registerLanguage('livecodeserver', hljsGrammar);
})();/*! `livescript` grammar compiled for Highlight.js 11.11.1 */
(function(){
var hljsGrammar = (function () {
'use strict';
const KEYWORDS = [
"as", // for exports
"in",
"of",
"if",
"for",
"while",
"finally",
"var",
"new",
"function",
"do",
"return",
"void",
"else",
"break",
"catch",
"instanceof",
"with",
"throw",
"case",
"default",
"try",
"switch",
"continue",
"typeof",
"delete",
"let",
"yield",
"const",
"class",
// JS handles these with a special rule
// "get",
// "set",
"debugger",
"async",
"await",
"static",
"import",
"from",
"export",
"extends",
// It's reached stage 3, which is "recommended for implementation":
"using"
];
const LITERALS = [
"true",
"false",
"null",
"undefined",
"NaN",
"Infinity"
];
// https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects
const TYPES = [
// Fundamental objects
"Object",
"Function",
"Boolean",
"Symbol",
// numbers and dates
"Math",
"Date",
"Number",
"BigInt",
// text
"String",
"RegExp",
// Indexed collections
"Array",
"Float32Array",
"Float64Array",
"Int8Array",
"Uint8Array",
"Uint8ClampedArray",
"Int16Array",
"Int32Array",
"Uint16Array",
"Uint32Array",
"BigInt64Array",
"BigUint64Array",
// Keyed collections
"Set",
"Map",
"WeakSet",
"WeakMap",
// Structured data
"ArrayBuffer",
"SharedArrayBuffer",
"Atomics",
"DataView",
"JSON",
// Control abstraction objects
"Promise",
"Generator",
"GeneratorFunction",
"AsyncFunction",
// Reflection
"Reflect",
"Proxy",
// Internationalization
"Intl",
// WebAssembly
"WebAssembly"
];
const ERROR_TYPES = [
"Error",
"EvalError",
"InternalError",
"RangeError",
"ReferenceError",
"SyntaxError",
"TypeError",
"URIError"
];
const BUILT_IN_GLOBALS = [
"setInterval",
"setTimeout",
"clearInterval",
"clearTimeout",
"require",
"exports",
"eval",
"isFinite",
"isNaN",
"parseFloat",
"parseInt",
"decodeURI",
"decodeURIComponent",
"encodeURI",
"encodeURIComponent",
"escape",
"unescape"
];
const BUILT_INS = [].concat(
BUILT_IN_GLOBALS,
TYPES,
ERROR_TYPES
);
/*
Language: LiveScript
Author: Taneli Vatanen
Contributors: Jen Evers-Corvina
Origin: coffeescript.js
Description: LiveScript is a programming language that transcompiles to JavaScript. For info about language see http://livescript.net/
Website: https://livescript.net
Category: scripting
*/
function livescript(hljs) {
const LIVESCRIPT_BUILT_INS = [
'npm',
'print'
];
const LIVESCRIPT_LITERALS = [
'yes',
'no',
'on',
'off',
'it',
'that',
'void'
];
const LIVESCRIPT_KEYWORDS = [
'then',
'unless',
'until',
'loop',
'of',
'by',
'when',
'and',
'or',
'is',
'isnt',
'not',
'it',
'that',
'otherwise',
'from',
'to',
'til',
'fallthrough',
'case',
'enum',
'native',
'list',
'map',
'__hasProp',
'__extends',
'__slice',
'__bind',
'__indexOf'
];
const KEYWORDS$1 = {
keyword: KEYWORDS.concat(LIVESCRIPT_KEYWORDS),
literal: LITERALS.concat(LIVESCRIPT_LITERALS),
built_in: BUILT_INS.concat(LIVESCRIPT_BUILT_INS)
};
const JS_IDENT_RE = '[A-Za-z$_](?:-[0-9A-Za-z$_]|[0-9A-Za-z$_])*';
const TITLE = hljs.inherit(hljs.TITLE_MODE, { begin: JS_IDENT_RE });
const SUBST = {
className: 'subst',
begin: /#\{/,
end: /\}/,
keywords: KEYWORDS$1
};
const SUBST_SIMPLE = {
className: 'subst',
begin: /#[A-Za-z$_]/,
end: /(?:-[0-9A-Za-z$_]|[0-9A-Za-z$_])*/,
keywords: KEYWORDS$1
};
const EXPRESSIONS = [
hljs.BINARY_NUMBER_MODE,
{
className: 'number',
begin: '(\\b0[xX][a-fA-F0-9_]+)|(\\b\\d(\\d|_\\d)*(\\.(\\d(\\d|_\\d)*)?)?(_*[eE]([-+]\\d(_\\d|\\d)*)?)?[_a-z]*)',
relevance: 0,
starts: {
end: '(\\s*/)?',
relevance: 0
} // a number tries to eat the following slash to prevent treating it as a regexp
},
{
className: 'string',
variants: [
{
begin: /'''/,
end: /'''/,
contains: [ hljs.BACKSLASH_ESCAPE ]
},
{
begin: /'/,
end: /'/,
contains: [ hljs.BACKSLASH_ESCAPE ]
},
{
begin: /"""/,
end: /"""/,
contains: [
hljs.BACKSLASH_ESCAPE,
SUBST,
SUBST_SIMPLE
]
},
{
begin: /"/,
end: /"/,
contains: [
hljs.BACKSLASH_ESCAPE,
SUBST,
SUBST_SIMPLE
]
},
{
begin: /\\/,
end: /(\s|$)/,
excludeEnd: true
}
]
},
{
className: 'regexp',
variants: [
{
begin: '//',
end: '//[gim]*',
contains: [
SUBST,
hljs.HASH_COMMENT_MODE
]
},
{
// regex can't start with space to parse x / 2 / 3 as two divisions
// regex can't start with *, and it supports an "illegal" in the main mode
begin: /\/(?![ *])(\\.|[^\\\n])*?\/[gim]*(?=\W)/ }
]
},
{ begin: '@' + JS_IDENT_RE },
{
begin: '``',
end: '``',
excludeBegin: true,
excludeEnd: true,
subLanguage: 'javascript'
}
];
SUBST.contains = EXPRESSIONS;
const PARAMS = {
className: 'params',
begin: '\\(',
returnBegin: true,
/* We need another contained nameless mode to not have every nested
pair of parens to be called "params" */
contains: [
{
begin: /\(/,
end: /\)/,
keywords: KEYWORDS$1,
contains: [ 'self' ].concat(EXPRESSIONS)
}
]
};
const SYMBOLS = { begin: '(#=>|=>|\\|>>|-?->|!->)' };
const CLASS_DEFINITION = {
variants: [
{ match: [
/class\s+/,
JS_IDENT_RE,
/\s+extends\s+/,
JS_IDENT_RE
] },
{ match: [
/class\s+/,
JS_IDENT_RE
] }
],
scope: {
2: "title.class",
4: "title.class.inherited"
},
keywords: KEYWORDS$1
};
return {
name: 'LiveScript',
aliases: [ 'ls' ],
keywords: KEYWORDS$1,
illegal: /\/\*/,
contains: EXPRESSIONS.concat([
hljs.COMMENT('\\/\\*', '\\*\\/'),
hljs.HASH_COMMENT_MODE,
SYMBOLS, // relevance booster
{
className: 'function',
contains: [
TITLE,
PARAMS
],
returnBegin: true,
variants: [
{
begin: '(' + JS_IDENT_RE + '\\s*(?:=|:=)\\s*)?(\\(.*\\)\\s*)?\\B->\\*?',
end: '->\\*?'
},
{
begin: '(' + JS_IDENT_RE + '\\s*(?:=|:=)\\s*)?!?(\\(.*\\)\\s*)?\\B[-~]{1,2}>\\*?',
end: '[-~]{1,2}>\\*?'
},
{
begin: '(' + JS_IDENT_RE + '\\s*(?:=|:=)\\s*)?(\\(.*\\)\\s*)?\\B!?[-~]{1,2}>\\*?',
end: '!?[-~]{1,2}>\\*?'
}
]
},
CLASS_DEFINITION,
{
begin: JS_IDENT_RE + ':',
end: ':',
returnBegin: true,
returnEnd: true,
relevance: 0
}
])
};
}
return livescript;
})();
hljs.registerLanguage('livescript', hljsGrammar);
})();/*! `llvm` grammar compiled for Highlight.js 11.11.1 */
(function(){
var hljsGrammar = (function () {
'use strict';
/*
Language: LLVM IR
Author: Michael Rodler
Description: language used as intermediate representation in the LLVM compiler framework
Website: https://llvm.org/docs/LangRef.html
Category: assembler
Audit: 2020
*/
/** @type LanguageFn */
function llvm(hljs) {
const regex = hljs.regex;
const IDENT_RE = /([-a-zA-Z$._][\w$.-]*)/;
const TYPE = {
className: 'type',
begin: /\bi\d+(?=\s|\b)/
};
const OPERATOR = {
className: 'operator',
relevance: 0,
begin: /=/
};
const PUNCTUATION = {
className: 'punctuation',
relevance: 0,
begin: /,/
};
const NUMBER = {
className: 'number',
variants: [
{ begin: /[su]?0[xX][KMLHR]?[a-fA-F0-9]+/ },
{ begin: /[-+]?\d+(?:[.]\d+)?(?:[eE][-+]?\d+(?:[.]\d+)?)?/ }
],
relevance: 0
};
const LABEL = {
className: 'symbol',
variants: [ { begin: /^\s*[a-z]+:/ }, // labels
],
relevance: 0
};
const VARIABLE = {
className: 'variable',
variants: [
{ begin: regex.concat(/%/, IDENT_RE) },
{ begin: /%\d+/ },
{ begin: /#\d+/ },
]
};
const FUNCTION = {
className: 'title',
variants: [
{ begin: regex.concat(/@/, IDENT_RE) },
{ begin: /@\d+/ },
{ begin: regex.concat(/!/, IDENT_RE) },
{ begin: regex.concat(/!\d+/, IDENT_RE) },
// https://llvm.org/docs/LangRef.html#namedmetadatastructure
// obviously a single digit can also be used in this fashion
{ begin: /!\d+/ }
]
};
return {
name: 'LLVM IR',
// TODO: split into different categories of keywords
keywords: {
keyword: 'begin end true false declare define global '
+ 'constant private linker_private internal '
+ 'available_externally linkonce linkonce_odr weak '
+ 'weak_odr appending dllimport dllexport common '
+ 'default hidden protected extern_weak external '
+ 'thread_local zeroinitializer undef null to tail '
+ 'target triple datalayout volatile nuw nsw nnan '
+ 'ninf nsz arcp fast exact inbounds align '
+ 'addrspace section alias module asm sideeffect '
+ 'gc dbg linker_private_weak attributes blockaddress '
+ 'initialexec localdynamic localexec prefix unnamed_addr '
+ 'ccc fastcc coldcc x86_stdcallcc x86_fastcallcc '
+ 'arm_apcscc arm_aapcscc arm_aapcs_vfpcc ptx_device '
+ 'ptx_kernel intel_ocl_bicc msp430_intrcc spir_func '
+ 'spir_kernel x86_64_sysvcc x86_64_win64cc x86_thiscallcc '
+ 'cc c signext zeroext inreg sret nounwind '
+ 'noreturn noalias nocapture byval nest readnone '
+ 'readonly inlinehint noinline alwaysinline optsize ssp '
+ 'sspreq noredzone noimplicitfloat naked builtin cold '
+ 'nobuiltin noduplicate nonlazybind optnone returns_twice '
+ 'sanitize_address sanitize_memory sanitize_thread sspstrong '
+ 'uwtable returned type opaque eq ne slt sgt '
+ 'sle sge ult ugt ule uge oeq one olt ogt '
+ 'ole oge ord uno ueq une x acq_rel acquire '
+ 'alignstack atomic catch cleanup filter inteldialect '
+ 'max min monotonic nand personality release seq_cst '
+ 'singlethread umax umin unordered xchg add fadd '
+ 'sub fsub mul fmul udiv sdiv fdiv urem srem '
+ 'frem shl lshr ashr and or xor icmp fcmp '
+ 'phi call trunc zext sext fptrunc fpext uitofp '
+ 'sitofp fptoui fptosi inttoptr ptrtoint bitcast '
+ 'addrspacecast select va_arg ret br switch invoke '
+ 'unwind unreachable indirectbr landingpad resume '
+ 'malloc alloca free load store getelementptr '
+ 'extractelement insertelement shufflevector getresult '
+ 'extractvalue insertvalue atomicrmw cmpxchg fence '
+ 'argmemonly',
type: 'void half bfloat float double fp128 x86_fp80 ppc_fp128 '
+ 'x86_amx x86_mmx ptr label token metadata opaque'
},
contains: [
TYPE,
// this matches "empty comments"...
// ...because it's far more likely this is a statement terminator in
// another language than an actual comment
hljs.COMMENT(/;\s*$/, null, { relevance: 0 }),
hljs.COMMENT(/;/, /$/),
{
className: 'string',
begin: /"/,
end: /"/,
contains: [
{
className: 'char.escape',
match: /\\\d\d/
}
]
},
FUNCTION,
PUNCTUATION,
OPERATOR,
VARIABLE,
LABEL,
NUMBER
]
};
}
return llvm;
})();
hljs.registerLanguage('llvm', hljsGrammar);
})();/*! `lsl` grammar compiled for Highlight.js 11.11.1 */
(function(){
var hljsGrammar = (function () {
'use strict';
/*
Language: LSL (Linden Scripting Language)
Description: The Linden Scripting Language is used in Second Life by Linden Labs.
Author: Builder's Brewery
Website: http://wiki.secondlife.com/wiki/LSL_Portal
Category: scripting
*/
function lsl(hljs) {
const LSL_STRING_ESCAPE_CHARS = {
className: 'subst',
begin: /\\[tn"\\]/
};
const LSL_STRINGS = {
className: 'string',
begin: '"',
end: '"',
contains: [ LSL_STRING_ESCAPE_CHARS ]
};
const LSL_NUMBERS = {
className: 'number',
relevance: 0,
begin: hljs.C_NUMBER_RE
};
const LSL_CONSTANTS = {
className: 'literal',
variants: [
{ begin: '\\b(PI|TWO_PI|PI_BY_TWO|DEG_TO_RAD|RAD_TO_DEG|SQRT2)\\b' },
{ begin: '\\b(XP_ERROR_(EXPERIENCES_DISABLED|EXPERIENCE_(DISABLED|SUSPENDED)|INVALID_(EXPERIENCE|PARAMETERS)|KEY_NOT_FOUND|MATURITY_EXCEEDED|NONE|NOT_(FOUND|PERMITTED(_LAND)?)|NO_EXPERIENCE|QUOTA_EXCEEDED|RETRY_UPDATE|STORAGE_EXCEPTION|STORE_DISABLED|THROTTLED|UNKNOWN_ERROR)|JSON_APPEND|STATUS_(PHYSICS|ROTATE_[XYZ]|PHANTOM|SANDBOX|BLOCK_GRAB(_OBJECT)?|(DIE|RETURN)_AT_EDGE|CAST_SHADOWS|OK|MALFORMED_PARAMS|TYPE_MISMATCH|BOUNDS_ERROR|NOT_(FOUND|SUPPORTED)|INTERNAL_ERROR|WHITELIST_FAILED)|AGENT(_(BY_(LEGACY_|USER)NAME|FLYING|ATTACHMENTS|SCRIPTED|MOUSELOOK|SITTING|ON_OBJECT|AWAY|WALKING|IN_AIR|TYPING|CROUCHING|BUSY|ALWAYS_RUN|AUTOPILOT|LIST_(PARCEL(_OWNER)?|REGION)))?|CAMERA_(PITCH|DISTANCE|BEHINDNESS_(ANGLE|LAG)|(FOCUS|POSITION)(_(THRESHOLD|LOCKED|LAG))?|FOCUS_OFFSET|ACTIVE)|ANIM_ON|LOOP|REVERSE|PING_PONG|SMOOTH|ROTATE|SCALE|ALL_SIDES|LINK_(ROOT|SET|ALL_(OTHERS|CHILDREN)|THIS)|ACTIVE|PASS(IVE|_(ALWAYS|IF_NOT_HANDLED|NEVER))|SCRIPTED|CONTROL_(FWD|BACK|(ROT_)?(LEFT|RIGHT)|UP|DOWN|(ML_)?LBUTTON)|PERMISSION_(RETURN_OBJECTS|DEBIT|OVERRIDE_ANIMATIONS|SILENT_ESTATE_MANAGEMENT|TAKE_CONTROLS|TRIGGER_ANIMATION|ATTACH|CHANGE_LINKS|(CONTROL|TRACK)_CAMERA|TELEPORT)|INVENTORY_(TEXTURE|SOUND|OBJECT|SCRIPT|LANDMARK|CLOTHING|NOTECARD|BODYPART|ANIMATION|GESTURE|ALL|NONE)|CHANGED_(INVENTORY|COLOR|SHAPE|SCALE|TEXTURE|LINK|ALLOWED_DROP|OWNER|REGION(_START)?|TELEPORT|MEDIA)|OBJECT_(CLICK_ACTION|HOVER_HEIGHT|LAST_OWNER_ID|(PHYSICS|SERVER|STREAMING)_COST|UNKNOWN_DETAIL|CHARACTER_TIME|PHANTOM|PHYSICS|TEMP_(ATTACHED|ON_REZ)|NAME|DESC|POS|PRIM_(COUNT|EQUIVALENCE)|RETURN_(PARCEL(_OWNER)?|REGION)|REZZER_KEY|ROO?T|VELOCITY|OMEGA|OWNER|GROUP(_TAG)?|CREATOR|ATTACHED_(POINT|SLOTS_AVAILABLE)|RENDER_WEIGHT|(BODY_SHAPE|PATHFINDING)_TYPE|(RUNNING|TOTAL)_SCRIPT_COUNT|TOTAL_INVENTORY_COUNT|SCRIPT_(MEMORY|TIME))|TYPE_(INTEGER|FLOAT|STRING|KEY|VECTOR|ROTATION|INVALID)|(DEBUG|PUBLIC)_CHANNEL|ATTACH_(AVATAR_CENTER|CHEST|HEAD|BACK|PELVIS|MOUTH|CHIN|NECK|NOSE|BELLY|[LR](SHOULDER|HAND|FOOT|EAR|EYE|[UL](ARM|LEG)|HIP)|(LEFT|RIGHT)_PEC|HUD_(CENTER_[12]|TOP_(RIGHT|CENTER|LEFT)|BOTTOM(_(RIGHT|LEFT))?)|[LR]HAND_RING1|TAIL_(BASE|TIP)|[LR]WING|FACE_(JAW|[LR]EAR|[LR]EYE|TOUNGE)|GROIN|HIND_[LR]FOOT)|LAND_(LEVEL|RAISE|LOWER|SMOOTH|NOISE|REVERT)|DATA_(ONLINE|NAME|BORN|SIM_(POS|STATUS|RATING)|PAYINFO)|PAYMENT_INFO_(ON_FILE|USED)|REMOTE_DATA_(CHANNEL|REQUEST|REPLY)|PSYS_(PART_(BF_(ZERO|ONE(_MINUS_(DEST_COLOR|SOURCE_(ALPHA|COLOR)))?|DEST_COLOR|SOURCE_(ALPHA|COLOR))|BLEND_FUNC_(DEST|SOURCE)|FLAGS|(START|END)_(COLOR|ALPHA|SCALE|GLOW)|MAX_AGE|(RIBBON|WIND|INTERP_(COLOR|SCALE)|BOUNCE|FOLLOW_(SRC|VELOCITY)|TARGET_(POS|LINEAR)|EMISSIVE)_MASK)|SRC_(MAX_AGE|PATTERN|ANGLE_(BEGIN|END)|BURST_(RATE|PART_COUNT|RADIUS|SPEED_(MIN|MAX))|ACCEL|TEXTURE|TARGET_KEY|OMEGA|PATTERN_(DROP|EXPLODE|ANGLE(_CONE(_EMPTY)?)?)))|VEHICLE_(REFERENCE_FRAME|TYPE_(NONE|SLED|CAR|BOAT|AIRPLANE|BALLOON)|(LINEAR|ANGULAR)_(FRICTION_TIMESCALE|MOTOR_DIRECTION)|LINEAR_MOTOR_OFFSET|HOVER_(HEIGHT|EFFICIENCY|TIMESCALE)|BUOYANCY|(LINEAR|ANGULAR)_(DEFLECTION_(EFFICIENCY|TIMESCALE)|MOTOR_(DECAY_)?TIMESCALE)|VERTICAL_ATTRACTION_(EFFICIENCY|TIMESCALE)|BANKING_(EFFICIENCY|MIX|TIMESCALE)|FLAG_(NO_DEFLECTION_UP|LIMIT_(ROLL_ONLY|MOTOR_UP)|HOVER_((WATER|TERRAIN|UP)_ONLY|GLOBAL_HEIGHT)|MOUSELOOK_(STEER|BANK)|CAMERA_DECOUPLED))|PRIM_(ALLOW_UNSIT|ALPHA_MODE(_(BLEND|EMISSIVE|MASK|NONE))?|NORMAL|SPECULAR|TYPE(_(BOX|CYLINDER|PRISM|SPHERE|TORUS|TUBE|RING|SCULPT))?|HOLE_(DEFAULT|CIRCLE|SQUARE|TRIANGLE)|MATERIAL(_(STONE|METAL|GLASS|WOOD|FLESH|PLASTIC|RUBBER))?|SHINY_(NONE|LOW|MEDIUM|HIGH)|BUMP_(NONE|BRIGHT|DARK|WOOD|BARK|BRICKS|CHECKER|CONCRETE|TILE|STONE|DISKS|GRAVEL|BLOBS|SIDING|LARGETILE|STUCCO|SUCTION|WEAVE)|TEXGEN_(DEFAULT|PLANAR)|SCRIPTED_SIT_ONLY|SCULPT_(TYPE_(SPHERE|TORUS|PLANE|CYLINDER|MASK)|FLAG_(MIRROR|INVERT))|PHYSICS(_(SHAPE_(CONVEX|NONE|PRIM|TYPE)))?|(POS|ROT)_LOCAL|SLICE|TEXT|FLEXIBLE|POINT_LIGHT|TEMP_ON_REZ|PHANTOM|POSITION|SIT_TARGET|SIZE|ROTATION|TEXTURE|NAME|OMEGA|DESC|LINK_TARGET|COLOR|BUMP_SHINY|FULLBRIGHT|TEXGEN|GLOW|MEDIA_(ALT_IMAGE_ENABLE|CONTROLS|(CURRENT|HOME)_URL|AUTO_(LOOP|PLAY|SCALE|ZOOM)|FIRST_CLICK_INTERACT|(WIDTH|HEIGHT)_PIXELS|WHITELIST(_ENABLE)?|PERMS_(INTERACT|CONTROL)|PARAM_MAX|CONTROLS_(STANDARD|MINI)|PERM_(NONE|OWNER|GROUP|ANYONE)|MAX_(URL_LENGTH|WHITELIST_(SIZE|COUNT)|(WIDTH|HEIGHT)_PIXELS)))|MASK_(BASE|OWNER|GROUP|EVERYONE|NEXT)|PERM_(TRANSFER|MODIFY|COPY|MOVE|ALL)|PARCEL_(MEDIA_COMMAND_(STOP|PAUSE|PLAY|LOOP|TEXTURE|URL|TIME|AGENT|UNLOAD|AUTO_ALIGN|TYPE|SIZE|DESC|LOOP_SET)|FLAG_(ALLOW_(FLY|(GROUP_)?SCRIPTS|LANDMARK|TERRAFORM|DAMAGE|CREATE_(GROUP_)?OBJECTS)|USE_(ACCESS_(GROUP|LIST)|BAN_LIST|LAND_PASS_LIST)|LOCAL_SOUND_ONLY|RESTRICT_PUSHOBJECT|ALLOW_(GROUP|ALL)_OBJECT_ENTRY)|COUNT_(TOTAL|OWNER|GROUP|OTHER|SELECTED|TEMP)|DETAILS_(NAME|DESC|OWNER|GROUP|AREA|ID|SEE_AVATARS))|LIST_STAT_(MAX|MIN|MEAN|MEDIAN|STD_DEV|SUM(_SQUARES)?|NUM_COUNT|GEOMETRIC_MEAN|RANGE)|PAY_(HIDE|DEFAULT)|REGION_FLAG_(ALLOW_DAMAGE|FIXED_SUN|BLOCK_TERRAFORM|SANDBOX|DISABLE_(COLLISIONS|PHYSICS)|BLOCK_FLY|ALLOW_DIRECT_TELEPORT|RESTRICT_PUSHOBJECT)|HTTP_(METHOD|MIMETYPE|BODY_(MAXLENGTH|TRUNCATED)|CUSTOM_HEADER|PRAGMA_NO_CACHE|VERBOSE_THROTTLE|VERIFY_CERT)|SIT_(INVALID_(AGENT|LINK_OBJECT)|NO(T_EXPERIENCE|_(ACCESS|EXPERIENCE_PERMISSION|SIT_TARGET)))|STRING_(TRIM(_(HEAD|TAIL))?)|CLICK_ACTION_(NONE|TOUCH|SIT|BUY|PAY|OPEN(_MEDIA)?|PLAY|ZOOM)|TOUCH_INVALID_FACE|PROFILE_(NONE|SCRIPT_MEMORY)|RC_(DATA_FLAGS|DETECT_PHANTOM|GET_(LINK_NUM|NORMAL|ROOT_KEY)|MAX_HITS|REJECT_(TYPES|AGENTS|(NON)?PHYSICAL|LAND))|RCERR_(CAST_TIME_EXCEEDED|SIM_PERF_LOW|UNKNOWN)|ESTATE_ACCESS_(ALLOWED_(AGENT|GROUP)_(ADD|REMOVE)|BANNED_AGENT_(ADD|REMOVE))|DENSITY|FRICTION|RESTITUTION|GRAVITY_MULTIPLIER|KFM_(COMMAND|CMD_(PLAY|STOP|PAUSE)|MODE|FORWARD|LOOP|PING_PONG|REVERSE|DATA|ROTATION|TRANSLATION)|ERR_(GENERIC|PARCEL_PERMISSIONS|MALFORMED_PARAMS|RUNTIME_PERMISSIONS|THROTTLED)|CHARACTER_(CMD_((SMOOTH_)?STOP|JUMP)|DESIRED_(TURN_)?SPEED|RADIUS|STAY_WITHIN_PARCEL|LENGTH|ORIENTATION|ACCOUNT_FOR_SKIPPED_FRAMES|AVOIDANCE_MODE|TYPE(_([ABCD]|NONE))?|MAX_(DECEL|TURN_RADIUS|(ACCEL|SPEED)))|PURSUIT_(OFFSET|FUZZ_FACTOR|GOAL_TOLERANCE|INTERCEPT)|REQUIRE_LINE_OF_SIGHT|FORCE_DIRECT_PATH|VERTICAL|HORIZONTAL|AVOID_(CHARACTERS|DYNAMIC_OBSTACLES|NONE)|PU_(EVADE_(HIDDEN|SPOTTED)|FAILURE_(DYNAMIC_PATHFINDING_DISABLED|INVALID_(GOAL|START)|NO_(NAVMESH|VALID_DESTINATION)|OTHER|TARGET_GONE|(PARCEL_)?UNREACHABLE)|(GOAL|SLOWDOWN_DISTANCE)_REACHED)|TRAVERSAL_TYPE(_(FAST|NONE|SLOW))?|CONTENT_TYPE_(ATOM|FORM|HTML|JSON|LLSD|RSS|TEXT|XHTML|XML)|GCNP_(RADIUS|STATIC)|(PATROL|WANDER)_PAUSE_AT_WAYPOINTS|OPT_(AVATAR|CHARACTER|EXCLUSION_VOLUME|LEGACY_LINKSET|MATERIAL_VOLUME|OTHER|STATIC_OBSTACLE|WALKABLE)|SIM_STAT_PCT_CHARS_STEPPED)\\b' },
{ begin: '\\b(FALSE|TRUE)\\b' },
{ begin: '\\b(ZERO_ROTATION)\\b' },
{ begin: '\\b(EOF|JSON_(ARRAY|DELETE|FALSE|INVALID|NULL|NUMBER|OBJECT|STRING|TRUE)|NULL_KEY|TEXTURE_(BLANK|DEFAULT|MEDIA|PLYWOOD|TRANSPARENT)|URL_REQUEST_(GRANTED|DENIED))\\b' },
{ begin: '\\b(ZERO_VECTOR|TOUCH_INVALID_(TEXCOORD|VECTOR))\\b' }
]
};
const LSL_FUNCTIONS = {
className: 'built_in',
begin: '\\b(ll(AgentInExperience|(Create|DataSize|Delete|KeyCount|Keys|Read|Update)KeyValue|GetExperience(Details|ErrorMessage)|ReturnObjectsBy(ID|Owner)|Json(2List|[GS]etValue|ValueType)|Sin|Cos|Tan|Atan2|Sqrt|Pow|Abs|Fabs|Frand|Floor|Ceil|Round|Vec(Mag|Norm|Dist)|Rot(Between|2(Euler|Fwd|Left|Up))|(Euler|Axes)2Rot|Whisper|(Region|Owner)?Say|Shout|Listen(Control|Remove)?|Sensor(Repeat|Remove)?|Detected(Name|Key|Owner|Type|Pos|Vel|Grab|Rot|Group|LinkNumber)|Die|Ground|Wind|([GS]et)(AnimationOverride|MemoryLimit|PrimMediaParams|ParcelMusicURL|Object(Desc|Name)|PhysicsMaterial|Status|Scale|Color|Alpha|Texture|Pos|Rot|Force|Torque)|ResetAnimationOverride|(Scale|Offset|Rotate)Texture|(Rot)?Target(Remove)?|(Stop)?MoveToTarget|Apply(Rotational)?Impulse|Set(KeyframedMotion|ContentType|RegionPos|(Angular)?Velocity|Buoyancy|HoverHeight|ForceAndTorque|TimerEvent|ScriptState|Damage|TextureAnim|Sound(Queueing|Radius)|Vehicle(Type|(Float|Vector|Rotation)Param)|(Touch|Sit)?Text|Camera(Eye|At)Offset|PrimitiveParams|ClickAction|Link(Alpha|Color|PrimitiveParams(Fast)?|Texture(Anim)?|Camera|Media)|RemoteScriptAccessPin|PayPrice|LocalRot)|ScaleByFactor|Get((Max|Min)ScaleFactor|ClosestNavPoint|StaticPath|SimStats|Env|PrimitiveParams|Link(PrimitiveParams|Number(OfSides)?|Key|Name|Media)|HTTPHeader|FreeURLs|Object(Details|PermMask|PrimCount)|Parcel(MaxPrims|Details|Prim(Count|Owners))|Attached(List)?|(SPMax|Free|Used)Memory|Region(Name|TimeDilation|FPS|Corner|AgentCount)|Root(Position|Rotation)|UnixTime|(Parcel|Region)Flags|(Wall|GMT)clock|SimulatorHostname|BoundingBox|GeometricCenter|Creator|NumberOf(Prims|NotecardLines|Sides)|Animation(List)?|(Camera|Local)(Pos|Rot)|Vel|Accel|Omega|Time(stamp|OfDay)|(Object|CenterOf)?Mass|MassMKS|Energy|Owner|(Owner)?Key|SunDirection|Texture(Offset|Scale|Rot)|Inventory(Number|Name|Key|Type|Creator|PermMask)|Permissions(Key)?|StartParameter|List(Length|EntryType)|Date|Agent(Size|Info|Language|List)|LandOwnerAt|NotecardLine|Script(Name|State))|(Get|Reset|GetAndReset)Time|PlaySound(Slave)?|LoopSound(Master|Slave)?|(Trigger|Stop|Preload)Sound|((Get|Delete)Sub|Insert)String|To(Upper|Lower)|Give(InventoryList|Money)|RezObject|(Stop)?LookAt|Sleep|CollisionFilter|(Take|Release)Controls|DetachFromAvatar|AttachToAvatar(Temp)?|InstantMessage|(GetNext)?Email|StopHover|MinEventDelay|RotLookAt|String(Length|Trim)|(Start|Stop)Animation|TargetOmega|Request(Experience)?Permissions|(Create|Break)Link|BreakAllLinks|(Give|Remove)Inventory|Water|PassTouches|Request(Agent|Inventory)Data|TeleportAgent(Home|GlobalCoords)?|ModifyLand|CollisionSound|ResetScript|MessageLinked|PushObject|PassCollisions|AxisAngle2Rot|Rot2(Axis|Angle)|A(cos|sin)|AngleBetween|AllowInventoryDrop|SubStringIndex|List2(CSV|Integer|Json|Float|String|Key|Vector|Rot|List(Strided)?)|DeleteSubList|List(Statistics|Sort|Randomize|(Insert|Find|Replace)List)|EdgeOfWorld|AdjustSoundVolume|Key2Name|TriggerSoundLimited|EjectFromLand|(CSV|ParseString)2List|OverMyLand|SameGroup|UnSit|Ground(Slope|Normal|Contour)|GroundRepel|(Set|Remove)VehicleFlags|SitOnLink|(AvatarOn)?(Link)?SitTarget|Script(Danger|Profiler)|Dialog|VolumeDetect|ResetOtherScript|RemoteLoadScriptPin|(Open|Close)RemoteDataChannel|SendRemoteData|RemoteDataReply|(Integer|String)ToBase64|XorBase64|Log(10)?|Base64To(String|Integer)|ParseStringKeepNulls|RezAtRoot|RequestSimulatorData|ForceMouselook|(Load|Release|(E|Une)scape)URL|ParcelMedia(CommandList|Query)|ModPow|MapDestination|(RemoveFrom|AddTo|Reset)Land(Pass|Ban)List|(Set|Clear)CameraParams|HTTP(Request|Response)|TextBox|DetectedTouch(UV|Face|Pos|(N|Bin)ormal|ST)|(MD5|SHA1|DumpList2)String|Request(Secure)?URL|Clear(Prim|Link)Media|(Link)?ParticleSystem|(Get|Request)(Username|DisplayName)|RegionSayTo|CastRay|GenerateKey|TransferLindenDollars|ManageEstateAccess|(Create|Delete)Character|ExecCharacterCmd|Evade|FleeFrom|NavigateTo|PatrolPoints|Pursue|UpdateCharacter|WanderWithin))\\b'
};
return {
name: 'LSL (Linden Scripting Language)',
illegal: ':',
contains: [
LSL_STRINGS,
{
className: 'comment',
variants: [
hljs.COMMENT('//', '$'),
hljs.COMMENT('/\\*', '\\*/')
],
relevance: 0
},
LSL_NUMBERS,
{
className: 'section',
variants: [
{ begin: '\\b(state|default)\\b' },
{ begin: '\\b(state_(entry|exit)|touch(_(start|end))?|(land_)?collision(_(start|end))?|timer|listen|(no_)?sensor|control|(not_)?at_(rot_)?target|money|email|experience_permissions(_denied)?|run_time_permissions|changed|attach|dataserver|moving_(start|end)|link_message|(on|object)_rez|remote_data|http_re(sponse|quest)|path_update|transaction_result)\\b' }
]
},
LSL_FUNCTIONS,
LSL_CONSTANTS,
{
className: 'type',
begin: '\\b(integer|float|string|key|vector|quaternion|rotation|list)\\b'
}
]
};
}
return lsl;
})();
hljs.registerLanguage('lsl', hljsGrammar);
})();/*! `lua` grammar compiled for Highlight.js 11.11.1 */
(function(){
var hljsGrammar = (function () {
'use strict';
/*
Language: Lua
Description: Lua is a powerful, efficient, lightweight, embeddable scripting language.
Author: Andrew Fedorov
Category: common, gaming, scripting
Website: https://www.lua.org
*/
function lua(hljs) {
const OPENING_LONG_BRACKET = '\\[=*\\[';
const CLOSING_LONG_BRACKET = '\\]=*\\]';
const LONG_BRACKETS = {
begin: OPENING_LONG_BRACKET,
end: CLOSING_LONG_BRACKET,
contains: [ 'self' ]
};
const COMMENTS = [
hljs.COMMENT('--(?!' + OPENING_LONG_BRACKET + ')', '$'),
hljs.COMMENT(
'--' + OPENING_LONG_BRACKET,
CLOSING_LONG_BRACKET,
{
contains: [ LONG_BRACKETS ],
relevance: 10
}
)
];
return {
name: 'Lua',
aliases: ['pluto'],
keywords: {
$pattern: hljs.UNDERSCORE_IDENT_RE,
literal: "true false nil",
keyword: "and break do else elseif end for goto if in local not or repeat return then until while",
built_in:
// Metatags and globals:
'_G _ENV _VERSION __index __newindex __mode __call __metatable __tostring __len '
+ '__gc __add __sub __mul __div __mod __pow __concat __unm __eq __lt __le assert '
// Standard methods and properties:
+ 'collectgarbage dofile error getfenv getmetatable ipairs load loadfile loadstring '
+ 'module next pairs pcall print rawequal rawget rawset require select setfenv '
+ 'setmetatable tonumber tostring type unpack xpcall arg self '
// Library methods and properties (one line per library):
+ 'coroutine resume yield status wrap create running debug getupvalue '
+ 'debug sethook getmetatable gethook setmetatable setlocal traceback setfenv getinfo setupvalue getlocal getregistry getfenv '
+ 'io lines write close flush open output type read stderr stdin input stdout popen tmpfile '
+ 'math log max acos huge ldexp pi cos tanh pow deg tan cosh sinh random randomseed frexp ceil floor rad abs sqrt modf asin min mod fmod log10 atan2 exp sin atan '
+ 'os exit setlocale date getenv difftime remove time clock tmpname rename execute package preload loadlib loaded loaders cpath config path seeall '
+ 'string sub upper len gfind rep find match char dump gmatch reverse byte format gsub lower '
+ 'table setn insert getn foreachi maxn foreach concat sort remove'
},
contains: COMMENTS.concat([
{
className: 'function',
beginKeywords: 'function',
end: '\\)',
contains: [
hljs.inherit(hljs.TITLE_MODE, { begin: '([_a-zA-Z]\\w*\\.)*([_a-zA-Z]\\w*:)?[_a-zA-Z]\\w*' }),
{
className: 'params',
begin: '\\(',
endsWithParent: true,
contains: COMMENTS
}
].concat(COMMENTS)
},
hljs.C_NUMBER_MODE,
hljs.APOS_STRING_MODE,
hljs.QUOTE_STRING_MODE,
{
className: 'string',
begin: OPENING_LONG_BRACKET,
end: CLOSING_LONG_BRACKET,
contains: [ LONG_BRACKETS ],
relevance: 5
}
])
};
}
return lua;
})();
hljs.registerLanguage('lua', hljsGrammar);
})();/*! `makefile` grammar compiled for Highlight.js 11.11.1 */
(function(){
var hljsGrammar = (function () {
'use strict';
/*
Language: Makefile
Author: Ivan Sagalaev
Contributors: Joël Porquet
Website: https://www.gnu.org/software/make/manual/html_node/Introduction.html
Category: common, build-system
*/
function makefile(hljs) {
/* Variables: simple (eg $(var)) and special (eg $@) */
const VARIABLE = {
className: 'variable',
variants: [
{
begin: '\\$\\(' + hljs.UNDERSCORE_IDENT_RE + '\\)',
contains: [ hljs.BACKSLASH_ESCAPE ]
},
{ begin: /\$[@%\^\+\*]/ }
]
};
/* Quoted string with variables inside */
const QUOTE_STRING = {
className: 'string',
begin: /"/,
end: /"/,
contains: [
hljs.BACKSLASH_ESCAPE,
VARIABLE
]
};
/* Function: $(func arg,...) */
const FUNC = {
className: 'variable',
begin: /\$\([\w-]+\s/,
end: /\)/,
keywords: { built_in:
'subst patsubst strip findstring filter filter-out sort '
+ 'word wordlist firstword lastword dir notdir suffix basename '
+ 'addsuffix addprefix join wildcard realpath abspath error warning '
+ 'shell origin flavor foreach if or and call eval file value' },
contains: [
VARIABLE,
QUOTE_STRING // Added QUOTE_STRING as they can be a part of functions
]
};
/* Variable assignment */
const ASSIGNMENT = { begin: '^' + hljs.UNDERSCORE_IDENT_RE + '\\s*(?=[:+?]?=)' };
/* Meta targets (.PHONY) */
const META = {
className: 'meta',
begin: /^\.PHONY:/,
end: /$/,
keywords: {
$pattern: /[\.\w]+/,
keyword: '.PHONY'
}
};
/* Targets */
const TARGET = {
className: 'section',
begin: /^[^\s]+:/,
end: /$/,
contains: [ VARIABLE ]
};
return {
name: 'Makefile',
aliases: [
'mk',
'mak',
'make',
],
keywords: {
$pattern: /[\w-]+/,
keyword: 'define endef undefine ifdef ifndef ifeq ifneq else endif '
+ 'include -include sinclude override export unexport private vpath'
},
contains: [
hljs.HASH_COMMENT_MODE,
VARIABLE,
QUOTE_STRING,
FUNC,
ASSIGNMENT,
META,
TARGET
]
};
}
return makefile;
})();
hljs.registerLanguage('makefile', hljsGrammar);
})();/*! `markdown` grammar compiled for Highlight.js 11.11.1 */
(function(){
var hljsGrammar = (function () {
'use strict';
/*
Language: Markdown
Requires: xml.js
Author: John Crepezzi
Website: https://daringfireball.net/projects/markdown/
Category: common, markup
*/
function markdown(hljs) {
const regex = hljs.regex;
const INLINE_HTML = {
begin: /<\/?[A-Za-z_]/,
end: '>',
subLanguage: 'xml',
relevance: 0
};
const HORIZONTAL_RULE = {
begin: '^[-\\*]{3,}',
end: '$'
};
const CODE = {
className: 'code',
variants: [
// TODO: fix to allow these to work with sublanguage also
{ begin: '(`{3,})[^`](.|\\n)*?\\1`*[ ]*' },
{ begin: '(~{3,})[^~](.|\\n)*?\\1~*[ ]*' },
// needed to allow markdown as a sublanguage to work
{
begin: '```',
end: '```+[ ]*$'
},
{
begin: '~~~',
end: '~~~+[ ]*$'
},
{ begin: '`.+?`' },
{
begin: '(?=^( {4}|\\t))',
// use contains to gobble up multiple lines to allow the block to be whatever size
// but only have a single open/close tag vs one per line
contains: [
{
begin: '^( {4}|\\t)',
end: '(\\n)$'
}
],
relevance: 0
}
]
};
const LIST = {
className: 'bullet',
begin: '^[ \t]*([*+-]|(\\d+\\.))(?=\\s+)',
end: '\\s+',
excludeEnd: true
};
const LINK_REFERENCE = {
begin: /^\[[^\n]+\]:/,
returnBegin: true,
contains: [
{
className: 'symbol',
begin: /\[/,
end: /\]/,
excludeBegin: true,
excludeEnd: true
},
{
className: 'link',
begin: /:\s*/,
end: /$/,
excludeBegin: true
}
]
};
const URL_SCHEME = /[A-Za-z][A-Za-z0-9+.-]*/;
const LINK = {
variants: [
// too much like nested array access in so many languages
// to have any real relevance
{
begin: /\[.+?\]\[.*?\]/,
relevance: 0
},
// popular internet URLs
{
begin: /\[.+?\]\(((data|javascript|mailto):|(?:http|ftp)s?:\/\/).*?\)/,
relevance: 2
},
{
begin: regex.concat(/\[.+?\]\(/, URL_SCHEME, /:\/\/.*?\)/),
relevance: 2
},
// relative urls
{
begin: /\[.+?\]\([./?].*?\)/,
relevance: 1
},
// whatever else, lower relevance (might not be a link at all)
{
begin: /\[.*?\]\(.*?\)/,
relevance: 0
}
],
returnBegin: true,
contains: [
{
// empty strings for alt or link text
match: /\[(?=\])/ },
{
className: 'string',
relevance: 0,
begin: '\\[',
end: '\\]',
excludeBegin: true,
returnEnd: true
},
{
className: 'link',
relevance: 0,
begin: '\\]\\(',
end: '\\)',
excludeBegin: true,
excludeEnd: true
},
{
className: 'symbol',
relevance: 0,
begin: '\\]\\[',
end: '\\]',
excludeBegin: true,
excludeEnd: true
}
]
};
const BOLD = {
className: 'strong',
contains: [], // defined later
variants: [
{
begin: /_{2}(?!\s)/,
end: /_{2}/
},
{
begin: /\*{2}(?!\s)/,
end: /\*{2}/
}
]
};
const ITALIC = {
className: 'emphasis',
contains: [], // defined later
variants: [
{
begin: /\*(?![*\s])/,
end: /\*/
},
{
begin: /_(?![_\s])/,
end: /_/,
relevance: 0
}
]
};
// 3 level deep nesting is not allowed because it would create confusion
// in cases like `***testing***` because where we don't know if the last
// `***` is starting a new bold/italic or finishing the last one
const BOLD_WITHOUT_ITALIC = hljs.inherit(BOLD, { contains: [] });
const ITALIC_WITHOUT_BOLD = hljs.inherit(ITALIC, { contains: [] });
BOLD.contains.push(ITALIC_WITHOUT_BOLD);
ITALIC.contains.push(BOLD_WITHOUT_ITALIC);
let CONTAINABLE = [
INLINE_HTML,
LINK
];
[
BOLD,
ITALIC,
BOLD_WITHOUT_ITALIC,
ITALIC_WITHOUT_BOLD
].forEach(m => {
m.contains = m.contains.concat(CONTAINABLE);
});
CONTAINABLE = CONTAINABLE.concat(BOLD, ITALIC);
const HEADER = {
className: 'section',
variants: [
{
begin: '^#{1,6}',
end: '$',
contains: CONTAINABLE
},
{
begin: '(?=^.+?\\n[=-]{2,}$)',
contains: [
{ begin: '^[=-]*$' },
{
begin: '^',
end: "\\n",
contains: CONTAINABLE
}
]
}
]
};
const BLOCKQUOTE = {
className: 'quote',
begin: '^>\\s+',
contains: CONTAINABLE,
end: '$'
};
const ENTITY = {
//https://spec.commonmark.org/0.31.2/#entity-references
scope: 'literal',
match: /&([a-zA-Z0-9]+|#[0-9]{1,7}|#[Xx][0-9a-fA-F]{1,6});/
};
return {
name: 'Markdown',
aliases: [
'md',
'mkdown',
'mkd'
],
contains: [
HEADER,
INLINE_HTML,
LIST,
BOLD,
ITALIC,
BLOCKQUOTE,
CODE,
HORIZONTAL_RULE,
LINK,
LINK_REFERENCE,
ENTITY
]
};
}
return markdown;
})();
hljs.registerLanguage('markdown', hljsGrammar);
})();/*! `mathematica` grammar compiled for Highlight.js 11.11.1 */
(function(){
var hljsGrammar = (function () {
'use strict';
const SYSTEM_SYMBOLS = [
"AASTriangle",
"AbelianGroup",
"Abort",
"AbortKernels",
"AbortProtect",
"AbortScheduledTask",
"Above",
"Abs",
"AbsArg",
"AbsArgPlot",
"Absolute",
"AbsoluteCorrelation",
"AbsoluteCorrelationFunction",
"AbsoluteCurrentValue",
"AbsoluteDashing",
"AbsoluteFileName",
"AbsoluteOptions",
"AbsolutePointSize",
"AbsoluteThickness",
"AbsoluteTime",
"AbsoluteTiming",
"AcceptanceThreshold",
"AccountingForm",
"Accumulate",
"Accuracy",
"AccuracyGoal",
"AcousticAbsorbingValue",
"AcousticImpedanceValue",
"AcousticNormalVelocityValue",
"AcousticPDEComponent",
"AcousticPressureCondition",
"AcousticRadiationValue",
"AcousticSoundHardValue",
"AcousticSoundSoftCondition",
"ActionDelay",
"ActionMenu",
"ActionMenuBox",
"ActionMenuBoxOptions",
"Activate",
"Active",
"ActiveClassification",
"ActiveClassificationObject",
"ActiveItem",
"ActivePrediction",
"ActivePredictionObject",
"ActiveStyle",
"AcyclicGraphQ",
"AddOnHelpPath",
"AddSides",
"AddTo",
"AddToSearchIndex",
"AddUsers",
"AdjacencyGraph",
"AdjacencyList",
"AdjacencyMatrix",
"AdjacentMeshCells",
"Adjugate",
"AdjustmentBox",
"AdjustmentBoxOptions",
"AdjustTimeSeriesForecast",
"AdministrativeDivisionData",
"AffineHalfSpace",
"AffineSpace",
"AffineStateSpaceModel",
"AffineTransform",
"After",
"AggregatedEntityClass",
"AggregationLayer",
"AircraftData",
"AirportData",
"AirPressureData",
"AirSoundAttenuation",
"AirTemperatureData",
"AiryAi",
"AiryAiPrime",
"AiryAiZero",
"AiryBi",
"AiryBiPrime",
"AiryBiZero",
"AlgebraicIntegerQ",
"AlgebraicNumber",
"AlgebraicNumberDenominator",
"AlgebraicNumberNorm",
"AlgebraicNumberPolynomial",
"AlgebraicNumberTrace",
"AlgebraicRules",
"AlgebraicRulesData",
"Algebraics",
"AlgebraicUnitQ",
"Alignment",
"AlignmentMarker",
"AlignmentPoint",
"All",
"AllowAdultContent",
"AllowChatServices",
"AllowedCloudExtraParameters",
"AllowedCloudParameterExtensions",
"AllowedDimensions",
"AllowedFrequencyRange",
"AllowedHeads",
"AllowGroupClose",
"AllowIncomplete",
"AllowInlineCells",
"AllowKernelInitialization",
"AllowLooseGrammar",
"AllowReverseGroupClose",
"AllowScriptLevelChange",
"AllowVersionUpdate",
"AllTrue",
"Alphabet",
"AlphabeticOrder",
"AlphabeticSort",
"AlphaChannel",
"AlternateImage",
"AlternatingFactorial",
"AlternatingGroup",
"AlternativeHypothesis",
"Alternatives",
"AltitudeMethod",
"AmbientLight",
"AmbiguityFunction",
"AmbiguityList",
"Analytic",
"AnatomyData",
"AnatomyForm",
"AnatomyPlot3D",
"AnatomySkinStyle",
"AnatomyStyling",
"AnchoredSearch",
"And",
"AndersonDarlingTest",
"AngerJ",
"AngleBisector",
"AngleBracket",
"AnglePath",
"AnglePath3D",
"AngleVector",
"AngularGauge",
"Animate",
"AnimatedImage",
"AnimationCycleOffset",
"AnimationCycleRepetitions",
"AnimationDirection",
"AnimationDisplayTime",
"AnimationRate",
"AnimationRepetitions",
"AnimationRunning",
"AnimationRunTime",
"AnimationTimeIndex",
"AnimationVideo",
"Animator",
"AnimatorBox",
"AnimatorBoxOptions",
"AnimatorElements",
"Annotate",
"Annotation",
"AnnotationDelete",
"AnnotationKeys",
"AnnotationRules",
"AnnotationValue",
"Annuity",
"AnnuityDue",
"Annulus",
"AnomalyDetection",
"AnomalyDetector",
"AnomalyDetectorFunction",
"Anonymous",
"Antialiasing",
"Antihermitian",
"AntihermitianMatrixQ",
"Antisymmetric",
"AntisymmetricMatrixQ",
"Antonyms",
"AnyOrder",
"AnySubset",
"AnyTrue",
"Apart",
"ApartSquareFree",
"APIFunction",
"Appearance",
"AppearanceElements",
"AppearanceRules",
"AppellF1",
"Append",
"AppendCheck",
"AppendLayer",
"AppendTo",
"Application",
"Apply",
"ApplyReaction",
"ApplySides",
"ApplyTo",
"ArcCos",
"ArcCosh",
"ArcCot",
"ArcCoth",
"ArcCsc",
"ArcCsch",
"ArcCurvature",
"ARCHProcess",
"ArcLength",
"ArcSec",
"ArcSech",
"ArcSin",
"ArcSinDistribution",
"ArcSinh",
"ArcTan",
"ArcTanh",
"Area",
"Arg",
"ArgMax",
"ArgMin",
"ArgumentCountQ",
"ArgumentsOptions",
"ARIMAProcess",
"ArithmeticGeometricMean",
"ARMAProcess",
"Around",
"AroundReplace",
"ARProcess",
"Array",
"ArrayComponents",
"ArrayDepth",
"ArrayFilter",
"ArrayFlatten",
"ArrayMesh",
"ArrayPad",
"ArrayPlot",
"ArrayPlot3D",
"ArrayQ",
"ArrayReduce",
"ArrayResample",
"ArrayReshape",
"ArrayRules",
"Arrays",
"Arrow",
"Arrow3DBox",
"ArrowBox",
"Arrowheads",
"ASATriangle",
"Ask",
"AskAppend",
"AskConfirm",
"AskDisplay",
"AskedQ",
"AskedValue",
"AskFunction",
"AskState",
"AskTemplateDisplay",
"AspectRatio",
"AspectRatioFixed",
"Assert",
"AssessmentFunction",
"AssessmentResultObject",
"AssociateTo",
"Association",
"AssociationFormat",
"AssociationMap",
"AssociationQ",
"AssociationThread",
"AssumeDeterministic",
"Assuming",
"Assumptions",
"AstroAngularSeparation",
"AstroBackground",
"AstroCenter",
"AstroDistance",
"AstroGraphics",
"AstroGridLines",
"AstroGridLinesStyle",
"AstronomicalData",
"AstroPosition",
"AstroProjection",
"AstroRange",
"AstroRangePadding",
"AstroReferenceFrame",
"AstroStyling",
"AstroZoomLevel",
"Asymptotic",
"AsymptoticDSolveValue",
"AsymptoticEqual",
"AsymptoticEquivalent",
"AsymptoticExpectation",
"AsymptoticGreater",
"AsymptoticGreaterEqual",
"AsymptoticIntegrate",
"AsymptoticLess",
"AsymptoticLessEqual",
"AsymptoticOutputTracker",
"AsymptoticProbability",
"AsymptoticProduct",
"AsymptoticRSolveValue",
"AsymptoticSolve",
"AsymptoticSum",
"Asynchronous",
"AsynchronousTaskObject",
"AsynchronousTasks",
"Atom",
"AtomCoordinates",
"AtomCount",
"AtomDiagramCoordinates",
"AtomLabels",
"AtomLabelStyle",
"AtomList",
"AtomQ",
"AttachCell",
"AttachedCell",
"AttentionLayer",
"Attributes",
"Audio",
"AudioAmplify",
"AudioAnnotate",
"AudioAnnotationLookup",
"AudioBlockMap",
"AudioCapture",
"AudioChannelAssignment",
"AudioChannelCombine",
"AudioChannelMix",
"AudioChannels",
"AudioChannelSeparate",
"AudioData",
"AudioDelay",
"AudioDelete",
"AudioDevice",
"AudioDistance",
"AudioEncoding",
"AudioFade",
"AudioFrequencyShift",
"AudioGenerator",
"AudioIdentify",
"AudioInputDevice",
"AudioInsert",
"AudioInstanceQ",
"AudioIntervals",
"AudioJoin",
"AudioLabel",
"AudioLength",
"AudioLocalMeasurements",
"AudioLooping",
"AudioLoudness",
"AudioMeasurements",
"AudioNormalize",
"AudioOutputDevice",
"AudioOverlay",
"AudioPad",
"AudioPan",
"AudioPartition",
"AudioPause",
"AudioPitchShift",
"AudioPlay",
"AudioPlot",
"AudioQ",
"AudioRecord",
"AudioReplace",
"AudioResample",
"AudioReverb",
"AudioReverse",
"AudioSampleRate",
"AudioSpectralMap",
"AudioSpectralTransformation",
"AudioSplit",
"AudioStop",
"AudioStream",
"AudioStreams",
"AudioTimeStretch",
"AudioTrackApply",
"AudioTrackSelection",
"AudioTrim",
"AudioType",
"AugmentedPolyhedron",
"AugmentedSymmetricPolynomial",
"Authenticate",
"Authentication",
"AuthenticationDialog",
"AutoAction",
"Autocomplete",
"AutocompletionFunction",
"AutoCopy",
"AutocorrelationTest",
"AutoDelete",
"AutoEvaluateEvents",
"AutoGeneratedPackage",
"AutoIndent",
"AutoIndentSpacings",
"AutoItalicWords",
"AutoloadPath",
"AutoMatch",
"Automatic",
"AutomaticImageSize",
"AutoMultiplicationSymbol",
"AutoNumberFormatting",
"AutoOpenNotebooks",
"AutoOpenPalettes",
"AutoOperatorRenderings",
"AutoQuoteCharacters",
"AutoRefreshed",
"AutoRemove",
"AutorunSequencing",
"AutoScaling",
"AutoScroll",
"AutoSpacing",
"AutoStyleOptions",
"AutoStyleWords",
"AutoSubmitting",
"Axes",
"AxesEdge",
"AxesLabel",
"AxesOrigin",
"AxesStyle",
"AxiomaticTheory",
"Axis",
"Axis3DBox",
"Axis3DBoxOptions",
"AxisBox",
"AxisBoxOptions",
"AxisLabel",
"AxisObject",
"AxisStyle",
"BabyMonsterGroupB",
"Back",
"BackFaceColor",
"BackFaceGlowColor",
"BackFaceOpacity",
"BackFaceSpecularColor",
"BackFaceSpecularExponent",
"BackFaceSurfaceAppearance",
"BackFaceTexture",
"Background",
"BackgroundAppearance",
"BackgroundTasksSettings",
"Backslash",
"Backsubstitution",
"Backward",
"Ball",
"Band",
"BandpassFilter",
"BandstopFilter",
"BarabasiAlbertGraphDistribution",
"BarChart",
"BarChart3D",
"BarcodeImage",
"BarcodeRecognize",
"BaringhausHenzeTest",
"BarLegend",
"BarlowProschanImportance",
"BarnesG",
"BarOrigin",
"BarSpacing",
"BartlettHannWindow",
"BartlettWindow",
"BaseDecode",
"BaseEncode",
"BaseForm",
"Baseline",
"BaselinePosition",
"BaseStyle",
"BasicRecurrentLayer",
"BatchNormalizationLayer",
"BatchSize",
"BatesDistribution",
"BattleLemarieWavelet",
"BayesianMaximization",
"BayesianMaximizationObject",
"BayesianMinimization",
"BayesianMinimizationObject",
"Because",
"BeckmannDistribution",
"Beep",
"Before",
"Begin",
"BeginDialogPacket",
"BeginPackage",
"BellB",
"BellY",
"Below",
"BenfordDistribution",
"BeniniDistribution",
"BenktanderGibratDistribution",
"BenktanderWeibullDistribution",
"BernoulliB",
"BernoulliDistribution",
"BernoulliGraphDistribution",
"BernoulliProcess",
"BernsteinBasis",
"BesagL",
"BesselFilterModel",
"BesselI",
"BesselJ",
"BesselJZero",
"BesselK",
"BesselY",
"BesselYZero",
"Beta",
"BetaBinomialDistribution",
"BetaDistribution",
"BetaNegativeBinomialDistribution",
"BetaPrimeDistribution",
"BetaRegularized",
"Between",
"BetweennessCentrality",
"Beveled",
"BeveledPolyhedron",
"BezierCurve",
"BezierCurve3DBox",
"BezierCurve3DBoxOptions",
"BezierCurveBox",
"BezierCurveBoxOptions",
"BezierFunction",
"BilateralFilter",
"BilateralLaplaceTransform",
"BilateralZTransform",
"Binarize",
"BinaryDeserialize",
"BinaryDistance",
"BinaryFormat",
"BinaryImageQ",
"BinaryRead",
"BinaryReadList",
"BinarySerialize",
"BinaryWrite",
"BinCounts",
"BinLists",
"BinnedVariogramList",
"Binomial",
"BinomialDistribution",
"BinomialPointProcess",
"BinomialProcess",
"BinormalDistribution",
"BiorthogonalSplineWavelet",
"BioSequence",
"BioSequenceBackTranslateList",
"BioSequenceComplement",
"BioSequenceInstances",
"BioSequenceModify",
"BioSequencePlot",
"BioSequenceQ",
"BioSequenceReverseComplement",
"BioSequenceTranscribe",
"BioSequenceTranslate",
"BipartiteGraphQ",
"BiquadraticFilterModel",
"BirnbaumImportance",
"BirnbaumSaundersDistribution",
"BitAnd",
"BitClear",
"BitGet",
"BitLength",
"BitNot",
"BitOr",
"BitRate",
"BitSet",
"BitShiftLeft",
"BitShiftRight",
"BitXor",
"BiweightLocation",
"BiweightMidvariance",
"Black",
"BlackmanHarrisWindow",
"BlackmanNuttallWindow",
"BlackmanWindow",
"Blank",
"BlankForm",
"BlankNullSequence",
"BlankSequence",
"Blend",
"Block",
"BlockchainAddressData",
"BlockchainBase",
"BlockchainBlockData",
"BlockchainContractValue",
"BlockchainData",
"BlockchainGet",
"BlockchainKeyEncode",
"BlockchainPut",
"BlockchainTokenData",
"BlockchainTransaction",
"BlockchainTransactionData",
"BlockchainTransactionSign",
"BlockchainTransactionSubmit",
"BlockDiagonalMatrix",
"BlockLowerTriangularMatrix",
"BlockMap",
"BlockRandom",
"BlockUpperTriangularMatrix",
"BlomqvistBeta",
"BlomqvistBetaTest",
"Blue",
"Blur",
"Blurring",
"BodePlot",
"BohmanWindow",
"Bold",
"Bond",
"BondCount",
"BondLabels",
"BondLabelStyle",
"BondList",
"BondQ",
"Bookmarks",
"Boole",
"BooleanConsecutiveFunction",
"BooleanConvert",
"BooleanCountingFunction",
"BooleanFunction",
"BooleanGraph",
"BooleanMaxterms",
"BooleanMinimize",
"BooleanMinterms",
"BooleanQ",
"BooleanRegion",
"Booleans",
"BooleanStrings",
"BooleanTable",
"BooleanVariables",
"BorderDimensions",
"BorelTannerDistribution",
"Bottom",
"BottomHatTransform",
"BoundaryDiscretizeGraphics",
"BoundaryDiscretizeRegion",
"BoundaryMesh",
"BoundaryMeshRegion",
"BoundaryMeshRegionQ",
"BoundaryStyle",
"BoundedRegionQ",
"BoundingRegion",
"Bounds",
"Box",
"BoxBaselineShift",
"BoxData",
"BoxDimensions",
"Boxed",
"Boxes",
"BoxForm",
"BoxFormFormatTypes",
"BoxFrame",
"BoxID",
"BoxMargins",
"BoxMatrix",
"BoxObject",
"BoxRatios",
"BoxRotation",
"BoxRotationPoint",
"BoxStyle",
"BoxWhiskerChart",
"Bra",
"BracketingBar",
"BraKet",
"BrayCurtisDistance",
"BreadthFirstScan",
"Break",
"BridgeData",
"BrightnessEqualize",
"BroadcastStationData",
"Brown",
"BrownForsytheTest",
"BrownianBridgeProcess",
"BrowserCategory",
"BSplineBasis",
"BSplineCurve",
"BSplineCurve3DBox",
"BSplineCurve3DBoxOptions",
"BSplineCurveBox",
"BSplineCurveBoxOptions",
"BSplineFunction",
"BSplineSurface",
"BSplineSurface3DBox",
"BSplineSurface3DBoxOptions",
"BubbleChart",
"BubbleChart3D",
"BubbleScale",
"BubbleSizes",
"BuckyballGraph",
"BuildCompiledComponent",
"BuildingData",
"BulletGauge",
"BusinessDayQ",
"ButterflyGraph",
"ButterworthFilterModel",
"Button",
"ButtonBar",
"ButtonBox",
"ButtonBoxOptions",
"ButtonCell",
"ButtonContents",
"ButtonData",
"ButtonEvaluator",
"ButtonExpandable",
"ButtonFrame",
"ButtonFunction",
"ButtonMargins",
"ButtonMinHeight",
"ButtonNote",
"ButtonNotebook",
"ButtonSource",
"ButtonStyle",
"ButtonStyleMenuListing",
"Byte",
"ByteArray",
"ByteArrayFormat",
"ByteArrayFormatQ",
"ByteArrayQ",
"ByteArrayToString",
"ByteCount",
"ByteOrdering",
"C",
"CachedValue",
"CacheGraphics",
"CachePersistence",
"CalendarConvert",
"CalendarData",
"CalendarType",
"Callout",
"CalloutMarker",
"CalloutStyle",
"CallPacket",
"CanberraDistance",
"Cancel",
"CancelButton",
"CandlestickChart",
"CanonicalGraph",
"CanonicalizePolygon",
"CanonicalizePolyhedron",
"CanonicalizeRegion",
"CanonicalName",
"CanonicalWarpingCorrespondence",
"CanonicalWarpingDistance",
"CantorMesh",
"CantorStaircase",
"Canvas",
"Cap",
"CapForm",
"CapitalDifferentialD",
"Capitalize",
"CapsuleShape",
"CaptureRunning",
"CaputoD",
"CardinalBSplineBasis",
"CarlemanLinearize",
"CarlsonRC",
"CarlsonRD",
"CarlsonRE",
"CarlsonRF",
"CarlsonRG",
"CarlsonRJ",
"CarlsonRK",
"CarlsonRM",
"CarmichaelLambda",
"CaseOrdering",
"Cases",
"CaseSensitive",
"Cashflow",
"Casoratian",
"Cast",
"Catalan",
"CatalanNumber",
"Catch",
"CategoricalDistribution",
"Catenate",
"CatenateLayer",
"CauchyDistribution",
"CauchyMatrix",
"CauchyPointProcess",
"CauchyWindow",
"CayleyGraph",
"CDF",
"CDFDeploy",
"CDFInformation",
"CDFWavelet",
"Ceiling",
"CelestialSystem",
"Cell",
"CellAutoOverwrite",
"CellBaseline",
"CellBoundingBox",
"CellBracketOptions",
"CellChangeTimes",
"CellContents",
"CellContext",
"CellDingbat",
"CellDingbatMargin",
"CellDynamicExpression",
"CellEditDuplicate",
"CellElementsBoundingBox",
"CellElementSpacings",
"CellEpilog",
"CellEvaluationDuplicate",
"CellEvaluationFunction",
"CellEvaluationLanguage",
"CellEventActions",
"CellFrame",
"CellFrameColor",
"CellFrameLabelMargins",
"CellFrameLabels",
"CellFrameMargins",
"CellFrameStyle",
"CellGroup",
"CellGroupData",
"CellGrouping",
"CellGroupingRules",
"CellHorizontalScrolling",
"CellID",
"CellInsertionPointCell",
"CellLabel",
"CellLabelAutoDelete",
"CellLabelMargins",
"CellLabelPositioning",
"CellLabelStyle",
"CellLabelTemplate",
"CellMargins",
"CellObject",
"CellOpen",
"CellPrint",
"CellProlog",
"Cells",
"CellSize",
"CellStyle",
"CellTags",
"CellTrayPosition",
"CellTrayWidgets",
"CellularAutomaton",
"CensoredDistribution",
"Censoring",
"Center",
"CenterArray",
"CenterDot",
"CenteredInterval",
"CentralFeature",
"CentralMoment",
"CentralMomentGeneratingFunction",
"Cepstrogram",
"CepstrogramArray",
"CepstrumArray",
"CForm",
"ChampernowneNumber",
"ChangeOptions",
"ChannelBase",
"ChannelBrokerAction",
"ChannelDatabin",
"ChannelHistoryLength",
"ChannelListen",
"ChannelListener",
"ChannelListeners",
"ChannelListenerWait",
"ChannelObject",
"ChannelPreSendFunction",
"ChannelReceiverFunction",
"ChannelSend",
"ChannelSubscribers",
"ChanVeseBinarize",
"Character",
"CharacterCounts",
"CharacterEncoding",
"CharacterEncodingsPath",
"CharacteristicFunction",
"CharacteristicPolynomial",
"CharacterName",
"CharacterNormalize",
"CharacterRange",
"Characters",
"ChartBaseStyle",
"ChartElementData",
"ChartElementDataFunction",
"ChartElementFunction",
"ChartElements",
"ChartLabels",
"ChartLayout",
"ChartLegends",
"ChartStyle",
"Chebyshev1FilterModel",
"Chebyshev2FilterModel",
"ChebyshevDistance",
"ChebyshevT",
"ChebyshevU",
"Check",
"CheckAbort",
"CheckAll",
"CheckArguments",
"Checkbox",
"CheckboxBar",
"CheckboxBox",
"CheckboxBoxOptions",
"ChemicalConvert",
"ChemicalData",
"ChemicalFormula",
"ChemicalInstance",
"ChemicalReaction",
"ChessboardDistance",
"ChiDistribution",
"ChineseRemainder",
"ChiSquareDistribution",
"ChoiceButtons",
"ChoiceDialog",
"CholeskyDecomposition",
"Chop",
"ChromaticityPlot",
"ChromaticityPlot3D",
"ChromaticPolynomial",
"Circle",
"CircleBox",
"CircleDot",
"CircleMinus",
"CirclePlus",
"CirclePoints",
"CircleThrough",
"CircleTimes",
"CirculantGraph",
"CircularArcThrough",
"CircularOrthogonalMatrixDistribution",
"CircularQuaternionMatrixDistribution",
"CircularRealMatrixDistribution",
"CircularSymplecticMatrixDistribution",
"CircularUnitaryMatrixDistribution",
"Circumsphere",
"CityData",
"ClassifierFunction",
"ClassifierInformation",
"ClassifierMeasurements",
"ClassifierMeasurementsObject",
"Classify",
"ClassPriors",
"Clear",
"ClearAll",
"ClearAttributes",
"ClearCookies",
"ClearPermissions",
"ClearSystemCache",
"ClebschGordan",
"ClickPane",
"ClickToCopy",
"ClickToCopyEnabled",
"Clip",
"ClipboardNotebook",
"ClipFill",
"ClippingStyle",
"ClipPlanes",
"ClipPlanesStyle",
"ClipRange",
"Clock",
"ClockGauge",
"ClockwiseContourIntegral",
"Close",
"Closed",
"CloseKernels",
"ClosenessCentrality",
"Closing",
"ClosingAutoSave",
"ClosingEvent",
"CloudAccountData",
"CloudBase",
"CloudConnect",
"CloudConnections",
"CloudDeploy",
"CloudDirectory",
"CloudDisconnect",
"CloudEvaluate",
"CloudExport",
"CloudExpression",
"CloudExpressions",
"CloudFunction",
"CloudGet",
"CloudImport",
"CloudLoggingData",
"CloudObject",
"CloudObjectInformation",
"CloudObjectInformationData",
"CloudObjectNameFormat",
"CloudObjects",
"CloudObjectURLType",
"CloudPublish",
"CloudPut",
"CloudRenderingMethod",
"CloudSave",
"CloudShare",
"CloudSubmit",
"CloudSymbol",
"CloudUnshare",
"CloudUserID",
"ClusterClassify",
"ClusterDissimilarityFunction",
"ClusteringComponents",
"ClusteringMeasurements",
"ClusteringTree",
"CMYKColor",
"Coarse",
"CodeAssistOptions",
"Coefficient",
"CoefficientArrays",
"CoefficientDomain",
"CoefficientList",
"CoefficientRules",
"CoifletWavelet",
"Collect",
"CollinearPoints",
"Colon",
"ColonForm",
"ColorBalance",
"ColorCombine",
"ColorConvert",
"ColorCoverage",
"ColorData",
"ColorDataFunction",
"ColorDetect",
"ColorDistance",
"ColorFunction",
"ColorFunctionBinning",
"ColorFunctionScaling",
"Colorize",
"ColorNegate",
"ColorOutput",
"ColorProfileData",
"ColorQ",
"ColorQuantize",
"ColorReplace",
"ColorRules",
"ColorSelectorSettings",
"ColorSeparate",
"ColorSetter",
"ColorSetterBox",
"ColorSetterBoxOptions",
"ColorSlider",
"ColorsNear",
"ColorSpace",
"ColorToneMapping",
"Column",
"ColumnAlignments",
"ColumnBackgrounds",
"ColumnForm",
"ColumnLines",
"ColumnsEqual",
"ColumnSpacings",
"ColumnWidths",
"CombinatorB",
"CombinatorC",
"CombinatorI",
"CombinatorK",
"CombinatorS",
"CombinatorW",
"CombinatorY",
"CombinedEntityClass",
"CombinerFunction",
"CometData",
"CommonDefaultFormatTypes",
"Commonest",
"CommonestFilter",
"CommonName",
"CommonUnits",
"CommunityBoundaryStyle",
"CommunityGraphPlot",
"CommunityLabels",
"CommunityRegionStyle",
"CompanyData",
"CompatibleUnitQ",
"CompilationOptions",
"CompilationTarget",
"Compile",
"Compiled",
"CompiledCodeFunction",
"CompiledComponent",
"CompiledExpressionDeclaration",
"CompiledFunction",
"CompiledLayer",
"CompilerCallback",
"CompilerEnvironment",
"CompilerEnvironmentAppend",
"CompilerEnvironmentAppendTo",
"CompilerEnvironmentObject",
"CompilerOptions",
"Complement",
"ComplementedEntityClass",
"CompleteGraph",
"CompleteGraphQ",
"CompleteIntegral",
"CompleteKaryTree",
"CompletionsListPacket",
"Complex",
"ComplexArrayPlot",
"ComplexContourPlot",
"Complexes",
"ComplexExpand",
"ComplexInfinity",
"ComplexityFunction",
"ComplexListPlot",
"ComplexPlot",
"ComplexPlot3D",
"ComplexRegionPlot",
"ComplexStreamPlot",
"ComplexVectorPlot",
"ComponentMeasurements",
"ComponentwiseContextMenu",
"Compose",
"ComposeList",
"ComposeSeries",
"CompositeQ",
"Composition",
"CompoundElement",
"CompoundExpression",
"CompoundPoissonDistribution",
"CompoundPoissonProcess",
"CompoundRenewalProcess",
"Compress",
"CompressedData",
"CompressionLevel",
"ComputeUncertainty",
"ConcaveHullMesh",
"Condition",
"ConditionalExpression",
"Conditioned",
"Cone",
"ConeBox",
"ConfidenceLevel",
"ConfidenceRange",
"ConfidenceTransform",
"ConfigurationPath",
"Confirm",
"ConfirmAssert",
"ConfirmBy",
"ConfirmMatch",
"ConfirmQuiet",
"ConformationMethod",
"ConformAudio",
"ConformImages",
"Congruent",
"ConicGradientFilling",
"ConicHullRegion",
"ConicHullRegion3DBox",
"ConicHullRegion3DBoxOptions",
"ConicHullRegionBox",
"ConicHullRegionBoxOptions",
"ConicOptimization",
"Conjugate",
"ConjugateTranspose",
"Conjunction",
"Connect",
"ConnectedComponents",
"ConnectedGraphComponents",
"ConnectedGraphQ",
"ConnectedMeshComponents",
"ConnectedMoleculeComponents",
"ConnectedMoleculeQ",
"ConnectionSettings",
"ConnectLibraryCallbackFunction",
"ConnectSystemModelComponents",
"ConnectSystemModelController",
"ConnesWindow",
"ConoverTest",
"ConservativeConvectionPDETerm",
"ConsoleMessage",
"Constant",
"ConstantArray",
"ConstantArrayLayer",
"ConstantImage",
"ConstantPlusLayer",
"ConstantRegionQ",
"Constants",
"ConstantTimesLayer",
"ConstellationData",
"ConstrainedMax",
"ConstrainedMin",
"Construct",
"Containing",
"ContainsAll",
"ContainsAny",
"ContainsExactly",
"ContainsNone",
"ContainsOnly",
"ContentDetectorFunction",
"ContentFieldOptions",
"ContentLocationFunction",
"ContentObject",
"ContentPadding",
"ContentsBoundingBox",
"ContentSelectable",
"ContentSize",
"Context",
"ContextMenu",
"Contexts",
"ContextToFileName",
"Continuation",
"Continue",
"ContinuedFraction",
"ContinuedFractionK",
"ContinuousAction",
"ContinuousMarkovProcess",
"ContinuousTask",
"ContinuousTimeModelQ",
"ContinuousWaveletData",
"ContinuousWaveletTransform",
"ContourDetect",
"ContourGraphics",
"ContourIntegral",
"ContourLabels",
"ContourLines",
"ContourPlot",
"ContourPlot3D",
"Contours",
"ContourShading",
"ContourSmoothing",
"ContourStyle",
"ContraharmonicMean",
"ContrastiveLossLayer",
"Control",
"ControlActive",
"ControlAlignment",
"ControlGroupContentsBox",
"ControllabilityGramian",
"ControllabilityMatrix",
"ControllableDecomposition",
"ControllableModelQ",
"ControllerDuration",
"ControllerInformation",
"ControllerInformationData",
"ControllerLinking",
"ControllerManipulate",
"ControllerMethod",
"ControllerPath",
"ControllerState",
"ControlPlacement",
"ControlsRendering",
"ControlType",
"ConvectionPDETerm",
"Convergents",
"ConversionOptions",
"ConversionRules",
"ConvertToPostScript",
"ConvertToPostScriptPacket",
"ConvexHullMesh",
"ConvexHullRegion",
"ConvexOptimization",
"ConvexPolygonQ",
"ConvexPolyhedronQ",
"ConvexRegionQ",
"ConvolutionLayer",
"Convolve",
"ConwayGroupCo1",
"ConwayGroupCo2",
"ConwayGroupCo3",
"CookieFunction",
"Cookies",
"CoordinateBoundingBox",
"CoordinateBoundingBoxArray",
"CoordinateBounds",
"CoordinateBoundsArray",
"CoordinateChartData",
"CoordinatesToolOptions",
"CoordinateTransform",
"CoordinateTransformData",
"CoplanarPoints",
"CoprimeQ",
"Coproduct",
"CopulaDistribution",
"Copyable",
"CopyDatabin",
"CopyDirectory",
"CopyFile",
"CopyFunction",
"CopyTag",
"CopyToClipboard",
"CoreNilpotentDecomposition",
"CornerFilter",
"CornerNeighbors",
"Correlation",
"CorrelationDistance",
"CorrelationFunction",
"CorrelationTest",
"Cos",
"Cosh",
"CoshIntegral",
"CosineDistance",
"CosineWindow",
"CosIntegral",
"Cot",
"Coth",
"CoulombF",
"CoulombG",
"CoulombH1",
"CoulombH2",
"Count",
"CountDistinct",
"CountDistinctBy",
"CounterAssignments",
"CounterBox",
"CounterBoxOptions",
"CounterClockwiseContourIntegral",
"CounterEvaluator",
"CounterFunction",
"CounterIncrements",
"CounterStyle",
"CounterStyleMenuListing",
"CountRoots",
"CountryData",
"Counts",
"CountsBy",
"Covariance",
"CovarianceEstimatorFunction",
"CovarianceFunction",
"CoxianDistribution",
"CoxIngersollRossProcess",
"CoxModel",
"CoxModelFit",
"CramerVonMisesTest",
"CreateArchive",
"CreateCellID",
"CreateChannel",
"CreateCloudExpression",
"CreateCompilerEnvironment",
"CreateDatabin",
"CreateDataStructure",
"CreateDataSystemModel",
"CreateDialog",
"CreateDirectory",
"CreateDocument",
"CreateFile",
"CreateIntermediateDirectories",
"CreateLicenseEntitlement",
"CreateManagedLibraryExpression",
"CreateNotebook",
"CreatePacletArchive",
"CreatePalette",
"CreatePermissionsGroup",
"CreateScheduledTask",
"CreateSearchIndex",
"CreateSystemModel",
"CreateTemporary",
"CreateTypeInstance",
"CreateUUID",
"CreateWindow",
"CriterionFunction",
"CriticalityFailureImportance",
"CriticalitySuccessImportance",
"CriticalSection",
"Cross",
"CrossEntropyLossLayer",
"CrossingCount",
"CrossingDetect",
"CrossingPolygon",
"CrossMatrix",
"Csc",
"Csch",
"CSGRegion",
"CSGRegionQ",
"CSGRegionTree",
"CTCLossLayer",
"Cube",
"CubeRoot",
"Cubics",
"Cuboid",
"CuboidBox",
"CuboidBoxOptions",
"Cumulant",
"CumulantGeneratingFunction",
"CumulativeFeatureImpactPlot",
"Cup",
"CupCap",
"Curl",
"CurlyDoubleQuote",
"CurlyQuote",
"CurrencyConvert",
"CurrentDate",
"CurrentImage",
"CurrentNotebookImage",
"CurrentScreenImage",
"CurrentValue",
"Curry",
"CurryApplied",
"CurvatureFlowFilter",
"CurveClosed",
"Cyan",
"CycleGraph",
"CycleIndexPolynomial",
"Cycles",
"CyclicGroup",
"Cyclotomic",
"Cylinder",
"CylinderBox",
"CylinderBoxOptions",
"CylindricalDecomposition",
"CylindricalDecompositionFunction",
"D",
"DagumDistribution",
"DamData",
"DamerauLevenshteinDistance",
"DampingFactor",
"Darker",
"Dashed",
"Dashing",
"DatabaseConnect",
"DatabaseDisconnect",
"DatabaseReference",
"Databin",
"DatabinAdd",
"DatabinRemove",
"Databins",
"DatabinSubmit",
"DatabinUpload",
"DataCompression",
"DataDistribution",
"DataRange",
"DataReversed",
"Dataset",
"DatasetDisplayPanel",
"DatasetTheme",
"DataStructure",
"DataStructureQ",
"Date",
"DateBounds",
"Dated",
"DateDelimiters",
"DateDifference",
"DatedUnit",
"DateFormat",
"DateFunction",
"DateGranularity",
"DateHistogram",
"DateInterval",
"DateList",
"DateListLogPlot",
"DateListPlot",
"DateListStepPlot",
"DateObject",
"DateObjectQ",
"DateOverlapsQ",
"DatePattern",
"DatePlus",
"DateRange",
"DateReduction",
"DateScale",
"DateSelect",
"DateString",
"DateTicksFormat",
"DateValue",
"DateWithinQ",
"DaubechiesWavelet",
"DavisDistribution",
"DawsonF",
"DayCount",
"DayCountConvention",
"DayHemisphere",
"DaylightQ",
"DayMatchQ",
"DayName",
"DayNightTerminator",
"DayPlus",
"DayRange",
"DayRound",
"DeBruijnGraph",
"DeBruijnSequence",
"Debug",
"DebugTag",
"Decapitalize",
"Decimal",
"DecimalForm",
"DeclareCompiledComponent",
"DeclareKnownSymbols",
"DeclarePackage",
"Decompose",
"DeconvolutionLayer",
"Decrement",
"Decrypt",
"DecryptFile",
"DedekindEta",
"DeepSpaceProbeData",
"Default",
"Default2DTool",
"Default3DTool",
"DefaultAttachedCellStyle",
"DefaultAxesStyle",
"DefaultBaseStyle",
"DefaultBoxStyle",
"DefaultButton",
"DefaultColor",
"DefaultControlPlacement",
"DefaultDockedCellStyle",
"DefaultDuplicateCellStyle",
"DefaultDuration",
"DefaultElement",
"DefaultFaceGridsStyle",
"DefaultFieldHintStyle",
"DefaultFont",
"DefaultFontProperties",
"DefaultFormatType",
"DefaultFrameStyle",
"DefaultFrameTicksStyle",
"DefaultGridLinesStyle",
"DefaultInlineFormatType",
"DefaultInputFormatType",
"DefaultLabelStyle",
"DefaultMenuStyle",
"DefaultNaturalLanguage",
"DefaultNewCellStyle",
"DefaultNewInlineCellStyle",
"DefaultNotebook",
"DefaultOptions",
"DefaultOutputFormatType",
"DefaultPrintPrecision",
"DefaultStyle",
"DefaultStyleDefinitions",
"DefaultTextFormatType",
"DefaultTextInlineFormatType",
"DefaultTicksStyle",
"DefaultTooltipStyle",
"DefaultValue",
"DefaultValues",
"Defer",
"DefineExternal",
"DefineInputStreamMethod",
"DefineOutputStreamMethod",
"DefineResourceFunction",
"Definition",
"Degree",
"DegreeCentrality",
"DegreeGraphDistribution",
"DegreeLexicographic",
"DegreeReverseLexicographic",
"DEigensystem",
"DEigenvalues",
"Deinitialization",
"Del",
"DelaunayMesh",
"Delayed",
"Deletable",
"Delete",
"DeleteAdjacentDuplicates",
"DeleteAnomalies",
"DeleteBorderComponents",
"DeleteCases",
"DeleteChannel",
"DeleteCloudExpression",
"DeleteContents",
"DeleteDirectory",
"DeleteDuplicates",
"DeleteDuplicatesBy",
"DeleteElements",
"DeleteFile",
"DeleteMissing",
"DeleteObject",
"DeletePermissionsKey",
"DeleteSearchIndex",
"DeleteSmallComponents",
"DeleteStopwords",
"DeleteWithContents",
"DeletionWarning",
"DelimitedArray",
"DelimitedSequence",
"Delimiter",
"DelimiterAutoMatching",
"DelimiterFlashTime",
"DelimiterMatching",
"Delimiters",
"DeliveryFunction",
"Dendrogram",
"Denominator",
"DensityGraphics",
"DensityHistogram",
"DensityPlot",
"DensityPlot3D",
"DependentVariables",
"Deploy",
"Deployed",
"Depth",
"DepthFirstScan",
"Derivative",
"DerivativeFilter",
"DerivativePDETerm",
"DerivedKey",
"DescriptorStateSpace",
"DesignMatrix",
"DestroyAfterEvaluation",
"Det",
"DeviceClose",
"DeviceConfigure",
"DeviceExecute",
"DeviceExecuteAsynchronous",
"DeviceObject",
"DeviceOpen",
"DeviceOpenQ",
"DeviceRead",
"DeviceReadBuffer",
"DeviceReadLatest",
"DeviceReadList",
"DeviceReadTimeSeries",
"Devices",
"DeviceStreams",
"DeviceWrite",
"DeviceWriteBuffer",
"DGaussianWavelet",
"DiacriticalPositioning",
"Diagonal",
"DiagonalizableMatrixQ",
"DiagonalMatrix",
"DiagonalMatrixQ",
"Dialog",
"DialogIndent",
"DialogInput",
"DialogLevel",
"DialogNotebook",
"DialogProlog",
"DialogReturn",
"DialogSymbols",
"Diamond",
"DiamondMatrix",
"DiceDissimilarity",
"DictionaryLookup",
"DictionaryWordQ",
"DifferenceDelta",
"DifferenceOrder",
"DifferenceQuotient",
"DifferenceRoot",
"DifferenceRootReduce",
"Differences",
"DifferentialD",
"DifferentialRoot",
"DifferentialRootReduce",
"DifferentiatorFilter",
"DiffusionPDETerm",
"DiggleGatesPointProcess",
"DiggleGrattonPointProcess",
"DigitalSignature",
"DigitBlock",
"DigitBlockMinimum",
"DigitCharacter",
"DigitCount",
"DigitQ",
"DihedralAngle",
"DihedralGroup",
"Dilation",
"DimensionalCombinations",
"DimensionalMeshComponents",
"DimensionReduce",
"DimensionReducerFunction",
"DimensionReduction",
"Dimensions",
"DiracComb",
"DiracDelta",
"DirectedEdge",
"DirectedEdges",
"DirectedGraph",
"DirectedGraphQ",
"DirectedInfinity",
"Direction",
"DirectionalLight",
"Directive",
"Directory",
"DirectoryName",
"DirectoryQ",
"DirectoryStack",
"DirichletBeta",
"DirichletCharacter",
"DirichletCondition",
"DirichletConvolve",
"DirichletDistribution",
"DirichletEta",
"DirichletL",
"DirichletLambda",
"DirichletTransform",
"DirichletWindow",
"DisableConsolePrintPacket",
"DisableFormatting",
"DiscreteAsymptotic",
"DiscreteChirpZTransform",
"DiscreteConvolve",
"DiscreteDelta",
"DiscreteHadamardTransform",
"DiscreteIndicator",
"DiscreteInputOutputModel",
"DiscreteLimit",
"DiscreteLQEstimatorGains",
"DiscreteLQRegulatorGains",
"DiscreteLyapunovSolve",
"DiscreteMarkovProcess",
"DiscreteMaxLimit",
"DiscreteMinLimit",
"DiscretePlot",
"DiscretePlot3D",
"DiscreteRatio",
"DiscreteRiccatiSolve",
"DiscreteShift",
"DiscreteTimeModelQ",
"DiscreteUniformDistribution",
"DiscreteVariables",
"DiscreteWaveletData",
"DiscreteWaveletPacketTransform",
"DiscreteWaveletTransform",
"DiscretizeGraphics",
"DiscretizeRegion",
"Discriminant",
"DisjointQ",
"Disjunction",
"Disk",
"DiskBox",
"DiskBoxOptions",
"DiskMatrix",
"DiskSegment",
"Dispatch",
"DispatchQ",
"DispersionEstimatorFunction",
"Display",
"DisplayAllSteps",
"DisplayEndPacket",
"DisplayForm",
"DisplayFunction",
"DisplayPacket",
"DisplayRules",
"DisplayString",
"DisplayTemporary",
"DisplayWith",
"DisplayWithRef",
"DisplayWithVariable",
"DistanceFunction",
"DistanceMatrix",
"DistanceTransform",
"Distribute",
"Distributed",
"DistributedContexts",
"DistributeDefinitions",
"DistributionChart",
"DistributionDomain",
"DistributionFitTest",
"DistributionParameterAssumptions",
"DistributionParameterQ",
"Dithering",
"Div",
"Divergence",
"Divide",
"DivideBy",
"Dividers",
"DivideSides",
"Divisible",
"Divisors",
"DivisorSigma",
"DivisorSum",
"DMSList",
"DMSString",
"Do",
"DockedCell",
"DockedCells",
"DocumentGenerator",
"DocumentGeneratorInformation",
"DocumentGeneratorInformationData",
"DocumentGenerators",
"DocumentNotebook",
"DocumentWeightingRules",
"Dodecahedron",
"DomainRegistrationInformation",
"DominantColors",
"DominatorTreeGraph",
"DominatorVertexList",
"DOSTextFormat",
"Dot",
"DotDashed",
"DotEqual",
"DotLayer",
"DotPlusLayer",
"Dotted",
"DoubleBracketingBar",
"DoubleContourIntegral",
"DoubleDownArrow",
"DoubleLeftArrow",
"DoubleLeftRightArrow",
"DoubleLeftTee",
"DoubleLongLeftArrow",
"DoubleLongLeftRightArrow",
"DoubleLongRightArrow",
"DoubleRightArrow",
"DoubleRightTee",
"DoubleUpArrow",
"DoubleUpDownArrow",
"DoubleVerticalBar",
"DoublyInfinite",
"Down",
"DownArrow",
"DownArrowBar",
"DownArrowUpArrow",
"DownLeftRightVector",
"DownLeftTeeVector",
"DownLeftVector",
"DownLeftVectorBar",
"DownRightTeeVector",
"DownRightVector",
"DownRightVectorBar",
"Downsample",
"DownTee",
"DownTeeArrow",
"DownValues",
"DownValuesFunction",
"DragAndDrop",
"DrawBackFaces",
"DrawEdges",
"DrawFrontFaces",
"DrawHighlighted",
"DrazinInverse",
"Drop",
"DropoutLayer",
"DropShadowing",
"DSolve",
"DSolveChangeVariables",
"DSolveValue",
"Dt",
"DualLinearProgramming",
"DualPlanarGraph",
"DualPolyhedron",
"DualSystemsModel",
"DumpGet",
"DumpSave",
"DuplicateFreeQ",
"Duration",
"Dynamic",
"DynamicBox",
"DynamicBoxOptions",
"DynamicEvaluationTimeout",
"DynamicGeoGraphics",
"DynamicImage",
"DynamicLocation",
"DynamicModule",
"DynamicModuleBox",
"DynamicModuleBoxOptions",
"DynamicModuleParent",
"DynamicModuleValues",
"DynamicName",
"DynamicNamespace",
"DynamicReference",
"DynamicSetting",
"DynamicUpdating",
"DynamicWrapper",
"DynamicWrapperBox",
"DynamicWrapperBoxOptions",
"E",
"EarthImpactData",
"EarthquakeData",
"EccentricityCentrality",
"Echo",
"EchoEvaluation",
"EchoFunction",
"EchoLabel",
"EchoTiming",
"EclipseType",
"EdgeAdd",
"EdgeBetweennessCentrality",
"EdgeCapacity",
"EdgeCapForm",
"EdgeChromaticNumber",
"EdgeColor",
"EdgeConnectivity",
"EdgeContract",
"EdgeCost",
"EdgeCount",
"EdgeCoverQ",
"EdgeCycleMatrix",
"EdgeDashing",
"EdgeDelete",
"EdgeDetect",
"EdgeForm",
"EdgeIndex",
"EdgeJoinForm",
"EdgeLabeling",
"EdgeLabels",
"EdgeLabelStyle",
"EdgeList",
"EdgeOpacity",
"EdgeQ",
"EdgeRenderingFunction",
"EdgeRules",
"EdgeShapeFunction",
"EdgeStyle",
"EdgeTaggedGraph",
"EdgeTaggedGraphQ",
"EdgeTags",
"EdgeThickness",
"EdgeTransitiveGraphQ",
"EdgeValueRange",
"EdgeValueSizes",
"EdgeWeight",
"EdgeWeightedGraphQ",
"Editable",
"EditButtonSettings",
"EditCellTagsSettings",
"EditDistance",
"EffectiveInterest",
"Eigensystem",
"Eigenvalues",
"EigenvectorCentrality",
"Eigenvectors",
"Element",
"ElementData",
"ElementwiseLayer",
"ElidedForms",
"Eliminate",
"EliminationOrder",
"Ellipsoid",
"EllipticE",
"EllipticExp",
"EllipticExpPrime",
"EllipticF",
"EllipticFilterModel",
"EllipticK",
"EllipticLog",
"EllipticNomeQ",
"EllipticPi",
"EllipticReducedHalfPeriods",
"EllipticTheta",
"EllipticThetaPrime",
"EmbedCode",
"EmbeddedHTML",
"EmbeddedService",
"EmbeddedSQLEntityClass",
"EmbeddedSQLExpression",
"EmbeddingLayer",
"EmbeddingObject",
"EmitSound",
"EmphasizeSyntaxErrors",
"EmpiricalDistribution",
"Empty",
"EmptyGraphQ",
"EmptyRegion",
"EmptySpaceF",
"EnableConsolePrintPacket",
"Enabled",
"Enclose",
"Encode",
"Encrypt",
"EncryptedObject",
"EncryptFile",
"End",
"EndAdd",
"EndDialogPacket",
"EndOfBuffer",
"EndOfFile",
"EndOfLine",
"EndOfString",
"EndPackage",
"EngineEnvironment",
"EngineeringForm",
"Enter",
"EnterExpressionPacket",
"EnterTextPacket",
"Entity",
"EntityClass",
"EntityClassList",
"EntityCopies",
"EntityFunction",
"EntityGroup",
"EntityInstance",
"EntityList",
"EntityPrefetch",
"EntityProperties",
"EntityProperty",
"EntityPropertyClass",
"EntityRegister",
"EntityStore",
"EntityStores",
"EntityTypeName",
"EntityUnregister",
"EntityValue",
"Entropy",
"EntropyFilter",
"Environment",
"Epilog",
"EpilogFunction",
"Equal",
"EqualColumns",
"EqualRows",
"EqualTilde",
"EqualTo",
"EquatedTo",
"Equilibrium",
"EquirippleFilterKernel",
"Equivalent",
"Erf",
"Erfc",
"Erfi",
"ErlangB",
"ErlangC",
"ErlangDistribution",
"Erosion",
"ErrorBox",
"ErrorBoxOptions",
"ErrorNorm",
"ErrorPacket",
"ErrorsDialogSettings",
"EscapeRadius",
"EstimatedBackground",
"EstimatedDistribution",
"EstimatedPointNormals",
"EstimatedPointProcess",
"EstimatedProcess",
"EstimatedVariogramModel",
"EstimatorGains",
"EstimatorRegulator",
"EuclideanDistance",
"EulerAngles",
"EulerCharacteristic",
"EulerE",
"EulerGamma",
"EulerianGraphQ",
"EulerMatrix",
"EulerPhi",
"Evaluatable",
"Evaluate",
"Evaluated",
"EvaluatePacket",
"EvaluateScheduledTask",
"EvaluationBox",
"EvaluationCell",
"EvaluationCompletionAction",
"EvaluationData",
"EvaluationElements",
"EvaluationEnvironment",
"EvaluationMode",
"EvaluationMonitor",
"EvaluationNotebook",
"EvaluationObject",
"EvaluationOrder",
"EvaluationPrivileges",
"EvaluationRateLimit",
"Evaluator",
"EvaluatorNames",
"EvenQ",
"EventData",
"EventEvaluator",
"EventHandler",
"EventHandlerTag",
"EventLabels",
"EventSeries",
"ExactBlackmanWindow",
"ExactNumberQ",
"ExactRootIsolation",
"ExampleData",
"Except",
"ExcludedContexts",
"ExcludedForms",
"ExcludedLines",
"ExcludedPhysicalQuantities",
"ExcludePods",
"Exclusions",
"ExclusionsStyle",
"Exists",
"Exit",
"ExitDialog",
"ExoplanetData",
"Exp",
"Expand",
"ExpandAll",
"ExpandDenominator",
"ExpandFileName",
"ExpandNumerator",
"Expectation",
"ExpectationE",
"ExpectedValue",
"ExpGammaDistribution",
"ExpIntegralE",
"ExpIntegralEi",
"ExpirationDate",
"Exponent",
"ExponentFunction",
"ExponentialDistribution",
"ExponentialFamily",
"ExponentialGeneratingFunction",
"ExponentialMovingAverage",
"ExponentialPowerDistribution",
"ExponentPosition",
"ExponentStep",
"Export",
"ExportAutoReplacements",
"ExportByteArray",
"ExportForm",
"ExportPacket",
"ExportString",
"Expression",
"ExpressionCell",
"ExpressionGraph",
"ExpressionPacket",
"ExpressionTree",
"ExpressionUUID",
"ExpToTrig",
"ExtendedEntityClass",
"ExtendedGCD",
"Extension",
"ExtentElementFunction",
"ExtentMarkers",
"ExtentSize",
"ExternalBundle",
"ExternalCall",
"ExternalDataCharacterEncoding",
"ExternalEvaluate",
"ExternalFunction",
"ExternalFunctionName",
"ExternalIdentifier",
"ExternalObject",
"ExternalOptions",
"ExternalSessionObject",
"ExternalSessions",
"ExternalStorageBase",
"ExternalStorageDownload",
"ExternalStorageGet",
"ExternalStorageObject",
"ExternalStoragePut",
"ExternalStorageUpload",
"ExternalTypeSignature",
"ExternalValue",
"Extract",
"ExtractArchive",
"ExtractLayer",
"ExtractPacletArchive",
"ExtremeValueDistribution",
"FaceAlign",
"FaceForm",
"FaceGrids",
"FaceGridsStyle",
"FaceRecognize",
"FacialFeatures",
"Factor",
"FactorComplete",
"Factorial",
"Factorial2",
"FactorialMoment",
"FactorialMomentGeneratingFunction",
"FactorialPower",
"FactorInteger",
"FactorList",
"FactorSquareFree",
"FactorSquareFreeList",
"FactorTerms",
"FactorTermsList",
"Fail",
"Failure",
"FailureAction",
"FailureDistribution",
"FailureQ",
"False",
"FareySequence",
"FARIMAProcess",
"FeatureDistance",
"FeatureExtract",
"FeatureExtraction",
"FeatureExtractor",
"FeatureExtractorFunction",
"FeatureImpactPlot",
"FeatureNames",
"FeatureNearest",
"FeatureSpacePlot",
"FeatureSpacePlot3D",
"FeatureTypes",
"FeatureValueDependencyPlot",
"FeatureValueImpactPlot",
"FEDisableConsolePrintPacket",
"FeedbackLinearize",
"FeedbackSector",
"FeedbackSectorStyle",
"FeedbackType",
"FEEnableConsolePrintPacket",
"FetalGrowthData",
"Fibonacci",
"Fibonorial",
"FieldCompletionFunction",
"FieldHint",
"FieldHintStyle",
"FieldMasked",
"FieldSize",
"File",
"FileBaseName",
"FileByteCount",
"FileConvert",
"FileDate",
"FileExistsQ",
"FileExtension",
"FileFormat",
"FileFormatProperties",
"FileFormatQ",
"FileHandler",
"FileHash",
"FileInformation",
"FileName",
"FileNameDepth",
"FileNameDialogSettings",
"FileNameDrop",
"FileNameForms",
"FileNameJoin",
"FileNames",
"FileNameSetter",
"FileNameSplit",
"FileNameTake",
"FileNameToFormatList",
"FilePrint",
"FileSize",
"FileSystemMap",
"FileSystemScan",
"FileSystemTree",
"FileTemplate",
"FileTemplateApply",
"FileType",
"FilledCurve",
"FilledCurveBox",
"FilledCurveBoxOptions",
"FilledTorus",
"FillForm",
"Filling",
"FillingStyle",
"FillingTransform",
"FilteredEntityClass",
"FilterRules",
"FinancialBond",
"FinancialData",
"FinancialDerivative",
"FinancialIndicator",
"Find",
"FindAnomalies",
"FindArgMax",
"FindArgMin",
"FindChannels",
"FindClique",
"FindClusters",
"FindCookies",
"FindCurvePath",
"FindCycle",
"FindDevices",
"FindDistribution",
"FindDistributionParameters",
"FindDivisions",
"FindEdgeColoring",
"FindEdgeCover",
"FindEdgeCut",
"FindEdgeIndependentPaths",
"FindEquationalProof",
"FindEulerianCycle",
"FindExternalEvaluators",
"FindFaces",
"FindFile",
"FindFit",
"FindFormula",
"FindFundamentalCycles",
"FindGeneratingFunction",
"FindGeoLocation",
"FindGeometricConjectures",
"FindGeometricTransform",
"FindGraphCommunities",
"FindGraphIsomorphism",
"FindGraphPartition",
"FindHamiltonianCycle",
"FindHamiltonianPath",
"FindHiddenMarkovStates",
"FindImageText",
"FindIndependentEdgeSet",
"FindIndependentVertexSet",
"FindInstance",
"FindIntegerNullVector",
"FindIsomers",
"FindIsomorphicSubgraph",
"FindKClan",
"FindKClique",
"FindKClub",
"FindKPlex",
"FindLibrary",
"FindLinearRecurrence",
"FindList",
"FindMatchingColor",
"FindMaximum",
"FindMaximumCut",
"FindMaximumFlow",
"FindMaxValue",
"FindMeshDefects",
"FindMinimum",
"FindMinimumCostFlow",
"FindMinimumCut",
"FindMinValue",
"FindMoleculeSubstructure",
"FindPath",
"FindPeaks",
"FindPermutation",
"FindPlanarColoring",
"FindPointProcessParameters",
"FindPostmanTour",
"FindProcessParameters",
"FindRegionTransform",
"FindRepeat",
"FindRoot",
"FindSequenceFunction",
"FindSettings",
"FindShortestPath",
"FindShortestTour",
"FindSpanningTree",
"FindSubgraphIsomorphism",
"FindSystemModelEquilibrium",
"FindTextualAnswer",
"FindThreshold",
"FindTransientRepeat",
"FindVertexColoring",
"FindVertexCover",
"FindVertexCut",
"FindVertexIndependentPaths",
"Fine",
"FinishDynamic",
"FiniteAbelianGroupCount",
"FiniteGroupCount",
"FiniteGroupData",
"First",
"FirstCase",
"FirstPassageTimeDistribution",
"FirstPosition",
"FischerGroupFi22",
"FischerGroupFi23",
"FischerGroupFi24Prime",
"FisherHypergeometricDistribution",
"FisherRatioTest",
"FisherZDistribution",
"Fit",
"FitAll",
"FitRegularization",
"FittedModel",
"FixedOrder",
"FixedPoint",
"FixedPointList",
"FlashSelection",
"Flat",
"FlatShading",
"Flatten",
"FlattenAt",
"FlattenLayer",
"FlatTopWindow",
"FlightData",
"FlipView",
"Floor",
"FlowPolynomial",
"Fold",
"FoldList",
"FoldPair",
"FoldPairList",
"FoldWhile",
"FoldWhileList",
"FollowRedirects",
"Font",
"FontColor",
"FontFamily",
"FontForm",
"FontName",
"FontOpacity",
"FontPostScriptName",
"FontProperties",
"FontReencoding",
"FontSize",
"FontSlant",
"FontSubstitutions",
"FontTracking",
"FontVariations",
"FontWeight",
"For",
"ForAll",
"ForAllType",
"ForceVersionInstall",
"Format",
"FormatRules",
"FormatType",
"FormatTypeAutoConvert",
"FormatValues",
"FormBox",
"FormBoxOptions",
"FormControl",
"FormFunction",
"FormLayoutFunction",
"FormObject",
"FormPage",
"FormProtectionMethod",
"FormTheme",
"FormulaData",
"FormulaLookup",
"FortranForm",
"Forward",
"ForwardBackward",
"ForwardCloudCredentials",
"Fourier",
"FourierCoefficient",
"FourierCosCoefficient",
"FourierCosSeries",
"FourierCosTransform",
"FourierDCT",
"FourierDCTFilter",
"FourierDCTMatrix",
"FourierDST",
"FourierDSTMatrix",
"FourierMatrix",
"FourierParameters",
"FourierSequenceTransform",
"FourierSeries",
"FourierSinCoefficient",
"FourierSinSeries",
"FourierSinTransform",
"FourierTransform",
"FourierTrigSeries",
"FoxH",
"FoxHReduce",
"FractionalBrownianMotionProcess",
"FractionalD",
"FractionalGaussianNoiseProcess",
"FractionalPart",
"FractionBox",
"FractionBoxOptions",
"FractionLine",
"Frame",
"FrameBox",
"FrameBoxOptions",
"Framed",
"FrameInset",
"FrameLabel",
"Frameless",
"FrameListVideo",
"FrameMargins",
"FrameRate",
"FrameStyle",
"FrameTicks",
"FrameTicksStyle",
"FRatioDistribution",
"FrechetDistribution",
"FreeQ",
"FrenetSerretSystem",
"FrequencySamplingFilterKernel",
"FresnelC",
"FresnelF",
"FresnelG",
"FresnelS",
"Friday",
"FrobeniusNumber",
"FrobeniusSolve",
"FromAbsoluteTime",
"FromCharacterCode",
"FromCoefficientRules",
"FromContinuedFraction",
"FromDate",
"FromDateString",
"FromDigits",
"FromDMS",
"FromEntity",
"FromJulianDate",
"FromLetterNumber",
"FromPolarCoordinates",
"FromRawPointer",
"FromRomanNumeral",
"FromSphericalCoordinates",
"FromUnixTime",
"Front",
"FrontEndDynamicExpression",
"FrontEndEventActions",
"FrontEndExecute",
"FrontEndObject",
"FrontEndResource",
"FrontEndResourceString",
"FrontEndStackSize",
"FrontEndToken",
"FrontEndTokenExecute",
"FrontEndValueCache",
"FrontEndVersion",
"FrontFaceColor",
"FrontFaceGlowColor",
"FrontFaceOpacity",
"FrontFaceSpecularColor",
"FrontFaceSpecularExponent",
"FrontFaceSurfaceAppearance",
"FrontFaceTexture",
"Full",
"FullAxes",
"FullDefinition",
"FullForm",
"FullGraphics",
"FullInformationOutputRegulator",
"FullOptions",
"FullRegion",
"FullSimplify",
"Function",
"FunctionAnalytic",
"FunctionBijective",
"FunctionCompile",
"FunctionCompileExport",
"FunctionCompileExportByteArray",
"FunctionCompileExportLibrary",
"FunctionCompileExportString",
"FunctionContinuous",
"FunctionConvexity",
"FunctionDeclaration",
"FunctionDiscontinuities",
"FunctionDomain",
"FunctionExpand",
"FunctionInjective",
"FunctionInterpolation",
"FunctionLayer",
"FunctionMeromorphic",
"FunctionMonotonicity",
"FunctionPeriod",
"FunctionPoles",
"FunctionRange",
"FunctionSign",
"FunctionSingularities",
"FunctionSpace",
"FunctionSurjective",
"FussellVeselyImportance",
"GaborFilter",
"GaborMatrix",
"GaborWavelet",
"GainMargins",
"GainPhaseMargins",
"GalaxyData",
"GalleryView",
"Gamma",
"GammaDistribution",
"GammaRegularized",
"GapPenalty",
"GARCHProcess",
"GatedRecurrentLayer",
"Gather",
"GatherBy",
"GaugeFaceElementFunction",
"GaugeFaceStyle",
"GaugeFrameElementFunction",
"GaugeFrameSize",
"GaugeFrameStyle",
"GaugeLabels",
"GaugeMarkers",
"GaugeStyle",
"GaussianFilter",
"GaussianIntegers",
"GaussianMatrix",
"GaussianOrthogonalMatrixDistribution",
"GaussianSymplecticMatrixDistribution",
"GaussianUnitaryMatrixDistribution",
"GaussianWindow",
"GCD",
"GegenbauerC",
"General",
"GeneralizedLinearModelFit",
"GenerateAsymmetricKeyPair",
"GenerateConditions",
"GeneratedAssetFormat",
"GeneratedAssetLocation",
"GeneratedCell",
"GeneratedCellStyles",
"GeneratedDocumentBinding",
"GenerateDerivedKey",
"GenerateDigitalSignature",
"GenerateDocument",
"GeneratedParameters",
"GeneratedQuantityMagnitudes",
"GenerateFileSignature",
"GenerateHTTPResponse",
"GenerateSecuredAuthenticationKey",
"GenerateSymmetricKey",
"GeneratingFunction",
"GeneratorDescription",
"GeneratorHistoryLength",
"GeneratorOutputType",
"Generic",
"GenericCylindricalDecomposition",
"GenomeData",
"GenomeLookup",
"GeoAntipode",
"GeoArea",
"GeoArraySize",
"GeoBackground",
"GeoBoundary",
"GeoBoundingBox",
"GeoBounds",
"GeoBoundsRegion",
"GeoBoundsRegionBoundary",
"GeoBubbleChart",
"GeoCenter",
"GeoCircle",
"GeoContourPlot",
"GeoDensityPlot",
"GeodesicClosing",
"GeodesicDilation",
"GeodesicErosion",
"GeodesicOpening",
"GeodesicPolyhedron",
"GeoDestination",
"GeodesyData",
"GeoDirection",
"GeoDisk",
"GeoDisplacement",
"GeoDistance",
"GeoDistanceList",
"GeoElevationData",
"GeoEntities",
"GeoGraphics",
"GeoGraphPlot",
"GeoGraphValuePlot",
"GeogravityModelData",
"GeoGridDirectionDifference",
"GeoGridLines",
"GeoGridLinesStyle",
"GeoGridPosition",
"GeoGridRange",
"GeoGridRangePadding",
"GeoGridUnitArea",
"GeoGridUnitDistance",
"GeoGridVector",
"GeoGroup",
"GeoHemisphere",
"GeoHemisphereBoundary",
"GeoHistogram",
"GeoIdentify",
"GeoImage",
"GeoLabels",
"GeoLength",
"GeoListPlot",
"GeoLocation",
"GeologicalPeriodData",
"GeomagneticModelData",
"GeoMarker",
"GeometricAssertion",
"GeometricBrownianMotionProcess",
"GeometricDistribution",
"GeometricMean",
"GeometricMeanFilter",
"GeometricOptimization",
"GeometricScene",
"GeometricStep",
"GeometricStylingRules",
"GeometricTest",
"GeometricTransformation",
"GeometricTransformation3DBox",
"GeometricTransformation3DBoxOptions",
"GeometricTransformationBox",
"GeometricTransformationBoxOptions",
"GeoModel",
"GeoNearest",
"GeoOrientationData",
"GeoPath",
"GeoPolygon",
"GeoPosition",
"GeoPositionENU",
"GeoPositionXYZ",
"GeoProjection",
"GeoProjectionData",
"GeoRange",
"GeoRangePadding",
"GeoRegionValuePlot",
"GeoResolution",
"GeoScaleBar",
"GeoServer",
"GeoSmoothHistogram",
"GeoStreamPlot",
"GeoStyling",
"GeoStylingImageFunction",
"GeoVariant",
"GeoVector",
"GeoVectorENU",
"GeoVectorPlot",
"GeoVectorXYZ",
"GeoVisibleRegion",
"GeoVisibleRegionBoundary",
"GeoWithinQ",
"GeoZoomLevel",
"GestureHandler",
"GestureHandlerTag",
"Get",
"GetContext",
"GetEnvironment",
"GetFileName",
"GetLinebreakInformationPacket",
"GibbsPointProcess",
"Glaisher",
"GlobalClusteringCoefficient",
"GlobalPreferences",
"GlobalSession",
"Glow",
"GoldenAngle",
"GoldenRatio",
"GompertzMakehamDistribution",
"GoochShading",
"GoodmanKruskalGamma",
"GoodmanKruskalGammaTest",
"Goto",
"GouraudShading",
"Grad",
"Gradient",
"GradientFilter",
"GradientFittedMesh",
"GradientOrientationFilter",
"GrammarApply",
"GrammarRules",
"GrammarToken",
"Graph",
"Graph3D",
"GraphAssortativity",
"GraphAutomorphismGroup",
"GraphCenter",
"GraphComplement",
"GraphData",
"GraphDensity",
"GraphDiameter",
"GraphDifference",
"GraphDisjointUnion",
"GraphDistance",
"GraphDistanceMatrix",
"GraphEmbedding",
"GraphHighlight",
"GraphHighlightStyle",
"GraphHub",
"Graphics",
"Graphics3D",
"Graphics3DBox",
"Graphics3DBoxOptions",
"GraphicsArray",
"GraphicsBaseline",
"GraphicsBox",
"GraphicsBoxOptions",
"GraphicsColor",
"GraphicsColumn",
"GraphicsComplex",
"GraphicsComplex3DBox",
"GraphicsComplex3DBoxOptions",
"GraphicsComplexBox",
"GraphicsComplexBoxOptions",
"GraphicsContents",
"GraphicsData",
"GraphicsGrid",
"GraphicsGridBox",
"GraphicsGroup",
"GraphicsGroup3DBox",
"GraphicsGroup3DBoxOptions",
"GraphicsGroupBox",
"GraphicsGroupBoxOptions",
"GraphicsGrouping",
"GraphicsHighlightColor",
"GraphicsRow",
"GraphicsSpacing",
"GraphicsStyle",
"GraphIntersection",
"GraphJoin",
"GraphLayerLabels",
"GraphLayers",
"GraphLayerStyle",
"GraphLayout",
"GraphLinkEfficiency",
"GraphPeriphery",
"GraphPlot",
"GraphPlot3D",
"GraphPower",
"GraphProduct",
"GraphPropertyDistribution",
"GraphQ",
"GraphRadius",
"GraphReciprocity",
"GraphRoot",
"GraphStyle",
"GraphSum",
"GraphTree",
"GraphUnion",
"Gray",
"GrayLevel",
"Greater",
"GreaterEqual",
"GreaterEqualLess",
"GreaterEqualThan",
"GreaterFullEqual",
"GreaterGreater",
"GreaterLess",
"GreaterSlantEqual",
"GreaterThan",
"GreaterTilde",
"GreekStyle",
"Green",
"GreenFunction",
"Grid",
"GridBaseline",
"GridBox",
"GridBoxAlignment",
"GridBoxBackground",
"GridBoxDividers",
"GridBoxFrame",
"GridBoxItemSize",
"GridBoxItemStyle",
"GridBoxOptions",
"GridBoxSpacings",
"GridCreationSettings",
"GridDefaultElement",
"GridElementStyleOptions",
"GridFrame",
"GridFrameMargins",
"GridGraph",
"GridLines",
"GridLinesStyle",
"GridVideo",
"GroebnerBasis",
"GroupActionBase",
"GroupBy",
"GroupCentralizer",
"GroupElementFromWord",
"GroupElementPosition",
"GroupElementQ",
"GroupElements",
"GroupElementToWord",
"GroupGenerators",
"Groupings",
"GroupMultiplicationTable",
"GroupOpenerColor",
"GroupOpenerInsideFrame",
"GroupOrbits",
"GroupOrder",
"GroupPageBreakWithin",
"GroupSetwiseStabilizer",
"GroupStabilizer",
"GroupStabilizerChain",
"GroupTogetherGrouping",
"GroupTogetherNestedGrouping",
"GrowCutComponents",
"Gudermannian",
"GuidedFilter",
"GumbelDistribution",
"HaarWavelet",
"HadamardMatrix",
"HalfLine",
"HalfNormalDistribution",
"HalfPlane",
"HalfSpace",
"HalftoneShading",
"HamiltonianGraphQ",
"HammingDistance",
"HammingWindow",
"HandlerFunctions",
"HandlerFunctionsKeys",
"HankelH1",
"HankelH2",
"HankelMatrix",
"HankelTransform",
"HannPoissonWindow",
"HannWindow",
"HaradaNortonGroupHN",
"HararyGraph",
"HardcorePointProcess",
"HarmonicMean",
"HarmonicMeanFilter",
"HarmonicNumber",
"Hash",
"HatchFilling",
"HatchShading",
"Haversine",
"HazardFunction",
"Head",
"HeadCompose",
"HeaderAlignment",
"HeaderBackground",
"HeaderDisplayFunction",
"HeaderLines",
"Headers",
"HeaderSize",
"HeaderStyle",
"Heads",
"HeatFluxValue",
"HeatInsulationValue",
"HeatOutflowValue",
"HeatRadiationValue",
"HeatSymmetryValue",
"HeatTemperatureCondition",
"HeatTransferPDEComponent",
"HeatTransferValue",
"HeavisideLambda",
"HeavisidePi",
"HeavisideTheta",
"HeldGroupHe",
"HeldPart",
"HelmholtzPDEComponent",
"HelpBrowserLookup",
"HelpBrowserNotebook",
"HelpBrowserSettings",
"HelpViewerSettings",
"Here",
"HermiteDecomposition",
"HermiteH",
"Hermitian",
"HermitianMatrixQ",
"HessenbergDecomposition",
"Hessian",
"HeunB",
"HeunBPrime",
"HeunC",
"HeunCPrime",
"HeunD",
"HeunDPrime",
"HeunG",
"HeunGPrime",
"HeunT",
"HeunTPrime",
"HexadecimalCharacter",
"Hexahedron",
"HexahedronBox",
"HexahedronBoxOptions",
"HiddenItems",
"HiddenMarkovProcess",
"HiddenSurface",
"Highlighted",
"HighlightGraph",
"HighlightImage",
"HighlightMesh",
"HighlightString",
"HighpassFilter",
"HigmanSimsGroupHS",
"HilbertCurve",
"HilbertFilter",
"HilbertMatrix",
"Histogram",
"Histogram3D",
"HistogramDistribution",
"HistogramList",
"HistogramPointDensity",
"HistogramTransform",
"HistogramTransformInterpolation",
"HistoricalPeriodData",
"HitMissTransform",
"HITSCentrality",
"HjorthDistribution",
"HodgeDual",
"HoeffdingD",
"HoeffdingDTest",
"Hold",
"HoldAll",
"HoldAllComplete",
"HoldComplete",
"HoldFirst",
"HoldForm",
"HoldPattern",
"HoldRest",
"HolidayCalendar",
"HomeDirectory",
"HomePage",
"Horizontal",
"HorizontalForm",
"HorizontalGauge",
"HorizontalScrollPosition",
"HornerForm",
"HostLookup",
"HotellingTSquareDistribution",
"HoytDistribution",
"HTMLSave",
"HTTPErrorResponse",
"HTTPRedirect",
"HTTPRequest",
"HTTPRequestData",
"HTTPResponse",
"Hue",
"HumanGrowthData",
"HumpDownHump",
"HumpEqual",
"HurwitzLerchPhi",
"HurwitzZeta",
"HyperbolicDistribution",
"HypercubeGraph",
"HyperexponentialDistribution",
"Hyperfactorial",
"Hypergeometric0F1",
"Hypergeometric0F1Regularized",
"Hypergeometric1F1",
"Hypergeometric1F1Regularized",
"Hypergeometric2F1",
"Hypergeometric2F1Regularized",
"HypergeometricDistribution",
"HypergeometricPFQ",
"HypergeometricPFQRegularized",
"HypergeometricU",
"Hyperlink",
"HyperlinkAction",
"HyperlinkCreationSettings",
"Hyperplane",
"Hyphenation",
"HyphenationOptions",
"HypoexponentialDistribution",
"HypothesisTestData",
"I",
"IconData",
"Iconize",
"IconizedObject",
"IconRules",
"Icosahedron",
"Identity",
"IdentityMatrix",
"If",
"IfCompiled",
"IgnoreCase",
"IgnoreDiacritics",
"IgnoreIsotopes",
"IgnorePunctuation",
"IgnoreSpellCheck",
"IgnoreStereochemistry",
"IgnoringInactive",
"Im",
"Image",
"Image3D",
"Image3DProjection",
"Image3DSlices",
"ImageAccumulate",
"ImageAdd",
"ImageAdjust",
"ImageAlign",
"ImageApply",
"ImageApplyIndexed",
"ImageAspectRatio",
"ImageAssemble",
"ImageAugmentationLayer",
"ImageBoundingBoxes",
"ImageCache",
"ImageCacheValid",
"ImageCapture",
"ImageCaptureFunction",
"ImageCases",
"ImageChannels",
"ImageClip",
"ImageCollage",
"ImageColorSpace",
"ImageCompose",
"ImageContainsQ",
"ImageContents",
"ImageConvolve",
"ImageCooccurrence",
"ImageCorners",
"ImageCorrelate",
"ImageCorrespondingPoints",
"ImageCrop",
"ImageData",
"ImageDeconvolve",
"ImageDemosaic",
"ImageDifference",
"ImageDimensions",
"ImageDisplacements",
"ImageDistance",
"ImageEditMode",
"ImageEffect",
"ImageExposureCombine",
"ImageFeatureTrack",
"ImageFileApply",
"ImageFileFilter",
"ImageFileScan",
"ImageFilter",
"ImageFocusCombine",
"ImageForestingComponents",
"ImageFormattingWidth",
"ImageForwardTransformation",
"ImageGraphics",
"ImageHistogram",
"ImageIdentify",
"ImageInstanceQ",
"ImageKeypoints",
"ImageLabels",
"ImageLegends",
"ImageLevels",
"ImageLines",
"ImageMargins",
"ImageMarker",
"ImageMarkers",
"ImageMeasurements",
"ImageMesh",
"ImageMultiply",
"ImageOffset",
"ImagePad",
"ImagePadding",
"ImagePartition",
"ImagePeriodogram",
"ImagePerspectiveTransformation",
"ImagePosition",
"ImagePreviewFunction",
"ImagePyramid",
"ImagePyramidApply",
"ImageQ",
"ImageRangeCache",
"ImageRecolor",
"ImageReflect",
"ImageRegion",
"ImageResize",
"ImageResolution",
"ImageRestyle",
"ImageRotate",
"ImageRotated",
"ImageSaliencyFilter",
"ImageScaled",
"ImageScan",
"ImageSize",
"ImageSizeAction",
"ImageSizeCache",
"ImageSizeMultipliers",
"ImageSizeRaw",
"ImageStitch",
"ImageSubtract",
"ImageTake",
"ImageTransformation",
"ImageTrim",
"ImageType",
"ImageValue",
"ImageValuePositions",
"ImageVectorscopePlot",
"ImageWaveformPlot",
"ImagingDevice",
"ImplicitD",
"ImplicitRegion",
"Implies",
"Import",
"ImportAutoReplacements",
"ImportByteArray",
"ImportedObject",
"ImportOptions",
"ImportString",
"ImprovementImportance",
"In",
"Inactivate",
"Inactive",
"InactiveStyle",
"IncidenceGraph",
"IncidenceList",
"IncidenceMatrix",
"IncludeAromaticBonds",
"IncludeConstantBasis",
"IncludedContexts",
"IncludeDefinitions",
"IncludeDirectories",
"IncludeFileExtension",
"IncludeGeneratorTasks",
"IncludeHydrogens",
"IncludeInflections",
"IncludeMetaInformation",
"IncludePods",
"IncludeQuantities",
"IncludeRelatedTables",
"IncludeSingularSolutions",
"IncludeSingularTerm",
"IncludeWindowTimes",
"Increment",
"IndefiniteMatrixQ",
"Indent",
"IndentingNewlineSpacings",
"IndentMaxFraction",
"IndependenceTest",
"IndependentEdgeSetQ",
"IndependentPhysicalQuantity",
"IndependentUnit",
"IndependentUnitDimension",
"IndependentVertexSetQ",
"Indeterminate",
"IndeterminateThreshold",
"IndexCreationOptions",
"Indexed",
"IndexEdgeTaggedGraph",
"IndexGraph",
"IndexTag",
"Inequality",
"InertEvaluate",
"InertExpression",
"InexactNumberQ",
"InexactNumbers",
"InfiniteFuture",
"InfiniteLine",
"InfiniteLineThrough",
"InfinitePast",
"InfinitePlane",
"Infinity",
"Infix",
"InflationAdjust",
"InflationMethod",
"Information",
"InformationData",
"InformationDataGrid",
"Inherited",
"InheritScope",
"InhomogeneousPoissonPointProcess",
"InhomogeneousPoissonProcess",
"InitialEvaluationHistory",
"Initialization",
"InitializationCell",
"InitializationCellEvaluation",
"InitializationCellWarning",
"InitializationObject",
"InitializationObjects",
"InitializationValue",
"Initialize",
"InitialSeeding",
"InlineCounterAssignments",
"InlineCounterIncrements",
"InlineRules",
"Inner",
"InnerPolygon",
"InnerPolyhedron",
"Inpaint",
"Input",
"InputAliases",
"InputAssumptions",
"InputAutoReplacements",
"InputField",
"InputFieldBox",
"InputFieldBoxOptions",
"InputForm",
"InputGrouping",
"InputNamePacket",
"InputNotebook",
"InputPacket",
"InputPorts",
"InputSettings",
"InputStream",
"InputString",
"InputStringPacket",
"InputToBoxFormPacket",
"Insert",
"InsertionFunction",
"InsertionPointObject",
"InsertLinebreaks",
"InsertResults",
"Inset",
"Inset3DBox",
"Inset3DBoxOptions",
"InsetBox",
"InsetBoxOptions",
"Insphere",
"Install",
"InstallService",
"InstanceNormalizationLayer",
"InString",
"Integer",
"IntegerDigits",
"IntegerExponent",
"IntegerLength",
"IntegerName",
"IntegerPart",
"IntegerPartitions",
"IntegerQ",
"IntegerReverse",
"Integers",
"IntegerString",
"Integral",
"Integrate",
"IntegrateChangeVariables",
"Interactive",
"InteractiveTradingChart",
"InterfaceSwitched",
"Interlaced",
"Interleaving",
"InternallyBalancedDecomposition",
"InterpolatingFunction",
"InterpolatingPolynomial",
"Interpolation",
"InterpolationOrder",
"InterpolationPoints",
"InterpolationPrecision",
"Interpretation",
"InterpretationBox",
"InterpretationBoxOptions",
"InterpretationFunction",
"Interpreter",
"InterpretTemplate",
"InterquartileRange",
"Interrupt",
"InterruptSettings",
"IntersectedEntityClass",
"IntersectingQ",
"Intersection",
"Interval",
"IntervalIntersection",
"IntervalMarkers",
"IntervalMarkersStyle",
"IntervalMemberQ",
"IntervalSlider",
"IntervalUnion",
"Into",
"Inverse",
"InverseBetaRegularized",
"InverseBilateralLaplaceTransform",
"InverseBilateralZTransform",
"InverseCDF",
"InverseChiSquareDistribution",
"InverseContinuousWaveletTransform",
"InverseDistanceTransform",
"InverseEllipticNomeQ",
"InverseErf",
"InverseErfc",
"InverseFourier",
"InverseFourierCosTransform",
"InverseFourierSequenceTransform",
"InverseFourierSinTransform",
"InverseFourierTransform",
"InverseFunction",
"InverseFunctions",
"InverseGammaDistribution",
"InverseGammaRegularized",
"InverseGaussianDistribution",
"InverseGudermannian",
"InverseHankelTransform",
"InverseHaversine",
"InverseImagePyramid",
"InverseJacobiCD",
"InverseJacobiCN",
"InverseJacobiCS",
"InverseJacobiDC",
"InverseJacobiDN",
"InverseJacobiDS",
"InverseJacobiNC",
"InverseJacobiND",
"InverseJacobiNS",
"InverseJacobiSC",
"InverseJacobiSD",
"InverseJacobiSN",
"InverseLaplaceTransform",
"InverseMellinTransform",
"InversePermutation",
"InverseRadon",
"InverseRadonTransform",
"InverseSeries",
"InverseShortTimeFourier",
"InverseSpectrogram",
"InverseSurvivalFunction",
"InverseTransformedRegion",
"InverseWaveletTransform",
"InverseWeierstrassP",
"InverseWishartMatrixDistribution",
"InverseZTransform",
"Invisible",
"InvisibleApplication",
"InvisibleTimes",
"IPAddress",
"IrreduciblePolynomialQ",
"IslandData",
"IsolatingInterval",
"IsomorphicGraphQ",
"IsomorphicSubgraphQ",
"IsotopeData",
"Italic",
"Item",
"ItemAspectRatio",
"ItemBox",
"ItemBoxOptions",
"ItemDisplayFunction",
"ItemSize",
"ItemStyle",
"ItoProcess",
"JaccardDissimilarity",
"JacobiAmplitude",
"Jacobian",
"JacobiCD",
"JacobiCN",
"JacobiCS",
"JacobiDC",
"JacobiDN",
"JacobiDS",
"JacobiEpsilon",
"JacobiNC",
"JacobiND",
"JacobiNS",
"JacobiP",
"JacobiSC",
"JacobiSD",
"JacobiSN",
"JacobiSymbol",
"JacobiZeta",
"JacobiZN",
"JankoGroupJ1",
"JankoGroupJ2",
"JankoGroupJ3",
"JankoGroupJ4",
"JarqueBeraALMTest",
"JohnsonDistribution",
"Join",
"JoinAcross",
"Joined",
"JoinedCurve",
"JoinedCurveBox",
"JoinedCurveBoxOptions",
"JoinForm",
"JordanDecomposition",
"JordanModelDecomposition",
"JulianDate",
"JuliaSetBoettcher",
"JuliaSetIterationCount",
"JuliaSetPlot",
"JuliaSetPoints",
"K",
"KagiChart",
"KaiserBesselWindow",
"KaiserWindow",
"KalmanEstimator",
"KalmanFilter",
"KarhunenLoeveDecomposition",
"KaryTree",
"KatzCentrality",
"KCoreComponents",
"KDistribution",
"KEdgeConnectedComponents",
"KEdgeConnectedGraphQ",
"KeepExistingVersion",
"KelvinBei",
"KelvinBer",
"KelvinKei",
"KelvinKer",
"KendallTau",
"KendallTauTest",
"KernelConfiguration",
"KernelExecute",
"KernelFunction",
"KernelMixtureDistribution",
"KernelObject",
"Kernels",
"Ket",
"Key",
"KeyCollisionFunction",
"KeyComplement",
"KeyDrop",
"KeyDropFrom",
"KeyExistsQ",
"KeyFreeQ",
"KeyIntersection",
"KeyMap",
"KeyMemberQ",
"KeypointStrength",
"Keys",
"KeySelect",
"KeySort",
"KeySortBy",
"KeyTake",
"KeyUnion",
"KeyValueMap",
"KeyValuePattern",
"Khinchin",
"KillProcess",
"KirchhoffGraph",
"KirchhoffMatrix",
"KleinInvariantJ",
"KnapsackSolve",
"KnightTourGraph",
"KnotData",
"KnownUnitQ",
"KochCurve",
"KolmogorovSmirnovTest",
"KroneckerDelta",
"KroneckerModelDecomposition",
"KroneckerProduct",
"KroneckerSymbol",
"KuiperTest",
"KumaraswamyDistribution",
"Kurtosis",
"KuwaharaFilter",
"KVertexConnectedComponents",
"KVertexConnectedGraphQ",
"LABColor",
"Label",
"Labeled",
"LabeledSlider",
"LabelingFunction",
"LabelingSize",
"LabelStyle",
"LabelVisibility",
"LaguerreL",
"LakeData",
"LambdaComponents",
"LambertW",
"LameC",
"LameCPrime",
"LameEigenvalueA",
"LameEigenvalueB",
"LameS",
"LameSPrime",
"LaminaData",
"LanczosWindow",
"LandauDistribution",
"Language",
"LanguageCategory",
"LanguageData",
"LanguageIdentify",
"LanguageOptions",
"LaplaceDistribution",
"LaplaceTransform",
"Laplacian",
"LaplacianFilter",
"LaplacianGaussianFilter",
"LaplacianPDETerm",
"Large",
"Larger",
"Last",
"Latitude",
"LatitudeLongitude",
"LatticeData",
"LatticeReduce",
"Launch",
"LaunchKernels",
"LayeredGraphPlot",
"LayeredGraphPlot3D",
"LayerSizeFunction",
"LayoutInformation",
"LCHColor",
"LCM",
"LeaderSize",
"LeafCount",
"LeapVariant",
"LeapYearQ",
"LearnDistribution",
"LearnedDistribution",
"LearningRate",
"LearningRateMultipliers",
"LeastSquares",
"LeastSquaresFilterKernel",
"Left",
"LeftArrow",
"LeftArrowBar",
"LeftArrowRightArrow",
"LeftDownTeeVector",
"LeftDownVector",
"LeftDownVectorBar",
"LeftRightArrow",
"LeftRightVector",
"LeftTee",
"LeftTeeArrow",
"LeftTeeVector",
"LeftTriangle",
"LeftTriangleBar",
"LeftTriangleEqual",
"LeftUpDownVector",
"LeftUpTeeVector",
"LeftUpVector",
"LeftUpVectorBar",
"LeftVector",
"LeftVectorBar",
"LegendAppearance",
"Legended",
"LegendFunction",
"LegendLabel",
"LegendLayout",
"LegendMargins",
"LegendMarkers",
"LegendMarkerSize",
"LegendreP",
"LegendreQ",
"LegendreType",
"Length",
"LengthWhile",
"LerchPhi",
"Less",
"LessEqual",
"LessEqualGreater",
"LessEqualThan",
"LessFullEqual",
"LessGreater",
"LessLess",
"LessSlantEqual",
"LessThan",
"LessTilde",
"LetterCharacter",
"LetterCounts",
"LetterNumber",
"LetterQ",
"Level",
"LeveneTest",
"LeviCivitaTensor",
"LevyDistribution",
"Lexicographic",
"LexicographicOrder",
"LexicographicSort",
"LibraryDataType",
"LibraryFunction",
"LibraryFunctionDeclaration",
"LibraryFunctionError",
"LibraryFunctionInformation",
"LibraryFunctionLoad",
"LibraryFunctionUnload",
"LibraryLoad",
"LibraryUnload",
"LicenseEntitlementObject",
"LicenseEntitlements",
"LicenseID",
"LicensingSettings",
"LiftingFilterData",
"LiftingWaveletTransform",
"LightBlue",
"LightBrown",
"LightCyan",
"Lighter",
"LightGray",
"LightGreen",
"Lighting",
"LightingAngle",
"LightMagenta",
"LightOrange",
"LightPink",
"LightPurple",
"LightRed",
"LightSources",
"LightYellow",
"Likelihood",
"Limit",
"LimitsPositioning",
"LimitsPositioningTokens",
"LindleyDistribution",
"Line",
"Line3DBox",
"Line3DBoxOptions",
"LinearFilter",
"LinearFractionalOptimization",
"LinearFractionalTransform",
"LinearGradientFilling",
"LinearGradientImage",
"LinearizingTransformationData",
"LinearLayer",
"LinearModelFit",
"LinearOffsetFunction",
"LinearOptimization",
"LinearProgramming",
"LinearRecurrence",
"LinearSolve",
"LinearSolveFunction",
"LineBox",
"LineBoxOptions",
"LineBreak",
"LinebreakAdjustments",
"LineBreakChart",
"LinebreakSemicolonWeighting",
"LineBreakWithin",
"LineColor",
"LineGraph",
"LineIndent",
"LineIndentMaxFraction",
"LineIntegralConvolutionPlot",
"LineIntegralConvolutionScale",
"LineLegend",
"LineOpacity",
"LineSpacing",
"LineWrapParts",
"LinkActivate",
"LinkClose",
"LinkConnect",
"LinkConnectedQ",
"LinkCreate",
"LinkError",
"LinkFlush",
"LinkFunction",
"LinkHost",
"LinkInterrupt",
"LinkLaunch",
"LinkMode",
"LinkObject",
"LinkOpen",
"LinkOptions",
"LinkPatterns",
"LinkProtocol",
"LinkRankCentrality",
"LinkRead",
"LinkReadHeld",
"LinkReadyQ",
"Links",
"LinkService",
"LinkWrite",
"LinkWriteHeld",
"LiouvilleLambda",
"List",
"Listable",
"ListAnimate",
"ListContourPlot",
"ListContourPlot3D",
"ListConvolve",
"ListCorrelate",
"ListCurvePathPlot",
"ListDeconvolve",
"ListDensityPlot",
"ListDensityPlot3D",
"Listen",
"ListFormat",
"ListFourierSequenceTransform",
"ListInterpolation",
"ListLineIntegralConvolutionPlot",
"ListLinePlot",
"ListLinePlot3D",
"ListLogLinearPlot",
"ListLogLogPlot",
"ListLogPlot",
"ListPicker",
"ListPickerBox",
"ListPickerBoxBackground",
"ListPickerBoxOptions",
"ListPlay",
"ListPlot",
"ListPlot3D",
"ListPointPlot3D",
"ListPolarPlot",
"ListQ",
"ListSliceContourPlot3D",
"ListSliceDensityPlot3D",
"ListSliceVectorPlot3D",
"ListStepPlot",
"ListStreamDensityPlot",
"ListStreamPlot",
"ListStreamPlot3D",
"ListSurfacePlot3D",
"ListVectorDensityPlot",
"ListVectorDisplacementPlot",
"ListVectorDisplacementPlot3D",
"ListVectorPlot",
"ListVectorPlot3D",
"ListZTransform",
"Literal",
"LiteralSearch",
"LiteralType",
"LoadCompiledComponent",
"LocalAdaptiveBinarize",
"LocalCache",
"LocalClusteringCoefficient",
"LocalEvaluate",
"LocalizeDefinitions",
"LocalizeVariables",
"LocalObject",
"LocalObjects",
"LocalResponseNormalizationLayer",
"LocalSubmit",
"LocalSymbol",
"LocalTime",
"LocalTimeZone",
"LocationEquivalenceTest",
"LocationTest",
"Locator",
"LocatorAutoCreate",
"LocatorBox",
"LocatorBoxOptions",
"LocatorCentering",
"LocatorPane",
"LocatorPaneBox",
"LocatorPaneBoxOptions",
"LocatorRegion",
"Locked",
"Log",
"Log10",
"Log2",
"LogBarnesG",
"LogGamma",
"LogGammaDistribution",
"LogicalExpand",
"LogIntegral",
"LogisticDistribution",
"LogisticSigmoid",
"LogitModelFit",
"LogLikelihood",
"LogLinearPlot",
"LogLogisticDistribution",
"LogLogPlot",
"LogMultinormalDistribution",
"LogNormalDistribution",
"LogPlot",
"LogRankTest",
"LogSeriesDistribution",
"LongEqual",
"Longest",
"LongestCommonSequence",
"LongestCommonSequencePositions",
"LongestCommonSubsequence",
"LongestCommonSubsequencePositions",
"LongestMatch",
"LongestOrderedSequence",
"LongForm",
"Longitude",
"LongLeftArrow",
"LongLeftRightArrow",
"LongRightArrow",
"LongShortTermMemoryLayer",
"Lookup",
"Loopback",
"LoopFreeGraphQ",
"Looping",
"LossFunction",
"LowerCaseQ",
"LowerLeftArrow",
"LowerRightArrow",
"LowerTriangularize",
"LowerTriangularMatrix",
"LowerTriangularMatrixQ",
"LowpassFilter",
"LQEstimatorGains",
"LQGRegulator",
"LQOutputRegulatorGains",
"LQRegulatorGains",
"LUBackSubstitution",
"LucasL",
"LuccioSamiComponents",
"LUDecomposition",
"LunarEclipse",
"LUVColor",
"LyapunovSolve",
"LyonsGroupLy",
"MachineID",
"MachineName",
"MachineNumberQ",
"MachinePrecision",
"MacintoshSystemPageSetup",
"Magenta",
"Magnification",
"Magnify",
"MailAddressValidation",
"MailExecute",
"MailFolder",
"MailItem",
"MailReceiverFunction",
"MailResponseFunction",
"MailSearch",
"MailServerConnect",
"MailServerConnection",
"MailSettings",
"MainSolve",
"MaintainDynamicCaches",
"Majority",
"MakeBoxes",
"MakeExpression",
"MakeRules",
"ManagedLibraryExpressionID",
"ManagedLibraryExpressionQ",
"MandelbrotSetBoettcher",
"MandelbrotSetDistance",
"MandelbrotSetIterationCount",
"MandelbrotSetMemberQ",
"MandelbrotSetPlot",
"MangoldtLambda",
"ManhattanDistance",
"Manipulate",
"Manipulator",
"MannedSpaceMissionData",
"MannWhitneyTest",
"MantissaExponent",
"Manual",
"Map",
"MapAll",
"MapApply",
"MapAt",
"MapIndexed",
"MAProcess",
"MapThread",
"MarchenkoPasturDistribution",
"MarcumQ",
"MardiaCombinedTest",
"MardiaKurtosisTest",
"MardiaSkewnessTest",
"MarginalDistribution",
"MarkovProcessProperties",
"Masking",
"MassConcentrationCondition",
"MassFluxValue",
"MassImpermeableBoundaryValue",
"MassOutflowValue",
"MassSymmetryValue",
"MassTransferValue",
"MassTransportPDEComponent",
"MatchingDissimilarity",
"MatchLocalNameQ",
"MatchLocalNames",
"MatchQ",
"Material",
"MaterialShading",
"MaternPointProcess",
"MathematicalFunctionData",
"MathematicaNotation",
"MathieuC",
"MathieuCharacteristicA",
"MathieuCharacteristicB",
"MathieuCharacteristicExponent",
"MathieuCPrime",
"MathieuGroupM11",
"MathieuGroupM12",
"MathieuGroupM22",
"MathieuGroupM23",
"MathieuGroupM24",
"MathieuS",
"MathieuSPrime",
"MathMLForm",
"MathMLText",
"Matrices",
"MatrixExp",
"MatrixForm",
"MatrixFunction",
"MatrixLog",
"MatrixNormalDistribution",
"MatrixPlot",
"MatrixPower",
"MatrixPropertyDistribution",
"MatrixQ",
"MatrixRank",
"MatrixTDistribution",
"Max",
"MaxBend",
"MaxCellMeasure",
"MaxColorDistance",
"MaxDate",
"MaxDetect",
"MaxDisplayedChildren",
"MaxDuration",
"MaxExtraBandwidths",
"MaxExtraConditions",
"MaxFeatureDisplacement",
"MaxFeatures",
"MaxFilter",
"MaximalBy",
"Maximize",
"MaxItems",
"MaxIterations",
"MaxLimit",
"MaxMemoryUsed",
"MaxMixtureKernels",
"MaxOverlapFraction",
"MaxPlotPoints",
"MaxPoints",
"MaxRecursion",
"MaxStableDistribution",
"MaxStepFraction",
"MaxSteps",
"MaxStepSize",
"MaxTrainingRounds",
"MaxValue",
"MaxwellDistribution",
"MaxWordGap",
"McLaughlinGroupMcL",
"Mean",
"MeanAbsoluteLossLayer",
"MeanAround",
"MeanClusteringCoefficient",
"MeanDegreeConnectivity",
"MeanDeviation",
"MeanFilter",
"MeanGraphDistance",
"MeanNeighborDegree",
"MeanPointDensity",
"MeanShift",
"MeanShiftFilter",
"MeanSquaredLossLayer",
"Median",
"MedianDeviation",
"MedianFilter",
"MedicalTestData",
"Medium",
"MeijerG",
"MeijerGReduce",
"MeixnerDistribution",
"MellinConvolve",
"MellinTransform",
"MemberQ",
"MemoryAvailable",
"MemoryConstrained",
"MemoryConstraint",
"MemoryInUse",
"MengerMesh",
"Menu",
"MenuAppearance",
"MenuCommandKey",
"MenuEvaluator",
"MenuItem",
"MenuList",
"MenuPacket",
"MenuSortingValue",
"MenuStyle",
"MenuView",
"Merge",
"MergeDifferences",
"MergingFunction",
"MersennePrimeExponent",
"MersennePrimeExponentQ",
"Mesh",
"MeshCellCentroid",
"MeshCellCount",
"MeshCellHighlight",
"MeshCellIndex",
"MeshCellLabel",
"MeshCellMarker",
"MeshCellMeasure",
"MeshCellQuality",
"MeshCells",
"MeshCellShapeFunction",
"MeshCellStyle",
"MeshConnectivityGraph",
"MeshCoordinates",
"MeshFunctions",
"MeshPrimitives",
"MeshQualityGoal",
"MeshRange",
"MeshRefinementFunction",
"MeshRegion",
"MeshRegionQ",
"MeshShading",
"MeshStyle",
"Message",
"MessageDialog",
"MessageList",
"MessageName",
"MessageObject",
"MessageOptions",
"MessagePacket",
"Messages",
"MessagesNotebook",
"MetaCharacters",
"MetaInformation",
"MeteorShowerData",
"Method",
"MethodOptions",
"MexicanHatWavelet",
"MeyerWavelet",
"Midpoint",
"MIMETypeToFormatList",
"Min",
"MinColorDistance",
"MinDate",
"MinDetect",
"MineralData",
"MinFilter",
"MinimalBy",
"MinimalPolynomial",
"MinimalStateSpaceModel",
"Minimize",
"MinimumTimeIncrement",
"MinIntervalSize",
"MinkowskiQuestionMark",
"MinLimit",
"MinMax",
"MinorPlanetData",
"Minors",
"MinPointSeparation",
"MinRecursion",
"MinSize",
"MinStableDistribution",
"Minus",
"MinusPlus",
"MinValue",
"Missing",
"MissingBehavior",
"MissingDataMethod",
"MissingDataRules",
"MissingQ",
"MissingString",
"MissingStyle",
"MissingValuePattern",
"MissingValueSynthesis",
"MittagLefflerE",
"MixedFractionParts",
"MixedGraphQ",
"MixedMagnitude",
"MixedRadix",
"MixedRadixQuantity",
"MixedUnit",
"MixtureDistribution",
"Mod",
"Modal",
"Mode",
"ModelPredictiveController",
"Modular",
"ModularInverse",
"ModularLambda",
"Module",
"Modulus",
"MoebiusMu",
"Molecule",
"MoleculeAlign",
"MoleculeContainsQ",
"MoleculeDraw",
"MoleculeEquivalentQ",
"MoleculeFreeQ",
"MoleculeGraph",
"MoleculeMatchQ",
"MoleculeMaximumCommonSubstructure",
"MoleculeModify",
"MoleculeName",
"MoleculePattern",
"MoleculePlot",
"MoleculePlot3D",
"MoleculeProperty",
"MoleculeQ",
"MoleculeRecognize",
"MoleculeSubstructureCount",
"MoleculeValue",
"Moment",
"MomentConvert",
"MomentEvaluate",
"MomentGeneratingFunction",
"MomentOfInertia",
"Monday",
"Monitor",
"MonomialList",
"MonomialOrder",
"MonsterGroupM",
"MoonPhase",
"MoonPosition",
"MorletWavelet",
"MorphologicalBinarize",
"MorphologicalBranchPoints",
"MorphologicalComponents",
"MorphologicalEulerNumber",
"MorphologicalGraph",
"MorphologicalPerimeter",
"MorphologicalTransform",
"MortalityData",
"Most",
"MountainData",
"MouseAnnotation",
"MouseAppearance",
"MouseAppearanceTag",
"MouseButtons",
"Mouseover",
"MousePointerNote",
"MousePosition",
"MovieData",
"MovingAverage",
"MovingMap",
"MovingMedian",
"MoyalDistribution",
"MultiaxisArrangement",
"Multicolumn",
"MultiedgeStyle",
"MultigraphQ",
"MultilaunchWarning",
"MultiLetterItalics",
"MultiLetterStyle",
"MultilineFunction",
"Multinomial",
"MultinomialDistribution",
"MultinormalDistribution",
"MultiplicativeOrder",
"Multiplicity",
"MultiplySides",
"MultiscriptBoxOptions",
"Multiselection",
"MultivariateHypergeometricDistribution",
"MultivariatePoissonDistribution",
"MultivariateTDistribution",
"N",
"NakagamiDistribution",
"NameQ",
"Names",
"NamespaceBox",
"NamespaceBoxOptions",
"Nand",
"NArgMax",
"NArgMin",
"NBernoulliB",
"NBodySimulation",
"NBodySimulationData",
"NCache",
"NCaputoD",
"NDEigensystem",
"NDEigenvalues",
"NDSolve",
"NDSolveValue",
"Nearest",
"NearestFunction",
"NearestMeshCells",
"NearestNeighborG",
"NearestNeighborGraph",
"NearestTo",
"NebulaData",
"NeedlemanWunschSimilarity",
"Needs",
"Negative",
"NegativeBinomialDistribution",
"NegativeDefiniteMatrixQ",
"NegativeIntegers",
"NegativelyOrientedPoints",
"NegativeMultinomialDistribution",
"NegativeRationals",
"NegativeReals",
"NegativeSemidefiniteMatrixQ",
"NeighborhoodData",
"NeighborhoodGraph",
"Nest",
"NestedGreaterGreater",
"NestedLessLess",
"NestedScriptRules",
"NestGraph",
"NestList",
"NestTree",
"NestWhile",
"NestWhileList",
"NetAppend",
"NetArray",
"NetArrayLayer",
"NetBidirectionalOperator",
"NetChain",
"NetDecoder",
"NetDelete",
"NetDrop",
"NetEncoder",
"NetEvaluationMode",
"NetExternalObject",
"NetExtract",
"NetFlatten",
"NetFoldOperator",
"NetGANOperator",
"NetGraph",
"NetInformation",
"NetInitialize",
"NetInsert",
"NetInsertSharedArrays",
"NetJoin",
"NetMapOperator",
"NetMapThreadOperator",
"NetMeasurements",
"NetModel",
"NetNestOperator",
"NetPairEmbeddingOperator",
"NetPort",
"NetPortGradient",
"NetPrepend",
"NetRename",
"NetReplace",
"NetReplacePart",
"NetSharedArray",
"NetStateObject",
"NetTake",
"NetTrain",
"NetTrainResultsObject",
"NetUnfold",
"NetworkPacketCapture",
"NetworkPacketRecording",
"NetworkPacketRecordingDuring",
"NetworkPacketTrace",
"NeumannValue",
"NevilleThetaC",
"NevilleThetaD",
"NevilleThetaN",
"NevilleThetaS",
"NewPrimitiveStyle",
"NExpectation",
"Next",
"NextCell",
"NextDate",
"NextPrime",
"NextScheduledTaskTime",
"NeymanScottPointProcess",
"NFractionalD",
"NHoldAll",
"NHoldFirst",
"NHoldRest",
"NicholsGridLines",
"NicholsPlot",
"NightHemisphere",
"NIntegrate",
"NMaximize",
"NMaxValue",
"NMinimize",
"NMinValue",
"NominalScale",
"NominalVariables",
"NonAssociative",
"NoncentralBetaDistribution",
"NoncentralChiSquareDistribution",
"NoncentralFRatioDistribution",
"NoncentralStudentTDistribution",
"NonCommutativeMultiply",
"NonConstants",
"NondimensionalizationTransform",
"None",
"NoneTrue",
"NonlinearModelFit",
"NonlinearStateSpaceModel",
"NonlocalMeansFilter",
"NonNegative",
"NonNegativeIntegers",
"NonNegativeRationals",
"NonNegativeReals",
"NonPositive",
"NonPositiveIntegers",
"NonPositiveRationals",
"NonPositiveReals",
"Nor",
"NorlundB",
"Norm",
"Normal",
"NormalDistribution",
"NormalGrouping",
"NormalizationLayer",
"Normalize",
"Normalized",
"NormalizedSquaredEuclideanDistance",
"NormalMatrixQ",
"NormalsFunction",
"NormFunction",
"Not",
"NotCongruent",
"NotCupCap",
"NotDoubleVerticalBar",
"Notebook",
"NotebookApply",
"NotebookAutoSave",
"NotebookBrowseDirectory",
"NotebookClose",
"NotebookConvertSettings",
"NotebookCreate",
"NotebookDefault",
"NotebookDelete",
"NotebookDirectory",
"NotebookDynamicExpression",
"NotebookEvaluate",
"NotebookEventActions",
"NotebookFileName",
"NotebookFind",
"NotebookGet",
"NotebookImport",
"NotebookInformation",
"NotebookInterfaceObject",
"NotebookLocate",
"NotebookObject",
"NotebookOpen",
"NotebookPath",
"NotebookPrint",
"NotebookPut",
"NotebookRead",
"Notebooks",
"NotebookSave",
"NotebookSelection",
"NotebooksMenu",
"NotebookTemplate",
"NotebookWrite",
"NotElement",
"NotEqualTilde",
"NotExists",
"NotGreater",
"NotGreaterEqual",
"NotGreaterFullEqual",
"NotGreaterGreater",
"NotGreaterLess",
"NotGreaterSlantEqual",
"NotGreaterTilde",
"Nothing",
"NotHumpDownHump",
"NotHumpEqual",
"NotificationFunction",
"NotLeftTriangle",
"NotLeftTriangleBar",
"NotLeftTriangleEqual",
"NotLess",
"NotLessEqual",
"NotLessFullEqual",
"NotLessGreater",
"NotLessLess",
"NotLessSlantEqual",
"NotLessTilde",
"NotNestedGreaterGreater",
"NotNestedLessLess",
"NotPrecedes",
"NotPrecedesEqual",
"NotPrecedesSlantEqual",
"NotPrecedesTilde",
"NotReverseElement",
"NotRightTriangle",
"NotRightTriangleBar",
"NotRightTriangleEqual",
"NotSquareSubset",
"NotSquareSubsetEqual",
"NotSquareSuperset",
"NotSquareSupersetEqual",
"NotSubset",
"NotSubsetEqual",
"NotSucceeds",
"NotSucceedsEqual",
"NotSucceedsSlantEqual",
"NotSucceedsTilde",
"NotSuperset",
"NotSupersetEqual",
"NotTilde",
"NotTildeEqual",
"NotTildeFullEqual",
"NotTildeTilde",
"NotVerticalBar",
"Now",
"NoWhitespace",
"NProbability",
"NProduct",
"NProductFactors",
"NRoots",
"NSolve",
"NSolveValues",
"NSum",
"NSumTerms",
"NuclearExplosionData",
"NuclearReactorData",
"Null",
"NullRecords",
"NullSpace",
"NullWords",
"Number",
"NumberCompose",
"NumberDecompose",
"NumberDigit",
"NumberExpand",
"NumberFieldClassNumber",
"NumberFieldDiscriminant",
"NumberFieldFundamentalUnits",
"NumberFieldIntegralBasis",
"NumberFieldNormRepresentatives",
"NumberFieldRegulator",
"NumberFieldRootsOfUnity",
"NumberFieldSignature",
"NumberForm",
"NumberFormat",
"NumberLinePlot",
"NumberMarks",
"NumberMultiplier",
"NumberPadding",
"NumberPoint",
"NumberQ",
"NumberSeparator",
"NumberSigns",
"NumberString",
"Numerator",
"NumeratorDenominator",
"NumericalOrder",
"NumericalSort",
"NumericArray",
"NumericArrayQ",
"NumericArrayType",
"NumericFunction",
"NumericQ",
"NuttallWindow",
"NValues",
"NyquistGridLines",
"NyquistPlot",
"O",
"ObjectExistsQ",
"ObservabilityGramian",
"ObservabilityMatrix",
"ObservableDecomposition",
"ObservableModelQ",
"OceanData",
"Octahedron",
"OddQ",
"Off",
"Offset",
"OLEData",
"On",
"ONanGroupON",
"Once",
"OneIdentity",
"Opacity",
"OpacityFunction",
"OpacityFunctionScaling",
"Open",
"OpenAppend",
"Opener",
"OpenerBox",
"OpenerBoxOptions",
"OpenerView",
"OpenFunctionInspectorPacket",
"Opening",
"OpenRead",
"OpenSpecialOptions",
"OpenTemporary",
"OpenWrite",
"Operate",
"OperatingSystem",
"OperatorApplied",
"OptimumFlowData",
"Optional",
"OptionalElement",
"OptionInspectorSettings",
"OptionQ",
"Options",
"OptionsPacket",
"OptionsPattern",
"OptionValue",
"OptionValueBox",
"OptionValueBoxOptions",
"Or",
"Orange",
"Order",
"OrderDistribution",
"OrderedQ",
"Ordering",
"OrderingBy",
"OrderingLayer",
"Orderless",
"OrderlessPatternSequence",
"OrdinalScale",
"OrnsteinUhlenbeckProcess",
"Orthogonalize",
"OrthogonalMatrixQ",
"Out",
"Outer",
"OuterPolygon",
"OuterPolyhedron",
"OutputAutoOverwrite",
"OutputControllabilityMatrix",
"OutputControllableModelQ",
"OutputForm",
"OutputFormData",
"OutputGrouping",
"OutputMathEditExpression",
"OutputNamePacket",
"OutputPorts",
"OutputResponse",
"OutputSizeLimit",
"OutputStream",
"Over",
"OverBar",
"OverDot",
"Overflow",
"OverHat",
"Overlaps",
"Overlay",
"OverlayBox",
"OverlayBoxOptions",
"OverlayVideo",
"Overscript",
"OverscriptBox",
"OverscriptBoxOptions",
"OverTilde",
"OverVector",
"OverwriteTarget",
"OwenT",
"OwnValues",
"Package",
"PackingMethod",
"PackPaclet",
"PacletDataRebuild",
"PacletDirectoryAdd",
"PacletDirectoryLoad",
"PacletDirectoryRemove",
"PacletDirectoryUnload",
"PacletDisable",
"PacletEnable",
"PacletFind",
"PacletFindRemote",
"PacletInformation",
"PacletInstall",
"PacletInstallSubmit",
"PacletNewerQ",
"PacletObject",
"PacletObjectQ",
"PacletSite",
"PacletSiteObject",
"PacletSiteRegister",
"PacletSites",
"PacletSiteUnregister",
"PacletSiteUpdate",
"PacletSymbol",
"PacletUninstall",
"PacletUpdate",
"PaddedForm",
"Padding",
"PaddingLayer",
"PaddingSize",
"PadeApproximant",
"PadLeft",
"PadRight",
"PageBreakAbove",
"PageBreakBelow",
"PageBreakWithin",
"PageFooterLines",
"PageFooters",
"PageHeaderLines",
"PageHeaders",
"PageHeight",
"PageRankCentrality",
"PageTheme",
"PageWidth",
"Pagination",
"PairCorrelationG",
"PairedBarChart",
"PairedHistogram",
"PairedSmoothHistogram",
"PairedTTest",
"PairedZTest",
"PaletteNotebook",
"PalettePath",
"PalettesMenuSettings",
"PalindromeQ",
"Pane",
"PaneBox",
"PaneBoxOptions",
"Panel",
"PanelBox",
"PanelBoxOptions",
"Paneled",
"PaneSelector",
"PaneSelectorBox",
"PaneSelectorBoxOptions",
"PaperWidth",
"ParabolicCylinderD",
"ParagraphIndent",
"ParagraphSpacing",
"ParallelArray",
"ParallelAxisPlot",
"ParallelCombine",
"ParallelDo",
"Parallelepiped",
"ParallelEvaluate",
"Parallelization",
"Parallelize",
"ParallelKernels",
"ParallelMap",
"ParallelNeeds",
"Parallelogram",
"ParallelProduct",
"ParallelSubmit",
"ParallelSum",
"ParallelTable",
"ParallelTry",
"Parameter",
"ParameterEstimator",
"ParameterMixtureDistribution",
"ParameterVariables",
"ParametricConvexOptimization",
"ParametricFunction",
"ParametricNDSolve",
"ParametricNDSolveValue",
"ParametricPlot",
"ParametricPlot3D",
"ParametricRampLayer",
"ParametricRegion",
"ParentBox",
"ParentCell",
"ParentConnect",
"ParentDirectory",
"ParentEdgeLabel",
"ParentEdgeLabelFunction",
"ParentEdgeLabelStyle",
"ParentEdgeShapeFunction",
"ParentEdgeStyle",
"ParentEdgeStyleFunction",
"ParentForm",
"Parenthesize",
"ParentList",
"ParentNotebook",
"ParetoDistribution",
"ParetoPickandsDistribution",
"ParkData",
"Part",
"PartBehavior",
"PartialCorrelationFunction",
"PartialD",
"ParticleAcceleratorData",
"ParticleData",
"Partition",
"PartitionGranularity",
"PartitionsP",
"PartitionsQ",
"PartLayer",
"PartOfSpeech",
"PartProtection",
"ParzenWindow",
"PascalDistribution",
"PassEventsDown",
"PassEventsUp",
"Paste",
"PasteAutoQuoteCharacters",
"PasteBoxFormInlineCells",
"PasteButton",
"Path",
"PathGraph",
"PathGraphQ",
"Pattern",
"PatternFilling",
"PatternReaction",
"PatternSequence",
"PatternTest",
"PauliMatrix",
"PaulWavelet",
"Pause",
"PausedTime",
"PDF",
"PeakDetect",
"PeanoCurve",
"PearsonChiSquareTest",
"PearsonCorrelationTest",
"PearsonDistribution",
"PenttinenPointProcess",
"PercentForm",
"PerfectNumber",
"PerfectNumberQ",
"PerformanceGoal",
"Perimeter",
"PeriodicBoundaryCondition",
"PeriodicInterpolation",
"Periodogram",
"PeriodogramArray",
"Permanent",
"Permissions",
"PermissionsGroup",
"PermissionsGroupMemberQ",
"PermissionsGroups",
"PermissionsKey",
"PermissionsKeys",
"PermutationCycles",
"PermutationCyclesQ",
"PermutationGroup",
"PermutationLength",
"PermutationList",
"PermutationListQ",
"PermutationMatrix",
"PermutationMax",
"PermutationMin",
"PermutationOrder",
"PermutationPower",
"PermutationProduct",
"PermutationReplace",
"Permutations",
"PermutationSupport",
"Permute",
"PeronaMalikFilter",
"Perpendicular",
"PerpendicularBisector",
"PersistenceLocation",
"PersistenceTime",
"PersistentObject",
"PersistentObjects",
"PersistentSymbol",
"PersistentValue",
"PersonData",
"PERTDistribution",
"PetersenGraph",
"PhaseMargins",
"PhaseRange",
"PhongShading",
"PhysicalSystemData",
"Pi",
"Pick",
"PickedElements",
"PickMode",
"PIDData",
"PIDDerivativeFilter",
"PIDFeedforward",
"PIDTune",
"Piecewise",
"PiecewiseExpand",
"PieChart",
"PieChart3D",
"PillaiTrace",
"PillaiTraceTest",
"PingTime",
"Pink",
"PitchRecognize",
"Pivoting",
"PixelConstrained",
"PixelValue",
"PixelValuePositions",
"Placed",
"Placeholder",
"PlaceholderLayer",
"PlaceholderReplace",
"Plain",
"PlanarAngle",
"PlanarFaceList",
"PlanarGraph",
"PlanarGraphQ",
"PlanckRadiationLaw",
"PlaneCurveData",
"PlanetaryMoonData",
"PlanetData",
"PlantData",
"Play",
"PlaybackSettings",
"PlayRange",
"Plot",
"Plot3D",
"Plot3Matrix",
"PlotDivision",
"PlotJoined",
"PlotLabel",
"PlotLabels",
"PlotLayout",
"PlotLegends",
"PlotMarkers",
"PlotPoints",
"PlotRange",
"PlotRangeClipping",
"PlotRangeClipPlanesStyle",
"PlotRangePadding",
"PlotRegion",
"PlotStyle",
"PlotTheme",
"Pluralize",
"Plus",
"PlusMinus",
"Pochhammer",
"PodStates",
"PodWidth",
"Point",
"Point3DBox",
"Point3DBoxOptions",
"PointBox",
"PointBoxOptions",
"PointCountDistribution",
"PointDensity",
"PointDensityFunction",
"PointFigureChart",
"PointLegend",
"PointLight",
"PointProcessEstimator",
"PointProcessFitTest",
"PointProcessParameterAssumptions",
"PointProcessParameterQ",
"PointSize",
"PointStatisticFunction",
"PointValuePlot",
"PoissonConsulDistribution",
"PoissonDistribution",
"PoissonPDEComponent",
"PoissonPointProcess",
"PoissonProcess",
"PoissonWindow",
"PolarAxes",
"PolarAxesOrigin",
"PolarGridLines",
"PolarPlot",
"PolarTicks",
"PoleZeroMarkers",
"PolyaAeppliDistribution",
"PolyGamma",
"Polygon",
"Polygon3DBox",
"Polygon3DBoxOptions",
"PolygonalNumber",
"PolygonAngle",
"PolygonBox",
"PolygonBoxOptions",
"PolygonCoordinates",
"PolygonDecomposition",
"PolygonHoleScale",
"PolygonIntersections",
"PolygonScale",
"Polyhedron",
"PolyhedronAngle",
"PolyhedronBox",
"PolyhedronBoxOptions",
"PolyhedronCoordinates",
"PolyhedronData",
"PolyhedronDecomposition",
"PolyhedronGenus",
"PolyLog",
"PolynomialExpressionQ",
"PolynomialExtendedGCD",
"PolynomialForm",
"PolynomialGCD",
"PolynomialLCM",
"PolynomialMod",
"PolynomialQ",
"PolynomialQuotient",
"PolynomialQuotientRemainder",
"PolynomialReduce",
"PolynomialRemainder",
"Polynomials",
"PolynomialSumOfSquaresList",
"PoolingLayer",
"PopupMenu",
"PopupMenuBox",
"PopupMenuBoxOptions",
"PopupView",
"PopupWindow",
"Position",
"PositionIndex",
"PositionLargest",
"PositionSmallest",
"Positive",
"PositiveDefiniteMatrixQ",
"PositiveIntegers",
"PositivelyOrientedPoints",
"PositiveRationals",
"PositiveReals",
"PositiveSemidefiniteMatrixQ",
"PossibleZeroQ",
"Postfix",
"PostScript",
"Power",
"PowerDistribution",
"PowerExpand",
"PowerMod",
"PowerModList",
"PowerRange",
"PowerSpectralDensity",
"PowersRepresentations",
"PowerSymmetricPolynomial",
"Precedence",
"PrecedenceForm",
"Precedes",
"PrecedesEqual",
"PrecedesSlantEqual",
"PrecedesTilde",
"Precision",
"PrecisionGoal",
"PreDecrement",
"Predict",
"PredictionRoot",
"PredictorFunction",
"PredictorInformation",
"PredictorMeasurements",
"PredictorMeasurementsObject",
"PreemptProtect",
"PreferencesPath",
"PreferencesSettings",
"Prefix",
"PreIncrement",
"Prepend",
"PrependLayer",
"PrependTo",
"PreprocessingRules",
"PreserveColor",
"PreserveImageOptions",
"Previous",
"PreviousCell",
"PreviousDate",
"PriceGraphDistribution",
"PrimaryPlaceholder",
"Prime",
"PrimeNu",
"PrimeOmega",
"PrimePi",
"PrimePowerQ",
"PrimeQ",
"Primes",
"PrimeZetaP",
"PrimitivePolynomialQ",
"PrimitiveRoot",
"PrimitiveRootList",
"PrincipalComponents",
"PrincipalValue",
"Print",
"PrintableASCIIQ",
"PrintAction",
"PrintForm",
"PrintingCopies",
"PrintingOptions",
"PrintingPageRange",
"PrintingStartingPageNumber",
"PrintingStyleEnvironment",
"Printout3D",
"Printout3DPreviewer",
"PrintPrecision",
"PrintTemporary",
"Prism",
"PrismBox",
"PrismBoxOptions",
"PrivateCellOptions",
"PrivateEvaluationOptions",
"PrivateFontOptions",
"PrivateFrontEndOptions",
"PrivateKey",
"PrivateNotebookOptions",
"PrivatePaths",
"Probability",
"ProbabilityDistribution",
"ProbabilityPlot",
"ProbabilityPr",
"ProbabilityScalePlot",
"ProbitModelFit",
"ProcessConnection",
"ProcessDirectory",
"ProcessEnvironment",
"Processes",
"ProcessEstimator",
"ProcessInformation",
"ProcessObject",
"ProcessParameterAssumptions",
"ProcessParameterQ",
"ProcessStateDomain",
"ProcessStatus",
"ProcessTimeDomain",
"Product",
"ProductDistribution",
"ProductLog",
"ProgressIndicator",
"ProgressIndicatorBox",
"ProgressIndicatorBoxOptions",
"ProgressReporting",
"Projection",
"Prolog",
"PromptForm",
"ProofObject",
"PropagateAborts",
"Properties",
"Property",
"PropertyList",
"PropertyValue",
"Proportion",
"Proportional",
"Protect",
"Protected",
"ProteinData",
"Pruning",
"PseudoInverse",
"PsychrometricPropertyData",
"PublicKey",
"PublisherID",
"PulsarData",
"PunctuationCharacter",
"Purple",
"Put",
"PutAppend",
"Pyramid",
"PyramidBox",
"PyramidBoxOptions",
"QBinomial",
"QFactorial",
"QGamma",
"QHypergeometricPFQ",
"QnDispersion",
"QPochhammer",
"QPolyGamma",
"QRDecomposition",
"QuadraticIrrationalQ",
"QuadraticOptimization",
"Quantile",
"QuantilePlot",
"Quantity",
"QuantityArray",
"QuantityDistribution",
"QuantityForm",
"QuantityMagnitude",
"QuantityQ",
"QuantityUnit",
"QuantityVariable",
"QuantityVariableCanonicalUnit",
"QuantityVariableDimensions",
"QuantityVariableIdentifier",
"QuantityVariablePhysicalQuantity",
"Quartics",
"QuartileDeviation",
"Quartiles",
"QuartileSkewness",
"Query",
"QuestionGenerator",
"QuestionInterface",
"QuestionObject",
"QuestionSelector",
"QueueingNetworkProcess",
"QueueingProcess",
"QueueProperties",
"Quiet",
"QuietEcho",
"Quit",
"Quotient",
"QuotientRemainder",
"RadialAxisPlot",
"RadialGradientFilling",
"RadialGradientImage",
"RadialityCentrality",
"RadicalBox",
"RadicalBoxOptions",
"RadioButton",
"RadioButtonBar",
"RadioButtonBox",
"RadioButtonBoxOptions",
"Radon",
"RadonTransform",
"RamanujanTau",
"RamanujanTauL",
"RamanujanTauTheta",
"RamanujanTauZ",
"Ramp",
"Random",
"RandomArrayLayer",
"RandomChoice",
"RandomColor",
"RandomComplex",
"RandomDate",
"RandomEntity",
"RandomFunction",
"RandomGeneratorState",
"RandomGeoPosition",
"RandomGraph",
"RandomImage",
"RandomInstance",
"RandomInteger",
"RandomPermutation",
"RandomPoint",
"RandomPointConfiguration",
"RandomPolygon",
"RandomPolyhedron",
"RandomPrime",
"RandomReal",
"RandomSample",
"RandomSeed",
"RandomSeeding",
"RandomTime",
"RandomTree",
"RandomVariate",
"RandomWalkProcess",
"RandomWord",
"Range",
"RangeFilter",
"RangeSpecification",
"RankedMax",
"RankedMin",
"RarerProbability",
"Raster",
"Raster3D",
"Raster3DBox",
"Raster3DBoxOptions",
"RasterArray",
"RasterBox",
"RasterBoxOptions",
"Rasterize",
"RasterSize",
"Rational",
"RationalExpressionQ",
"RationalFunctions",
"Rationalize",
"Rationals",
"Ratios",
"RawArray",
"RawBoxes",
"RawData",
"RawMedium",
"RayleighDistribution",
"Re",
"ReactionBalance",
"ReactionBalancedQ",
"ReactionPDETerm",
"Read",
"ReadByteArray",
"ReadLine",
"ReadList",
"ReadProtected",
"ReadString",
"Real",
"RealAbs",
"RealBlockDiagonalForm",
"RealDigits",
"RealExponent",
"Reals",
"RealSign",
"Reap",
"RebuildPacletData",
"RecalibrationFunction",
"RecognitionPrior",
"RecognitionThreshold",
"ReconstructionMesh",
"Record",
"RecordLists",
"RecordSeparators",
"Rectangle",
"RectangleBox",
"RectangleBoxOptions",
"RectangleChart",
"RectangleChart3D",
"RectangularRepeatingElement",
"RecurrenceFilter",
"RecurrenceTable",
"RecurringDigitsForm",
"Red",
"Reduce",
"RefBox",
"ReferenceLineStyle",
"ReferenceMarkers",
"ReferenceMarkerStyle",
"Refine",
"ReflectionMatrix",
"ReflectionTransform",
"Refresh",
"RefreshRate",
"Region",
"RegionBinarize",
"RegionBoundary",
"RegionBoundaryStyle",
"RegionBounds",
"RegionCentroid",
"RegionCongruent",
"RegionConvert",
"RegionDifference",
"RegionDilation",
"RegionDimension",
"RegionDisjoint",
"RegionDistance",
"RegionDistanceFunction",
"RegionEmbeddingDimension",
"RegionEqual",
"RegionErosion",
"RegionFillingStyle",
"RegionFit",
"RegionFunction",
"RegionImage",
"RegionIntersection",
"RegionMeasure",
"RegionMember",
"RegionMemberFunction",
"RegionMoment",
"RegionNearest",
"RegionNearestFunction",
"RegionPlot",
"RegionPlot3D",
"RegionProduct",
"RegionQ",
"RegionResize",
"RegionSimilar",
"RegionSize",
"RegionSymmetricDifference",
"RegionUnion",
"RegionWithin",
"RegisterExternalEvaluator",
"RegularExpression",
"Regularization",
"RegularlySampledQ",
"RegularPolygon",
"ReIm",
"ReImLabels",
"ReImPlot",
"ReImStyle",
"Reinstall",
"RelationalDatabase",
"RelationGraph",
"Release",
"ReleaseHold",
"ReliabilityDistribution",
"ReliefImage",
"ReliefPlot",
"RemoteAuthorizationCaching",
"RemoteBatchJobAbort",
"RemoteBatchJobObject",
"RemoteBatchJobs",
"RemoteBatchMapSubmit",
"RemoteBatchSubmissionEnvironment",
"RemoteBatchSubmit",
"RemoteConnect",
"RemoteConnectionObject",
"RemoteEvaluate",
"RemoteFile",
"RemoteInputFiles",
"RemoteKernelObject",
"RemoteProviderSettings",
"RemoteRun",
"RemoteRunProcess",
"RemovalConditions",
"Remove",
"RemoveAlphaChannel",
"RemoveAsynchronousTask",
"RemoveAudioStream",
"RemoveBackground",
"RemoveChannelListener",
"RemoveChannelSubscribers",
"Removed",
"RemoveDiacritics",
"RemoveInputStreamMethod",
"RemoveOutputStreamMethod",
"RemoveProperty",
"RemoveScheduledTask",
"RemoveUsers",
"RemoveVideoStream",
"RenameDirectory",
"RenameFile",
"RenderAll",
"RenderingOptions",
"RenewalProcess",
"RenkoChart",
"RepairMesh",
"Repeated",
"RepeatedNull",
"RepeatedString",
"RepeatedTiming",
"RepeatingElement",
"Replace",
"ReplaceAll",
"ReplaceAt",
"ReplaceHeldPart",
"ReplaceImageValue",
"ReplaceList",
"ReplacePart",
"ReplacePixelValue",
"ReplaceRepeated",
"ReplicateLayer",
"RequiredPhysicalQuantities",
"Resampling",
"ResamplingAlgorithmData",
"ResamplingMethod",
"Rescale",
"RescalingTransform",
"ResetDirectory",
"ResetScheduledTask",
"ReshapeLayer",
"Residue",
"ResidueSum",
"ResizeLayer",
"Resolve",
"ResolveContextAliases",
"ResourceAcquire",
"ResourceData",
"ResourceFunction",
"ResourceObject",
"ResourceRegister",
"ResourceRemove",
"ResourceSearch",
"ResourceSubmissionObject",
"ResourceSubmit",
"ResourceSystemBase",
"ResourceSystemPath",
"ResourceUpdate",
"ResourceVersion",
"ResponseForm",
"Rest",
"RestartInterval",
"Restricted",
"Resultant",
"ResumePacket",
"Return",
"ReturnCreatesNewCell",
"ReturnEntersInput",
"ReturnExpressionPacket",
"ReturnInputFormPacket",
"ReturnPacket",
"ReturnReceiptFunction",
"ReturnTextPacket",
"Reverse",
"ReverseApplied",
"ReverseBiorthogonalSplineWavelet",
"ReverseElement",
"ReverseEquilibrium",
"ReverseGraph",
"ReverseSort",
"ReverseSortBy",
"ReverseUpEquilibrium",
"RevolutionAxis",
"RevolutionPlot3D",
"RGBColor",
"RiccatiSolve",
"RiceDistribution",
"RidgeFilter",
"RiemannR",
"RiemannSiegelTheta",
"RiemannSiegelZ",
"RiemannXi",
"Riffle",
"Right",
"RightArrow",
"RightArrowBar",
"RightArrowLeftArrow",
"RightComposition",
"RightCosetRepresentative",
"RightDownTeeVector",
"RightDownVector",
"RightDownVectorBar",
"RightTee",
"RightTeeArrow",
"RightTeeVector",
"RightTriangle",
"RightTriangleBar",
"RightTriangleEqual",
"RightUpDownVector",
"RightUpTeeVector",
"RightUpVector",
"RightUpVectorBar",
"RightVector",
"RightVectorBar",
"RipleyK",
"RipleyRassonRegion",
"RiskAchievementImportance",
"RiskReductionImportance",
"RobustConvexOptimization",
"RogersTanimotoDissimilarity",
"RollPitchYawAngles",
"RollPitchYawMatrix",
"RomanNumeral",
"Root",
"RootApproximant",
"RootIntervals",
"RootLocusPlot",
"RootMeanSquare",
"RootOfUnityQ",
"RootReduce",
"Roots",
"RootSum",
"RootTree",
"Rotate",
"RotateLabel",
"RotateLeft",
"RotateRight",
"RotationAction",
"RotationBox",
"RotationBoxOptions",
"RotationMatrix",
"RotationTransform",
"Round",
"RoundImplies",
"RoundingRadius",
"Row",
"RowAlignments",
"RowBackgrounds",
"RowBox",
"RowHeights",
"RowLines",
"RowMinHeight",
"RowReduce",
"RowsEqual",
"RowSpacings",
"RSolve",
"RSolveValue",
"RudinShapiro",
"RudvalisGroupRu",
"Rule",
"RuleCondition",
"RuleDelayed",
"RuleForm",
"RulePlot",
"RulerUnits",
"RulesTree",
"Run",
"RunProcess",
"RunScheduledTask",
"RunThrough",
"RuntimeAttributes",
"RuntimeOptions",
"RussellRaoDissimilarity",
"SameAs",
"SameQ",
"SameTest",
"SameTestProperties",
"SampledEntityClass",
"SampleDepth",
"SampledSoundFunction",
"SampledSoundList",
"SampleRate",
"SamplingPeriod",
"SARIMAProcess",
"SARMAProcess",
"SASTriangle",
"SatelliteData",
"SatisfiabilityCount",
"SatisfiabilityInstances",
"SatisfiableQ",
"Saturday",
"Save",
"Saveable",
"SaveAutoDelete",
"SaveConnection",
"SaveDefinitions",
"SavitzkyGolayMatrix",
"SawtoothWave",
"Scale",
"Scaled",
"ScaleDivisions",
"ScaledMousePosition",
"ScaleOrigin",
"ScalePadding",
"ScaleRanges",
"ScaleRangeStyle",
"ScalingFunctions",
"ScalingMatrix",
"ScalingTransform",
"Scan",
"ScheduledTask",
"ScheduledTaskActiveQ",
"ScheduledTaskInformation",
"ScheduledTaskInformationData",
"ScheduledTaskObject",
"ScheduledTasks",
"SchurDecomposition",
"ScientificForm",
"ScientificNotationThreshold",
"ScorerGi",
"ScorerGiPrime",
"ScorerHi",
"ScorerHiPrime",
"ScreenRectangle",
"ScreenStyleEnvironment",
"ScriptBaselineShifts",
"ScriptForm",
"ScriptLevel",
"ScriptMinSize",
"ScriptRules",
"ScriptSizeMultipliers",
"Scrollbars",
"ScrollingOptions",
"ScrollPosition",
"SearchAdjustment",
"SearchIndexObject",
"SearchIndices",
"SearchQueryString",
"SearchResultObject",
"Sec",
"Sech",
"SechDistribution",
"SecondOrderConeOptimization",
"SectionGrouping",
"SectorChart",
"SectorChart3D",
"SectorOrigin",
"SectorSpacing",
"SecuredAuthenticationKey",
"SecuredAuthenticationKeys",
"SecurityCertificate",
"SeedRandom",
"Select",
"Selectable",
"SelectComponents",
"SelectedCells",
"SelectedNotebook",
"SelectFirst",
"Selection",
"SelectionAnimate",
"SelectionCell",
"SelectionCellCreateCell",
"SelectionCellDefaultStyle",
"SelectionCellParentStyle",
"SelectionCreateCell",
"SelectionDebuggerTag",
"SelectionEvaluate",
"SelectionEvaluateCreateCell",
"SelectionMove",
"SelectionPlaceholder",
"SelectWithContents",
"SelfLoops",
"SelfLoopStyle",
"SemanticImport",
"SemanticImportString",
"SemanticInterpretation",
"SemialgebraicComponentInstances",
"SemidefiniteOptimization",
"SendMail",
"SendMessage",
"Sequence",
"SequenceAlignment",
"SequenceAttentionLayer",
"SequenceCases",
"SequenceCount",
"SequenceFold",
"SequenceFoldList",
"SequenceForm",
"SequenceHold",
"SequenceIndicesLayer",
"SequenceLastLayer",
"SequenceMostLayer",
"SequencePosition",
"SequencePredict",
"SequencePredictorFunction",
"SequenceReplace",
"SequenceRestLayer",
"SequenceReverseLayer",
"SequenceSplit",
"Series",
"SeriesCoefficient",
"SeriesData",
"SeriesTermGoal",
"ServiceConnect",
"ServiceDisconnect",
"ServiceExecute",
"ServiceObject",
"ServiceRequest",
"ServiceResponse",
"ServiceSubmit",
"SessionSubmit",
"SessionTime",
"Set",
"SetAccuracy",
"SetAlphaChannel",
"SetAttributes",
"Setbacks",
"SetCloudDirectory",
"SetCookies",
"SetDelayed",
"SetDirectory",
"SetEnvironment",
"SetFileDate",
"SetFileFormatProperties",
"SetOptions",
"SetOptionsPacket",
"SetPermissions",
"SetPrecision",
"SetProperty",
"SetSecuredAuthenticationKey",
"SetSelectedNotebook",
"SetSharedFunction",
"SetSharedVariable",
"SetStreamPosition",
"SetSystemModel",
"SetSystemOptions",
"Setter",
"SetterBar",
"SetterBox",
"SetterBoxOptions",
"Setting",
"SetUsers",
"Shading",
"Shallow",
"ShannonWavelet",
"ShapiroWilkTest",
"Share",
"SharingList",
"Sharpen",
"ShearingMatrix",
"ShearingTransform",
"ShellRegion",
"ShenCastanMatrix",
"ShiftedGompertzDistribution",
"ShiftRegisterSequence",
"Short",
"ShortDownArrow",
"Shortest",
"ShortestMatch",
"ShortestPathFunction",
"ShortLeftArrow",
"ShortRightArrow",
"ShortTimeFourier",
"ShortTimeFourierData",
"ShortUpArrow",
"Show",
"ShowAutoConvert",
"ShowAutoSpellCheck",
"ShowAutoStyles",
"ShowCellBracket",
"ShowCellLabel",
"ShowCellTags",
"ShowClosedCellArea",
"ShowCodeAssist",
"ShowContents",
"ShowControls",
"ShowCursorTracker",
"ShowGroupOpenCloseIcon",
"ShowGroupOpener",
"ShowInvisibleCharacters",
"ShowPageBreaks",
"ShowPredictiveInterface",
"ShowSelection",
"ShowShortBoxForm",
"ShowSpecialCharacters",
"ShowStringCharacters",
"ShowSyntaxStyles",
"ShrinkingDelay",
"ShrinkWrapBoundingBox",
"SiderealTime",
"SiegelTheta",
"SiegelTukeyTest",
"SierpinskiCurve",
"SierpinskiMesh",
"Sign",
"Signature",
"SignedRankTest",
"SignedRegionDistance",
"SignificanceLevel",
"SignPadding",
"SignTest",
"SimilarityRules",
"SimpleGraph",
"SimpleGraphQ",
"SimplePolygonQ",
"SimplePolyhedronQ",
"Simplex",
"Simplify",
"Sin",
"Sinc",
"SinghMaddalaDistribution",
"SingleEvaluation",
"SingleLetterItalics",
"SingleLetterStyle",
"SingularValueDecomposition",
"SingularValueList",
"SingularValuePlot",
"SingularValues",
"Sinh",
"SinhIntegral",
"SinIntegral",
"SixJSymbol",
"Skeleton",
"SkeletonTransform",
"SkellamDistribution",
"Skewness",
"SkewNormalDistribution",
"SkinStyle",
"Skip",
"SliceContourPlot3D",
"SliceDensityPlot3D",
"SliceDistribution",
"SliceVectorPlot3D",
"Slider",
"Slider2D",
"Slider2DBox",
"Slider2DBoxOptions",
"SliderBox",
"SliderBoxOptions",
"SlideShowVideo",
"SlideView",
"Slot",
"SlotSequence",
"Small",
"SmallCircle",
"Smaller",
"SmithDecomposition",
"SmithDelayCompensator",
"SmithWatermanSimilarity",
"SmoothDensityHistogram",
"SmoothHistogram",
"SmoothHistogram3D",
"SmoothKernelDistribution",
"SmoothPointDensity",
"SnDispersion",
"Snippet",
"SnippetsVideo",
"SnubPolyhedron",
"SocialMediaData",
"Socket",
"SocketConnect",
"SocketListen",
"SocketListener",
"SocketObject",
"SocketOpen",
"SocketReadMessage",
"SocketReadyQ",
"Sockets",
"SocketWaitAll",
"SocketWaitNext",
"SoftmaxLayer",
"SokalSneathDissimilarity",
"SolarEclipse",
"SolarSystemFeatureData",
"SolarTime",
"SolidAngle",
"SolidBoundaryLoadValue",
"SolidData",
"SolidDisplacementCondition",
"SolidFixedCondition",
"SolidMechanicsPDEComponent",
"SolidMechanicsStrain",
"SolidMechanicsStress",
"SolidRegionQ",
"Solve",
"SolveAlways",
"SolveDelayed",
"SolveValues",
"Sort",
"SortBy",
"SortedBy",
"SortedEntityClass",
"Sound",
"SoundAndGraphics",
"SoundNote",
"SoundVolume",
"SourceLink",
"SourcePDETerm",
"Sow",
"Space",
"SpaceCurveData",
"SpaceForm",
"Spacer",
"Spacings",
"Span",
"SpanAdjustments",
"SpanCharacterRounding",
"SpanFromAbove",
"SpanFromBoth",
"SpanFromLeft",
"SpanLineThickness",
"SpanMaxSize",
"SpanMinSize",
"SpanningCharacters",
"SpanSymmetric",
"SparseArray",
"SparseArrayQ",
"SpatialBinnedPointData",
"SpatialBoundaryCorrection",
"SpatialEstimate",
"SpatialEstimatorFunction",
"SpatialGraphDistribution",
"SpatialJ",
"SpatialMedian",
"SpatialNoiseLevel",
"SpatialObservationRegionQ",
"SpatialPointData",
"SpatialPointSelect",
"SpatialRandomnessTest",
"SpatialTransformationLayer",
"SpatialTrendFunction",
"Speak",
"SpeakerMatchQ",
"SpearmanRankTest",
"SpearmanRho",
"SpeciesData",
"SpecificityGoal",
"SpectralLineData",
"Spectrogram",
"SpectrogramArray",
"Specularity",
"SpeechCases",
"SpeechInterpreter",
"SpeechRecognize",
"SpeechSynthesize",
"SpellingCorrection",
"SpellingCorrectionList",
"SpellingDictionaries",
"SpellingDictionariesPath",
"SpellingOptions",
"Sphere",
"SphereBox",
"SphereBoxOptions",
"SpherePoints",
"SphericalBesselJ",
"SphericalBesselY",
"SphericalHankelH1",
"SphericalHankelH2",
"SphericalHarmonicY",
"SphericalPlot3D",
"SphericalRegion",
"SphericalShell",
"SpheroidalEigenvalue",
"SpheroidalJoiningFactor",
"SpheroidalPS",
"SpheroidalPSPrime",
"SpheroidalQS",
"SpheroidalQSPrime",
"SpheroidalRadialFactor",
"SpheroidalS1",
"SpheroidalS1Prime",
"SpheroidalS2",
"SpheroidalS2Prime",
"Splice",
"SplicedDistribution",
"SplineClosed",
"SplineDegree",
"SplineKnots",
"SplineWeights",
"Split",
"SplitBy",
"SpokenString",
"SpotLight",
"Sqrt",
"SqrtBox",
"SqrtBoxOptions",
"Square",
"SquaredEuclideanDistance",
"SquareFreeQ",
"SquareIntersection",
"SquareMatrixQ",
"SquareRepeatingElement",
"SquaresR",
"SquareSubset",
"SquareSubsetEqual",
"SquareSuperset",
"SquareSupersetEqual",
"SquareUnion",
"SquareWave",
"SSSTriangle",
"StabilityMargins",
"StabilityMarginsStyle",
"StableDistribution",
"Stack",
"StackBegin",
"StackComplete",
"StackedDateListPlot",
"StackedListPlot",
"StackInhibit",
"StadiumShape",
"StandardAtmosphereData",
"StandardDeviation",
"StandardDeviationFilter",
"StandardForm",
"Standardize",
"Standardized",
"StandardOceanData",
"StandbyDistribution",
"Star",
"StarClusterData",
"StarData",
"StarGraph",
"StartAsynchronousTask",
"StartExternalSession",
"StartingStepSize",
"StartOfLine",
"StartOfString",
"StartProcess",
"StartScheduledTask",
"StartupSound",
"StartWebSession",
"StateDimensions",
"StateFeedbackGains",
"StateOutputEstimator",
"StateResponse",
"StateSpaceModel",
"StateSpaceRealization",
"StateSpaceTransform",
"StateTransformationLinearize",
"StationaryDistribution",
"StationaryWaveletPacketTransform",
"StationaryWaveletTransform",
"StatusArea",
"StatusCentrality",
"StepMonitor",
"StereochemistryElements",
"StieltjesGamma",
"StippleShading",
"StirlingS1",
"StirlingS2",
"StopAsynchronousTask",
"StoppingPowerData",
"StopScheduledTask",
"StrataVariables",
"StratonovichProcess",
"StraussHardcorePointProcess",
"StraussPointProcess",
"StreamColorFunction",
"StreamColorFunctionScaling",
"StreamDensityPlot",
"StreamMarkers",
"StreamPlot",
"StreamPlot3D",
"StreamPoints",
"StreamPosition",
"Streams",
"StreamScale",
"StreamStyle",
"StrictInequalities",
"String",
"StringBreak",
"StringByteCount",
"StringCases",
"StringContainsQ",
"StringCount",
"StringDelete",
"StringDrop",
"StringEndsQ",
"StringExpression",
"StringExtract",
"StringForm",
"StringFormat",
"StringFormatQ",
"StringFreeQ",
"StringInsert",
"StringJoin",
"StringLength",
"StringMatchQ",
"StringPadLeft",
"StringPadRight",
"StringPart",
"StringPartition",
"StringPosition",
"StringQ",
"StringRepeat",
"StringReplace",
"StringReplaceList",
"StringReplacePart",
"StringReverse",
"StringRiffle",
"StringRotateLeft",
"StringRotateRight",
"StringSkeleton",
"StringSplit",
"StringStartsQ",
"StringTake",
"StringTakeDrop",
"StringTemplate",
"StringToByteArray",
"StringToStream",
"StringTrim",
"StripBoxes",
"StripOnInput",
"StripStyleOnPaste",
"StripWrapperBoxes",
"StrokeForm",
"Struckthrough",
"StructuralImportance",
"StructuredArray",
"StructuredArrayHeadQ",
"StructuredSelection",
"StruveH",
"StruveL",
"Stub",
"StudentTDistribution",
"Style",
"StyleBox",
"StyleBoxAutoDelete",
"StyleData",
"StyleDefinitions",
"StyleForm",
"StyleHints",
"StyleKeyMapping",
"StyleMenuListing",
"StyleNameDialogSettings",
"StyleNames",
"StylePrint",
"StyleSheetPath",
"Subdivide",
"Subfactorial",
"Subgraph",
"SubMinus",
"SubPlus",
"SubresultantPolynomialRemainders",
"SubresultantPolynomials",
"Subresultants",
"Subscript",
"SubscriptBox",
"SubscriptBoxOptions",
"Subscripted",
"Subsequences",
"Subset",
"SubsetCases",
"SubsetCount",
"SubsetEqual",
"SubsetMap",
"SubsetPosition",
"SubsetQ",
"SubsetReplace",
"Subsets",
"SubStar",
"SubstitutionSystem",
"Subsuperscript",
"SubsuperscriptBox",
"SubsuperscriptBoxOptions",
"SubtitleEncoding",
"SubtitleTrackSelection",
"Subtract",
"SubtractFrom",
"SubtractSides",
"SubValues",
"Succeeds",
"SucceedsEqual",
"SucceedsSlantEqual",
"SucceedsTilde",
"Success",
"SuchThat",
"Sum",
"SumConvergence",
"SummationLayer",
"Sunday",
"SunPosition",
"Sunrise",
"Sunset",
"SuperDagger",
"SuperMinus",
"SupernovaData",
"SuperPlus",
"Superscript",
"SuperscriptBox",
"SuperscriptBoxOptions",
"Superset",
"SupersetEqual",
"SuperStar",
"Surd",
"SurdForm",
"SurfaceAppearance",
"SurfaceArea",
"SurfaceColor",
"SurfaceData",
"SurfaceGraphics",
"SurvivalDistribution",
"SurvivalFunction",
"SurvivalModel",
"SurvivalModelFit",
"SuspendPacket",
"SuzukiDistribution",
"SuzukiGroupSuz",
"SwatchLegend",
"Switch",
"Symbol",
"SymbolName",
"SymletWavelet",
"Symmetric",
"SymmetricDifference",
"SymmetricGroup",
"SymmetricKey",
"SymmetricMatrixQ",
"SymmetricPolynomial",
"SymmetricReduction",
"Symmetrize",
"SymmetrizedArray",
"SymmetrizedArrayRules",
"SymmetrizedDependentComponents",
"SymmetrizedIndependentComponents",
"SymmetrizedReplacePart",
"SynchronousInitialization",
"SynchronousUpdating",
"Synonyms",
"Syntax",
"SyntaxForm",
"SyntaxInformation",
"SyntaxLength",
"SyntaxPacket",
"SyntaxQ",
"SynthesizeMissingValues",
"SystemCredential",
"SystemCredentialData",
"SystemCredentialKey",
"SystemCredentialKeys",
"SystemCredentialStoreObject",
"SystemDialogInput",
"SystemException",
"SystemGet",
"SystemHelpPath",
"SystemInformation",
"SystemInformationData",
"SystemInstall",
"SystemModel",
"SystemModeler",
"SystemModelExamples",
"SystemModelLinearize",
"SystemModelMeasurements",
"SystemModelParametricSimulate",
"SystemModelPlot",
"SystemModelProgressReporting",
"SystemModelReliability",
"SystemModels",
"SystemModelSimulate",
"SystemModelSimulateSensitivity",
"SystemModelSimulationData",
"SystemOpen",
"SystemOptions",
"SystemProcessData",
"SystemProcesses",
"SystemsConnectionsModel",
"SystemsModelControllerData",
"SystemsModelDelay",
"SystemsModelDelayApproximate",
"SystemsModelDelete",
"SystemsModelDimensions",
"SystemsModelExtract",
"SystemsModelFeedbackConnect",
"SystemsModelLabels",
"SystemsModelLinearity",
"SystemsModelMerge",
"SystemsModelOrder",
"SystemsModelParallelConnect",
"SystemsModelSeriesConnect",
"SystemsModelStateFeedbackConnect",
"SystemsModelVectorRelativeOrders",
"SystemStub",
"SystemTest",
"Tab",
"TabFilling",
"Table",
"TableAlignments",
"TableDepth",
"TableDirections",
"TableForm",
"TableHeadings",
"TableSpacing",
"TableView",
"TableViewBox",
"TableViewBoxAlignment",
"TableViewBoxBackground",
"TableViewBoxHeaders",
"TableViewBoxItemSize",
"TableViewBoxItemStyle",
"TableViewBoxOptions",
"TabSpacings",
"TabView",
"TabViewBox",
"TabViewBoxOptions",
"TagBox",
"TagBoxNote",
"TagBoxOptions",
"TaggingRules",
"TagSet",
"TagSetDelayed",
"TagStyle",
"TagUnset",
"Take",
"TakeDrop",
"TakeLargest",
"TakeLargestBy",
"TakeList",
"TakeSmallest",
"TakeSmallestBy",
"TakeWhile",
"Tally",
"Tan",
"Tanh",
"TargetDevice",
"TargetFunctions",
"TargetSystem",
"TargetUnits",
"TaskAbort",
"TaskExecute",
"TaskObject",
"TaskRemove",
"TaskResume",
"Tasks",
"TaskSuspend",
"TaskWait",
"TautologyQ",
"TelegraphProcess",
"TemplateApply",
"TemplateArgBox",
"TemplateBox",
"TemplateBoxOptions",
"TemplateEvaluate",
"TemplateExpression",
"TemplateIf",
"TemplateObject",
"TemplateSequence",
"TemplateSlot",
"TemplateSlotSequence",
"TemplateUnevaluated",
"TemplateVerbatim",
"TemplateWith",
"TemporalData",
"TemporalRegularity",
"Temporary",
"TemporaryVariable",
"TensorContract",
"TensorDimensions",
"TensorExpand",
"TensorProduct",
"TensorQ",
"TensorRank",
"TensorReduce",
"TensorSymmetry",
"TensorTranspose",
"TensorWedge",
"TerminatedEvaluation",
"TernaryListPlot",
"TernaryPlotCorners",
"TestID",
"TestReport",
"TestReportObject",
"TestResultObject",
"Tetrahedron",
"TetrahedronBox",
"TetrahedronBoxOptions",
"TeXForm",
"TeXSave",
"Text",
"Text3DBox",
"Text3DBoxOptions",
"TextAlignment",
"TextBand",
"TextBoundingBox",
"TextBox",
"TextCases",
"TextCell",
"TextClipboardType",
"TextContents",
"TextData",
"TextElement",
"TextForm",
"TextGrid",
"TextJustification",
"TextLine",
"TextPacket",
"TextParagraph",
"TextPosition",
"TextRecognize",
"TextSearch",
"TextSearchReport",
"TextSentences",
"TextString",
"TextStructure",
"TextStyle",
"TextTranslation",
"Texture",
"TextureCoordinateFunction",
"TextureCoordinateScaling",
"TextWords",
"Therefore",
"ThermodynamicData",
"ThermometerGauge",
"Thick",
"Thickness",
"Thin",
"Thinning",
"ThisLink",
"ThomasPointProcess",
"ThompsonGroupTh",
"Thread",
"Threaded",
"ThreadingLayer",
"ThreeJSymbol",
"Threshold",
"Through",
"Throw",
"ThueMorse",
"Thumbnail",
"Thursday",
"TickDirection",
"TickLabelOrientation",
"TickLabelPositioning",
"TickLabels",
"TickLengths",
"TickPositions",
"Ticks",
"TicksStyle",
"TideData",
"Tilde",
"TildeEqual",
"TildeFullEqual",
"TildeTilde",
"TimeConstrained",
"TimeConstraint",
"TimeDirection",
"TimeFormat",
"TimeGoal",
"TimelinePlot",
"TimeObject",
"TimeObjectQ",
"TimeRemaining",
"Times",
"TimesBy",
"TimeSeries",
"TimeSeriesAggregate",
"TimeSeriesForecast",
"TimeSeriesInsert",
"TimeSeriesInvertibility",
"TimeSeriesMap",
"TimeSeriesMapThread",
"TimeSeriesModel",
"TimeSeriesModelFit",
"TimeSeriesResample",
"TimeSeriesRescale",
"TimeSeriesShift",
"TimeSeriesThread",
"TimeSeriesWindow",
"TimeSystem",
"TimeSystemConvert",
"TimeUsed",
"TimeValue",
"TimeWarpingCorrespondence",
"TimeWarpingDistance",
"TimeZone",
"TimeZoneConvert",
"TimeZoneOffset",
"Timing",
"Tiny",
"TitleGrouping",
"TitsGroupT",
"ToBoxes",
"ToCharacterCode",
"ToColor",
"ToContinuousTimeModel",
"ToDate",
"Today",
"ToDiscreteTimeModel",
"ToEntity",
"ToeplitzMatrix",
"ToExpression",
"ToFileName",
"Together",
"Toggle",
"ToggleFalse",
"Toggler",
"TogglerBar",
"TogglerBox",
"TogglerBoxOptions",
"ToHeldExpression",
"ToInvertibleTimeSeries",
"TokenWords",
"Tolerance",
"ToLowerCase",
"Tomorrow",
"ToNumberField",
"TooBig",
"Tooltip",
"TooltipBox",
"TooltipBoxOptions",
"TooltipDelay",
"TooltipStyle",
"ToonShading",
"Top",
"TopHatTransform",
"ToPolarCoordinates",
"TopologicalSort",
"ToRadicals",
"ToRawPointer",
"ToRules",
"Torus",
"TorusGraph",
"ToSphericalCoordinates",
"ToString",
"Total",
"TotalHeight",
"TotalLayer",
"TotalVariationFilter",
"TotalWidth",
"TouchPosition",
"TouchscreenAutoZoom",
"TouchscreenControlPlacement",
"ToUpperCase",
"TourVideo",
"Tr",
"Trace",
"TraceAbove",
"TraceAction",
"TraceBackward",
"TraceDepth",
"TraceDialog",
"TraceForward",
"TraceInternal",
"TraceLevel",
"TraceOff",
"TraceOn",
"TraceOriginal",
"TracePrint",
"TraceScan",
"TrackCellChangeTimes",
"TrackedSymbols",
"TrackingFunction",
"TracyWidomDistribution",
"TradingChart",
"TraditionalForm",
"TraditionalFunctionNotation",
"TraditionalNotation",
"TraditionalOrder",
"TrainImageContentDetector",
"TrainingProgressCheckpointing",
"TrainingProgressFunction",
"TrainingProgressMeasurements",
"TrainingProgressReporting",
"TrainingStoppingCriterion",
"TrainingUpdateSchedule",
"TrainTextContentDetector",
"TransferFunctionCancel",
"TransferFunctionExpand",
"TransferFunctionFactor",
"TransferFunctionModel",
"TransferFunctionPoles",
"TransferFunctionTransform",
"TransferFunctionZeros",
"TransformationClass",
"TransformationFunction",
"TransformationFunctions",
"TransformationMatrix",
"TransformedDistribution",
"TransformedField",
"TransformedProcess",
"TransformedRegion",
"TransitionDirection",
"TransitionDuration",
"TransitionEffect",
"TransitiveClosureGraph",
"TransitiveReductionGraph",
"Translate",
"TranslationOptions",
"TranslationTransform",
"Transliterate",
"Transparent",
"TransparentColor",
"Transpose",
"TransposeLayer",
"TrapEnterKey",
"TrapSelection",
"TravelDirections",
"TravelDirectionsData",
"TravelDistance",
"TravelDistanceList",
"TravelMethod",
"TravelTime",
"Tree",
"TreeCases",
"TreeChildren",
"TreeCount",
"TreeData",
"TreeDelete",
"TreeDepth",
"TreeElementCoordinates",
"TreeElementLabel",
"TreeElementLabelFunction",
"TreeElementLabelStyle",
"TreeElementShape",
"TreeElementShapeFunction",
"TreeElementSize",
"TreeElementSizeFunction",
"TreeElementStyle",
"TreeElementStyleFunction",
"TreeExpression",
"TreeExtract",
"TreeFold",
"TreeForm",
"TreeGraph",
"TreeGraphQ",
"TreeInsert",
"TreeLayout",
"TreeLeafCount",
"TreeLeafQ",
"TreeLeaves",
"TreeLevel",
"TreeMap",
"TreeMapAt",
"TreeOutline",
"TreePlot",
"TreePosition",
"TreeQ",
"TreeReplacePart",
"TreeRules",
"TreeScan",
"TreeSelect",
"TreeSize",
"TreeTraversalOrder",
"TrendStyle",
"Triangle",
"TriangleCenter",
"TriangleConstruct",
"TriangleMeasurement",
"TriangleWave",
"TriangularDistribution",
"TriangulateMesh",
"Trig",
"TrigExpand",
"TrigFactor",
"TrigFactorList",
"Trigger",
"TrigReduce",
"TrigToExp",
"TrimmedMean",
"TrimmedVariance",
"TropicalStormData",
"True",
"TrueQ",
"TruncatedDistribution",
"TruncatedPolyhedron",
"TsallisQExponentialDistribution",
"TsallisQGaussianDistribution",
"TTest",
"Tube",
"TubeBezierCurveBox",
"TubeBezierCurveBoxOptions",
"TubeBox",
"TubeBoxOptions",
"TubeBSplineCurveBox",
"TubeBSplineCurveBoxOptions",
"Tuesday",
"TukeyLambdaDistribution",
"TukeyWindow",
"TunnelData",
"Tuples",
"TuranGraph",
"TuringMachine",
"TuttePolynomial",
"TwoWayRule",
"Typed",
"TypeDeclaration",
"TypeEvaluate",
"TypeHint",
"TypeOf",
"TypeSpecifier",
"UnateQ",
"Uncompress",
"UnconstrainedParameters",
"Undefined",
"UnderBar",
"Underflow",
"Underlined",
"Underoverscript",
"UnderoverscriptBox",
"UnderoverscriptBoxOptions",
"Underscript",
"UnderscriptBox",
"UnderscriptBoxOptions",
"UnderseaFeatureData",
"UndirectedEdge",
"UndirectedGraph",
"UndirectedGraphQ",
"UndoOptions",
"UndoTrackedVariables",
"Unequal",
"UnequalTo",
"Unevaluated",
"UniformDistribution",
"UniformGraphDistribution",
"UniformPolyhedron",
"UniformSumDistribution",
"Uninstall",
"Union",
"UnionedEntityClass",
"UnionPlus",
"Unique",
"UniqueElements",
"UnitaryMatrixQ",
"UnitBox",
"UnitConvert",
"UnitDimensions",
"Unitize",
"UnitRootTest",
"UnitSimplify",
"UnitStep",
"UnitSystem",
"UnitTriangle",
"UnitVector",
"UnitVectorLayer",
"UnityDimensions",
"UniverseModelData",
"UniversityData",
"UnixTime",
"UnlabeledTree",
"UnmanageObject",
"Unprotect",
"UnregisterExternalEvaluator",
"UnsameQ",
"UnsavedVariables",
"Unset",
"UnsetShared",
"Until",
"UntrackedVariables",
"Up",
"UpArrow",
"UpArrowBar",
"UpArrowDownArrow",
"Update",
"UpdateDynamicObjects",
"UpdateDynamicObjectsSynchronous",
"UpdateInterval",
"UpdatePacletSites",
"UpdateSearchIndex",
"UpDownArrow",
"UpEquilibrium",
"UpperCaseQ",
"UpperLeftArrow",
"UpperRightArrow",
"UpperTriangularize",
"UpperTriangularMatrix",
"UpperTriangularMatrixQ",
"Upsample",
"UpSet",
"UpSetDelayed",
"UpTee",
"UpTeeArrow",
"UpTo",
"UpValues",
"URL",
"URLBuild",
"URLDecode",
"URLDispatcher",
"URLDownload",
"URLDownloadSubmit",
"URLEncode",
"URLExecute",
"URLExpand",
"URLFetch",
"URLFetchAsynchronous",
"URLParse",
"URLQueryDecode",
"URLQueryEncode",
"URLRead",
"URLResponseTime",
"URLSave",
"URLSaveAsynchronous",
"URLShorten",
"URLSubmit",
"UseEmbeddedLibrary",
"UseGraphicsRange",
"UserDefinedWavelet",
"Using",
"UsingFrontEnd",
"UtilityFunction",
"V2Get",
"ValenceErrorHandling",
"ValenceFilling",
"ValidationLength",
"ValidationSet",
"ValueBox",
"ValueBoxOptions",
"ValueDimensions",
"ValueForm",
"ValuePreprocessingFunction",
"ValueQ",
"Values",
"ValuesData",
"VandermondeMatrix",
"Variables",
"Variance",
"VarianceEquivalenceTest",
"VarianceEstimatorFunction",
"VarianceGammaDistribution",
"VarianceGammaPointProcess",
"VarianceTest",
"VariogramFunction",
"VariogramModel",
"VectorAngle",
"VectorAround",
"VectorAspectRatio",
"VectorColorFunction",
"VectorColorFunctionScaling",
"VectorDensityPlot",
"VectorDisplacementPlot",
"VectorDisplacementPlot3D",
"VectorGlyphData",
"VectorGreater",
"VectorGreaterEqual",
"VectorLess",
"VectorLessEqual",
"VectorMarkers",
"VectorPlot",
"VectorPlot3D",
"VectorPoints",
"VectorQ",
"VectorRange",
"Vectors",
"VectorScale",
"VectorScaling",
"VectorSizes",
"VectorStyle",
"Vee",
"Verbatim",
"Verbose",
"VerificationTest",
"VerifyConvergence",
"VerifyDerivedKey",
"VerifyDigitalSignature",
"VerifyFileSignature",
"VerifyInterpretation",
"VerifySecurityCertificates",
"VerifySolutions",
"VerifyTestAssumptions",
"VersionedPreferences",
"VertexAdd",
"VertexCapacity",
"VertexChromaticNumber",
"VertexColors",
"VertexComponent",
"VertexConnectivity",
"VertexContract",
"VertexCoordinateRules",
"VertexCoordinates",
"VertexCorrelationSimilarity",
"VertexCosineSimilarity",
"VertexCount",
"VertexCoverQ",
"VertexDataCoordinates",
"VertexDegree",
"VertexDelete",
"VertexDiceSimilarity",
"VertexEccentricity",
"VertexInComponent",
"VertexInComponentGraph",
"VertexInDegree",
"VertexIndex",
"VertexJaccardSimilarity",
"VertexLabeling",
"VertexLabels",
"VertexLabelStyle",
"VertexList",
"VertexNormals",
"VertexOutComponent",
"VertexOutComponentGraph",
"VertexOutDegree",
"VertexQ",
"VertexRenderingFunction",
"VertexReplace",
"VertexShape",
"VertexShapeFunction",
"VertexSize",
"VertexStyle",
"VertexTextureCoordinates",
"VertexTransitiveGraphQ",
"VertexWeight",
"VertexWeightedGraphQ",
"Vertical",
"VerticalBar",
"VerticalForm",
"VerticalGauge",
"VerticalSeparator",
"VerticalSlider",
"VerticalTilde",
"Video",
"VideoCapture",
"VideoCombine",
"VideoDelete",
"VideoEncoding",
"VideoExtractFrames",
"VideoFrameList",
"VideoFrameMap",
"VideoGenerator",
"VideoInsert",
"VideoIntervals",
"VideoJoin",
"VideoMap",
"VideoMapList",
"VideoMapTimeSeries",
"VideoPadding",
"VideoPause",
"VideoPlay",
"VideoQ",
"VideoRecord",
"VideoReplace",
"VideoScreenCapture",
"VideoSplit",
"VideoStop",
"VideoStream",
"VideoStreams",
"VideoTimeStretch",
"VideoTrackSelection",
"VideoTranscode",
"VideoTransparency",
"VideoTrim",
"ViewAngle",
"ViewCenter",
"ViewMatrix",
"ViewPoint",
"ViewPointSelectorSettings",
"ViewPort",
"ViewProjection",
"ViewRange",
"ViewVector",
"ViewVertical",
"VirtualGroupData",
"Visible",
"VisibleCell",
"VoiceStyleData",
"VoigtDistribution",
"VolcanoData",
"Volume",
"VonMisesDistribution",
"VoronoiMesh",
"WaitAll",
"WaitAsynchronousTask",
"WaitNext",
"WaitUntil",
"WakebyDistribution",
"WalleniusHypergeometricDistribution",
"WaringYuleDistribution",
"WarpingCorrespondence",
"WarpingDistance",
"WatershedComponents",
"WatsonUSquareTest",
"WattsStrogatzGraphDistribution",
"WaveletBestBasis",
"WaveletFilterCoefficients",
"WaveletImagePlot",
"WaveletListPlot",
"WaveletMapIndexed",
"WaveletMatrixPlot",
"WaveletPhi",
"WaveletPsi",
"WaveletScale",
"WaveletScalogram",
"WaveletThreshold",
"WavePDEComponent",
"WeaklyConnectedComponents",
"WeaklyConnectedGraphComponents",
"WeaklyConnectedGraphQ",
"WeakStationarity",
"WeatherData",
"WeatherForecastData",
"WebAudioSearch",
"WebColumn",
"WebElementObject",
"WeberE",
"WebExecute",
"WebImage",
"WebImageSearch",
"WebItem",
"WebPageMetaInformation",
"WebRow",
"WebSearch",
"WebSessionObject",
"WebSessions",
"WebWindowObject",
"Wedge",
"Wednesday",
"WeibullDistribution",
"WeierstrassE1",
"WeierstrassE2",
"WeierstrassE3",
"WeierstrassEta1",
"WeierstrassEta2",
"WeierstrassEta3",
"WeierstrassHalfPeriods",
"WeierstrassHalfPeriodW1",
"WeierstrassHalfPeriodW2",
"WeierstrassHalfPeriodW3",
"WeierstrassInvariantG2",
"WeierstrassInvariantG3",
"WeierstrassInvariants",
"WeierstrassP",
"WeierstrassPPrime",
"WeierstrassSigma",
"WeierstrassZeta",
"WeightedAdjacencyGraph",
"WeightedAdjacencyMatrix",
"WeightedData",
"WeightedGraphQ",
"Weights",
"WelchWindow",
"WheelGraph",
"WhenEvent",
"Which",
"While",
"White",
"WhiteNoiseProcess",
"WhitePoint",
"Whitespace",
"WhitespaceCharacter",
"WhittakerM",
"WhittakerW",
"WholeCellGroupOpener",
"WienerFilter",
"WienerProcess",
"WignerD",
"WignerSemicircleDistribution",
"WikidataData",
"WikidataSearch",
"WikipediaData",
"WikipediaSearch",
"WilksW",
"WilksWTest",
"WindDirectionData",
"WindingCount",
"WindingPolygon",
"WindowClickSelect",
"WindowElements",
"WindowFloating",
"WindowFrame",
"WindowFrameElements",
"WindowMargins",
"WindowMovable",
"WindowOpacity",
"WindowPersistentStyles",
"WindowSelected",
"WindowSize",
"WindowStatusArea",
"WindowTitle",
"WindowToolbars",
"WindowWidth",
"WindSpeedData",
"WindVectorData",
"WinsorizedMean",
"WinsorizedVariance",
"WishartMatrixDistribution",
"With",
"WithCleanup",
"WithLock",
"WolframAlpha",
"WolframAlphaDate",
"WolframAlphaQuantity",
"WolframAlphaResult",
"WolframCloudSettings",
"WolframLanguageData",
"Word",
"WordBoundary",
"WordCharacter",
"WordCloud",
"WordCount",
"WordCounts",
"WordData",
"WordDefinition",
"WordFrequency",
"WordFrequencyData",
"WordList",
"WordOrientation",
"WordSearch",
"WordSelectionFunction",
"WordSeparators",
"WordSpacings",
"WordStem",
"WordTranslation",
"WorkingPrecision",
"WrapAround",
"Write",
"WriteLine",
"WriteString",
"Wronskian",
"XMLElement",
"XMLObject",
"XMLTemplate",
"Xnor",
"Xor",
"XYZColor",
"Yellow",
"Yesterday",
"YuleDissimilarity",
"ZernikeR",
"ZeroSymmetric",
"ZeroTest",
"ZeroWidthTimes",
"Zeta",
"ZetaZero",
"ZIPCodeData",
"ZipfDistribution",
"ZoomCenter",
"ZoomFactor",
"ZTest",
"ZTransform",
"$Aborted",
"$ActivationGroupID",
"$ActivationKey",
"$ActivationUserRegistered",
"$AddOnsDirectory",
"$AllowDataUpdates",
"$AllowExternalChannelFunctions",
"$AllowInternet",
"$AssertFunction",
"$Assumptions",
"$AsynchronousTask",
"$AudioDecoders",
"$AudioEncoders",
"$AudioInputDevices",
"$AudioOutputDevices",
"$BaseDirectory",
"$BasePacletsDirectory",
"$BatchInput",
"$BatchOutput",
"$BlockchainBase",
"$BoxForms",
"$ByteOrdering",
"$CacheBaseDirectory",
"$Canceled",
"$ChannelBase",
"$CharacterEncoding",
"$CharacterEncodings",
"$CloudAccountName",
"$CloudBase",
"$CloudConnected",
"$CloudConnection",
"$CloudCreditsAvailable",
"$CloudEvaluation",
"$CloudExpressionBase",
"$CloudObjectNameFormat",
"$CloudObjectURLType",
"$CloudRootDirectory",
"$CloudSymbolBase",
"$CloudUserID",
"$CloudUserUUID",
"$CloudVersion",
"$CloudVersionNumber",
"$CloudWolframEngineVersionNumber",
"$CommandLine",
"$CompilationTarget",
"$CompilerEnvironment",
"$ConditionHold",
"$ConfiguredKernels",
"$Context",
"$ContextAliases",
"$ContextPath",
"$ControlActiveSetting",
"$Cookies",
"$CookieStore",
"$CreationDate",
"$CryptographicEllipticCurveNames",
"$CurrentLink",
"$CurrentTask",
"$CurrentWebSession",
"$DataStructures",
"$DateStringFormat",
"$DefaultAudioInputDevice",
"$DefaultAudioOutputDevice",
"$DefaultFont",
"$DefaultFrontEnd",
"$DefaultImagingDevice",
"$DefaultKernels",
"$DefaultLocalBase",
"$DefaultLocalKernel",
"$DefaultMailbox",
"$DefaultNetworkInterface",
"$DefaultPath",
"$DefaultProxyRules",
"$DefaultRemoteBatchSubmissionEnvironment",
"$DefaultRemoteKernel",
"$DefaultSystemCredentialStore",
"$Display",
"$DisplayFunction",
"$DistributedContexts",
"$DynamicEvaluation",
"$Echo",
"$EmbedCodeEnvironments",
"$EmbeddableServices",
"$EntityStores",
"$Epilog",
"$EvaluationCloudBase",
"$EvaluationCloudObject",
"$EvaluationEnvironment",
"$ExportFormats",
"$ExternalIdentifierTypes",
"$ExternalStorageBase",
"$Failed",
"$FinancialDataSource",
"$FontFamilies",
"$FormatType",
"$FrontEnd",
"$FrontEndSession",
"$GeneratedAssetLocation",
"$GeoEntityTypes",
"$GeoLocation",
"$GeoLocationCity",
"$GeoLocationCountry",
"$GeoLocationPrecision",
"$GeoLocationSource",
"$HistoryLength",
"$HomeDirectory",
"$HTMLExportRules",
"$HTTPCookies",
"$HTTPRequest",
"$IgnoreEOF",
"$ImageFormattingWidth",
"$ImageResolution",
"$ImagingDevice",
"$ImagingDevices",
"$ImportFormats",
"$IncomingMailSettings",
"$InitialDirectory",
"$Initialization",
"$InitializationContexts",
"$Input",
"$InputFileName",
"$InputStreamMethods",
"$Inspector",
"$InstallationDate",
"$InstallationDirectory",
"$InterfaceEnvironment",
"$InterpreterTypes",
"$IterationLimit",
"$KernelCount",
"$KernelID",
"$Language",
"$LaunchDirectory",
"$LibraryPath",
"$LicenseExpirationDate",
"$LicenseID",
"$LicenseProcesses",
"$LicenseServer",
"$LicenseSubprocesses",
"$LicenseType",
"$Line",
"$Linked",
"$LinkSupported",
"$LoadedFiles",
"$LocalBase",
"$LocalSymbolBase",
"$MachineAddresses",
"$MachineDomain",
"$MachineDomains",
"$MachineEpsilon",
"$MachineID",
"$MachineName",
"$MachinePrecision",
"$MachineType",
"$MaxDisplayedChildren",
"$MaxExtraPrecision",
"$MaxLicenseProcesses",
"$MaxLicenseSubprocesses",
"$MaxMachineNumber",
"$MaxNumber",
"$MaxPiecewiseCases",
"$MaxPrecision",
"$MaxRootDegree",
"$MessageGroups",
"$MessageList",
"$MessagePrePrint",
"$Messages",
"$MinMachineNumber",
"$MinNumber",
"$MinorReleaseNumber",
"$MinPrecision",
"$MobilePhone",
"$ModuleNumber",
"$NetworkConnected",
"$NetworkInterfaces",
"$NetworkLicense",
"$NewMessage",
"$NewSymbol",
"$NotebookInlineStorageLimit",
"$Notebooks",
"$NoValue",
"$NumberMarks",
"$Off",
"$OperatingSystem",
"$Output",
"$OutputForms",
"$OutputSizeLimit",
"$OutputStreamMethods",
"$Packages",
"$ParentLink",
"$ParentProcessID",
"$PasswordFile",
"$PatchLevelID",
"$Path",
"$PathnameSeparator",
"$PerformanceGoal",
"$Permissions",
"$PermissionsGroupBase",
"$PersistenceBase",
"$PersistencePath",
"$PipeSupported",
"$PlotTheme",
"$Post",
"$Pre",
"$PreferencesDirectory",
"$PreInitialization",
"$PrePrint",
"$PreRead",
"$PrintForms",
"$PrintLiteral",
"$Printout3DPreviewer",
"$ProcessID",
"$ProcessorCount",
"$ProcessorType",
"$ProductInformation",
"$ProgramName",
"$ProgressReporting",
"$PublisherID",
"$RandomGeneratorState",
"$RandomState",
"$RecursionLimit",
"$RegisteredDeviceClasses",
"$RegisteredUserName",
"$ReleaseNumber",
"$RequesterAddress",
"$RequesterCloudUserID",
"$RequesterCloudUserUUID",
"$RequesterWolframID",
"$RequesterWolframUUID",
"$ResourceSystemBase",
"$ResourceSystemPath",
"$RootDirectory",
"$ScheduledTask",
"$ScriptCommandLine",
"$ScriptInputString",
"$SecuredAuthenticationKeyTokens",
"$ServiceCreditsAvailable",
"$Services",
"$SessionID",
"$SetParentLink",
"$SharedFunctions",
"$SharedVariables",
"$SoundDisplay",
"$SoundDisplayFunction",
"$SourceLink",
"$SSHAuthentication",
"$SubtitleDecoders",
"$SubtitleEncoders",
"$SummaryBoxDataSizeLimit",
"$SuppressInputFormHeads",
"$SynchronousEvaluation",
"$SyntaxHandler",
"$System",
"$SystemCharacterEncoding",
"$SystemCredentialStore",
"$SystemID",
"$SystemMemory",
"$SystemShell",
"$SystemTimeZone",
"$SystemWordLength",
"$TargetSystems",
"$TemplatePath",
"$TemporaryDirectory",
"$TemporaryPrefix",
"$TestFileName",
"$TextStyle",
"$TimedOut",
"$TimeUnit",
"$TimeZone",
"$TimeZoneEntity",
"$TopDirectory",
"$TraceOff",
"$TraceOn",
"$TracePattern",
"$TracePostAction",
"$TracePreAction",
"$UnitSystem",
"$Urgent",
"$UserAddOnsDirectory",
"$UserAgentLanguages",
"$UserAgentMachine",
"$UserAgentName",
"$UserAgentOperatingSystem",
"$UserAgentString",
"$UserAgentVersion",
"$UserBaseDirectory",
"$UserBasePacletsDirectory",
"$UserDocumentsDirectory",
"$Username",
"$UserName",
"$UserURLBase",
"$Version",
"$VersionNumber",
"$VideoDecoders",
"$VideoEncoders",
"$VoiceStyles",
"$WolframDocumentsDirectory",
"$WolframID",
"$WolframUUID"
];
/*
Language: Wolfram Language
Description: The Wolfram Language is the programming language used in Wolfram Mathematica, a modern technical computing system spanning most areas of technical computing.
Authors: Patrick Scheibe , Robert Jacobson
Website: https://www.wolfram.com/mathematica/
Category: scientific
*/
/** @type LanguageFn */
function mathematica(hljs) {
const regex = hljs.regex;
/*
This rather scary looking matching of Mathematica numbers is carefully explained by Robert Jacobson here:
https://wltools.github.io/LanguageSpec/Specification/Syntax/Number-representations/
*/
const BASE_RE = /([2-9]|[1-2]\d|[3][0-5])\^\^/;
const BASE_DIGITS_RE = /(\w*\.\w+|\w+\.\w*|\w+)/;
const NUMBER_RE = /(\d*\.\d+|\d+\.\d*|\d+)/;
const BASE_NUMBER_RE = regex.either(regex.concat(BASE_RE, BASE_DIGITS_RE), NUMBER_RE);
const ACCURACY_RE = /``[+-]?(\d*\.\d+|\d+\.\d*|\d+)/;
const PRECISION_RE = /`([+-]?(\d*\.\d+|\d+\.\d*|\d+))?/;
const APPROXIMATE_NUMBER_RE = regex.either(ACCURACY_RE, PRECISION_RE);
const SCIENTIFIC_NOTATION_RE = /\*\^[+-]?\d+/;
const MATHEMATICA_NUMBER_RE = regex.concat(
BASE_NUMBER_RE,
regex.optional(APPROXIMATE_NUMBER_RE),
regex.optional(SCIENTIFIC_NOTATION_RE)
);
const NUMBERS = {
className: 'number',
relevance: 0,
begin: MATHEMATICA_NUMBER_RE
};
const SYMBOL_RE = /[a-zA-Z$][a-zA-Z0-9$]*/;
const SYSTEM_SYMBOLS_SET = new Set(SYSTEM_SYMBOLS);
/** @type {Mode} */
const SYMBOLS = { variants: [
{
className: 'builtin-symbol',
begin: SYMBOL_RE,
// for performance out of fear of regex.either(...Mathematica.SYSTEM_SYMBOLS)
"on:begin": (match, response) => {
if (!SYSTEM_SYMBOLS_SET.has(match[0])) response.ignoreMatch();
}
},
{
className: 'symbol',
relevance: 0,
begin: SYMBOL_RE
}
] };
const NAMED_CHARACTER = {
className: 'named-character',
begin: /\\\[[$a-zA-Z][$a-zA-Z0-9]+\]/
};
const OPERATORS = {
className: 'operator',
relevance: 0,
begin: /[+\-*/,;.:@~=><&|_`'^?!%]+/
};
const PATTERNS = {
className: 'pattern',
relevance: 0,
begin: /([a-zA-Z$][a-zA-Z0-9$]*)?_+([a-zA-Z$][a-zA-Z0-9$]*)?/
};
const SLOTS = {
className: 'slot',
relevance: 0,
begin: /#[a-zA-Z$][a-zA-Z0-9$]*|#+[0-9]?/
};
const BRACES = {
className: 'brace',
relevance: 0,
begin: /[[\](){}]/
};
const MESSAGES = {
className: 'message-name',
relevance: 0,
begin: regex.concat("::", SYMBOL_RE)
};
return {
name: 'Mathematica',
aliases: [
'mma',
'wl'
],
classNameAliases: {
brace: 'punctuation',
pattern: 'type',
slot: 'type',
symbol: 'variable',
'named-character': 'variable',
'builtin-symbol': 'built_in',
'message-name': 'string'
},
contains: [
hljs.COMMENT(/\(\*/, /\*\)/, { contains: [ 'self' ] }),
PATTERNS,
SLOTS,
MESSAGES,
SYMBOLS,
NAMED_CHARACTER,
hljs.QUOTE_STRING_MODE,
NUMBERS,
OPERATORS,
BRACES
]
};
}
return mathematica;
})();
hljs.registerLanguage('mathematica', hljsGrammar);
})();/*! `matlab` grammar compiled for Highlight.js 11.11.1 */
(function(){
var hljsGrammar = (function () {
'use strict';
/*
Language: Matlab
Author: Denis Bardadym
Contributors: Eugene Nizhibitsky , Egor Rogov
Website: https://www.mathworks.com/products/matlab.html
Category: scientific
*/
/*
Formal syntax is not published, helpful link:
https://github.com/kornilova-l/matlab-IntelliJ-plugin/blob/master/src/main/grammar/Matlab.bnf
*/
function matlab(hljs) {
const TRANSPOSE_RE = '(\'|\\.\')+';
const TRANSPOSE = {
relevance: 0,
contains: [ { begin: TRANSPOSE_RE } ]
};
return {
name: 'Matlab',
keywords: {
keyword:
'arguments break case catch classdef continue else elseif end enumeration events for function '
+ 'global if methods otherwise parfor persistent properties return spmd switch try while',
built_in:
'sin sind sinh asin asind asinh cos cosd cosh acos acosd acosh tan tand tanh atan '
+ 'atand atan2 atanh sec secd sech asec asecd asech csc cscd csch acsc acscd acsch cot '
+ 'cotd coth acot acotd acoth hypot exp expm1 log log1p log10 log2 pow2 realpow reallog '
+ 'realsqrt sqrt nthroot nextpow2 abs angle complex conj imag real unwrap isreal '
+ 'cplxpair fix floor ceil round mod rem sign airy besselj bessely besselh besseli '
+ 'besselk beta betainc betaln ellipj ellipke erf erfc erfcx erfinv expint gamma '
+ 'gammainc gammaln psi legendre cross dot factor isprime primes gcd lcm rat rats perms '
+ 'nchoosek factorial cart2sph cart2pol pol2cart sph2cart hsv2rgb rgb2hsv zeros ones '
+ 'eye repmat rand randn linspace logspace freqspace meshgrid accumarray size length '
+ 'ndims numel disp isempty isequal isequalwithequalnans cat reshape diag blkdiag tril '
+ 'triu fliplr flipud flipdim rot90 find sub2ind ind2sub bsxfun ndgrid permute ipermute '
+ 'shiftdim circshift squeeze isscalar isvector ans eps realmax realmin pi i|0 inf nan '
+ 'isnan isinf isfinite j|0 why compan gallery hadamard hankel hilb invhilb magic pascal '
+ 'rosser toeplitz vander wilkinson max min nanmax nanmin mean nanmean type table '
+ 'readtable writetable sortrows sort figure plot plot3 scatter scatter3 cellfun '
+ 'legend intersect ismember procrustes hold num2cell '
},
illegal: '(//|"|#|/\\*|\\s+/\\w+)',
contains: [
{
className: 'function',
beginKeywords: 'function',
end: '$',
contains: [
hljs.UNDERSCORE_TITLE_MODE,
{
className: 'params',
variants: [
{
begin: '\\(',
end: '\\)'
},
{
begin: '\\[',
end: '\\]'
}
]
}
]
},
{
className: 'built_in',
begin: /true|false/,
relevance: 0,
starts: TRANSPOSE
},
{
begin: '[a-zA-Z][a-zA-Z_0-9]*' + TRANSPOSE_RE,
relevance: 0
},
{
className: 'number',
begin: hljs.C_NUMBER_RE,
relevance: 0,
starts: TRANSPOSE
},
{
className: 'string',
begin: '\'',
end: '\'',
contains: [ { begin: '\'\'' } ]
},
{
begin: /\]|\}|\)/,
relevance: 0,
starts: TRANSPOSE
},
{
className: 'string',
begin: '"',
end: '"',
contains: [ { begin: '""' } ],
starts: TRANSPOSE
},
hljs.COMMENT('^\\s*%\\{\\s*$', '^\\s*%\\}\\s*$'),
hljs.COMMENT('%', '$')
]
};
}
return matlab;
})();
hljs.registerLanguage('matlab', hljsGrammar);
})();/*! `maxima` grammar compiled for Highlight.js 11.11.1 */
(function(){
var hljsGrammar = (function () {
'use strict';
/*
Language: Maxima
Author: Robert Dodier
Website: http://maxima.sourceforge.net
Category: scientific
*/
function maxima(hljs) {
const KEYWORDS =
'if then else elseif for thru do while unless step in and or not';
const LITERALS =
'true false unknown inf minf ind und %e %i %pi %phi %gamma';
const BUILTIN_FUNCTIONS =
' abasep abs absint absolute_real_time acos acosh acot acoth acsc acsch activate'
+ ' addcol add_edge add_edges addmatrices addrow add_vertex add_vertices adjacency_matrix'
+ ' adjoin adjoint af agd airy airy_ai airy_bi airy_dai airy_dbi algsys alg_type'
+ ' alias allroots alphacharp alphanumericp amortization %and annuity_fv'
+ ' annuity_pv antid antidiff AntiDifference append appendfile apply apply1 apply2'
+ ' applyb1 apropos args arit_amortization arithmetic arithsum array arrayapply'
+ ' arrayinfo arraymake arraysetapply ascii asec asech asin asinh askinteger'
+ ' asksign assoc assoc_legendre_p assoc_legendre_q assume assume_external_byte_order'
+ ' asympa at atan atan2 atanh atensimp atom atvalue augcoefmatrix augmented_lagrangian_method'
+ ' av average_degree backtrace bars barsplot barsplot_description base64 base64_decode'
+ ' bashindices batch batchload bc2 bdvac belln benefit_cost bern bernpoly bernstein_approx'
+ ' bernstein_expand bernstein_poly bessel bessel_i bessel_j bessel_k bessel_simplify'
+ ' bessel_y beta beta_incomplete beta_incomplete_generalized beta_incomplete_regularized'
+ ' bezout bfallroots bffac bf_find_root bf_fmin_cobyla bfhzeta bfloat bfloatp'
+ ' bfpsi bfpsi0 bfzeta biconnected_components bimetric binomial bipartition'
+ ' block blockmatrixp bode_gain bode_phase bothcoef box boxplot boxplot_description'
+ ' break bug_report build_info|10 buildq build_sample burn cabs canform canten'
+ ' cardinality carg cartan cartesian_product catch cauchy_matrix cbffac cdf_bernoulli'
+ ' cdf_beta cdf_binomial cdf_cauchy cdf_chi2 cdf_continuous_uniform cdf_discrete_uniform'
+ ' cdf_exp cdf_f cdf_gamma cdf_general_finite_discrete cdf_geometric cdf_gumbel'
+ ' cdf_hypergeometric cdf_laplace cdf_logistic cdf_lognormal cdf_negative_binomial'
+ ' cdf_noncentral_chi2 cdf_noncentral_student_t cdf_normal cdf_pareto cdf_poisson'
+ ' cdf_rank_sum cdf_rayleigh cdf_signed_rank cdf_student_t cdf_weibull cdisplay'
+ ' ceiling central_moment cequal cequalignore cf cfdisrep cfexpand cgeodesic'
+ ' cgreaterp cgreaterpignore changename changevar chaosgame charat charfun charfun2'
+ ' charlist charp charpoly chdir chebyshev_t chebyshev_u checkdiv check_overlaps'
+ ' chinese cholesky christof chromatic_index chromatic_number cint circulant_graph'
+ ' clear_edge_weight clear_rules clear_vertex_label clebsch_gordan clebsch_graph'
+ ' clessp clesspignore close closefile cmetric coeff coefmatrix cograd col collapse'
+ ' collectterms columnop columnspace columnswap columnvector combination combine'
+ ' comp2pui compare compfile compile compile_file complement_graph complete_bipartite_graph'
+ ' complete_graph complex_number_p components compose_functions concan concat'
+ ' conjugate conmetderiv connected_components connect_vertices cons constant'
+ ' constantp constituent constvalue cont2part content continuous_freq contortion'
+ ' contour_plot contract contract_edge contragrad contrib_ode convert coord'
+ ' copy copy_file copy_graph copylist copymatrix cor cos cosh cot coth cov cov1'
+ ' covdiff covect covers crc24sum create_graph create_list csc csch csetup cspline'
+ ' ctaylor ct_coordsys ctransform ctranspose cube_graph cuboctahedron_graph'
+ ' cunlisp cv cycle_digraph cycle_graph cylindrical days360 dblint deactivate'
+ ' declare declare_constvalue declare_dimensions declare_fundamental_dimensions'
+ ' declare_fundamental_units declare_qty declare_translated declare_unit_conversion'
+ ' declare_units declare_weights decsym defcon define define_alt_display define_variable'
+ ' defint defmatch defrule defstruct deftaylor degree_sequence del delete deleten'
+ ' delta demo demoivre denom depends derivdegree derivlist describe desolve'
+ ' determinant dfloat dgauss_a dgauss_b dgeev dgemm dgeqrf dgesv dgesvd diag'
+ ' diagmatrix diag_matrix diagmatrixp diameter diff digitcharp dimacs_export'
+ ' dimacs_import dimension dimensionless dimensions dimensions_as_list direct'
+ ' directory discrete_freq disjoin disjointp disolate disp dispcon dispform'
+ ' dispfun dispJordan display disprule dispterms distrib divide divisors divsum'
+ ' dkummer_m dkummer_u dlange dodecahedron_graph dotproduct dotsimp dpart'
+ ' draw draw2d draw3d drawdf draw_file draw_graph dscalar echelon edge_coloring'
+ ' edge_connectivity edges eigens_by_jacobi eigenvalues eigenvectors eighth'
+ ' einstein eivals eivects elapsed_real_time elapsed_run_time ele2comp ele2polynome'
+ ' ele2pui elem elementp elevation_grid elim elim_allbut eliminate eliminate_using'
+ ' ellipse elliptic_e elliptic_ec elliptic_eu elliptic_f elliptic_kc elliptic_pi'
+ ' ematrix empty_graph emptyp endcons entermatrix entertensor entier equal equalp'
+ ' equiv_classes erf erfc erf_generalized erfi errcatch error errormsg errors'
+ ' euler ev eval_string evenp every evolution evolution2d evundiff example exp'
+ ' expand expandwrt expandwrt_factored expint expintegral_chi expintegral_ci'
+ ' expintegral_e expintegral_e1 expintegral_ei expintegral_e_simplify expintegral_li'
+ ' expintegral_shi expintegral_si explicit explose exponentialize express expt'
+ ' exsec extdiff extract_linear_equations extremal_subset ezgcd %f f90 facsum'
+ ' factcomb factor factorfacsum factorial factorout factorsum facts fast_central_elements'
+ ' fast_linsolve fasttimes featurep fernfale fft fib fibtophi fifth filename_merge'
+ ' file_search file_type fillarray findde find_root find_root_abs find_root_error'
+ ' find_root_rel first fix flatten flength float floatnump floor flower_snark'
+ ' flush flush1deriv flushd flushnd flush_output fmin_cobyla forget fortran'
+ ' fourcos fourexpand fourier fourier_elim fourint fourintcos fourintsin foursimp'
+ ' foursin fourth fposition frame_bracket freeof freshline fresnel_c fresnel_s'
+ ' from_adjacency_matrix frucht_graph full_listify fullmap fullmapl fullratsimp'
+ ' fullratsubst fullsetify funcsolve fundamental_dimensions fundamental_units'
+ ' fundef funmake funp fv g0 g1 gamma gamma_greek gamma_incomplete gamma_incomplete_generalized'
+ ' gamma_incomplete_regularized gauss gauss_a gauss_b gaussprob gcd gcdex gcdivide'
+ ' gcfac gcfactor gd generalized_lambert_w genfact gen_laguerre genmatrix gensym'
+ ' geo_amortization geo_annuity_fv geo_annuity_pv geomap geometric geometric_mean'
+ ' geosum get getcurrentdirectory get_edge_weight getenv get_lu_factors get_output_stream_string'
+ ' get_pixel get_plot_option get_tex_environment get_tex_environment_default'
+ ' get_vertex_label gfactor gfactorsum ggf girth global_variances gn gnuplot_close'
+ ' gnuplot_replot gnuplot_reset gnuplot_restart gnuplot_start go Gosper GosperSum'
+ ' gr2d gr3d gradef gramschmidt graph6_decode graph6_encode graph6_export graph6_import'
+ ' graph_center graph_charpoly graph_eigenvalues graph_flow graph_order graph_periphery'
+ ' graph_product graph_size graph_union great_rhombicosidodecahedron_graph great_rhombicuboctahedron_graph'
+ ' grid_graph grind grobner_basis grotzch_graph hamilton_cycle hamilton_path'
+ ' hankel hankel_1 hankel_2 harmonic harmonic_mean hav heawood_graph hermite'
+ ' hessian hgfred hilbertmap hilbert_matrix hipow histogram histogram_description'
+ ' hodge horner hypergeometric i0 i1 %ibes ic1 ic2 ic_convert ichr1 ichr2 icosahedron_graph'
+ ' icosidodecahedron_graph icurvature ident identfor identity idiff idim idummy'
+ ' ieqn %if ifactors iframes ifs igcdex igeodesic_coords ilt image imagpart'
+ ' imetric implicit implicit_derivative implicit_plot indexed_tensor indices'
+ ' induced_subgraph inferencep inference_result infix info_display init_atensor'
+ ' init_ctensor in_neighbors innerproduct inpart inprod inrt integerp integer_partitions'
+ ' integrate intersect intersection intervalp intopois intosum invariant1 invariant2'
+ ' inverse_fft inverse_jacobi_cd inverse_jacobi_cn inverse_jacobi_cs inverse_jacobi_dc'
+ ' inverse_jacobi_dn inverse_jacobi_ds inverse_jacobi_nc inverse_jacobi_nd inverse_jacobi_ns'
+ ' inverse_jacobi_sc inverse_jacobi_sd inverse_jacobi_sn invert invert_by_adjoint'
+ ' invert_by_lu inv_mod irr is is_biconnected is_bipartite is_connected is_digraph'
+ ' is_edge_in_graph is_graph is_graph_or_digraph ishow is_isomorphic isolate'
+ ' isomorphism is_planar isqrt isreal_p is_sconnected is_tree is_vertex_in_graph'
+ ' items_inference %j j0 j1 jacobi jacobian jacobi_cd jacobi_cn jacobi_cs jacobi_dc'
+ ' jacobi_dn jacobi_ds jacobi_nc jacobi_nd jacobi_ns jacobi_p jacobi_sc jacobi_sd'
+ ' jacobi_sn JF jn join jordan julia julia_set julia_sin %k kdels kdelta kill'
+ ' killcontext kostka kron_delta kronecker_product kummer_m kummer_u kurtosis'
+ ' kurtosis_bernoulli kurtosis_beta kurtosis_binomial kurtosis_chi2 kurtosis_continuous_uniform'
+ ' kurtosis_discrete_uniform kurtosis_exp kurtosis_f kurtosis_gamma kurtosis_general_finite_discrete'
+ ' kurtosis_geometric kurtosis_gumbel kurtosis_hypergeometric kurtosis_laplace'
+ ' kurtosis_logistic kurtosis_lognormal kurtosis_negative_binomial kurtosis_noncentral_chi2'
+ ' kurtosis_noncentral_student_t kurtosis_normal kurtosis_pareto kurtosis_poisson'
+ ' kurtosis_rayleigh kurtosis_student_t kurtosis_weibull label labels lagrange'
+ ' laguerre lambda lambert_w laplace laplacian_matrix last lbfgs lc2kdt lcharp'
+ ' lc_l lcm lc_u ldefint ldisp ldisplay legendre_p legendre_q leinstein length'
+ ' let letrules letsimp levi_civita lfreeof lgtreillis lhs li liediff limit'
+ ' Lindstedt linear linearinterpol linear_program linear_regression line_graph'
+ ' linsolve listarray list_correlations listify list_matrix_entries list_nc_monomials'
+ ' listoftens listofvars listp lmax lmin load loadfile local locate_matrix_entry'
+ ' log logcontract log_gamma lopow lorentz_gauge lowercasep lpart lratsubst'
+ ' lreduce lriemann lsquares_estimates lsquares_estimates_approximate lsquares_estimates_exact'
+ ' lsquares_mse lsquares_residual_mse lsquares_residuals lsum ltreillis lu_backsub'
+ ' lucas lu_factor %m macroexpand macroexpand1 make_array makebox makefact makegamma'
+ ' make_graph make_level_picture makelist makeOrders make_poly_continent make_poly_country'
+ ' make_polygon make_random_state make_rgb_picture makeset make_string_input_stream'
+ ' make_string_output_stream make_transform mandelbrot mandelbrot_set map mapatom'
+ ' maplist matchdeclare matchfix mat_cond mat_fullunblocker mat_function mathml_display'
+ ' mat_norm matrix matrixmap matrixp matrix_size mattrace mat_trace mat_unblocker'
+ ' max max_clique max_degree max_flow maximize_lp max_independent_set max_matching'
+ ' maybe md5sum mean mean_bernoulli mean_beta mean_binomial mean_chi2 mean_continuous_uniform'
+ ' mean_deviation mean_discrete_uniform mean_exp mean_f mean_gamma mean_general_finite_discrete'
+ ' mean_geometric mean_gumbel mean_hypergeometric mean_laplace mean_logistic'
+ ' mean_lognormal mean_negative_binomial mean_noncentral_chi2 mean_noncentral_student_t'
+ ' mean_normal mean_pareto mean_poisson mean_rayleigh mean_student_t mean_weibull'
+ ' median median_deviation member mesh metricexpandall mgf1_sha1 min min_degree'
+ ' min_edge_cut minfactorial minimalPoly minimize_lp minimum_spanning_tree minor'
+ ' minpack_lsquares minpack_solve min_vertex_cover min_vertex_cut mkdir mnewton'
+ ' mod mode_declare mode_identity ModeMatrix moebius mon2schur mono monomial_dimensions'
+ ' multibernstein_poly multi_display_for_texinfo multi_elem multinomial multinomial_coeff'
+ ' multi_orbit multiplot_mode multi_pui multsym multthru mycielski_graph nary'
+ ' natural_unit nc_degree ncexpt ncharpoly negative_picture neighbors new newcontext'
+ ' newdet new_graph newline newton new_variable next_prime nicedummies niceindices'
+ ' ninth nofix nonarray noncentral_moment nonmetricity nonnegintegerp nonscalarp'
+ ' nonzeroandfreeof notequal nounify nptetrad npv nroots nterms ntermst'
+ ' nthroot nullity nullspace num numbered_boundaries numberp number_to_octets'
+ ' num_distinct_partitions numerval numfactor num_partitions nusum nzeta nzetai'
+ ' nzetar octets_to_number octets_to_oid odd_girth oddp ode2 ode_check odelin'
+ ' oid_to_octets op opena opena_binary openr openr_binary openw openw_binary'
+ ' operatorp opsubst optimize %or orbit orbits ordergreat ordergreatp orderless'
+ ' orderlessp orthogonal_complement orthopoly_recur orthopoly_weight outermap'
+ ' out_neighbors outofpois pade parabolic_cylinder_d parametric parametric_surface'
+ ' parg parGosper parse_string parse_timedate part part2cont partfrac partition'
+ ' partition_set partpol path_digraph path_graph pathname_directory pathname_name'
+ ' pathname_type pdf_bernoulli pdf_beta pdf_binomial pdf_cauchy pdf_chi2 pdf_continuous_uniform'
+ ' pdf_discrete_uniform pdf_exp pdf_f pdf_gamma pdf_general_finite_discrete'
+ ' pdf_geometric pdf_gumbel pdf_hypergeometric pdf_laplace pdf_logistic pdf_lognormal'
+ ' pdf_negative_binomial pdf_noncentral_chi2 pdf_noncentral_student_t pdf_normal'
+ ' pdf_pareto pdf_poisson pdf_rank_sum pdf_rayleigh pdf_signed_rank pdf_student_t'
+ ' pdf_weibull pearson_skewness permanent permut permutation permutations petersen_graph'
+ ' petrov pickapart picture_equalp picturep piechart piechart_description planar_embedding'
+ ' playback plog plot2d plot3d plotdf ploteq plsquares pochhammer points poisdiff'
+ ' poisexpt poisint poismap poisplus poissimp poissubst poistimes poistrim polar'
+ ' polarform polartorect polar_to_xy poly_add poly_buchberger poly_buchberger_criterion'
+ ' poly_colon_ideal poly_content polydecomp poly_depends_p poly_elimination_ideal'
+ ' poly_exact_divide poly_expand poly_expt poly_gcd polygon poly_grobner poly_grobner_equal'
+ ' poly_grobner_member poly_grobner_subsetp poly_ideal_intersection poly_ideal_polysaturation'
+ ' poly_ideal_polysaturation1 poly_ideal_saturation poly_ideal_saturation1 poly_lcm'
+ ' poly_minimization polymod poly_multiply polynome2ele polynomialp poly_normal_form'
+ ' poly_normalize poly_normalize_list poly_polysaturation_extension poly_primitive_part'
+ ' poly_pseudo_divide poly_reduced_grobner poly_reduction poly_saturation_extension'
+ ' poly_s_polynomial poly_subtract polytocompanion pop postfix potential power_mod'
+ ' powerseries powerset prefix prev_prime primep primes principal_components'
+ ' print printf printfile print_graph printpois printprops prodrac product properties'
+ ' propvars psi psubst ptriangularize pui pui2comp pui2ele pui2polynome pui_direct'
+ ' puireduc push put pv qput qrange qty quad_control quad_qag quad_qagi quad_qagp'
+ ' quad_qags quad_qawc quad_qawf quad_qawo quad_qaws quadrilateral quantile'
+ ' quantile_bernoulli quantile_beta quantile_binomial quantile_cauchy quantile_chi2'
+ ' quantile_continuous_uniform quantile_discrete_uniform quantile_exp quantile_f'
+ ' quantile_gamma quantile_general_finite_discrete quantile_geometric quantile_gumbel'
+ ' quantile_hypergeometric quantile_laplace quantile_logistic quantile_lognormal'
+ ' quantile_negative_binomial quantile_noncentral_chi2 quantile_noncentral_student_t'
+ ' quantile_normal quantile_pareto quantile_poisson quantile_rayleigh quantile_student_t'
+ ' quantile_weibull quartile_skewness quit qunit quotient racah_v racah_w radcan'
+ ' radius random random_bernoulli random_beta random_binomial random_bipartite_graph'
+ ' random_cauchy random_chi2 random_continuous_uniform random_digraph random_discrete_uniform'
+ ' random_exp random_f random_gamma random_general_finite_discrete random_geometric'
+ ' random_graph random_graph1 random_gumbel random_hypergeometric random_laplace'
+ ' random_logistic random_lognormal random_negative_binomial random_network'
+ ' random_noncentral_chi2 random_noncentral_student_t random_normal random_pareto'
+ ' random_permutation random_poisson random_rayleigh random_regular_graph random_student_t'
+ ' random_tournament random_tree random_weibull range rank rat ratcoef ratdenom'
+ ' ratdiff ratdisrep ratexpand ratinterpol rational rationalize ratnumer ratnump'
+ ' ratp ratsimp ratsubst ratvars ratweight read read_array read_binary_array'
+ ' read_binary_list read_binary_matrix readbyte readchar read_hashed_array readline'
+ ' read_list read_matrix read_nested_list readonly read_xpm real_imagpart_to_conjugate'
+ ' realpart realroots rearray rectangle rectform rectform_log_if_constant recttopolar'
+ ' rediff reduce_consts reduce_order region region_boundaries region_boundaries_plus'
+ ' rem remainder remarray rembox remcomps remcon remcoord remfun remfunction'
+ ' remlet remove remove_constvalue remove_dimensions remove_edge remove_fundamental_dimensions'
+ ' remove_fundamental_units remove_plot_option remove_vertex rempart remrule'
+ ' remsym remvalue rename rename_file reset reset_displays residue resolvante'
+ ' resolvante_alternee1 resolvante_bipartite resolvante_diedrale resolvante_klein'
+ ' resolvante_klein3 resolvante_produit_sym resolvante_unitaire resolvante_vierer'
+ ' rest resultant return reveal reverse revert revert2 rgb2level rhs ricci riemann'
+ ' rinvariant risch rk rmdir rncombine romberg room rootscontract round row'
+ ' rowop rowswap rreduce run_testsuite %s save saving scalarp scaled_bessel_i'
+ ' scaled_bessel_i0 scaled_bessel_i1 scalefactors scanmap scatterplot scatterplot_description'
+ ' scene schur2comp sconcat scopy scsimp scurvature sdowncase sec sech second'
+ ' sequal sequalignore set_alt_display setdifference set_draw_defaults set_edge_weight'
+ ' setelmx setequalp setify setp set_partitions set_plot_option set_prompt set_random_state'
+ ' set_tex_environment set_tex_environment_default setunits setup_autoload set_up_dot_simplifications'
+ ' set_vertex_label seventh sexplode sf sha1sum sha256sum shortest_path shortest_weighted_path'
+ ' show showcomps showratvars sierpinskiale sierpinskimap sign signum similaritytransform'
+ ' simp_inequality simplify_sum simplode simpmetderiv simtran sin sinh sinsert'
+ ' sinvertcase sixth skewness skewness_bernoulli skewness_beta skewness_binomial'
+ ' skewness_chi2 skewness_continuous_uniform skewness_discrete_uniform skewness_exp'
+ ' skewness_f skewness_gamma skewness_general_finite_discrete skewness_geometric'
+ ' skewness_gumbel skewness_hypergeometric skewness_laplace skewness_logistic'
+ ' skewness_lognormal skewness_negative_binomial skewness_noncentral_chi2 skewness_noncentral_student_t'
+ ' skewness_normal skewness_pareto skewness_poisson skewness_rayleigh skewness_student_t'
+ ' skewness_weibull slength smake small_rhombicosidodecahedron_graph small_rhombicuboctahedron_graph'
+ ' smax smin smismatch snowmap snub_cube_graph snub_dodecahedron_graph solve'
+ ' solve_rec solve_rec_rat some somrac sort sparse6_decode sparse6_encode sparse6_export'
+ ' sparse6_import specint spherical spherical_bessel_j spherical_bessel_y spherical_hankel1'
+ ' spherical_hankel2 spherical_harmonic spherical_to_xyz splice split sposition'
+ ' sprint sqfr sqrt sqrtdenest sremove sremovefirst sreverse ssearch ssort sstatus'
+ ' ssubst ssubstfirst staircase standardize standardize_inverse_trig starplot'
+ ' starplot_description status std std1 std_bernoulli std_beta std_binomial'
+ ' std_chi2 std_continuous_uniform std_discrete_uniform std_exp std_f std_gamma'
+ ' std_general_finite_discrete std_geometric std_gumbel std_hypergeometric std_laplace'
+ ' std_logistic std_lognormal std_negative_binomial std_noncentral_chi2 std_noncentral_student_t'
+ ' std_normal std_pareto std_poisson std_rayleigh std_student_t std_weibull'
+ ' stemplot stirling stirling1 stirling2 strim striml strimr string stringout'
+ ' stringp strong_components struve_h struve_l sublis sublist sublist_indices'
+ ' submatrix subsample subset subsetp subst substinpart subst_parallel substpart'
+ ' substring subvar subvarp sum sumcontract summand_to_rec supcase supcontext'
+ ' symbolp symmdifference symmetricp system take_channel take_inference tan'
+ ' tanh taylor taylorinfo taylorp taylor_simplifier taytorat tcl_output tcontract'
+ ' tellrat tellsimp tellsimpafter tentex tenth test_mean test_means_difference'
+ ' test_normality test_proportion test_proportions_difference test_rank_sum'
+ ' test_sign test_signed_rank test_variance test_variance_ratio tex tex1 tex_display'
+ ' texput %th third throw time timedate timer timer_info tldefint tlimit todd_coxeter'
+ ' toeplitz tokens to_lisp topological_sort to_poly to_poly_solve totaldisrep'
+ ' totalfourier totient tpartpol trace tracematrix trace_options transform_sample'
+ ' translate translate_file transpose treefale tree_reduce treillis treinat'
+ ' triangle triangularize trigexpand trigrat trigreduce trigsimp trunc truncate'
+ ' truncated_cube_graph truncated_dodecahedron_graph truncated_icosahedron_graph'
+ ' truncated_tetrahedron_graph tr_warnings_get tube tutte_graph ueivects uforget'
+ ' ultraspherical underlying_graph undiff union unique uniteigenvectors unitp'
+ ' units unit_step unitvector unorder unsum untellrat untimer'
+ ' untrace uppercasep uricci uriemann uvect vandermonde_matrix var var1 var_bernoulli'
+ ' var_beta var_binomial var_chi2 var_continuous_uniform var_discrete_uniform'
+ ' var_exp var_f var_gamma var_general_finite_discrete var_geometric var_gumbel'
+ ' var_hypergeometric var_laplace var_logistic var_lognormal var_negative_binomial'
+ ' var_noncentral_chi2 var_noncentral_student_t var_normal var_pareto var_poisson'
+ ' var_rayleigh var_student_t var_weibull vector vectorpotential vectorsimp'
+ ' verbify vers vertex_coloring vertex_connectivity vertex_degree vertex_distance'
+ ' vertex_eccentricity vertex_in_degree vertex_out_degree vertices vertices_to_cycle'
+ ' vertices_to_path %w weyl wheel_graph wiener_index wigner_3j wigner_6j'
+ ' wigner_9j with_stdout write_binary_data writebyte write_data writefile wronskian'
+ ' xreduce xthru %y Zeilberger zeroequiv zerofor zeromatrix zeromatrixp zeta'
+ ' zgeev zheev zlange zn_add_table zn_carmichael_lambda zn_characteristic_factors'
+ ' zn_determinant zn_factor_generators zn_invert_by_lu zn_log zn_mult_table'
+ ' absboxchar activecontexts adapt_depth additive adim aform algebraic'
+ ' algepsilon algexact aliases allbut all_dotsimp_denoms allocation allsym alphabetic'
+ ' animation antisymmetric arrays askexp assume_pos assume_pos_pred assumescalar'
+ ' asymbol atomgrad atrig1 axes axis_3d axis_bottom axis_left axis_right axis_top'
+ ' azimuth background background_color backsubst berlefact bernstein_explicit'
+ ' besselexpand beta_args_sum_to_integer beta_expand bftorat bftrunc bindtest'
+ ' border boundaries_array box boxchar breakup %c capping cauchysum cbrange'
+ ' cbtics center cflength cframe_flag cnonmet_flag color color_bar color_bar_tics'
+ ' colorbox columns commutative complex cone context contexts contour contour_levels'
+ ' cosnpiflag ctaypov ctaypt ctayswitch ctayvar ct_coords ctorsion_flag ctrgsimp'
+ ' cube current_let_rule_package cylinder data_file_name debugmode decreasing'
+ ' default_let_rule_package delay dependencies derivabbrev derivsubst detout'
+ ' diagmetric diff dim dimensions dispflag display2d|10 display_format_internal'
+ ' distribute_over doallmxops domain domxexpt domxmxops domxnctimes dontfactor'
+ ' doscmxops doscmxplus dot0nscsimp dot0simp dot1simp dotassoc dotconstrules'
+ ' dotdistrib dotexptsimp dotident dotscrules draw_graph_program draw_realpart'
+ ' edge_color edge_coloring edge_partition edge_type edge_width %edispflag'
+ ' elevation %emode endphi endtheta engineering_format_floats enhanced3d %enumer'
+ ' epsilon_lp erfflag erf_representation errormsg error_size error_syms error_type'
+ ' %e_to_numlog eval even evenfun evflag evfun ev_point expandwrt_denom expintexpand'
+ ' expintrep expon expop exptdispflag exptisolate exptsubst facexpand facsum_combine'
+ ' factlim factorflag factorial_expand factors_only fb feature features'
+ ' file_name file_output_append file_search_demo file_search_lisp file_search_maxima|10'
+ ' file_search_tests file_search_usage file_type_lisp file_type_maxima|10 fill_color'
+ ' fill_density filled_func fixed_vertices flipflag float2bf font font_size'
+ ' fortindent fortspaces fpprec fpprintprec functions gamma_expand gammalim'
+ ' gdet genindex gensumnum GGFCFMAX GGFINFINITY globalsolve gnuplot_command'
+ ' gnuplot_curve_styles gnuplot_curve_titles gnuplot_default_term_command gnuplot_dumb_term_command'
+ ' gnuplot_file_args gnuplot_file_name gnuplot_out_file gnuplot_pdf_term_command'
+ ' gnuplot_pm3d gnuplot_png_term_command gnuplot_postamble gnuplot_preamble'
+ ' gnuplot_ps_term_command gnuplot_svg_term_command gnuplot_term gnuplot_view_args'
+ ' Gosper_in_Zeilberger gradefs grid grid2d grind halfangles head_angle head_both'
+ ' head_length head_type height hypergeometric_representation %iargs ibase'
+ ' icc1 icc2 icounter idummyx ieqnprint ifb ifc1 ifc2 ifg ifgi ifr iframe_bracket_form'
+ ' ifri igeowedge_flag ikt1 ikt2 imaginary inchar increasing infeval'
+ ' infinity inflag infolists inm inmc1 inmc2 intanalysis integer integervalued'
+ ' integrate_use_rootsof integration_constant integration_constant_counter interpolate_color'
+ ' intfaclim ip_grid ip_grid_in irrational isolate_wrt_times iterations itr'
+ ' julia_parameter %k1 %k2 keepfloat key key_pos kinvariant kt label label_alignment'
+ ' label_orientation labels lassociative lbfgs_ncorrections lbfgs_nfeval_max'
+ ' leftjust legend letrat let_rule_packages lfg lg lhospitallim limsubst linear'
+ ' linear_solver linechar linel|10 linenum line_type linewidth line_width linsolve_params'
+ ' linsolvewarn lispdisp listarith listconstvars listdummyvars lmxchar load_pathname'
+ ' loadprint logabs logarc logcb logconcoeffp logexpand lognegint logsimp logx'
+ ' logx_secondary logy logy_secondary logz lriem m1pbranch macroexpansion macros'
+ ' mainvar manual_demo maperror mapprint matrix_element_add matrix_element_mult'
+ ' matrix_element_transpose maxapplydepth maxapplyheight maxima_tempdir|10 maxima_userdir|10'
+ ' maxnegex MAX_ORD maxposex maxpsifracdenom maxpsifracnum maxpsinegint maxpsiposint'
+ ' maxtayorder mesh_lines_color method mod_big_prime mode_check_errorp'
+ ' mode_checkp mode_check_warnp mod_test mod_threshold modular_linear_solver'
+ ' modulus multiplicative multiplicities myoptions nary negdistrib negsumdispflag'
+ ' newline newtonepsilon newtonmaxiter nextlayerfactor niceindicespref nm nmc'
+ ' noeval nolabels nonegative_lp noninteger nonscalar noun noundisp nouns np'
+ ' npi nticks ntrig numer numer_pbranch obase odd oddfun opacity opproperties'
+ ' opsubst optimprefix optionset orientation origin orthopoly_returns_intervals'
+ ' outative outchar packagefile palette partswitch pdf_file pfeformat phiresolution'
+ ' %piargs piece pivot_count_sx pivot_max_sx plot_format plot_options plot_realpart'
+ ' png_file pochhammer_max_index points pointsize point_size points_joined point_type'
+ ' poislim poisson poly_coefficient_ring poly_elimination_order polyfactor poly_grobner_algorithm'
+ ' poly_grobner_debug poly_monomial_order poly_primary_elimination_order poly_return_term_list'
+ ' poly_secondary_elimination_order poly_top_reduction_only posfun position'
+ ' powerdisp pred prederror primep_number_of_tests product_use_gamma program'
+ ' programmode promote_float_to_bigfloat prompt proportional_axes props psexpand'
+ ' ps_file radexpand radius radsubstflag rassociative ratalgdenom ratchristof'
+ ' ratdenomdivide rateinstein ratepsilon ratfac rational ratmx ratprint ratriemann'
+ ' ratsimpexpons ratvarswitch ratweights ratweyl ratwtlvl real realonly redraw'
+ ' refcheck resolution restart resultant ric riem rmxchar %rnum_list rombergabs'
+ ' rombergit rombergmin rombergtol rootsconmode rootsepsilon run_viewer same_xy'
+ ' same_xyz savedef savefactors scalar scalarmatrixp scale scale_lp setcheck'
+ ' setcheckbreak setval show_edge_color show_edges show_edge_type show_edge_width'
+ ' show_id show_label showtime show_vertex_color show_vertex_size show_vertex_type'
+ ' show_vertices show_weight simp simplified_output simplify_products simpproduct'
+ ' simpsum sinnpiflag solvedecomposes solveexplicit solvefactors solvenullwarn'
+ ' solveradcan solvetrigwarn space sparse sphere spring_embedding_depth sqrtdispflag'
+ ' stardisp startphi starttheta stats_numer stringdisp structures style sublis_apply_lambda'
+ ' subnumsimp sumexpand sumsplitfact surface surface_hide svg_file symmetric'
+ ' tab taylordepth taylor_logexpand taylor_order_coefficients taylor_truncate_polynomials'
+ ' tensorkill terminal testsuite_files thetaresolution timer_devalue title tlimswitch'
+ ' tr track transcompile transform transform_xy translate_fast_arrays transparent'
+ ' transrun tr_array_as_ref tr_bound_function_applyp tr_file_tty_messagesp tr_float_can_branch_complex'
+ ' tr_function_call_default trigexpandplus trigexpandtimes triginverses trigsign'
+ ' trivial_solutions tr_numer tr_optimize_max_loop tr_semicompile tr_state_vars'
+ ' tr_warn_bad_function_calls tr_warn_fexpr tr_warn_meval tr_warn_mode'
+ ' tr_warn_undeclared tr_warn_undefined_variable tstep ttyoff tube_extremes'
+ ' ufg ug %unitexpand unit_vectors uric uriem use_fast_arrays user_preamble'
+ ' usersetunits values vect_cross verbose vertex_color vertex_coloring vertex_partition'
+ ' vertex_size vertex_type view warnings weyl width windowname windowtitle wired_surface'
+ ' wireframe xaxis xaxis_color xaxis_secondary xaxis_type xaxis_width xlabel'
+ ' xlabel_secondary xlength xrange xrange_secondary xtics xtics_axis xtics_rotate'
+ ' xtics_rotate_secondary xtics_secondary xtics_secondary_axis xu_grid x_voxel'
+ ' xy_file xyplane xy_scale yaxis yaxis_color yaxis_secondary yaxis_type yaxis_width'
+ ' ylabel ylabel_secondary ylength yrange yrange_secondary ytics ytics_axis'
+ ' ytics_rotate ytics_rotate_secondary ytics_secondary ytics_secondary_axis'
+ ' yv_grid y_voxel yx_ratio zaxis zaxis_color zaxis_type zaxis_width zeroa zerob'
+ ' zerobern zeta%pi zlabel zlabel_rotate zlength zmin zn_primroot_limit zn_primroot_pretest';
const SYMBOLS = '_ __ %|0 %%|0';
return {
name: 'Maxima',
keywords: {
$pattern: '[A-Za-z_%][0-9A-Za-z_%]*',
keyword: KEYWORDS,
literal: LITERALS,
built_in: BUILTIN_FUNCTIONS,
symbol: SYMBOLS
},
contains: [
{
className: 'comment',
begin: '/\\*',
end: '\\*/',
contains: [ 'self' ]
},
hljs.QUOTE_STRING_MODE,
{
className: 'number',
relevance: 0,
variants: [
{
// float number w/ exponent
// hmm, I wonder if we ought to include other exponent markers?
begin: '\\b(\\d+|\\d+\\.|\\.\\d+|\\d+\\.\\d+)[Ee][-+]?\\d+\\b' },
{
// bigfloat number
begin: '\\b(\\d+|\\d+\\.|\\.\\d+|\\d+\\.\\d+)[Bb][-+]?\\d+\\b',
relevance: 10
},
{
// float number w/out exponent
// Doesn't seem to recognize floats which start with '.'
begin: '\\b(\\.\\d+|\\d+\\.\\d+)\\b' },
{
// integer in base up to 36
// Doesn't seem to recognize integers which end with '.'
begin: '\\b(\\d+|0[0-9A-Za-z]+)\\.?\\b' }
]
}
],
illegal: /@/
};
}
return maxima;
})();
hljs.registerLanguage('maxima', hljsGrammar);
})();/*! `mel` grammar compiled for Highlight.js 11.11.1 */
(function(){
var hljsGrammar = (function () {
'use strict';
/*
Language: MEL
Description: Maya Embedded Language
Author: Shuen-Huei Guan
Website: http://www.autodesk.com/products/autodesk-maya/overview
Category: graphics
*/
function mel(hljs) {
return {
name: 'MEL',
keywords:
'int float string vector matrix if else switch case default while do for in break '
+ 'continue global proc return about abs addAttr addAttributeEditorNodeHelp addDynamic '
+ 'addNewShelfTab addPP addPanelCategory addPrefixToName advanceToNextDrivenKey '
+ 'affectedNet affects aimConstraint air alias aliasAttr align alignCtx alignCurve '
+ 'alignSurface allViewFit ambientLight angle angleBetween animCone animCurveEditor '
+ 'animDisplay animView annotate appendStringArray applicationName applyAttrPreset '
+ 'applyTake arcLenDimContext arcLengthDimension arclen arrayMapper art3dPaintCtx '
+ 'artAttrCtx artAttrPaintVertexCtx artAttrSkinPaintCtx artAttrTool artBuildPaintMenu '
+ 'artFluidAttrCtx artPuttyCtx artSelectCtx artSetPaintCtx artUserPaintCtx assignCommand '
+ 'assignInputDevice assignViewportFactories attachCurve attachDeviceAttr attachSurface '
+ 'attrColorSliderGrp attrCompatibility attrControlGrp attrEnumOptionMenu '
+ 'attrEnumOptionMenuGrp attrFieldGrp attrFieldSliderGrp attrNavigationControlGrp '
+ 'attrPresetEditWin attributeExists attributeInfo attributeMenu attributeQuery '
+ 'autoKeyframe autoPlace bakeClip bakeFluidShading bakePartialHistory bakeResults '
+ 'bakeSimulation basename basenameEx batchRender bessel bevel bevelPlus binMembership '
+ 'bindSkin blend2 blendShape blendShapeEditor blendShapePanel blendTwoAttr blindDataType '
+ 'boneLattice boundary boxDollyCtx boxZoomCtx bufferCurve buildBookmarkMenu '
+ 'buildKeyframeMenu button buttonManip CBG cacheFile cacheFileCombine cacheFileMerge '
+ 'cacheFileTrack camera cameraView canCreateManip canvas capitalizeString catch '
+ 'catchQuiet ceil changeSubdivComponentDisplayLevel changeSubdivRegion channelBox '
+ 'character characterMap characterOutlineEditor characterize chdir checkBox checkBoxGrp '
+ 'checkDefaultRenderGlobals choice circle circularFillet clamp clear clearCache clip '
+ 'clipEditor clipEditorCurrentTimeCtx clipSchedule clipSchedulerOutliner clipTrimBefore '
+ 'closeCurve closeSurface cluster cmdFileOutput cmdScrollFieldExecuter '
+ 'cmdScrollFieldReporter cmdShell coarsenSubdivSelectionList collision color '
+ 'colorAtPoint colorEditor colorIndex colorIndexSliderGrp colorSliderButtonGrp '
+ 'colorSliderGrp columnLayout commandEcho commandLine commandPort compactHairSystem '
+ 'componentEditor compositingInterop computePolysetVolume condition cone confirmDialog '
+ 'connectAttr connectControl connectDynamic connectJoint connectionInfo constrain '
+ 'constrainValue constructionHistory container containsMultibyte contextInfo control '
+ 'convertFromOldLayers convertIffToPsd convertLightmap convertSolidTx convertTessellation '
+ 'convertUnit copyArray copyFlexor copyKey copySkinWeights cos cpButton cpCache '
+ 'cpClothSet cpCollision cpConstraint cpConvClothToMesh cpForces cpGetSolverAttr cpPanel '
+ 'cpProperty cpRigidCollisionFilter cpSeam cpSetEdit cpSetSolverAttr cpSolver '
+ 'cpSolverTypes cpTool cpUpdateClothUVs createDisplayLayer createDrawCtx createEditor '
+ 'createLayeredPsdFile createMotionField createNewShelf createNode createRenderLayer '
+ 'createSubdivRegion cross crossProduct ctxAbort ctxCompletion ctxEditMode ctxTraverse '
+ 'currentCtx currentTime currentTimeCtx currentUnit curve curveAddPtCtx '
+ 'curveCVCtx curveEPCtx curveEditorCtx curveIntersect curveMoveEPCtx curveOnSurface '
+ 'curveSketchCtx cutKey cycleCheck cylinder dagPose date defaultLightListCheckBox '
+ 'defaultNavigation defineDataServer defineVirtualDevice deformer deg_to_rad delete '
+ 'deleteAttr deleteShadingGroupsAndMaterials deleteShelfTab deleteUI deleteUnusedBrushes '
+ 'delrandstr detachCurve detachDeviceAttr detachSurface deviceEditor devicePanel dgInfo '
+ 'dgdirty dgeval dgtimer dimWhen directKeyCtx directionalLight dirmap dirname disable '
+ 'disconnectAttr disconnectJoint diskCache displacementToPoly displayAffected '
+ 'displayColor displayCull displayLevelOfDetail displayPref displayRGBColor '
+ 'displaySmoothness displayStats displayString displaySurface distanceDimContext '
+ 'distanceDimension doBlur dolly dollyCtx dopeSheetEditor dot dotProduct '
+ 'doubleProfileBirailSurface drag dragAttrContext draggerContext dropoffLocator '
+ 'duplicate duplicateCurve duplicateSurface dynCache dynControl dynExport dynExpression '
+ 'dynGlobals dynPaintEditor dynParticleCtx dynPref dynRelEdPanel dynRelEditor '
+ 'dynamicLoad editAttrLimits editDisplayLayerGlobals editDisplayLayerMembers '
+ 'editRenderLayerAdjustment editRenderLayerGlobals editRenderLayerMembers editor '
+ 'editorTemplate effector emit emitter enableDevice encodeString endString endsWith env '
+ 'equivalent equivalentTol erf error eval evalDeferred evalEcho event '
+ 'exactWorldBoundingBox exclusiveLightCheckBox exec executeForEachObject exists exp '
+ 'expression expressionEditorListen extendCurve extendSurface extrude fcheck fclose feof '
+ 'fflush fgetline fgetword file fileBrowserDialog fileDialog fileExtension fileInfo '
+ 'filetest filletCurve filter filterCurve filterExpand filterStudioImport '
+ 'findAllIntersections findAnimCurves findKeyframe findMenuItem findRelatedSkinCluster '
+ 'finder firstParentOf fitBspline flexor floatEq floatField floatFieldGrp floatScrollBar '
+ 'floatSlider floatSlider2 floatSliderButtonGrp floatSliderGrp floor flow fluidCacheInfo '
+ 'fluidEmitter fluidVoxelInfo flushUndo fmod fontDialog fopen formLayout format fprint '
+ 'frameLayout fread freeFormFillet frewind fromNativePath fwrite gamma gauss '
+ 'geometryConstraint getApplicationVersionAsFloat getAttr getClassification '
+ 'getDefaultBrush getFileList getFluidAttr getInputDeviceRange getMayaPanelTypes '
+ 'getModifiers getPanel getParticleAttr getPluginResource getenv getpid glRender '
+ 'glRenderEditor globalStitch gmatch goal gotoBindPose grabColor gradientControl '
+ 'gradientControlNoAttr graphDollyCtx graphSelectContext graphTrackCtx gravity grid '
+ 'gridLayout group groupObjectsByName HfAddAttractorToAS HfAssignAS HfBuildEqualMap '
+ 'HfBuildFurFiles HfBuildFurImages HfCancelAFR HfConnectASToHF HfCreateAttractor '
+ 'HfDeleteAS HfEditAS HfPerformCreateAS HfRemoveAttractorFromAS HfSelectAttached '
+ 'HfSelectAttractors HfUnAssignAS hardenPointCurve hardware hardwareRenderPanel '
+ 'headsUpDisplay headsUpMessage help helpLine hermite hide hilite hitTest hotBox hotkey '
+ 'hotkeyCheck hsv_to_rgb hudButton hudSlider hudSliderButton hwReflectionMap hwRender '
+ 'hwRenderLoad hyperGraph hyperPanel hyperShade hypot iconTextButton iconTextCheckBox '
+ 'iconTextRadioButton iconTextRadioCollection iconTextScrollList iconTextStaticLabel '
+ 'ikHandle ikHandleCtx ikHandleDisplayScale ikSolver ikSplineHandleCtx ikSystem '
+ 'ikSystemInfo ikfkDisplayMethod illustratorCurves image imfPlugins inheritTransform '
+ 'insertJoint insertJointCtx insertKeyCtx insertKnotCurve insertKnotSurface instance '
+ 'instanceable instancer intField intFieldGrp intScrollBar intSlider intSliderGrp '
+ 'interToUI internalVar intersect iprEngine isAnimCurve isConnected isDirty isParentOf '
+ 'isSameObject isTrue isValidObjectName isValidString isValidUiName isolateSelect '
+ 'itemFilter itemFilterAttr itemFilterRender itemFilterType joint jointCluster jointCtx '
+ 'jointDisplayScale jointLattice keyTangent keyframe keyframeOutliner '
+ 'keyframeRegionCurrentTimeCtx keyframeRegionDirectKeyCtx keyframeRegionDollyCtx '
+ 'keyframeRegionInsertKeyCtx keyframeRegionMoveKeyCtx keyframeRegionScaleKeyCtx '
+ 'keyframeRegionSelectKeyCtx keyframeRegionSetKeyCtx keyframeRegionTrackCtx '
+ 'keyframeStats lassoContext lattice latticeDeformKeyCtx launch launchImageEditor '
+ 'layerButton layeredShaderPort layeredTexturePort layout layoutDialog lightList '
+ 'lightListEditor lightListPanel lightlink lineIntersection linearPrecision linstep '
+ 'listAnimatable listAttr listCameras listConnections listDeviceAttachments listHistory '
+ 'listInputDeviceAxes listInputDeviceButtons listInputDevices listMenuAnnotation '
+ 'listNodeTypes listPanelCategories listRelatives listSets listTransforms '
+ 'listUnselected listerEditor loadFluid loadNewShelf loadPlugin '
+ 'loadPluginLanguageResources loadPrefObjects localizedPanelLabel lockNode loft log '
+ 'longNameOf lookThru ls lsThroughFilter lsType lsUI Mayatomr mag makeIdentity makeLive '
+ 'makePaintable makeRoll makeSingleSurface makeTubeOn makebot manipMoveContext '
+ 'manipMoveLimitsCtx manipOptions manipRotateContext manipRotateLimitsCtx '
+ 'manipScaleContext manipScaleLimitsCtx marker match max memory menu menuBarLayout '
+ 'menuEditor menuItem menuItemToShelf menuSet menuSetPref messageLine min minimizeApp '
+ 'mirrorJoint modelCurrentTimeCtx modelEditor modelPanel mouse movIn movOut move '
+ 'moveIKtoFK moveKeyCtx moveVertexAlongDirection multiProfileBirailSurface mute '
+ 'nParticle nameCommand nameField namespace namespaceInfo newPanelItems newton nodeCast '
+ 'nodeIconButton nodeOutliner nodePreset nodeType noise nonLinear normalConstraint '
+ 'normalize nurbsBoolean nurbsCopyUVSet nurbsCube nurbsEditUV nurbsPlane nurbsSelect '
+ 'nurbsSquare nurbsToPoly nurbsToPolygonsPref nurbsToSubdiv nurbsToSubdivPref '
+ 'nurbsUVSet nurbsViewDirectionVector objExists objectCenter objectLayer objectType '
+ 'objectTypeUI obsoleteProc oceanNurbsPreviewPlane offsetCurve offsetCurveOnSurface '
+ 'offsetSurface openGLExtension openMayaPref optionMenu optionMenuGrp optionVar orbit '
+ 'orbitCtx orientConstraint outlinerEditor outlinerPanel overrideModifier '
+ 'paintEffectsDisplay pairBlend palettePort paneLayout panel panelConfiguration '
+ 'panelHistory paramDimContext paramDimension paramLocator parent parentConstraint '
+ 'particle particleExists particleInstancer particleRenderInfo partition pasteKey '
+ 'pathAnimation pause pclose percent performanceOptions pfxstrokes pickWalk picture '
+ 'pixelMove planarSrf plane play playbackOptions playblast plugAttr plugNode pluginInfo '
+ 'pluginResourceUtil pointConstraint pointCurveConstraint pointLight pointMatrixMult '
+ 'pointOnCurve pointOnSurface pointPosition poleVectorConstraint polyAppend '
+ 'polyAppendFacetCtx polyAppendVertex polyAutoProjection polyAverageNormal '
+ 'polyAverageVertex polyBevel polyBlendColor polyBlindData polyBoolOp polyBridgeEdge '
+ 'polyCacheMonitor polyCheck polyChipOff polyClipboard polyCloseBorder polyCollapseEdge '
+ 'polyCollapseFacet polyColorBlindData polyColorDel polyColorPerVertex polyColorSet '
+ 'polyCompare polyCone polyCopyUV polyCrease polyCreaseCtx polyCreateFacet '
+ 'polyCreateFacetCtx polyCube polyCut polyCutCtx polyCylinder polyCylindricalProjection '
+ 'polyDelEdge polyDelFacet polyDelVertex polyDuplicateAndConnect polyDuplicateEdge '
+ 'polyEditUV polyEditUVShell polyEvaluate polyExtrudeEdge polyExtrudeFacet '
+ 'polyExtrudeVertex polyFlipEdge polyFlipUV polyForceUV polyGeoSampler polyHelix '
+ 'polyInfo polyInstallAction polyLayoutUV polyListComponentConversion polyMapCut '
+ 'polyMapDel polyMapSew polyMapSewMove polyMergeEdge polyMergeEdgeCtx polyMergeFacet '
+ 'polyMergeFacetCtx polyMergeUV polyMergeVertex polyMirrorFace polyMoveEdge '
+ 'polyMoveFacet polyMoveFacetUV polyMoveUV polyMoveVertex polyNormal polyNormalPerVertex '
+ 'polyNormalizeUV polyOptUvs polyOptions polyOutput polyPipe polyPlanarProjection '
+ 'polyPlane polyPlatonicSolid polyPoke polyPrimitive polyPrism polyProjection '
+ 'polyPyramid polyQuad polyQueryBlindData polyReduce polySelect polySelectConstraint '
+ 'polySelectConstraintMonitor polySelectCtx polySelectEditCtx polySeparate '
+ 'polySetToFaceNormal polySewEdge polyShortestPathCtx polySmooth polySoftEdge '
+ 'polySphere polySphericalProjection polySplit polySplitCtx polySplitEdge polySplitRing '
+ 'polySplitVertex polyStraightenUVBorder polySubdivideEdge polySubdivideFacet '
+ 'polyToSubdiv polyTorus polyTransfer polyTriangulate polyUVSet polyUnite polyWedgeFace '
+ 'popen popupMenu pose pow preloadRefEd print progressBar progressWindow projFileViewer '
+ 'projectCurve projectTangent projectionContext projectionManip promptDialog propModCtx '
+ 'propMove psdChannelOutliner psdEditTextureFile psdExport psdTextureFile putenv pwd '
+ 'python querySubdiv quit rad_to_deg radial radioButton radioButtonGrp radioCollection '
+ 'radioMenuItemCollection rampColorPort rand randomizeFollicles randstate rangeControl '
+ 'readTake rebuildCurve rebuildSurface recordAttr recordDevice redo reference '
+ 'referenceEdit referenceQuery refineSubdivSelectionList refresh refreshAE '
+ 'registerPluginResource rehash reloadImage removeJoint removeMultiInstance '
+ 'removePanelCategory rename renameAttr renameSelectionList renameUI render '
+ 'renderGlobalsNode renderInfo renderLayerButton renderLayerParent '
+ 'renderLayerPostProcess renderLayerUnparent renderManip renderPartition '
+ 'renderQualityNode renderSettings renderThumbnailUpdate renderWindowEditor '
+ 'renderWindowSelectContext renderer reorder reorderDeformers requires reroot '
+ 'resampleFluid resetAE resetPfxToPolyCamera resetTool resolutionNode retarget '
+ 'reverseCurve reverseSurface revolve rgb_to_hsv rigidBody rigidSolver roll rollCtx '
+ 'rootOf rot rotate rotationInterpolation roundConstantRadius rowColumnLayout rowLayout '
+ 'runTimeCommand runup sampleImage saveAllShelves saveAttrPreset saveFluid saveImage '
+ 'saveInitialState saveMenu savePrefObjects savePrefs saveShelf saveToolSettings scale '
+ 'scaleBrushBrightness scaleComponents scaleConstraint scaleKey scaleKeyCtx sceneEditor '
+ 'sceneUIReplacement scmh scriptCtx scriptEditorInfo scriptJob scriptNode scriptTable '
+ 'scriptToShelf scriptedPanel scriptedPanelType scrollField scrollLayout sculpt '
+ 'searchPathArray seed selLoadSettings select selectContext selectCurveCV selectKey '
+ 'selectKeyCtx selectKeyframeRegionCtx selectMode selectPref selectPriority selectType '
+ 'selectedNodes selectionConnection separator setAttr setAttrEnumResource '
+ 'setAttrMapping setAttrNiceNameResource setConstraintRestPosition '
+ 'setDefaultShadingGroup setDrivenKeyframe setDynamic setEditCtx setEditor setFluidAttr '
+ 'setFocus setInfinity setInputDeviceMapping setKeyCtx setKeyPath setKeyframe '
+ 'setKeyframeBlendshapeTargetWts setMenuMode setNodeNiceNameResource setNodeTypeFlag '
+ 'setParent setParticleAttr setPfxToPolyCamera setPluginResource setProject '
+ 'setStampDensity setStartupMessage setState setToolTo setUITemplate setXformManip sets '
+ 'shadingConnection shadingGeometryRelCtx shadingLightRelCtx shadingNetworkCompare '
+ 'shadingNode shapeCompare shelfButton shelfLayout shelfTabLayout shellField '
+ 'shortNameOf showHelp showHidden showManipCtx showSelectionInTitle '
+ 'showShadingGroupAttrEditor showWindow sign simplify sin singleProfileBirailSurface '
+ 'size sizeBytes skinCluster skinPercent smoothCurve smoothTangentSurface smoothstep '
+ 'snap2to2 snapKey snapMode snapTogetherCtx snapshot soft softMod softModCtx sort sound '
+ 'soundControl source spaceLocator sphere sphrand spotLight spotLightPreviewPort '
+ 'spreadSheetEditor spring sqrt squareSurface srtContext stackTrace startString '
+ 'startsWith stitchAndExplodeShell stitchSurface stitchSurfacePoints strcmp '
+ 'stringArrayCatenate stringArrayContains stringArrayCount stringArrayInsertAtIndex '
+ 'stringArrayIntersector stringArrayRemove stringArrayRemoveAtIndex '
+ 'stringArrayRemoveDuplicates stringArrayRemoveExact stringArrayToString '
+ 'stringToStringArray strip stripPrefixFromName stroke subdAutoProjection '
+ 'subdCleanTopology subdCollapse subdDuplicateAndConnect subdEditUV '
+ 'subdListComponentConversion subdMapCut subdMapSewMove subdMatchTopology subdMirror '
+ 'subdToBlind subdToPoly subdTransferUVsToCache subdiv subdivCrease '
+ 'subdivDisplaySmoothness substitute substituteAllString substituteGeometry substring '
+ 'surface surfaceSampler surfaceShaderList swatchDisplayPort switchTable symbolButton '
+ 'symbolCheckBox sysFile system tabLayout tan tangentConstraint texLatticeDeformContext '
+ 'texManipContext texMoveContext texMoveUVShellContext texRotateContext texScaleContext '
+ 'texSelectContext texSelectShortestPathCtx texSmudgeUVContext texWinToolCtx text '
+ 'textCurves textField textFieldButtonGrp textFieldGrp textManip textScrollList '
+ 'textToShelf textureDisplacePlane textureHairColor texturePlacementContext '
+ 'textureWindow threadCount threePointArcCtx timeControl timePort timerX toNativePath '
+ 'toggle toggleAxis toggleWindowVisibility tokenize tokenizeList tolerance tolower '
+ 'toolButton toolCollection toolDropped toolHasOptions toolPropertyWindow torus toupper '
+ 'trace track trackCtx transferAttributes transformCompare transformLimits translator '
+ 'trim trunc truncateFluidCache truncateHairCache tumble tumbleCtx turbulence '
+ 'twoPointArcCtx uiRes uiTemplate unassignInputDevice undo undoInfo ungroup uniform unit '
+ 'unloadPlugin untangleUV untitledFileName untrim upAxis updateAE userCtx uvLink '
+ 'uvSnapshot validateShelfName vectorize view2dToolCtx viewCamera viewClipPlane '
+ 'viewFit viewHeadOn viewLookAt viewManip viewPlace viewSet visor volumeAxis vortex '
+ 'waitCursor warning webBrowser webBrowserPrefs whatIs window windowPref wire '
+ 'wireContext workspace wrinkle wrinkleContext writeTake xbmLangPathList xform',
illegal: '',
contains: [
hljs.C_NUMBER_MODE,
hljs.APOS_STRING_MODE,
hljs.QUOTE_STRING_MODE,
{
className: 'string',
begin: '`',
end: '`',
contains: [ hljs.BACKSLASH_ESCAPE ]
},
{ // eats variables
begin: /[$%@](\^\w\b|#\w+|[^\s\w{]|\{\w+\}|\w+)/ },
hljs.C_LINE_COMMENT_MODE,
hljs.C_BLOCK_COMMENT_MODE
]
};
}
return mel;
})();
hljs.registerLanguage('mel', hljsGrammar);
})();/*! `mercury` grammar compiled for Highlight.js 11.11.1 */
(function(){
var hljsGrammar = (function () {
'use strict';
/*
Language: Mercury
Author: mucaho
Description: Mercury is a logic/functional programming language which combines the clarity and expressiveness of declarative programming with advanced static analysis and error detection features.
Website: https://www.mercurylang.org
Category: functional
*/
function mercury(hljs) {
const KEYWORDS = {
keyword:
'module use_module import_module include_module end_module initialise '
+ 'mutable initialize finalize finalise interface implementation pred '
+ 'mode func type inst solver any_pred any_func is semidet det nondet '
+ 'multi erroneous failure cc_nondet cc_multi typeclass instance where '
+ 'pragma promise external trace atomic or_else require_complete_switch '
+ 'require_det require_semidet require_multi require_nondet '
+ 'require_cc_multi require_cc_nondet require_erroneous require_failure',
meta:
// pragma
'inline no_inline type_spec source_file fact_table obsolete memo '
+ 'loop_check minimal_model terminates does_not_terminate '
+ 'check_termination promise_equivalent_clauses '
// preprocessor
+ 'foreign_proc foreign_decl foreign_code foreign_type '
+ 'foreign_import_module foreign_export_enum foreign_export '
+ 'foreign_enum may_call_mercury will_not_call_mercury thread_safe '
+ 'not_thread_safe maybe_thread_safe promise_pure promise_semipure '
+ 'tabled_for_io local untrailed trailed attach_to_io_state '
+ 'can_pass_as_mercury_type stable will_not_throw_exception '
+ 'may_modify_trail will_not_modify_trail may_duplicate '
+ 'may_not_duplicate affects_liveness does_not_affect_liveness '
+ 'doesnt_affect_liveness no_sharing unknown_sharing sharing',
built_in:
'some all not if then else true fail false try catch catch_any '
+ 'semidet_true semidet_false semidet_fail impure_true impure semipure'
};
const COMMENT = hljs.COMMENT('%', '$');
const NUMCODE = {
className: 'number',
begin: "0'.\\|0[box][0-9a-fA-F]*"
};
const ATOM = hljs.inherit(hljs.APOS_STRING_MODE, { relevance: 0 });
const STRING = hljs.inherit(hljs.QUOTE_STRING_MODE, { relevance: 0 });
const STRING_FMT = {
className: 'subst',
begin: '\\\\[abfnrtv]\\|\\\\x[0-9a-fA-F]*\\\\\\|%[-+# *.0-9]*[dioxXucsfeEgGp]',
relevance: 0
};
STRING.contains = STRING.contains.slice(); // we need our own copy of contains
STRING.contains.push(STRING_FMT);
const IMPLICATION = {
className: 'built_in',
variants: [
{ begin: '<=>' },
{
begin: '<=',
relevance: 0
},
{
begin: '=>',
relevance: 0
},
{ begin: '/\\\\' },
{ begin: '\\\\/' }
]
};
const HEAD_BODY_CONJUNCTION = {
className: 'built_in',
variants: [
{ begin: ':-\\|-->' },
{
begin: '=',
relevance: 0
}
]
};
return {
name: 'Mercury',
aliases: [
'm',
'moo'
],
keywords: KEYWORDS,
contains: [
IMPLICATION,
HEAD_BODY_CONJUNCTION,
COMMENT,
hljs.C_BLOCK_COMMENT_MODE,
NUMCODE,
hljs.NUMBER_MODE,
ATOM,
STRING,
{ // relevance booster
begin: /:-/ },
{ // relevance booster
begin: /\.$/ }
]
};
}
return mercury;
})();
hljs.registerLanguage('mercury', hljsGrammar);
})();/*! `mipsasm` grammar compiled for Highlight.js 11.11.1 */
(function(){
var hljsGrammar = (function () {
'use strict';
/*
Language: MIPS Assembly
Author: Nebuleon Fumika
Description: MIPS Assembly (up to MIPS32R2)
Website: https://en.wikipedia.org/wiki/MIPS_architecture
Category: assembler
*/
function mipsasm(hljs) {
// local labels: %?[FB]?[AT]?\d{1,2}\w+
return {
name: 'MIPS Assembly',
case_insensitive: true,
aliases: [ 'mips' ],
keywords: {
$pattern: '\\.?' + hljs.IDENT_RE,
meta:
// GNU preprocs
'.2byte .4byte .align .ascii .asciz .balign .byte .code .data .else .end .endif .endm .endr .equ .err .exitm .extern .global .hword .if .ifdef .ifndef .include .irp .long .macro .rept .req .section .set .skip .space .text .word .ltorg ',
built_in:
'$0 $1 $2 $3 $4 $5 $6 $7 $8 $9 $10 $11 $12 $13 $14 $15 ' // integer registers
+ '$16 $17 $18 $19 $20 $21 $22 $23 $24 $25 $26 $27 $28 $29 $30 $31 ' // integer registers
+ 'zero at v0 v1 a0 a1 a2 a3 a4 a5 a6 a7 ' // integer register aliases
+ 't0 t1 t2 t3 t4 t5 t6 t7 t8 t9 s0 s1 s2 s3 s4 s5 s6 s7 s8 ' // integer register aliases
+ 'k0 k1 gp sp fp ra ' // integer register aliases
+ '$f0 $f1 $f2 $f2 $f4 $f5 $f6 $f7 $f8 $f9 $f10 $f11 $f12 $f13 $f14 $f15 ' // floating-point registers
+ '$f16 $f17 $f18 $f19 $f20 $f21 $f22 $f23 $f24 $f25 $f26 $f27 $f28 $f29 $f30 $f31 ' // floating-point registers
+ 'Context Random EntryLo0 EntryLo1 Context PageMask Wired EntryHi ' // Coprocessor 0 registers
+ 'HWREna BadVAddr Count Compare SR IntCtl SRSCtl SRSMap Cause EPC PRId ' // Coprocessor 0 registers
+ 'EBase Config Config1 Config2 Config3 LLAddr Debug DEPC DESAVE CacheErr ' // Coprocessor 0 registers
+ 'ECC ErrorEPC TagLo DataLo TagHi DataHi WatchLo WatchHi PerfCtl PerfCnt ' // Coprocessor 0 registers
},
contains: [
{
className: 'keyword',
begin: '\\b(' // mnemonics
// 32-bit integer instructions
+ 'addi?u?|andi?|b(al)?|beql?|bgez(al)?l?|bgtzl?|blezl?|bltz(al)?l?|'
+ 'bnel?|cl[oz]|divu?|ext|ins|j(al)?|jalr(\\.hb)?|jr(\\.hb)?|lbu?|lhu?|'
+ 'll|lui|lw[lr]?|maddu?|mfhi|mflo|movn|movz|move|msubu?|mthi|mtlo|mul|'
+ 'multu?|nop|nor|ori?|rotrv?|sb|sc|se[bh]|sh|sllv?|slti?u?|srav?|'
+ 'srlv?|subu?|sw[lr]?|xori?|wsbh|'
// floating-point instructions
+ 'abs\\.[sd]|add\\.[sd]|alnv.ps|bc1[ft]l?|'
+ 'c\\.(s?f|un|u?eq|[ou]lt|[ou]le|ngle?|seq|l[et]|ng[et])\\.[sd]|'
+ '(ceil|floor|round|trunc)\\.[lw]\\.[sd]|cfc1|cvt\\.d\\.[lsw]|'
+ 'cvt\\.l\\.[dsw]|cvt\\.ps\\.s|cvt\\.s\\.[dlw]|cvt\\.s\\.p[lu]|cvt\\.w\\.[dls]|'
+ 'div\\.[ds]|ldx?c1|luxc1|lwx?c1|madd\\.[sd]|mfc1|mov[fntz]?\\.[ds]|'
+ 'msub\\.[sd]|mth?c1|mul\\.[ds]|neg\\.[ds]|nmadd\\.[ds]|nmsub\\.[ds]|'
+ 'p[lu][lu]\\.ps|recip\\.fmt|r?sqrt\\.[ds]|sdx?c1|sub\\.[ds]|suxc1|'
+ 'swx?c1|'
// system control instructions
+ 'break|cache|d?eret|[de]i|ehb|mfc0|mtc0|pause|prefx?|rdhwr|'
+ 'rdpgpr|sdbbp|ssnop|synci?|syscall|teqi?|tgei?u?|tlb(p|r|w[ir])|'
+ 'tlti?u?|tnei?|wait|wrpgpr'
+ ')',
end: '\\s'
},
// lines ending with ; or # aren't really comments, probably auto-detect fail
hljs.COMMENT('[;#](?!\\s*$)', '$'),
hljs.C_BLOCK_COMMENT_MODE,
hljs.QUOTE_STRING_MODE,
{
className: 'string',
begin: '\'',
end: '[^\\\\]\'',
relevance: 0
},
{
className: 'title',
begin: '\\|',
end: '\\|',
illegal: '\\n',
relevance: 0
},
{
className: 'number',
variants: [
{ // hex
begin: '0x[0-9a-f]+' },
{ // bare number
begin: '\\b-?\\d+' }
],
relevance: 0
},
{
className: 'symbol',
variants: [
{ // GNU MIPS syntax
begin: '^\\s*[a-z_\\.\\$][a-z0-9_\\.\\$]+:' },
{ // numbered local labels
begin: '^\\s*[0-9]+:' },
{ // number local label reference (backwards, forwards)
begin: '[0-9]+[bf]' }
],
relevance: 0
}
],
// forward slashes are not allowed
illegal: /\//
};
}
return mipsasm;
})();
hljs.registerLanguage('mipsasm', hljsGrammar);
})();/*! `mizar` grammar compiled for Highlight.js 11.11.1 */
(function(){
var hljsGrammar = (function () {
'use strict';
/*
Language: Mizar
Description: The Mizar Language is a formal language derived from the mathematical vernacular.
Author: Kelley van Evert
Website: http://mizar.org/language/
Category: scientific
*/
function mizar(hljs) {
return {
name: 'Mizar',
keywords:
'environ vocabularies notations constructors definitions '
+ 'registrations theorems schemes requirements begin end definition '
+ 'registration cluster existence pred func defpred deffunc theorem '
+ 'proof let take assume then thus hence ex for st holds consider '
+ 'reconsider such that and in provided of as from be being by means '
+ 'equals implies iff redefine define now not or attr is mode '
+ 'suppose per cases set thesis contradiction scheme reserve struct '
+ 'correctness compatibility coherence symmetry assymetry '
+ 'reflexivity irreflexivity connectedness uniqueness commutativity '
+ 'idempotence involutiveness projectivity',
contains: [ hljs.COMMENT('::', '$') ]
};
}
return mizar;
})();
hljs.registerLanguage('mizar', hljsGrammar);
})();/*! `mojolicious` grammar compiled for Highlight.js 11.11.1 */
(function(){
var hljsGrammar = (function () {
'use strict';
/*
Language: Mojolicious
Requires: xml.js, perl.js
Author: Dotan Dimet
Description: Mojolicious .ep (Embedded Perl) templates
Website: https://mojolicious.org
Category: template
*/
function mojolicious(hljs) {
return {
name: 'Mojolicious',
subLanguage: 'xml',
contains: [
{
className: 'meta',
begin: '^__(END|DATA)__$'
},
// mojolicious line
{
begin: "^\\s*%{1,2}={0,2}",
end: '$',
subLanguage: 'perl'
},
// mojolicious block
{
begin: "<%{1,2}={0,2}",
end: "={0,1}%>",
subLanguage: 'perl',
excludeBegin: true,
excludeEnd: true
}
]
};
}
return mojolicious;
})();
hljs.registerLanguage('mojolicious', hljsGrammar);
})();/*! `monkey` grammar compiled for Highlight.js 11.11.1 */
(function(){
var hljsGrammar = (function () {
'use strict';
/*
Language: Monkey
Description: Monkey2 is an easy to use, cross platform, games oriented programming language from Blitz Research.
Author: Arthur Bikmullin
Website: https://blitzresearch.itch.io/monkey2
Category: gaming
*/
function monkey(hljs) {
const NUMBER = {
className: 'number',
relevance: 0,
variants: [
{ begin: '[$][a-fA-F0-9]+' },
hljs.NUMBER_MODE
]
};
const FUNC_DEFINITION = {
variants: [
{ match: [
/(function|method)/,
/\s+/,
hljs.UNDERSCORE_IDENT_RE,
] },
],
scope: {
1: "keyword",
3: "title.function"
}
};
const CLASS_DEFINITION = {
variants: [
{ match: [
/(class|interface|extends|implements)/,
/\s+/,
hljs.UNDERSCORE_IDENT_RE,
] },
],
scope: {
1: "keyword",
3: "title.class"
}
};
const BUILT_INS = [
"DebugLog",
"DebugStop",
"Error",
"Print",
"ACos",
"ACosr",
"ASin",
"ASinr",
"ATan",
"ATan2",
"ATan2r",
"ATanr",
"Abs",
"Abs",
"Ceil",
"Clamp",
"Clamp",
"Cos",
"Cosr",
"Exp",
"Floor",
"Log",
"Max",
"Max",
"Min",
"Min",
"Pow",
"Sgn",
"Sgn",
"Sin",
"Sinr",
"Sqrt",
"Tan",
"Tanr",
"Seed",
"PI",
"HALFPI",
"TWOPI"
];
const LITERALS = [
"true",
"false",
"null"
];
const KEYWORDS = [
"public",
"private",
"property",
"continue",
"exit",
"extern",
"new",
"try",
"catch",
"eachin",
"not",
"abstract",
"final",
"select",
"case",
"default",
"const",
"local",
"global",
"field",
"end",
"if",
"then",
"else",
"elseif",
"endif",
"while",
"wend",
"repeat",
"until",
"forever",
"for",
"to",
"step",
"next",
"return",
"module",
"inline",
"throw",
"import",
// not positive, but these are not literals
"and",
"or",
"shl",
"shr",
"mod"
];
return {
name: 'Monkey',
case_insensitive: true,
keywords: {
keyword: KEYWORDS,
built_in: BUILT_INS,
literal: LITERALS
},
illegal: /\/\*/,
contains: [
hljs.COMMENT('#rem', '#end'),
hljs.COMMENT(
"'",
'$',
{ relevance: 0 }
),
FUNC_DEFINITION,
CLASS_DEFINITION,
{
className: 'variable.language',
begin: /\b(self|super)\b/
},
{
className: 'meta',
begin: /\s*#/,
end: '$',
keywords: { keyword: 'if else elseif endif end then' }
},
{
match: [
/^\s*/,
/strict\b/
],
scope: { 2: "meta" }
},
{
beginKeywords: 'alias',
end: '=',
contains: [ hljs.UNDERSCORE_TITLE_MODE ]
},
hljs.QUOTE_STRING_MODE,
NUMBER
]
};
}
return monkey;
})();
hljs.registerLanguage('monkey', hljsGrammar);
})();/*! `moonscript` grammar compiled for Highlight.js 11.11.1 */
(function(){
var hljsGrammar = (function () {
'use strict';
/*
Language: MoonScript
Author: Billy Quith
Description: MoonScript is a programming language that transcompiles to Lua.
Origin: coffeescript.js
Website: http://moonscript.org/
Category: scripting
*/
function moonscript(hljs) {
const KEYWORDS = {
keyword:
// Moonscript keywords
'if then not for in while do return else elseif break continue switch and or '
+ 'unless when class extends super local import export from using',
literal:
'true false nil',
built_in:
'_G _VERSION assert collectgarbage dofile error getfenv getmetatable ipairs load '
+ 'loadfile loadstring module next pairs pcall print rawequal rawget rawset require '
+ 'select setfenv setmetatable tonumber tostring type unpack xpcall coroutine debug '
+ 'io math os package string table'
};
const JS_IDENT_RE = '[A-Za-z$_][0-9A-Za-z$_]*';
const SUBST = {
className: 'subst',
begin: /#\{/,
end: /\}/,
keywords: KEYWORDS
};
const EXPRESSIONS = [
hljs.inherit(hljs.C_NUMBER_MODE,
{ starts: {
end: '(\\s*/)?',
relevance: 0
} }), // a number tries to eat the following slash to prevent treating it as a regexp
{
className: 'string',
variants: [
{
begin: /'/,
end: /'/,
contains: [ hljs.BACKSLASH_ESCAPE ]
},
{
begin: /"/,
end: /"/,
contains: [
hljs.BACKSLASH_ESCAPE,
SUBST
]
}
]
},
{
className: 'built_in',
begin: '@__' + hljs.IDENT_RE
},
{ begin: '@' + hljs.IDENT_RE // relevance booster on par with CoffeeScript
},
{ begin: hljs.IDENT_RE + '\\\\' + hljs.IDENT_RE // inst\method
}
];
SUBST.contains = EXPRESSIONS;
const TITLE = hljs.inherit(hljs.TITLE_MODE, { begin: JS_IDENT_RE });
const POSSIBLE_PARAMS_RE = '(\\(.*\\)\\s*)?\\B[-=]>';
const PARAMS = {
className: 'params',
begin: '\\([^\\(]',
returnBegin: true,
/* We need another contained nameless mode to not have every nested
pair of parens to be called "params" */
contains: [
{
begin: /\(/,
end: /\)/,
keywords: KEYWORDS,
contains: [ 'self' ].concat(EXPRESSIONS)
}
]
};
return {
name: 'MoonScript',
aliases: [ 'moon' ],
keywords: KEYWORDS,
illegal: /\/\*/,
contains: EXPRESSIONS.concat([
hljs.COMMENT('--', '$'),
{
className: 'function', // function: -> =>
begin: '^\\s*' + JS_IDENT_RE + '\\s*=\\s*' + POSSIBLE_PARAMS_RE,
end: '[-=]>',
returnBegin: true,
contains: [
TITLE,
PARAMS
]
},
{
begin: /[\(,:=]\s*/, // anonymous function start
relevance: 0,
contains: [
{
className: 'function',
begin: POSSIBLE_PARAMS_RE,
end: '[-=]>',
returnBegin: true,
contains: [ PARAMS ]
}
]
},
{
className: 'class',
beginKeywords: 'class',
end: '$',
illegal: /[:="\[\]]/,
contains: [
{
beginKeywords: 'extends',
endsWithParent: true,
illegal: /[:="\[\]]/,
contains: [ TITLE ]
},
TITLE
]
},
{
className: 'name', // table
begin: JS_IDENT_RE + ':',
end: ':',
returnBegin: true,
returnEnd: true,
relevance: 0
}
])
};
}
return moonscript;
})();
hljs.registerLanguage('moonscript', hljsGrammar);
})();/*! `n1ql` grammar compiled for Highlight.js 11.11.1 */
(function(){
var hljsGrammar = (function () {
'use strict';
/*
Language: N1QL
Author: Andres Täht
Contributors: Rene Saarsoo
Description: Couchbase query language
Website: https://www.couchbase.com/products/n1ql
Category: database
*/
function n1ql(hljs) {
// Taken from http://developer.couchbase.com/documentation/server/current/n1ql/n1ql-language-reference/reservedwords.html
const KEYWORDS = [
"all",
"alter",
"analyze",
"and",
"any",
"array",
"as",
"asc",
"begin",
"between",
"binary",
"boolean",
"break",
"bucket",
"build",
"by",
"call",
"case",
"cast",
"cluster",
"collate",
"collection",
"commit",
"connect",
"continue",
"correlate",
"cover",
"create",
"database",
"dataset",
"datastore",
"declare",
"decrement",
"delete",
"derived",
"desc",
"describe",
"distinct",
"do",
"drop",
"each",
"element",
"else",
"end",
"every",
"except",
"exclude",
"execute",
"exists",
"explain",
"fetch",
"first",
"flatten",
"for",
"force",
"from",
"function",
"grant",
"group",
"gsi",
"having",
"if",
"ignore",
"ilike",
"in",
"include",
"increment",
"index",
"infer",
"inline",
"inner",
"insert",
"intersect",
"into",
"is",
"join",
"key",
"keys",
"keyspace",
"known",
"last",
"left",
"let",
"letting",
"like",
"limit",
"lsm",
"map",
"mapping",
"matched",
"materialized",
"merge",
"minus",
"namespace",
"nest",
"not",
"number",
"object",
"offset",
"on",
"option",
"or",
"order",
"outer",
"over",
"parse",
"partition",
"password",
"path",
"pool",
"prepare",
"primary",
"private",
"privilege",
"procedure",
"public",
"raw",
"realm",
"reduce",
"rename",
"return",
"returning",
"revoke",
"right",
"role",
"rollback",
"satisfies",
"schema",
"select",
"self",
"semi",
"set",
"show",
"some",
"start",
"statistics",
"string",
"system",
"then",
"to",
"transaction",
"trigger",
"truncate",
"under",
"union",
"unique",
"unknown",
"unnest",
"unset",
"update",
"upsert",
"use",
"user",
"using",
"validate",
"value",
"valued",
"values",
"via",
"view",
"when",
"where",
"while",
"with",
"within",
"work",
"xor"
];
// Taken from http://developer.couchbase.com/documentation/server/4.5/n1ql/n1ql-language-reference/literals.html
const LITERALS = [
"true",
"false",
"null",
"missing|5"
];
// Taken from http://developer.couchbase.com/documentation/server/4.5/n1ql/n1ql-language-reference/functions.html
const BUILT_INS = [
"array_agg",
"array_append",
"array_concat",
"array_contains",
"array_count",
"array_distinct",
"array_ifnull",
"array_length",
"array_max",
"array_min",
"array_position",
"array_prepend",
"array_put",
"array_range",
"array_remove",
"array_repeat",
"array_replace",
"array_reverse",
"array_sort",
"array_sum",
"avg",
"count",
"max",
"min",
"sum",
"greatest",
"least",
"ifmissing",
"ifmissingornull",
"ifnull",
"missingif",
"nullif",
"ifinf",
"ifnan",
"ifnanorinf",
"naninf",
"neginfif",
"posinfif",
"clock_millis",
"clock_str",
"date_add_millis",
"date_add_str",
"date_diff_millis",
"date_diff_str",
"date_part_millis",
"date_part_str",
"date_trunc_millis",
"date_trunc_str",
"duration_to_str",
"millis",
"str_to_millis",
"millis_to_str",
"millis_to_utc",
"millis_to_zone_name",
"now_millis",
"now_str",
"str_to_duration",
"str_to_utc",
"str_to_zone_name",
"decode_json",
"encode_json",
"encoded_size",
"poly_length",
"base64",
"base64_encode",
"base64_decode",
"meta",
"uuid",
"abs",
"acos",
"asin",
"atan",
"atan2",
"ceil",
"cos",
"degrees",
"e",
"exp",
"ln",
"log",
"floor",
"pi",
"power",
"radians",
"random",
"round",
"sign",
"sin",
"sqrt",
"tan",
"trunc",
"object_length",
"object_names",
"object_pairs",
"object_inner_pairs",
"object_values",
"object_inner_values",
"object_add",
"object_put",
"object_remove",
"object_unwrap",
"regexp_contains",
"regexp_like",
"regexp_position",
"regexp_replace",
"contains",
"initcap",
"length",
"lower",
"ltrim",
"position",
"repeat",
"replace",
"rtrim",
"split",
"substr",
"title",
"trim",
"upper",
"isarray",
"isatom",
"isboolean",
"isnumber",
"isobject",
"isstring",
"type",
"toarray",
"toatom",
"toboolean",
"tonumber",
"toobject",
"tostring"
];
return {
name: 'N1QL',
case_insensitive: true,
contains: [
{
beginKeywords:
'build create index delete drop explain infer|10 insert merge prepare select update upsert|10',
end: /;/,
keywords: {
keyword: KEYWORDS,
literal: LITERALS,
built_in: BUILT_INS
},
contains: [
{
className: 'string',
begin: '\'',
end: '\'',
contains: [ hljs.BACKSLASH_ESCAPE ]
},
{
className: 'string',
begin: '"',
end: '"',
contains: [ hljs.BACKSLASH_ESCAPE ]
},
{
className: 'symbol',
begin: '`',
end: '`',
contains: [ hljs.BACKSLASH_ESCAPE ]
},
hljs.C_NUMBER_MODE,
hljs.C_BLOCK_COMMENT_MODE
]
},
hljs.C_BLOCK_COMMENT_MODE
]
};
}
return n1ql;
})();
hljs.registerLanguage('n1ql', hljsGrammar);
})();/*! `nestedtext` grammar compiled for Highlight.js 11.11.1 */
(function(){
var hljsGrammar = (function () {
'use strict';
/*
Language: NestedText
Description: NestedText is a file format for holding data that is to be entered, edited, or viewed by people.
Website: https://nestedtext.org/
Category: config
*/
/** @type LanguageFn */
function nestedtext(hljs) {
const NESTED = {
match: [
/^\s*(?=\S)/, // have to look forward here to avoid polynomial backtracking
/[^:]+/,
/:\s*/,
/$/
],
className: {
2: "attribute",
3: "punctuation"
}
};
const DICTIONARY_ITEM = {
match: [
/^\s*(?=\S)/, // have to look forward here to avoid polynomial backtracking
/[^:]*[^: ]/,
/[ ]*:/,
/[ ]/,
/.*$/
],
className: {
2: "attribute",
3: "punctuation",
5: "string"
}
};
const STRING = {
match: [
/^\s*/,
/>/,
/[ ]/,
/.*$/
],
className: {
2: "punctuation",
4: "string"
}
};
const LIST_ITEM = {
variants: [
{ match: [
/^\s*/,
/-/,
/[ ]/,
/.*$/
] },
{ match: [
/^\s*/,
/-$/
] }
],
className: {
2: "bullet",
4: "string"
}
};
return {
name: 'Nested Text',
aliases: [ 'nt' ],
contains: [
hljs.inherit(hljs.HASH_COMMENT_MODE, {
begin: /^\s*(?=#)/,
excludeBegin: true
}),
LIST_ITEM,
STRING,
NESTED,
DICTIONARY_ITEM
]
};
}
return nestedtext;
})();
hljs.registerLanguage('nestedtext', hljsGrammar);
})();/*! `nginx` grammar compiled for Highlight.js 11.11.1 */
(function(){
var hljsGrammar = (function () {
'use strict';
/*
Language: Nginx config
Author: Peter Leonov
Contributors: Ivan Sagalaev
Category: config, web
Website: https://www.nginx.com
*/
/** @type LanguageFn */
function nginx(hljs) {
const regex = hljs.regex;
const VAR = {
className: 'variable',
variants: [
{ begin: /\$\d+/ },
{ begin: /\$\{\w+\}/ },
{ begin: regex.concat(/[$@]/, hljs.UNDERSCORE_IDENT_RE) }
]
};
const LITERALS = [
"on",
"off",
"yes",
"no",
"true",
"false",
"none",
"blocked",
"debug",
"info",
"notice",
"warn",
"error",
"crit",
"select",
"break",
"last",
"permanent",
"redirect",
"kqueue",
"rtsig",
"epoll",
"poll",
"/dev/poll"
];
const DEFAULT = {
endsWithParent: true,
keywords: {
$pattern: /[a-z_]{2,}|\/dev\/poll/,
literal: LITERALS
},
relevance: 0,
illegal: '=>',
contains: [
hljs.HASH_COMMENT_MODE,
{
className: 'string',
contains: [
hljs.BACKSLASH_ESCAPE,
VAR
],
variants: [
{
begin: /"/,
end: /"/
},
{
begin: /'/,
end: /'/
}
]
},
// this swallows entire URLs to avoid detecting numbers within
{
begin: '([a-z]+):/',
end: '\\s',
endsWithParent: true,
excludeEnd: true,
contains: [ VAR ]
},
{
className: 'regexp',
contains: [
hljs.BACKSLASH_ESCAPE,
VAR
],
variants: [
{
begin: "\\s\\^",
end: "\\s|\\{|;",
returnEnd: true
},
// regexp locations (~, ~*)
{
begin: "~\\*?\\s+",
end: "\\s|\\{|;",
returnEnd: true
},
// *.example.com
{ begin: "\\*(\\.[a-z\\-]+)+" },
// sub.example.*
{ begin: "([a-z\\-]+\\.)+\\*" }
]
},
// IP
{
className: 'number',
begin: '\\b\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}(:\\d{1,5})?\\b'
},
// units
{
className: 'number',
begin: '\\b\\d+[kKmMgGdshdwy]?\\b',
relevance: 0
},
VAR
]
};
return {
name: 'Nginx config',
aliases: [ 'nginxconf' ],
contains: [
hljs.HASH_COMMENT_MODE,
{
beginKeywords: "upstream location",
end: /;|\{/,
contains: DEFAULT.contains,
keywords: { section: "upstream location" }
},
{
className: 'section',
begin: regex.concat(hljs.UNDERSCORE_IDENT_RE + regex.lookahead(/\s+\{/)),
relevance: 0
},
{
begin: regex.lookahead(hljs.UNDERSCORE_IDENT_RE + '\\s'),
end: ';|\\{',
contains: [
{
className: 'attribute',
begin: hljs.UNDERSCORE_IDENT_RE,
starts: DEFAULT
}
],
relevance: 0
}
],
illegal: '[^\\s\\}\\{]'
};
}
return nginx;
})();
hljs.registerLanguage('nginx', hljsGrammar);
})();/*! `nim` grammar compiled for Highlight.js 11.11.1 */
(function(){
var hljsGrammar = (function () {
'use strict';
/*
Language: Nim
Description: Nim is a statically typed compiled systems programming language.
Website: https://nim-lang.org
Category: system
*/
function nim(hljs) {
const TYPES = [
"int",
"int8",
"int16",
"int32",
"int64",
"uint",
"uint8",
"uint16",
"uint32",
"uint64",
"float",
"float32",
"float64",
"bool",
"char",
"string",
"cstring",
"pointer",
"expr",
"stmt",
"void",
"auto",
"any",
"range",
"array",
"openarray",
"varargs",
"seq",
"set",
"clong",
"culong",
"cchar",
"cschar",
"cshort",
"cint",
"csize",
"clonglong",
"cfloat",
"cdouble",
"clongdouble",
"cuchar",
"cushort",
"cuint",
"culonglong",
"cstringarray",
"semistatic"
];
const KEYWORDS = [
"addr",
"and",
"as",
"asm",
"bind",
"block",
"break",
"case",
"cast",
"concept",
"const",
"continue",
"converter",
"defer",
"discard",
"distinct",
"div",
"do",
"elif",
"else",
"end",
"enum",
"except",
"export",
"finally",
"for",
"from",
"func",
"generic",
"guarded",
"if",
"import",
"in",
"include",
"interface",
"is",
"isnot",
"iterator",
"let",
"macro",
"method",
"mixin",
"mod",
"nil",
"not",
"notin",
"object",
"of",
"or",
"out",
"proc",
"ptr",
"raise",
"ref",
"return",
"shared",
"shl",
"shr",
"static",
"template",
"try",
"tuple",
"type",
"using",
"var",
"when",
"while",
"with",
"without",
"xor",
"yield"
];
const BUILT_INS = [
"stdin",
"stdout",
"stderr",
"result"
];
const LITERALS = [
"true",
"false"
];
return {
name: 'Nim',
keywords: {
keyword: KEYWORDS,
literal: LITERALS,
type: TYPES,
built_in: BUILT_INS
},
contains: [
{
className: 'meta', // Actually pragma
begin: /\{\./,
end: /\.\}/,
relevance: 10
},
{
className: 'string',
begin: /[a-zA-Z]\w*"/,
end: /"/,
contains: [ { begin: /""/ } ]
},
{
className: 'string',
begin: /([a-zA-Z]\w*)?"""/,
end: /"""/
},
hljs.QUOTE_STRING_MODE,
{
className: 'type',
begin: /\b[A-Z]\w+\b/,
relevance: 0
},
{
className: 'number',
relevance: 0,
variants: [
{ begin: /\b(0[xX][0-9a-fA-F][_0-9a-fA-F]*)('?[iIuU](8|16|32|64))?/ },
{ begin: /\b(0o[0-7][_0-7]*)('?[iIuUfF](8|16|32|64))?/ },
{ begin: /\b(0(b|B)[01][_01]*)('?[iIuUfF](8|16|32|64))?/ },
{ begin: /\b(\d[_\d]*)('?[iIuUfF](8|16|32|64))?/ }
]
},
hljs.HASH_COMMENT_MODE
]
};
}
return nim;
})();
hljs.registerLanguage('nim', hljsGrammar);
})();/*! `nix` grammar compiled for Highlight.js 11.11.1 */
(function(){
var hljsGrammar = (function () {
'use strict';
/*
Language: Nix
Author: Domen Kožar
Description: Nix functional language
Website: http://nixos.org/nix
Category: system
*/
/** @type LanguageFn */
function nix(hljs) {
const regex = hljs.regex;
const KEYWORDS = {
keyword: [
"assert",
"else",
"if",
"in",
"inherit",
"let",
"or",
"rec",
"then",
"with",
],
literal: [
"true",
"false",
"null",
],
built_in: [
// toplevel builtins
"abort",
"baseNameOf",
"builtins",
"derivation",
"derivationStrict",
"dirOf",
"fetchGit",
"fetchMercurial",
"fetchTarball",
"fetchTree",
"fromTOML",
"import",
"isNull",
"map",
"placeholder",
"removeAttrs",
"scopedImport",
"throw",
"toString",
],
};
const BUILTINS = {
scope: 'built_in',
match: regex.either(...[
"abort",
"add",
"addDrvOutputDependencies",
"addErrorContext",
"all",
"any",
"appendContext",
"attrNames",
"attrValues",
"baseNameOf",
"bitAnd",
"bitOr",
"bitXor",
"break",
"builtins",
"catAttrs",
"ceil",
"compareVersions",
"concatLists",
"concatMap",
"concatStringsSep",
"convertHash",
"currentSystem",
"currentTime",
"deepSeq",
"derivation",
"derivationStrict",
"dirOf",
"div",
"elem",
"elemAt",
"false",
"fetchGit",
"fetchMercurial",
"fetchTarball",
"fetchTree",
"fetchurl",
"filter",
"filterSource",
"findFile",
"flakeRefToString",
"floor",
"foldl'",
"fromJSON",
"fromTOML",
"functionArgs",
"genList",
"genericClosure",
"getAttr",
"getContext",
"getEnv",
"getFlake",
"groupBy",
"hasAttr",
"hasContext",
"hashFile",
"hashString",
"head",
"import",
"intersectAttrs",
"isAttrs",
"isBool",
"isFloat",
"isFunction",
"isInt",
"isList",
"isNull",
"isPath",
"isString",
"langVersion",
"length",
"lessThan",
"listToAttrs",
"map",
"mapAttrs",
"match",
"mul",
"nixPath",
"nixVersion",
"null",
"parseDrvName",
"parseFlakeRef",
"partition",
"path",
"pathExists",
"placeholder",
"readDir",
"readFile",
"readFileType",
"removeAttrs",
"replaceStrings",
"scopedImport",
"seq",
"sort",
"split",
"splitVersion",
"storeDir",
"storePath",
"stringLength",
"sub",
"substring",
"tail",
"throw",
"toFile",
"toJSON",
"toPath",
"toString",
"toXML",
"trace",
"traceVerbose",
"true",
"tryEval",
"typeOf",
"unsafeDiscardOutputDependency",
"unsafeDiscardStringContext",
"unsafeGetAttrPos",
"warn",
"zipAttrsWith",
].map(b => `builtins\\.${b}`)),
relevance: 10,
};
const IDENTIFIER_REGEX = '[A-Za-z_][A-Za-z0-9_\'-]*';
const LOOKUP_PATH = {
scope: 'symbol',
match: new RegExp(`<${IDENTIFIER_REGEX}(/${IDENTIFIER_REGEX})*>`),
};
const PATH_PIECE = "[A-Za-z0-9_\\+\\.-]+";
const PATH = {
scope: 'symbol',
match: new RegExp(`(\\.\\.|\\.|~)?/(${PATH_PIECE})?(/${PATH_PIECE})*(?=[\\s;])`),
};
const OPERATOR_WITHOUT_MINUS_REGEX = regex.either(...[
'==',
'=',
'\\+\\+',
'\\+',
'<=',
'<\\|',
'<',
'>=',
'>',
'->',
'//',
'/',
'!=',
'!',
'\\|\\|',
'\\|>',
'\\?',
'\\*',
'&&',
]);
const OPERATOR = {
scope: 'operator',
match: regex.concat(OPERATOR_WITHOUT_MINUS_REGEX, /(?!-)/),
relevance: 0,
};
// '-' is being handled by itself to ensure we are able to tell the difference
// between a dash in an identifier and a minus operator
const NUMBER = {
scope: 'number',
match: new RegExp(`${hljs.NUMBER_RE}(?!-)`),
relevance: 0,
};
const MINUS_OPERATOR = {
variants: [
{
scope: 'operator',
beforeMatch: /\s/,
// The (?!>) is used to ensure this doesn't collide with the '->' operator
begin: /-(?!>)/,
},
{
begin: [
new RegExp(`${hljs.NUMBER_RE}`),
/-/,
/(?!>)/,
],
beginScope: {
1: 'number',
2: 'operator'
},
},
{
begin: [
OPERATOR_WITHOUT_MINUS_REGEX,
/-/,
/(?!>)/,
],
beginScope: {
1: 'operator',
2: 'operator'
},
},
],
relevance: 0,
};
const ATTRS = {
beforeMatch: /(^|\{|;)\s*/,
begin: new RegExp(`${IDENTIFIER_REGEX}(\\.${IDENTIFIER_REGEX})*\\s*=(?!=)`),
returnBegin: true,
relevance: 0,
contains: [
{
scope: 'attr',
match: new RegExp(`${IDENTIFIER_REGEX}(\\.${IDENTIFIER_REGEX})*(?=\\s*=)`),
relevance: 0.2,
}
],
};
const NORMAL_ESCAPED_DOLLAR = {
scope: 'char.escape',
match: /\\\$/,
};
const INDENTED_ESCAPED_DOLLAR = {
scope: 'char.escape',
match: /''\$/,
};
const ANTIQUOTE = {
scope: 'subst',
begin: /\$\{/,
end: /\}/,
keywords: KEYWORDS,
};
const ESCAPED_DOUBLEQUOTE = {
scope: 'char.escape',
match: /'''/,
};
const ESCAPED_LITERAL = {
scope: 'char.escape',
match: /\\(?!\$)./,
};
const STRING = {
scope: 'string',
variants: [
{
begin: "''",
end: "''",
contains: [
INDENTED_ESCAPED_DOLLAR,
ANTIQUOTE,
ESCAPED_DOUBLEQUOTE,
ESCAPED_LITERAL,
],
},
{
begin: '"',
end: '"',
contains: [
NORMAL_ESCAPED_DOLLAR,
ANTIQUOTE,
ESCAPED_LITERAL,
],
},
],
};
const FUNCTION_PARAMS = {
scope: 'params',
match: new RegExp(`${IDENTIFIER_REGEX}\\s*:(?=\\s)`),
};
const EXPRESSIONS = [
NUMBER,
hljs.HASH_COMMENT_MODE,
hljs.C_BLOCK_COMMENT_MODE,
hljs.COMMENT(
/\/\*\*(?!\/)/,
/\*\//,
{
subLanguage: 'markdown',
relevance: 0
}
),
BUILTINS,
STRING,
LOOKUP_PATH,
PATH,
FUNCTION_PARAMS,
ATTRS,
MINUS_OPERATOR,
OPERATOR,
];
ANTIQUOTE.contains = EXPRESSIONS;
const REPL = [
{
scope: 'meta.prompt',
match: /^nix-repl>(?=\s)/,
relevance: 10,
},
{
scope: 'meta',
beforeMatch: /\s+/,
begin: /:([a-z]+|\?)/,
},
];
return {
name: 'Nix',
aliases: [ "nixos" ],
keywords: KEYWORDS,
contains: EXPRESSIONS.concat(REPL),
};
}
return nix;
})();
hljs.registerLanguage('nix', hljsGrammar);
})();/*! `node-repl` grammar compiled for Highlight.js 11.11.1 */
(function(){
var hljsGrammar = (function () {
'use strict';
/*
Language: Node REPL
Requires: javascript.js
Author: Marat Nagayev
Category: scripting
*/
/** @type LanguageFn */
function nodeRepl(hljs) {
return {
name: 'Node REPL',
contains: [
{
className: 'meta.prompt',
starts: {
// a space separates the REPL prefix from the actual code
// this is purely for cleaner HTML output
end: / |$/,
starts: {
end: '$',
subLanguage: 'javascript'
}
},
variants: [
{ begin: /^>(?=[ ]|$)/ },
{ begin: /^\.\.\.(?=[ ]|$)/ }
]
}
]
};
}
return nodeRepl;
})();
hljs.registerLanguage('node-repl', hljsGrammar);
})();/*! `nsis` grammar compiled for Highlight.js 11.11.1 */
(function(){
var hljsGrammar = (function () {
'use strict';
/*
Language: NSIS
Description: Nullsoft Scriptable Install System
Author: Jan T. Sott
Website: https://nsis.sourceforge.io/Main_Page
Category: scripting
*/
function nsis(hljs) {
const regex = hljs.regex;
const LANGUAGE_CONSTANTS = [
"ADMINTOOLS",
"APPDATA",
"CDBURN_AREA",
"CMDLINE",
"COMMONFILES32",
"COMMONFILES64",
"COMMONFILES",
"COOKIES",
"DESKTOP",
"DOCUMENTS",
"EXEDIR",
"EXEFILE",
"EXEPATH",
"FAVORITES",
"FONTS",
"HISTORY",
"HWNDPARENT",
"INSTDIR",
"INTERNET_CACHE",
"LANGUAGE",
"LOCALAPPDATA",
"MUSIC",
"NETHOOD",
"OUTDIR",
"PICTURES",
"PLUGINSDIR",
"PRINTHOOD",
"PROFILE",
"PROGRAMFILES32",
"PROGRAMFILES64",
"PROGRAMFILES",
"QUICKLAUNCH",
"RECENT",
"RESOURCES_LOCALIZED",
"RESOURCES",
"SENDTO",
"SMPROGRAMS",
"SMSTARTUP",
"STARTMENU",
"SYSDIR",
"TEMP",
"TEMPLATES",
"VIDEOS",
"WINDIR"
];
const PARAM_NAMES = [
"ARCHIVE",
"FILE_ATTRIBUTE_ARCHIVE",
"FILE_ATTRIBUTE_NORMAL",
"FILE_ATTRIBUTE_OFFLINE",
"FILE_ATTRIBUTE_READONLY",
"FILE_ATTRIBUTE_SYSTEM",
"FILE_ATTRIBUTE_TEMPORARY",
"HKCR",
"HKCU",
"HKDD",
"HKEY_CLASSES_ROOT",
"HKEY_CURRENT_CONFIG",
"HKEY_CURRENT_USER",
"HKEY_DYN_DATA",
"HKEY_LOCAL_MACHINE",
"HKEY_PERFORMANCE_DATA",
"HKEY_USERS",
"HKLM",
"HKPD",
"HKU",
"IDABORT",
"IDCANCEL",
"IDIGNORE",
"IDNO",
"IDOK",
"IDRETRY",
"IDYES",
"MB_ABORTRETRYIGNORE",
"MB_DEFBUTTON1",
"MB_DEFBUTTON2",
"MB_DEFBUTTON3",
"MB_DEFBUTTON4",
"MB_ICONEXCLAMATION",
"MB_ICONINFORMATION",
"MB_ICONQUESTION",
"MB_ICONSTOP",
"MB_OK",
"MB_OKCANCEL",
"MB_RETRYCANCEL",
"MB_RIGHT",
"MB_RTLREADING",
"MB_SETFOREGROUND",
"MB_TOPMOST",
"MB_USERICON",
"MB_YESNO",
"NORMAL",
"OFFLINE",
"READONLY",
"SHCTX",
"SHELL_CONTEXT",
"SYSTEM|TEMPORARY",
];
const COMPILER_FLAGS = [
"addincludedir",
"addplugindir",
"appendfile",
"assert",
"cd",
"define",
"delfile",
"echo",
"else",
"endif",
"error",
"execute",
"finalize",
"getdllversion",
"gettlbversion",
"if",
"ifdef",
"ifmacrodef",
"ifmacrondef",
"ifndef",
"include",
"insertmacro",
"macro",
"macroend",
"makensis",
"packhdr",
"searchparse",
"searchreplace",
"system",
"tempfile",
"undef",
"uninstfinalize",
"verbose",
"warning",
];
const CONSTANTS = {
className: 'variable.constant',
begin: regex.concat(/\$/, regex.either(...LANGUAGE_CONSTANTS))
};
const DEFINES = {
// ${defines}
className: 'variable',
begin: /\$+\{[\!\w.:-]+\}/
};
const VARIABLES = {
// $variables
className: 'variable',
begin: /\$+\w[\w\.]*/,
illegal: /\(\)\{\}/
};
const LANGUAGES = {
// $(language_strings)
className: 'variable',
begin: /\$+\([\w^.:!-]+\)/
};
const PARAMETERS = {
// command parameters
className: 'params',
begin: regex.either(...PARAM_NAMES)
};
const COMPILER = {
// !compiler_flags
className: 'keyword',
begin: regex.concat(
/!/,
regex.either(...COMPILER_FLAGS)
)
};
const ESCAPE_CHARS = {
// $\n, $\r, $\t, $$
className: 'char.escape',
begin: /\$(\\[nrt]|\$)/
};
const PLUGINS = {
// plug::ins
className: 'title.function',
begin: /\w+::\w+/
};
const STRING = {
className: 'string',
variants: [
{
begin: '"',
end: '"'
},
{
begin: '\'',
end: '\''
},
{
begin: '`',
end: '`'
}
],
illegal: /\n/,
contains: [
ESCAPE_CHARS,
CONSTANTS,
DEFINES,
VARIABLES,
LANGUAGES
]
};
const KEYWORDS = [
"Abort",
"AddBrandingImage",
"AddSize",
"AllowRootDirInstall",
"AllowSkipFiles",
"AutoCloseWindow",
"BGFont",
"BGGradient",
"BrandingText",
"BringToFront",
"Call",
"CallInstDLL",
"Caption",
"ChangeUI",
"CheckBitmap",
"ClearErrors",
"CompletedText",
"ComponentText",
"CopyFiles",
"CRCCheck",
"CreateDirectory",
"CreateFont",
"CreateShortCut",
"Delete",
"DeleteINISec",
"DeleteINIStr",
"DeleteRegKey",
"DeleteRegValue",
"DetailPrint",
"DetailsButtonText",
"DirText",
"DirVar",
"DirVerify",
"EnableWindow",
"EnumRegKey",
"EnumRegValue",
"Exch",
"Exec",
"ExecShell",
"ExecShellWait",
"ExecWait",
"ExpandEnvStrings",
"File",
"FileBufSize",
"FileClose",
"FileErrorText",
"FileOpen",
"FileRead",
"FileReadByte",
"FileReadUTF16LE",
"FileReadWord",
"FileWriteUTF16LE",
"FileSeek",
"FileWrite",
"FileWriteByte",
"FileWriteWord",
"FindClose",
"FindFirst",
"FindNext",
"FindWindow",
"FlushINI",
"GetCurInstType",
"GetCurrentAddress",
"GetDlgItem",
"GetDLLVersion",
"GetDLLVersionLocal",
"GetErrorLevel",
"GetFileTime",
"GetFileTimeLocal",
"GetFullPathName",
"GetFunctionAddress",
"GetInstDirError",
"GetKnownFolderPath",
"GetLabelAddress",
"GetTempFileName",
"GetWinVer",
"Goto",
"HideWindow",
"Icon",
"IfAbort",
"IfErrors",
"IfFileExists",
"IfRebootFlag",
"IfRtlLanguage",
"IfShellVarContextAll",
"IfSilent",
"InitPluginsDir",
"InstallButtonText",
"InstallColors",
"InstallDir",
"InstallDirRegKey",
"InstProgressFlags",
"InstType",
"InstTypeGetText",
"InstTypeSetText",
"Int64Cmp",
"Int64CmpU",
"Int64Fmt",
"IntCmp",
"IntCmpU",
"IntFmt",
"IntOp",
"IntPtrCmp",
"IntPtrCmpU",
"IntPtrOp",
"IsWindow",
"LangString",
"LicenseBkColor",
"LicenseData",
"LicenseForceSelection",
"LicenseLangString",
"LicenseText",
"LoadAndSetImage",
"LoadLanguageFile",
"LockWindow",
"LogSet",
"LogText",
"ManifestDPIAware",
"ManifestLongPathAware",
"ManifestMaxVersionTested",
"ManifestSupportedOS",
"MessageBox",
"MiscButtonText",
"Name|0",
"Nop",
"OutFile",
"Page",
"PageCallbacks",
"PEAddResource",
"PEDllCharacteristics",
"PERemoveResource",
"PESubsysVer",
"Pop",
"Push",
"Quit",
"ReadEnvStr",
"ReadINIStr",
"ReadRegDWORD",
"ReadRegStr",
"Reboot",
"RegDLL",
"Rename",
"RequestExecutionLevel",
"ReserveFile",
"Return",
"RMDir",
"SearchPath",
"SectionGetFlags",
"SectionGetInstTypes",
"SectionGetSize",
"SectionGetText",
"SectionIn",
"SectionSetFlags",
"SectionSetInstTypes",
"SectionSetSize",
"SectionSetText",
"SendMessage",
"SetAutoClose",
"SetBrandingImage",
"SetCompress",
"SetCompressor",
"SetCompressorDictSize",
"SetCtlColors",
"SetCurInstType",
"SetDatablockOptimize",
"SetDateSave",
"SetDetailsPrint",
"SetDetailsView",
"SetErrorLevel",
"SetErrors",
"SetFileAttributes",
"SetFont",
"SetOutPath",
"SetOverwrite",
"SetRebootFlag",
"SetRegView",
"SetShellVarContext",
"SetSilent",
"ShowInstDetails",
"ShowUninstDetails",
"ShowWindow",
"SilentInstall",
"SilentUnInstall",
"Sleep",
"SpaceTexts",
"StrCmp",
"StrCmpS",
"StrCpy",
"StrLen",
"SubCaption",
"Unicode",
"UninstallButtonText",
"UninstallCaption",
"UninstallIcon",
"UninstallSubCaption",
"UninstallText",
"UninstPage",
"UnRegDLL",
"Var",
"VIAddVersionKey",
"VIFileVersion",
"VIProductVersion",
"WindowIcon",
"WriteINIStr",
"WriteRegBin",
"WriteRegDWORD",
"WriteRegExpandStr",
"WriteRegMultiStr",
"WriteRegNone",
"WriteRegStr",
"WriteUninstaller",
"XPStyle"
];
const LITERALS = [
"admin",
"all",
"auto",
"both",
"bottom",
"bzip2",
"colored",
"components",
"current",
"custom",
"directory",
"false",
"force",
"hide",
"highest",
"ifdiff",
"ifnewer",
"instfiles",
"lastused",
"leave",
"left",
"license",
"listonly",
"lzma",
"nevershow",
"none",
"normal",
"notset",
"off",
"on",
"open",
"print",
"right",
"show",
"silent",
"silentlog",
"smooth",
"textonly",
"top",
"true",
"try",
"un.components",
"un.custom",
"un.directory",
"un.instfiles",
"un.license",
"uninstConfirm",
"user",
"Win10",
"Win7",
"Win8",
"WinVista",
"zlib"
];
const FUNCTION_DEFINITION = {
match: [
/Function/,
/\s+/,
regex.concat(/(\.)?/, hljs.IDENT_RE)
],
scope: {
1: "keyword",
3: "title.function"
}
};
// Var Custom.Variable.Name.Item
// Var /GLOBAL Custom.Variable.Name.Item
const VARIABLE_NAME_RE = /[A-Za-z][\w.]*/;
const VARIABLE_DEFINITION = {
match: [
/Var/,
/\s+/,
/(?:\/GLOBAL\s+)?/,
VARIABLE_NAME_RE
],
scope: {
1: "keyword",
3: "params",
4: "variable"
}
};
return {
name: 'NSIS',
case_insensitive: true,
keywords: {
keyword: KEYWORDS,
literal: LITERALS
},
contains: [
hljs.HASH_COMMENT_MODE,
hljs.C_BLOCK_COMMENT_MODE,
hljs.COMMENT(
';',
'$',
{ relevance: 0 }
),
VARIABLE_DEFINITION,
FUNCTION_DEFINITION,
{ beginKeywords: 'Function PageEx Section SectionGroup FunctionEnd SectionEnd', },
STRING,
COMPILER,
DEFINES,
VARIABLES,
LANGUAGES,
PARAMETERS,
PLUGINS,
hljs.NUMBER_MODE
]
};
}
return nsis;
})();
hljs.registerLanguage('nsis', hljsGrammar);
})();/*! `objectivec` grammar compiled for Highlight.js 11.11.1 */
(function(){
var hljsGrammar = (function () {
'use strict';
/*
Language: Objective-C
Author: Valerii Hiora
Contributors: Angel G. Olloqui , Matt Diephouse , Andrew Farmer , Minh Nguyễn
Website: https://developer.apple.com/documentation/objectivec
Category: common
*/
function objectivec(hljs) {
const API_CLASS = {
className: 'built_in',
begin: '\\b(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)\\w+'
};
const IDENTIFIER_RE = /[a-zA-Z@][a-zA-Z0-9_]*/;
const TYPES = [
"int",
"float",
"char",
"unsigned",
"signed",
"short",
"long",
"double",
"wchar_t",
"unichar",
"void",
"bool",
"BOOL",
"id|0",
"_Bool"
];
const KWS = [
"while",
"export",
"sizeof",
"typedef",
"const",
"struct",
"for",
"union",
"volatile",
"static",
"mutable",
"if",
"do",
"return",
"goto",
"enum",
"else",
"break",
"extern",
"asm",
"case",
"default",
"register",
"explicit",
"typename",
"switch",
"continue",
"inline",
"readonly",
"assign",
"readwrite",
"self",
"@synchronized",
"id",
"typeof",
"nonatomic",
"IBOutlet",
"IBAction",
"strong",
"weak",
"copy",
"in",
"out",
"inout",
"bycopy",
"byref",
"oneway",
"__strong",
"__weak",
"__block",
"__autoreleasing",
"@private",
"@protected",
"@public",
"@try",
"@property",
"@end",
"@throw",
"@catch",
"@finally",
"@autoreleasepool",
"@synthesize",
"@dynamic",
"@selector",
"@optional",
"@required",
"@encode",
"@package",
"@import",
"@defs",
"@compatibility_alias",
"__bridge",
"__bridge_transfer",
"__bridge_retained",
"__bridge_retain",
"__covariant",
"__contravariant",
"__kindof",
"_Nonnull",
"_Nullable",
"_Null_unspecified",
"__FUNCTION__",
"__PRETTY_FUNCTION__",
"__attribute__",
"getter",
"setter",
"retain",
"unsafe_unretained",
"nonnull",
"nullable",
"null_unspecified",
"null_resettable",
"class",
"instancetype",
"NS_DESIGNATED_INITIALIZER",
"NS_UNAVAILABLE",
"NS_REQUIRES_SUPER",
"NS_RETURNS_INNER_POINTER",
"NS_INLINE",
"NS_AVAILABLE",
"NS_DEPRECATED",
"NS_ENUM",
"NS_OPTIONS",
"NS_SWIFT_UNAVAILABLE",
"NS_ASSUME_NONNULL_BEGIN",
"NS_ASSUME_NONNULL_END",
"NS_REFINED_FOR_SWIFT",
"NS_SWIFT_NAME",
"NS_SWIFT_NOTHROW",
"NS_DURING",
"NS_HANDLER",
"NS_ENDHANDLER",
"NS_VALUERETURN",
"NS_VOIDRETURN"
];
const LITERALS = [
"false",
"true",
"FALSE",
"TRUE",
"nil",
"YES",
"NO",
"NULL"
];
const BUILT_INS = [
"dispatch_once_t",
"dispatch_queue_t",
"dispatch_sync",
"dispatch_async",
"dispatch_once"
];
const KEYWORDS = {
"variable.language": [
"this",
"super"
],
$pattern: IDENTIFIER_RE,
keyword: KWS,
literal: LITERALS,
built_in: BUILT_INS,
type: TYPES
};
const CLASS_KEYWORDS = {
$pattern: IDENTIFIER_RE,
keyword: [
"@interface",
"@class",
"@protocol",
"@implementation"
]
};
return {
name: 'Objective-C',
aliases: [
'mm',
'objc',
'obj-c',
'obj-c++',
'objective-c++'
],
keywords: KEYWORDS,
illegal: '',
contains: [
API_CLASS,
hljs.C_LINE_COMMENT_MODE,
hljs.C_BLOCK_COMMENT_MODE,
hljs.C_NUMBER_MODE,
hljs.QUOTE_STRING_MODE,
hljs.APOS_STRING_MODE,
{
className: 'string',
variants: [
{
begin: '@"',
end: '"',
illegal: '\\n',
contains: [ hljs.BACKSLASH_ESCAPE ]
}
]
},
{
className: 'meta',
begin: /#\s*[a-z]+\b/,
end: /$/,
keywords: { keyword:
'if else elif endif define undef warning error line '
+ 'pragma ifdef ifndef include' },
contains: [
{
begin: /\\\n/,
relevance: 0
},
hljs.inherit(hljs.QUOTE_STRING_MODE, { className: 'string' }),
{
className: 'string',
begin: /<.*?>/,
end: /$/,
illegal: '\\n'
},
hljs.C_LINE_COMMENT_MODE,
hljs.C_BLOCK_COMMENT_MODE
]
},
{
className: 'class',
begin: '(' + CLASS_KEYWORDS.keyword.join('|') + ')\\b',
end: /(\{|$)/,
excludeEnd: true,
keywords: CLASS_KEYWORDS,
contains: [ hljs.UNDERSCORE_TITLE_MODE ]
},
{
begin: '\\.' + hljs.UNDERSCORE_IDENT_RE,
relevance: 0
}
]
};
}
return objectivec;
})();
hljs.registerLanguage('objectivec', hljsGrammar);
})();/*! `ocaml` grammar compiled for Highlight.js 11.11.1 */
(function(){
var hljsGrammar = (function () {
'use strict';
/*
Language: OCaml
Author: Mehdi Dogguy
Contributors: Nicolas Braud-Santoni , Mickael Delahaye
Description: OCaml language definition.
Website: https://ocaml.org
Category: functional
*/
function ocaml(hljs) {
/* missing support for heredoc-like string (OCaml 4.0.2+) */
return {
name: 'OCaml',
aliases: [ 'ml' ],
keywords: {
$pattern: '[a-z_]\\w*!?',
keyword:
'and as assert asr begin class constraint do done downto else end '
+ 'exception external for fun function functor if in include '
+ 'inherit! inherit initializer land lazy let lor lsl lsr lxor match method!|10 method '
+ 'mod module mutable new object of open! open or private rec sig struct '
+ 'then to try type val! val virtual when while with '
/* camlp4 */
+ 'parser value',
built_in:
/* built-in types */
'array bool bytes char exn|5 float int int32 int64 list lazy_t|5 nativeint|5 string unit '
/* (some) types in Pervasives */
+ 'in_channel out_channel ref',
literal:
'true false'
},
illegal: /\/\/|>>/,
contains: [
{
className: 'literal',
begin: '\\[(\\|\\|)?\\]|\\(\\)',
relevance: 0
},
hljs.COMMENT(
'\\(\\*',
'\\*\\)',
{ contains: [ 'self' ] }
),
{ /* type variable */
className: 'symbol',
begin: '\'[A-Za-z_](?!\')[\\w\']*'
/* the grammar is ambiguous on how 'a'b should be interpreted but not the compiler */
},
{ /* polymorphic variant */
className: 'type',
begin: '`[A-Z][\\w\']*'
},
{ /* module or constructor */
className: 'type',
begin: '\\b[A-Z][\\w\']*',
relevance: 0
},
{ /* don't color identifiers, but safely catch all identifiers with ' */
begin: '[a-z_]\\w*\'[\\w\']*',
relevance: 0
},
hljs.inherit(hljs.APOS_STRING_MODE, {
className: 'string',
relevance: 0
}),
hljs.inherit(hljs.QUOTE_STRING_MODE, { illegal: null }),
{
className: 'number',
begin:
'\\b(0[xX][a-fA-F0-9_]+[Lln]?|'
+ '0[oO][0-7_]+[Lln]?|'
+ '0[bB][01_]+[Lln]?|'
+ '[0-9][0-9_]*([Lln]|(\\.[0-9_]*)?([eE][-+]?[0-9_]+)?)?)',
relevance: 0
},
{ begin: /->/ // relevance booster
}
]
};
}
return ocaml;
})();
hljs.registerLanguage('ocaml', hljsGrammar);
})();/*! `openscad` grammar compiled for Highlight.js 11.11.1 */
(function(){
var hljsGrammar = (function () {
'use strict';
/*
Language: OpenSCAD
Author: Dan Panzarella
Description: OpenSCAD is a language for the 3D CAD modeling software of the same name.
Website: https://www.openscad.org
Category: scientific
*/
function openscad(hljs) {
const SPECIAL_VARS = {
className: 'keyword',
begin: '\\$(f[asn]|t|vp[rtd]|children)'
};
const LITERALS = {
className: 'literal',
begin: 'false|true|PI|undef'
};
const NUMBERS = {
className: 'number',
begin: '\\b\\d+(\\.\\d+)?(e-?\\d+)?', // adds 1e5, 1e-10
relevance: 0
};
const STRING = hljs.inherit(hljs.QUOTE_STRING_MODE, { illegal: null });
const PREPRO = {
className: 'meta',
keywords: { keyword: 'include use' },
begin: 'include|use <',
end: '>'
};
const PARAMS = {
className: 'params',
begin: '\\(',
end: '\\)',
contains: [
'self',
NUMBERS,
STRING,
SPECIAL_VARS,
LITERALS
]
};
const MODIFIERS = {
begin: '[*!#%]',
relevance: 0
};
const FUNCTIONS = {
className: 'function',
beginKeywords: 'module function',
end: /=|\{/,
contains: [
PARAMS,
hljs.UNDERSCORE_TITLE_MODE
]
};
return {
name: 'OpenSCAD',
aliases: [ 'scad' ],
keywords: {
keyword: 'function module include use for intersection_for if else \\%',
literal: 'false true PI undef',
built_in: 'circle square polygon text sphere cube cylinder polyhedron translate rotate scale resize mirror multmatrix color offset hull minkowski union difference intersection abs sign sin cos tan acos asin atan atan2 floor round ceil ln log pow sqrt exp rands min max concat lookup str chr search version version_num norm cross parent_module echo import import_dxf dxf_linear_extrude linear_extrude rotate_extrude surface projection render children dxf_cross dxf_dim let assign'
},
contains: [
hljs.C_LINE_COMMENT_MODE,
hljs.C_BLOCK_COMMENT_MODE,
NUMBERS,
PREPRO,
STRING,
SPECIAL_VARS,
MODIFIERS,
FUNCTIONS
]
};
}
return openscad;
})();
hljs.registerLanguage('openscad', hljsGrammar);
})();/*! `oxygene` grammar compiled for Highlight.js 11.11.1 */
(function(){
var hljsGrammar = (function () {
'use strict';
/*
Language: Oxygene
Author: Carlo Kok
Description: Oxygene is built on the foundation of Object Pascal, revamped and extended to be a modern language for the twenty-first century.
Website: https://www.elementscompiler.com/elements/default.aspx
Category: build-system
*/
function oxygene(hljs) {
const OXYGENE_KEYWORDS = {
$pattern: /\.?\w+/,
keyword:
'abstract add and array as asc aspect assembly async begin break block by case class concat const copy constructor continue '
+ 'create default delegate desc distinct div do downto dynamic each else empty end ensure enum equals event except exit extension external false '
+ 'final finalize finalizer finally flags for forward from function future global group has if implementation implements implies in index inherited '
+ 'inline interface into invariants is iterator join locked locking loop matching method mod module namespace nested new nil not notify nullable of '
+ 'old on operator or order out override parallel params partial pinned private procedure property protected public queryable raise read readonly '
+ 'record reintroduce remove repeat require result reverse sealed select self sequence set shl shr skip static step soft take then to true try tuple '
+ 'type union unit unsafe until uses using var virtual raises volatile where while with write xor yield await mapped deprecated stdcall cdecl pascal '
+ 'register safecall overload library platform reference packed strict published autoreleasepool selector strong weak unretained'
};
const CURLY_COMMENT = hljs.COMMENT(
/\{/,
/\}/,
{ relevance: 0 }
);
const PAREN_COMMENT = hljs.COMMENT(
'\\(\\*',
'\\*\\)',
{ relevance: 10 }
);
const STRING = {
className: 'string',
begin: '\'',
end: '\'',
contains: [ { begin: '\'\'' } ]
};
const CHAR_STRING = {
className: 'string',
begin: '(#\\d+)+'
};
const FUNCTION = {
beginKeywords: 'function constructor destructor procedure method',
end: '[:;]',
keywords: 'function constructor|10 destructor|10 procedure|10 method|10',
contains: [
hljs.inherit(hljs.TITLE_MODE, { scope: "title.function" }),
{
className: 'params',
begin: '\\(',
end: '\\)',
keywords: OXYGENE_KEYWORDS,
contains: [
STRING,
CHAR_STRING
]
},
CURLY_COMMENT,
PAREN_COMMENT
]
};
const SEMICOLON = {
scope: "punctuation",
match: /;/,
relevance: 0
};
return {
name: 'Oxygene',
case_insensitive: true,
keywords: OXYGENE_KEYWORDS,
illegal: '("|\\$[G-Zg-z]|\\/\\*||=>|->)',
contains: [
CURLY_COMMENT,
PAREN_COMMENT,
hljs.C_LINE_COMMENT_MODE,
STRING,
CHAR_STRING,
hljs.NUMBER_MODE,
FUNCTION,
SEMICOLON
]
};
}
return oxygene;
})();
hljs.registerLanguage('oxygene', hljsGrammar);
})();/*! `parser3` grammar compiled for Highlight.js 11.11.1 */
(function(){
var hljsGrammar = (function () {
'use strict';
/*
Language: Parser3
Requires: xml.js
Author: Oleg Volchkov
Website: https://www.parser.ru/en/
Category: template
*/
function parser3(hljs) {
const CURLY_SUBCOMMENT = hljs.COMMENT(
/\{/,
/\}/,
{ contains: [ 'self' ] }
);
return {
name: 'Parser3',
subLanguage: 'xml',
relevance: 0,
contains: [
hljs.COMMENT('^#', '$'),
hljs.COMMENT(
/\^rem\{/,
/\}/,
{
relevance: 10,
contains: [ CURLY_SUBCOMMENT ]
}
),
{
className: 'meta',
begin: '^@(?:BASE|USE|CLASS|OPTIONS)$',
relevance: 10
},
{
className: 'title',
begin: '@[\\w\\-]+\\[[\\w^;\\-]*\\](?:\\[[\\w^;\\-]*\\])?(?:.*)$'
},
{
className: 'variable',
begin: /\$\{?[\w\-.:]+\}?/
},
{
className: 'keyword',
begin: /\^[\w\-.:]+/
},
{
className: 'number',
begin: '\\^#[0-9a-fA-F]+'
},
hljs.C_NUMBER_MODE
]
};
}
return parser3;
})();
hljs.registerLanguage('parser3', hljsGrammar);
})();/*! `perl` grammar compiled for Highlight.js 11.11.1 */
(function(){
var hljsGrammar = (function () {
'use strict';
/*
Language: Perl
Author: Peter Leonov
Website: https://www.perl.org
Category: common
*/
/** @type LanguageFn */
function perl(hljs) {
const regex = hljs.regex;
const KEYWORDS = [
'abs',
'accept',
'alarm',
'and',
'atan2',
'bind',
'binmode',
'bless',
'break',
'caller',
'chdir',
'chmod',
'chomp',
'chop',
'chown',
'chr',
'chroot',
'class',
'close',
'closedir',
'connect',
'continue',
'cos',
'crypt',
'dbmclose',
'dbmopen',
'defined',
'delete',
'die',
'do',
'dump',
'each',
'else',
'elsif',
'endgrent',
'endhostent',
'endnetent',
'endprotoent',
'endpwent',
'endservent',
'eof',
'eval',
'exec',
'exists',
'exit',
'exp',
'fcntl',
'field',
'fileno',
'flock',
'for',
'foreach',
'fork',
'format',
'formline',
'getc',
'getgrent',
'getgrgid',
'getgrnam',
'gethostbyaddr',
'gethostbyname',
'gethostent',
'getlogin',
'getnetbyaddr',
'getnetbyname',
'getnetent',
'getpeername',
'getpgrp',
'getpriority',
'getprotobyname',
'getprotobynumber',
'getprotoent',
'getpwent',
'getpwnam',
'getpwuid',
'getservbyname',
'getservbyport',
'getservent',
'getsockname',
'getsockopt',
'given',
'glob',
'gmtime',
'goto',
'grep',
'gt',
'hex',
'if',
'index',
'int',
'ioctl',
'join',
'keys',
'kill',
'last',
'lc',
'lcfirst',
'length',
'link',
'listen',
'local',
'localtime',
'log',
'lstat',
'lt',
'ma',
'map',
'method',
'mkdir',
'msgctl',
'msgget',
'msgrcv',
'msgsnd',
'my',
'ne',
'next',
'no',
'not',
'oct',
'open',
'opendir',
'or',
'ord',
'our',
'pack',
'package',
'pipe',
'pop',
'pos',
'print',
'printf',
'prototype',
'push',
'q|0',
'qq',
'quotemeta',
'qw',
'qx',
'rand',
'read',
'readdir',
'readline',
'readlink',
'readpipe',
'recv',
'redo',
'ref',
'rename',
'require',
'reset',
'return',
'reverse',
'rewinddir',
'rindex',
'rmdir',
'say',
'scalar',
'seek',
'seekdir',
'select',
'semctl',
'semget',
'semop',
'send',
'setgrent',
'sethostent',
'setnetent',
'setpgrp',
'setpriority',
'setprotoent',
'setpwent',
'setservent',
'setsockopt',
'shift',
'shmctl',
'shmget',
'shmread',
'shmwrite',
'shutdown',
'sin',
'sleep',
'socket',
'socketpair',
'sort',
'splice',
'split',
'sprintf',
'sqrt',
'srand',
'stat',
'state',
'study',
'sub',
'substr',
'symlink',
'syscall',
'sysopen',
'sysread',
'sysseek',
'system',
'syswrite',
'tell',
'telldir',
'tie',
'tied',
'time',
'times',
'tr',
'truncate',
'uc',
'ucfirst',
'umask',
'undef',
'unless',
'unlink',
'unpack',
'unshift',
'untie',
'until',
'use',
'utime',
'values',
'vec',
'wait',
'waitpid',
'wantarray',
'warn',
'when',
'while',
'write',
'x|0',
'xor',
'y|0'
];
// https://perldoc.perl.org/perlre#Modifiers
const REGEX_MODIFIERS = /[dualxmsipngr]{0,12}/; // aa and xx are valid, making max length 12
const PERL_KEYWORDS = {
$pattern: /[\w.]+/,
keyword: KEYWORDS.join(" ")
};
const SUBST = {
className: 'subst',
begin: '[$@]\\{',
end: '\\}',
keywords: PERL_KEYWORDS
};
const METHOD = {
begin: /->\{/,
end: /\}/
// contains defined later
};
const ATTR = {
scope: 'attr',
match: /\s+:\s*\w+(\s*\(.*?\))?/,
};
const VAR = {
scope: 'variable',
variants: [
{ begin: /\$\d/ },
{ begin: regex.concat(
/[$%@](?!")(\^\w\b|#\w+(::\w+)*|\{\w+\}|\w+(::\w*)*)/,
// negative look-ahead tries to avoid matching patterns that are not
// Perl at all like $ident$, @ident@, etc.
`(?![A-Za-z])(?![@$%])`
)
},
{
// Only $= is a special Perl variable and one can't declare @= or %=.
begin: /[$%@](?!")[^\s\w{=]|\$=/,
relevance: 0
}
],
contains: [ ATTR ],
};
const NUMBER = {
className: 'number',
variants: [
// decimal numbers:
// include the case where a number starts with a dot (eg. .9), and
// the leading 0? avoids mixing the first and second match on 0.x cases
{ match: /0?\.[0-9][0-9_]+\b/ },
// include the special versioned number (eg. v5.38)
{ match: /\bv?(0|[1-9][0-9_]*(\.[0-9_]+)?|[1-9][0-9_]*)\b/ },
// non-decimal numbers:
{ match: /\b0[0-7][0-7_]*\b/ },
{ match: /\b0x[0-9a-fA-F][0-9a-fA-F_]*\b/ },
{ match: /\b0b[0-1][0-1_]*\b/ },
],
relevance: 0
};
const STRING_CONTAINS = [
hljs.BACKSLASH_ESCAPE,
SUBST,
VAR
];
const REGEX_DELIMS = [
/!/,
/\//,
/\|/,
/\?/,
/'/,
/"/, // valid but infrequent and weird
/#/ // valid but infrequent and weird
];
/**
* @param {string|RegExp} prefix
* @param {string|RegExp} open
* @param {string|RegExp} close
*/
const PAIRED_DOUBLE_RE = (prefix, open, close = '\\1') => {
const middle = (close === '\\1')
? close
: regex.concat(close, open);
return regex.concat(
regex.concat("(?:", prefix, ")"),
open,
/(?:\\.|[^\\\/])*?/,
middle,
/(?:\\.|[^\\\/])*?/,
close,
REGEX_MODIFIERS
);
};
/**
* @param {string|RegExp} prefix
* @param {string|RegExp} open
* @param {string|RegExp} close
*/
const PAIRED_RE = (prefix, open, close) => {
return regex.concat(
regex.concat("(?:", prefix, ")"),
open,
/(?:\\.|[^\\\/])*?/,
close,
REGEX_MODIFIERS
);
};
const PERL_DEFAULT_CONTAINS = [
VAR,
hljs.HASH_COMMENT_MODE,
hljs.COMMENT(
/^=\w/,
/=cut/,
{ endsWithParent: true }
),
METHOD,
{
className: 'string',
contains: STRING_CONTAINS,
variants: [
{
begin: 'q[qwxr]?\\s*\\(',
end: '\\)',
relevance: 5
},
{
begin: 'q[qwxr]?\\s*\\[',
end: '\\]',
relevance: 5
},
{
begin: 'q[qwxr]?\\s*\\{',
end: '\\}',
relevance: 5
},
{
begin: 'q[qwxr]?\\s*\\|',
end: '\\|',
relevance: 5
},
{
begin: 'q[qwxr]?\\s*<',
end: '>',
relevance: 5
},
{
begin: 'qw\\s+q',
end: 'q',
relevance: 5
},
{
begin: '\'',
end: '\'',
contains: [ hljs.BACKSLASH_ESCAPE ]
},
{
begin: '"',
end: '"'
},
{
begin: '`',
end: '`',
contains: [ hljs.BACKSLASH_ESCAPE ]
},
{
begin: /\{\w+\}/,
relevance: 0
},
{
begin: '-?\\w+\\s*=>',
relevance: 0
}
]
},
NUMBER,
{ // regexp container
begin: '(\\/\\/|' + hljs.RE_STARTERS_RE + '|\\b(split|return|print|reverse|grep)\\b)\\s*',
keywords: 'split return print reverse grep',
relevance: 0,
contains: [
hljs.HASH_COMMENT_MODE,
{
className: 'regexp',
variants: [
// allow matching common delimiters
{ begin: PAIRED_DOUBLE_RE("s|tr|y", regex.either(...REGEX_DELIMS, { capture: true })) },
// and then paired delmis
{ begin: PAIRED_DOUBLE_RE("s|tr|y", "\\(", "\\)") },
{ begin: PAIRED_DOUBLE_RE("s|tr|y", "\\[", "\\]") },
{ begin: PAIRED_DOUBLE_RE("s|tr|y", "\\{", "\\}") }
],
relevance: 2
},
{
className: 'regexp',
variants: [
{
// could be a comment in many languages so do not count
// as relevant
begin: /(m|qr)\/\//,
relevance: 0
},
// prefix is optional with /regex/
{ begin: PAIRED_RE("(?:m|qr)?", /\//, /\//) },
// allow matching common delimiters
{ begin: PAIRED_RE("m|qr", regex.either(...REGEX_DELIMS, { capture: true }), /\1/) },
// allow common paired delmins
{ begin: PAIRED_RE("m|qr", /\(/, /\)/) },
{ begin: PAIRED_RE("m|qr", /\[/, /\]/) },
{ begin: PAIRED_RE("m|qr", /\{/, /\}/) }
]
}
]
},
{
className: 'function',
beginKeywords: 'sub method',
end: '(\\s*\\(.*?\\))?[;{]',
excludeEnd: true,
relevance: 5,
contains: [ hljs.TITLE_MODE, ATTR ]
},
{
className: 'class',
beginKeywords: 'class',
end: '[;{]',
excludeEnd: true,
relevance: 5,
contains: [ hljs.TITLE_MODE, ATTR, NUMBER ]
},
{
begin: '-\\w\\b',
relevance: 0
},
{
begin: "^__DATA__$",
end: "^__END__$",
subLanguage: 'mojolicious',
contains: [
{
begin: "^@@.*",
end: "$",
className: "comment"
}
]
}
];
SUBST.contains = PERL_DEFAULT_CONTAINS;
METHOD.contains = PERL_DEFAULT_CONTAINS;
return {
name: 'Perl',
aliases: [
'pl',
'pm'
],
keywords: PERL_KEYWORDS,
contains: PERL_DEFAULT_CONTAINS
};
}
return perl;
})();
hljs.registerLanguage('perl', hljsGrammar);
})();/*! `pf` grammar compiled for Highlight.js 11.11.1 */
(function(){
var hljsGrammar = (function () {
'use strict';
/*
Language: Packet Filter config
Description: pf.conf — packet filter configuration file (OpenBSD)
Author: Peter Piwowarski
Website: http://man.openbsd.org/pf.conf
Category: config
*/
function pf(hljs) {
const MACRO = {
className: 'variable',
begin: /\$[\w\d#@][\w\d_]*/,
relevance: 0
};
const TABLE = {
className: 'variable',
begin: /<(?!\/)/,
end: />/
};
return {
name: 'Packet Filter config',
aliases: [ 'pf.conf' ],
keywords: {
$pattern: /[a-z0-9_<>-]+/,
built_in: /* block match pass are "actions" in pf.conf(5), the rest are
* lexically similar top-level commands.
*/
'block match pass load anchor|5 antispoof|10 set table',
keyword:
'in out log quick on rdomain inet inet6 proto from port os to route '
+ 'allow-opts divert-packet divert-reply divert-to flags group icmp-type '
+ 'icmp6-type label once probability recieved-on rtable prio queue '
+ 'tos tag tagged user keep fragment for os drop '
+ 'af-to|10 binat-to|10 nat-to|10 rdr-to|10 bitmask least-stats random round-robin '
+ 'source-hash static-port '
+ 'dup-to reply-to route-to '
+ 'parent bandwidth default min max qlimit '
+ 'block-policy debug fingerprints hostid limit loginterface optimization '
+ 'reassemble ruleset-optimization basic none profile skip state-defaults '
+ 'state-policy timeout '
+ 'const counters persist '
+ 'no modulate synproxy state|5 floating if-bound no-sync pflow|10 sloppy '
+ 'source-track global rule max-src-nodes max-src-states max-src-conn '
+ 'max-src-conn-rate overload flush '
+ 'scrub|5 max-mss min-ttl no-df|10 random-id',
literal:
'all any no-route self urpf-failed egress|5 unknown'
},
contains: [
hljs.HASH_COMMENT_MODE,
hljs.NUMBER_MODE,
hljs.QUOTE_STRING_MODE,
MACRO,
TABLE
]
};
}
return pf;
})();
hljs.registerLanguage('pf', hljsGrammar);
})();/*! `pgsql` grammar compiled for Highlight.js 11.11.1 */
(function(){
var hljsGrammar = (function () {
'use strict';
/*
Language: PostgreSQL and PL/pgSQL
Author: Egor Rogov (e.rogov@postgrespro.ru)
Website: https://www.postgresql.org/docs/11/sql.html
Description:
This language incorporates both PostgreSQL SQL dialect and PL/pgSQL language.
It is based on PostgreSQL version 11. Some notes:
- Text in double-dollar-strings is _always_ interpreted as some programming code. Text
in ordinary quotes is _never_ interpreted that way and highlighted just as a string.
- There are quite a bit "special cases". That's because many keywords are not strictly
they are keywords in some contexts and ordinary identifiers in others. Only some
of such cases are handled; you still can get some of your identifiers highlighted
wrong way.
- Function names deliberately are not highlighted. There is no way to tell function
call from other constructs, hence we can't highlight _all_ function names. And
some names highlighted while others not looks ugly.
Category: database
*/
function pgsql(hljs) {
const COMMENT_MODE = hljs.COMMENT('--', '$');
const UNQUOTED_IDENT = '[a-zA-Z_][a-zA-Z_0-9$]*';
const DOLLAR_STRING = '\\$([a-zA-Z_]?|[a-zA-Z_][a-zA-Z_0-9]*)\\$';
const LABEL = '<<\\s*' + UNQUOTED_IDENT + '\\s*>>';
const SQL_KW =
// https://www.postgresql.org/docs/11/static/sql-keywords-appendix.html
// https://www.postgresql.org/docs/11/static/sql-commands.html
// SQL commands (starting words)
'ABORT ALTER ANALYZE BEGIN CALL CHECKPOINT|10 CLOSE CLUSTER COMMENT COMMIT COPY CREATE DEALLOCATE DECLARE '
+ 'DELETE DISCARD DO DROP END EXECUTE EXPLAIN FETCH GRANT IMPORT INSERT LISTEN LOAD LOCK MOVE NOTIFY '
+ 'PREPARE REASSIGN|10 REFRESH REINDEX RELEASE RESET REVOKE ROLLBACK SAVEPOINT SECURITY SELECT SET SHOW '
+ 'START TRUNCATE UNLISTEN|10 UPDATE VACUUM|10 VALUES '
// SQL commands (others)
+ 'AGGREGATE COLLATION CONVERSION|10 DATABASE DEFAULT PRIVILEGES DOMAIN TRIGGER EXTENSION FOREIGN '
+ 'WRAPPER|10 TABLE FUNCTION GROUP LANGUAGE LARGE OBJECT MATERIALIZED VIEW OPERATOR CLASS '
+ 'FAMILY POLICY PUBLICATION|10 ROLE RULE SCHEMA SEQUENCE SERVER STATISTICS SUBSCRIPTION SYSTEM '
+ 'TABLESPACE CONFIGURATION DICTIONARY PARSER TEMPLATE TYPE USER MAPPING PREPARED ACCESS '
+ 'METHOD CAST AS TRANSFORM TRANSACTION OWNED TO INTO SESSION AUTHORIZATION '
+ 'INDEX PROCEDURE ASSERTION '
// additional reserved key words
+ 'ALL ANALYSE AND ANY ARRAY ASC ASYMMETRIC|10 BOTH CASE CHECK '
+ 'COLLATE COLUMN CONCURRENTLY|10 CONSTRAINT CROSS '
+ 'DEFERRABLE RANGE '
+ 'DESC DISTINCT ELSE EXCEPT FOR FREEZE|10 FROM FULL HAVING '
+ 'ILIKE IN INITIALLY INNER INTERSECT IS ISNULL JOIN LATERAL LEADING LIKE LIMIT '
+ 'NATURAL NOT NOTNULL NULL OFFSET ON ONLY OR ORDER OUTER OVERLAPS PLACING PRIMARY '
+ 'REFERENCES RETURNING SIMILAR SOME SYMMETRIC TABLESAMPLE THEN '
+ 'TRAILING UNION UNIQUE USING VARIADIC|10 VERBOSE WHEN WHERE WINDOW WITH '
// some of non-reserved (which are used in clauses or as PL/pgSQL keyword)
+ 'BY RETURNS INOUT OUT SETOF|10 IF STRICT CURRENT CONTINUE OWNER LOCATION OVER PARTITION WITHIN '
+ 'BETWEEN ESCAPE EXTERNAL INVOKER DEFINER WORK RENAME VERSION CONNECTION CONNECT '
+ 'TABLES TEMP TEMPORARY FUNCTIONS SEQUENCES TYPES SCHEMAS OPTION CASCADE RESTRICT ADD ADMIN '
+ 'EXISTS VALID VALIDATE ENABLE DISABLE REPLICA|10 ALWAYS PASSING COLUMNS PATH '
+ 'REF VALUE OVERRIDING IMMUTABLE STABLE VOLATILE BEFORE AFTER EACH ROW PROCEDURAL '
+ 'ROUTINE NO HANDLER VALIDATOR OPTIONS STORAGE OIDS|10 WITHOUT INHERIT DEPENDS CALLED '
+ 'INPUT LEAKPROOF|10 COST ROWS NOWAIT SEARCH UNTIL ENCRYPTED|10 PASSWORD CONFLICT|10 '
+ 'INSTEAD INHERITS CHARACTERISTICS WRITE CURSOR ALSO STATEMENT SHARE EXCLUSIVE INLINE '
+ 'ISOLATION REPEATABLE READ COMMITTED SERIALIZABLE UNCOMMITTED LOCAL GLOBAL SQL PROCEDURES '
+ 'RECURSIVE SNAPSHOT ROLLUP CUBE TRUSTED|10 INCLUDE FOLLOWING PRECEDING UNBOUNDED RANGE GROUPS '
+ 'UNENCRYPTED|10 SYSID FORMAT DELIMITER HEADER QUOTE ENCODING FILTER OFF '
// some parameters of VACUUM/ANALYZE/EXPLAIN
+ 'FORCE_QUOTE FORCE_NOT_NULL FORCE_NULL COSTS BUFFERS TIMING SUMMARY DISABLE_PAGE_SKIPPING '
//
+ 'RESTART CYCLE GENERATED IDENTITY DEFERRED IMMEDIATE LEVEL LOGGED UNLOGGED '
+ 'OF NOTHING NONE EXCLUDE ATTRIBUTE '
// from GRANT (not keywords actually)
+ 'USAGE ROUTINES '
// actually literals, but look better this way (due to IS TRUE, IS FALSE, ISNULL etc)
+ 'TRUE FALSE NAN INFINITY ';
const ROLE_ATTRS = // only those not in keywrods already
'SUPERUSER NOSUPERUSER CREATEDB NOCREATEDB CREATEROLE NOCREATEROLE INHERIT NOINHERIT '
+ 'LOGIN NOLOGIN REPLICATION NOREPLICATION BYPASSRLS NOBYPASSRLS ';
const PLPGSQL_KW =
'ALIAS BEGIN CONSTANT DECLARE END EXCEPTION RETURN PERFORM|10 RAISE GET DIAGNOSTICS '
+ 'STACKED|10 FOREACH LOOP ELSIF EXIT WHILE REVERSE SLICE DEBUG LOG INFO NOTICE WARNING ASSERT '
+ 'OPEN ';
const TYPES =
// https://www.postgresql.org/docs/11/static/datatype.html
'BIGINT INT8 BIGSERIAL SERIAL8 BIT VARYING VARBIT BOOLEAN BOOL BOX BYTEA CHARACTER CHAR VARCHAR '
+ 'CIDR CIRCLE DATE DOUBLE PRECISION FLOAT8 FLOAT INET INTEGER INT INT4 INTERVAL JSON JSONB LINE LSEG|10 '
+ 'MACADDR MACADDR8 MONEY NUMERIC DEC DECIMAL PATH POINT POLYGON REAL FLOAT4 SMALLINT INT2 '
+ 'SMALLSERIAL|10 SERIAL2|10 SERIAL|10 SERIAL4|10 TEXT TIME ZONE TIMETZ|10 TIMESTAMP TIMESTAMPTZ|10 TSQUERY|10 TSVECTOR|10 '
+ 'TXID_SNAPSHOT|10 UUID XML NATIONAL NCHAR '
+ 'INT4RANGE|10 INT8RANGE|10 NUMRANGE|10 TSRANGE|10 TSTZRANGE|10 DATERANGE|10 '
// pseudotypes
+ 'ANYELEMENT ANYARRAY ANYNONARRAY ANYENUM ANYRANGE CSTRING INTERNAL '
+ 'RECORD PG_DDL_COMMAND VOID UNKNOWN OPAQUE REFCURSOR '
// spec. type
+ 'NAME '
// OID-types
+ 'OID REGPROC|10 REGPROCEDURE|10 REGOPER|10 REGOPERATOR|10 REGCLASS|10 REGTYPE|10 REGROLE|10 '
+ 'REGNAMESPACE|10 REGCONFIG|10 REGDICTIONARY|10 ';// +
const TYPES_RE =
TYPES.trim()
.split(' ')
.map(function(val) { return val.split('|')[0]; })
.join('|');
const SQL_BI =
'CURRENT_TIME CURRENT_TIMESTAMP CURRENT_USER CURRENT_CATALOG|10 CURRENT_DATE LOCALTIME LOCALTIMESTAMP '
+ 'CURRENT_ROLE|10 CURRENT_SCHEMA|10 SESSION_USER PUBLIC ';
const PLPGSQL_BI =
'FOUND NEW OLD TG_NAME|10 TG_WHEN|10 TG_LEVEL|10 TG_OP|10 TG_RELID|10 TG_RELNAME|10 '
+ 'TG_TABLE_NAME|10 TG_TABLE_SCHEMA|10 TG_NARGS|10 TG_ARGV|10 TG_EVENT|10 TG_TAG|10 '
// get diagnostics
+ 'ROW_COUNT RESULT_OID|10 PG_CONTEXT|10 RETURNED_SQLSTATE COLUMN_NAME CONSTRAINT_NAME '
+ 'PG_DATATYPE_NAME|10 MESSAGE_TEXT TABLE_NAME SCHEMA_NAME PG_EXCEPTION_DETAIL|10 '
+ 'PG_EXCEPTION_HINT|10 PG_EXCEPTION_CONTEXT|10 ';
const PLPGSQL_EXCEPTIONS =
// exceptions https://www.postgresql.org/docs/current/static/errcodes-appendix.html
'SQLSTATE SQLERRM|10 '
+ 'SUCCESSFUL_COMPLETION WARNING DYNAMIC_RESULT_SETS_RETURNED IMPLICIT_ZERO_BIT_PADDING '
+ 'NULL_VALUE_ELIMINATED_IN_SET_FUNCTION PRIVILEGE_NOT_GRANTED PRIVILEGE_NOT_REVOKED '
+ 'STRING_DATA_RIGHT_TRUNCATION DEPRECATED_FEATURE NO_DATA NO_ADDITIONAL_DYNAMIC_RESULT_SETS_RETURNED '
+ 'SQL_STATEMENT_NOT_YET_COMPLETE CONNECTION_EXCEPTION CONNECTION_DOES_NOT_EXIST CONNECTION_FAILURE '
+ 'SQLCLIENT_UNABLE_TO_ESTABLISH_SQLCONNECTION SQLSERVER_REJECTED_ESTABLISHMENT_OF_SQLCONNECTION '
+ 'TRANSACTION_RESOLUTION_UNKNOWN PROTOCOL_VIOLATION TRIGGERED_ACTION_EXCEPTION FEATURE_NOT_SUPPORTED '
+ 'INVALID_TRANSACTION_INITIATION LOCATOR_EXCEPTION INVALID_LOCATOR_SPECIFICATION INVALID_GRANTOR '
+ 'INVALID_GRANT_OPERATION INVALID_ROLE_SPECIFICATION DIAGNOSTICS_EXCEPTION '
+ 'STACKED_DIAGNOSTICS_ACCESSED_WITHOUT_ACTIVE_HANDLER CASE_NOT_FOUND CARDINALITY_VIOLATION '
+ 'DATA_EXCEPTION ARRAY_SUBSCRIPT_ERROR CHARACTER_NOT_IN_REPERTOIRE DATETIME_FIELD_OVERFLOW '
+ 'DIVISION_BY_ZERO ERROR_IN_ASSIGNMENT ESCAPE_CHARACTER_CONFLICT INDICATOR_OVERFLOW '
+ 'INTERVAL_FIELD_OVERFLOW INVALID_ARGUMENT_FOR_LOGARITHM INVALID_ARGUMENT_FOR_NTILE_FUNCTION '
+ 'INVALID_ARGUMENT_FOR_NTH_VALUE_FUNCTION INVALID_ARGUMENT_FOR_POWER_FUNCTION '
+ 'INVALID_ARGUMENT_FOR_WIDTH_BUCKET_FUNCTION INVALID_CHARACTER_VALUE_FOR_CAST '
+ 'INVALID_DATETIME_FORMAT INVALID_ESCAPE_CHARACTER INVALID_ESCAPE_OCTET INVALID_ESCAPE_SEQUENCE '
+ 'NONSTANDARD_USE_OF_ESCAPE_CHARACTER INVALID_INDICATOR_PARAMETER_VALUE INVALID_PARAMETER_VALUE '
+ 'INVALID_REGULAR_EXPRESSION INVALID_ROW_COUNT_IN_LIMIT_CLAUSE '
+ 'INVALID_ROW_COUNT_IN_RESULT_OFFSET_CLAUSE INVALID_TABLESAMPLE_ARGUMENT INVALID_TABLESAMPLE_REPEAT '
+ 'INVALID_TIME_ZONE_DISPLACEMENT_VALUE INVALID_USE_OF_ESCAPE_CHARACTER MOST_SPECIFIC_TYPE_MISMATCH '
+ 'NULL_VALUE_NOT_ALLOWED NULL_VALUE_NO_INDICATOR_PARAMETER NUMERIC_VALUE_OUT_OF_RANGE '
+ 'SEQUENCE_GENERATOR_LIMIT_EXCEEDED STRING_DATA_LENGTH_MISMATCH STRING_DATA_RIGHT_TRUNCATION '
+ 'SUBSTRING_ERROR TRIM_ERROR UNTERMINATED_C_STRING ZERO_LENGTH_CHARACTER_STRING '
+ 'FLOATING_POINT_EXCEPTION INVALID_TEXT_REPRESENTATION INVALID_BINARY_REPRESENTATION '
+ 'BAD_COPY_FILE_FORMAT UNTRANSLATABLE_CHARACTER NOT_AN_XML_DOCUMENT INVALID_XML_DOCUMENT '
+ 'INVALID_XML_CONTENT INVALID_XML_COMMENT INVALID_XML_PROCESSING_INSTRUCTION '
+ 'INTEGRITY_CONSTRAINT_VIOLATION RESTRICT_VIOLATION NOT_NULL_VIOLATION FOREIGN_KEY_VIOLATION '
+ 'UNIQUE_VIOLATION CHECK_VIOLATION EXCLUSION_VIOLATION INVALID_CURSOR_STATE '
+ 'INVALID_TRANSACTION_STATE ACTIVE_SQL_TRANSACTION BRANCH_TRANSACTION_ALREADY_ACTIVE '
+ 'HELD_CURSOR_REQUIRES_SAME_ISOLATION_LEVEL INAPPROPRIATE_ACCESS_MODE_FOR_BRANCH_TRANSACTION '
+ 'INAPPROPRIATE_ISOLATION_LEVEL_FOR_BRANCH_TRANSACTION '
+ 'NO_ACTIVE_SQL_TRANSACTION_FOR_BRANCH_TRANSACTION READ_ONLY_SQL_TRANSACTION '
+ 'SCHEMA_AND_DATA_STATEMENT_MIXING_NOT_SUPPORTED NO_ACTIVE_SQL_TRANSACTION '
+ 'IN_FAILED_SQL_TRANSACTION IDLE_IN_TRANSACTION_SESSION_TIMEOUT INVALID_SQL_STATEMENT_NAME '
+ 'TRIGGERED_DATA_CHANGE_VIOLATION INVALID_AUTHORIZATION_SPECIFICATION INVALID_PASSWORD '
+ 'DEPENDENT_PRIVILEGE_DESCRIPTORS_STILL_EXIST DEPENDENT_OBJECTS_STILL_EXIST '
+ 'INVALID_TRANSACTION_TERMINATION SQL_ROUTINE_EXCEPTION FUNCTION_EXECUTED_NO_RETURN_STATEMENT '
+ 'MODIFYING_SQL_DATA_NOT_PERMITTED PROHIBITED_SQL_STATEMENT_ATTEMPTED '
+ 'READING_SQL_DATA_NOT_PERMITTED INVALID_CURSOR_NAME EXTERNAL_ROUTINE_EXCEPTION '
+ 'CONTAINING_SQL_NOT_PERMITTED MODIFYING_SQL_DATA_NOT_PERMITTED '
+ 'PROHIBITED_SQL_STATEMENT_ATTEMPTED READING_SQL_DATA_NOT_PERMITTED '
+ 'EXTERNAL_ROUTINE_INVOCATION_EXCEPTION INVALID_SQLSTATE_RETURNED NULL_VALUE_NOT_ALLOWED '
+ 'TRIGGER_PROTOCOL_VIOLATED SRF_PROTOCOL_VIOLATED EVENT_TRIGGER_PROTOCOL_VIOLATED '
+ 'SAVEPOINT_EXCEPTION INVALID_SAVEPOINT_SPECIFICATION INVALID_CATALOG_NAME '
+ 'INVALID_SCHEMA_NAME TRANSACTION_ROLLBACK TRANSACTION_INTEGRITY_CONSTRAINT_VIOLATION '
+ 'SERIALIZATION_FAILURE STATEMENT_COMPLETION_UNKNOWN DEADLOCK_DETECTED '
+ 'SYNTAX_ERROR_OR_ACCESS_RULE_VIOLATION SYNTAX_ERROR INSUFFICIENT_PRIVILEGE CANNOT_COERCE '
+ 'GROUPING_ERROR WINDOWING_ERROR INVALID_RECURSION INVALID_FOREIGN_KEY INVALID_NAME '
+ 'NAME_TOO_LONG RESERVED_NAME DATATYPE_MISMATCH INDETERMINATE_DATATYPE COLLATION_MISMATCH '
+ 'INDETERMINATE_COLLATION WRONG_OBJECT_TYPE GENERATED_ALWAYS UNDEFINED_COLUMN '
+ 'UNDEFINED_FUNCTION UNDEFINED_TABLE UNDEFINED_PARAMETER UNDEFINED_OBJECT '
+ 'DUPLICATE_COLUMN DUPLICATE_CURSOR DUPLICATE_DATABASE DUPLICATE_FUNCTION '
+ 'DUPLICATE_PREPARED_STATEMENT DUPLICATE_SCHEMA DUPLICATE_TABLE DUPLICATE_ALIAS '
+ 'DUPLICATE_OBJECT AMBIGUOUS_COLUMN AMBIGUOUS_FUNCTION AMBIGUOUS_PARAMETER AMBIGUOUS_ALIAS '
+ 'INVALID_COLUMN_REFERENCE INVALID_COLUMN_DEFINITION INVALID_CURSOR_DEFINITION '
+ 'INVALID_DATABASE_DEFINITION INVALID_FUNCTION_DEFINITION '
+ 'INVALID_PREPARED_STATEMENT_DEFINITION INVALID_SCHEMA_DEFINITION INVALID_TABLE_DEFINITION '
+ 'INVALID_OBJECT_DEFINITION WITH_CHECK_OPTION_VIOLATION INSUFFICIENT_RESOURCES DISK_FULL '
+ 'OUT_OF_MEMORY TOO_MANY_CONNECTIONS CONFIGURATION_LIMIT_EXCEEDED PROGRAM_LIMIT_EXCEEDED '
+ 'STATEMENT_TOO_COMPLEX TOO_MANY_COLUMNS TOO_MANY_ARGUMENTS OBJECT_NOT_IN_PREREQUISITE_STATE '
+ 'OBJECT_IN_USE CANT_CHANGE_RUNTIME_PARAM LOCK_NOT_AVAILABLE OPERATOR_INTERVENTION '
+ 'QUERY_CANCELED ADMIN_SHUTDOWN CRASH_SHUTDOWN CANNOT_CONNECT_NOW DATABASE_DROPPED '
+ 'SYSTEM_ERROR IO_ERROR UNDEFINED_FILE DUPLICATE_FILE SNAPSHOT_TOO_OLD CONFIG_FILE_ERROR '
+ 'LOCK_FILE_EXISTS FDW_ERROR FDW_COLUMN_NAME_NOT_FOUND FDW_DYNAMIC_PARAMETER_VALUE_NEEDED '
+ 'FDW_FUNCTION_SEQUENCE_ERROR FDW_INCONSISTENT_DESCRIPTOR_INFORMATION '
+ 'FDW_INVALID_ATTRIBUTE_VALUE FDW_INVALID_COLUMN_NAME FDW_INVALID_COLUMN_NUMBER '
+ 'FDW_INVALID_DATA_TYPE FDW_INVALID_DATA_TYPE_DESCRIPTORS '
+ 'FDW_INVALID_DESCRIPTOR_FIELD_IDENTIFIER FDW_INVALID_HANDLE FDW_INVALID_OPTION_INDEX '
+ 'FDW_INVALID_OPTION_NAME FDW_INVALID_STRING_LENGTH_OR_BUFFER_LENGTH '
+ 'FDW_INVALID_STRING_FORMAT FDW_INVALID_USE_OF_NULL_POINTER FDW_TOO_MANY_HANDLES '
+ 'FDW_OUT_OF_MEMORY FDW_NO_SCHEMAS FDW_OPTION_NAME_NOT_FOUND FDW_REPLY_HANDLE '
+ 'FDW_SCHEMA_NOT_FOUND FDW_TABLE_NOT_FOUND FDW_UNABLE_TO_CREATE_EXECUTION '
+ 'FDW_UNABLE_TO_CREATE_REPLY FDW_UNABLE_TO_ESTABLISH_CONNECTION PLPGSQL_ERROR '
+ 'RAISE_EXCEPTION NO_DATA_FOUND TOO_MANY_ROWS ASSERT_FAILURE INTERNAL_ERROR DATA_CORRUPTED '
+ 'INDEX_CORRUPTED ';
const FUNCTIONS =
// https://www.postgresql.org/docs/11/static/functions-aggregate.html
'ARRAY_AGG AVG BIT_AND BIT_OR BOOL_AND BOOL_OR COUNT EVERY JSON_AGG JSONB_AGG JSON_OBJECT_AGG '
+ 'JSONB_OBJECT_AGG MAX MIN MODE STRING_AGG SUM XMLAGG '
+ 'CORR COVAR_POP COVAR_SAMP REGR_AVGX REGR_AVGY REGR_COUNT REGR_INTERCEPT REGR_R2 REGR_SLOPE '
+ 'REGR_SXX REGR_SXY REGR_SYY STDDEV STDDEV_POP STDDEV_SAMP VARIANCE VAR_POP VAR_SAMP '
+ 'PERCENTILE_CONT PERCENTILE_DISC '
// https://www.postgresql.org/docs/11/static/functions-window.html
+ 'ROW_NUMBER RANK DENSE_RANK PERCENT_RANK CUME_DIST NTILE LAG LEAD FIRST_VALUE LAST_VALUE NTH_VALUE '
// https://www.postgresql.org/docs/11/static/functions-comparison.html
+ 'NUM_NONNULLS NUM_NULLS '
// https://www.postgresql.org/docs/11/static/functions-math.html
+ 'ABS CBRT CEIL CEILING DEGREES DIV EXP FLOOR LN LOG MOD PI POWER RADIANS ROUND SCALE SIGN SQRT '
+ 'TRUNC WIDTH_BUCKET '
+ 'RANDOM SETSEED '
+ 'ACOS ACOSD ASIN ASIND ATAN ATAND ATAN2 ATAN2D COS COSD COT COTD SIN SIND TAN TAND '
// https://www.postgresql.org/docs/11/static/functions-string.html
+ 'BIT_LENGTH CHAR_LENGTH CHARACTER_LENGTH LOWER OCTET_LENGTH OVERLAY POSITION SUBSTRING TREAT TRIM UPPER '
+ 'ASCII BTRIM CHR CONCAT CONCAT_WS CONVERT CONVERT_FROM CONVERT_TO DECODE ENCODE INITCAP '
+ 'LEFT LENGTH LPAD LTRIM MD5 PARSE_IDENT PG_CLIENT_ENCODING QUOTE_IDENT|10 QUOTE_LITERAL|10 '
+ 'QUOTE_NULLABLE|10 REGEXP_MATCH REGEXP_MATCHES REGEXP_REPLACE REGEXP_SPLIT_TO_ARRAY '
+ 'REGEXP_SPLIT_TO_TABLE REPEAT REPLACE REVERSE RIGHT RPAD RTRIM SPLIT_PART STRPOS SUBSTR '
+ 'TO_ASCII TO_HEX TRANSLATE '
// https://www.postgresql.org/docs/11/static/functions-binarystring.html
+ 'OCTET_LENGTH GET_BIT GET_BYTE SET_BIT SET_BYTE '
// https://www.postgresql.org/docs/11/static/functions-formatting.html
+ 'TO_CHAR TO_DATE TO_NUMBER TO_TIMESTAMP '
// https://www.postgresql.org/docs/11/static/functions-datetime.html
+ 'AGE CLOCK_TIMESTAMP|10 DATE_PART DATE_TRUNC ISFINITE JUSTIFY_DAYS JUSTIFY_HOURS JUSTIFY_INTERVAL '
+ 'MAKE_DATE MAKE_INTERVAL|10 MAKE_TIME MAKE_TIMESTAMP|10 MAKE_TIMESTAMPTZ|10 NOW STATEMENT_TIMESTAMP|10 '
+ 'TIMEOFDAY TRANSACTION_TIMESTAMP|10 '
// https://www.postgresql.org/docs/11/static/functions-enum.html
+ 'ENUM_FIRST ENUM_LAST ENUM_RANGE '
// https://www.postgresql.org/docs/11/static/functions-geometry.html
+ 'AREA CENTER DIAMETER HEIGHT ISCLOSED ISOPEN NPOINTS PCLOSE POPEN RADIUS WIDTH '
+ 'BOX BOUND_BOX CIRCLE LINE LSEG PATH POLYGON '
// https://www.postgresql.org/docs/11/static/functions-net.html
+ 'ABBREV BROADCAST HOST HOSTMASK MASKLEN NETMASK NETWORK SET_MASKLEN TEXT INET_SAME_FAMILY '
+ 'INET_MERGE MACADDR8_SET7BIT '
// https://www.postgresql.org/docs/11/static/functions-textsearch.html
+ 'ARRAY_TO_TSVECTOR GET_CURRENT_TS_CONFIG NUMNODE PLAINTO_TSQUERY PHRASETO_TSQUERY WEBSEARCH_TO_TSQUERY '
+ 'QUERYTREE SETWEIGHT STRIP TO_TSQUERY TO_TSVECTOR JSON_TO_TSVECTOR JSONB_TO_TSVECTOR TS_DELETE '
+ 'TS_FILTER TS_HEADLINE TS_RANK TS_RANK_CD TS_REWRITE TSQUERY_PHRASE TSVECTOR_TO_ARRAY '
+ 'TSVECTOR_UPDATE_TRIGGER TSVECTOR_UPDATE_TRIGGER_COLUMN '
// https://www.postgresql.org/docs/11/static/functions-xml.html
+ 'XMLCOMMENT XMLCONCAT XMLELEMENT XMLFOREST XMLPI XMLROOT '
+ 'XMLEXISTS XML_IS_WELL_FORMED XML_IS_WELL_FORMED_DOCUMENT XML_IS_WELL_FORMED_CONTENT '
+ 'XPATH XPATH_EXISTS XMLTABLE XMLNAMESPACES '
+ 'TABLE_TO_XML TABLE_TO_XMLSCHEMA TABLE_TO_XML_AND_XMLSCHEMA '
+ 'QUERY_TO_XML QUERY_TO_XMLSCHEMA QUERY_TO_XML_AND_XMLSCHEMA '
+ 'CURSOR_TO_XML CURSOR_TO_XMLSCHEMA '
+ 'SCHEMA_TO_XML SCHEMA_TO_XMLSCHEMA SCHEMA_TO_XML_AND_XMLSCHEMA '
+ 'DATABASE_TO_XML DATABASE_TO_XMLSCHEMA DATABASE_TO_XML_AND_XMLSCHEMA '
+ 'XMLATTRIBUTES '
// https://www.postgresql.org/docs/11/static/functions-json.html
+ 'TO_JSON TO_JSONB ARRAY_TO_JSON ROW_TO_JSON JSON_BUILD_ARRAY JSONB_BUILD_ARRAY JSON_BUILD_OBJECT '
+ 'JSONB_BUILD_OBJECT JSON_OBJECT JSONB_OBJECT JSON_ARRAY_LENGTH JSONB_ARRAY_LENGTH JSON_EACH '
+ 'JSONB_EACH JSON_EACH_TEXT JSONB_EACH_TEXT JSON_EXTRACT_PATH JSONB_EXTRACT_PATH '
+ 'JSON_OBJECT_KEYS JSONB_OBJECT_KEYS JSON_POPULATE_RECORD JSONB_POPULATE_RECORD JSON_POPULATE_RECORDSET '
+ 'JSONB_POPULATE_RECORDSET JSON_ARRAY_ELEMENTS JSONB_ARRAY_ELEMENTS JSON_ARRAY_ELEMENTS_TEXT '
+ 'JSONB_ARRAY_ELEMENTS_TEXT JSON_TYPEOF JSONB_TYPEOF JSON_TO_RECORD JSONB_TO_RECORD JSON_TO_RECORDSET '
+ 'JSONB_TO_RECORDSET JSON_STRIP_NULLS JSONB_STRIP_NULLS JSONB_SET JSONB_INSERT JSONB_PRETTY '
// https://www.postgresql.org/docs/11/static/functions-sequence.html
+ 'CURRVAL LASTVAL NEXTVAL SETVAL '
// https://www.postgresql.org/docs/11/static/functions-conditional.html
+ 'COALESCE NULLIF GREATEST LEAST '
// https://www.postgresql.org/docs/11/static/functions-array.html
+ 'ARRAY_APPEND ARRAY_CAT ARRAY_NDIMS ARRAY_DIMS ARRAY_FILL ARRAY_LENGTH ARRAY_LOWER ARRAY_POSITION '
+ 'ARRAY_POSITIONS ARRAY_PREPEND ARRAY_REMOVE ARRAY_REPLACE ARRAY_TO_STRING ARRAY_UPPER CARDINALITY '
+ 'STRING_TO_ARRAY UNNEST '
// https://www.postgresql.org/docs/11/static/functions-range.html
+ 'ISEMPTY LOWER_INC UPPER_INC LOWER_INF UPPER_INF RANGE_MERGE '
// https://www.postgresql.org/docs/11/static/functions-srf.html
+ 'GENERATE_SERIES GENERATE_SUBSCRIPTS '
// https://www.postgresql.org/docs/11/static/functions-info.html
+ 'CURRENT_DATABASE CURRENT_QUERY CURRENT_SCHEMA|10 CURRENT_SCHEMAS|10 INET_CLIENT_ADDR INET_CLIENT_PORT '
+ 'INET_SERVER_ADDR INET_SERVER_PORT ROW_SECURITY_ACTIVE FORMAT_TYPE '
+ 'TO_REGCLASS TO_REGPROC TO_REGPROCEDURE TO_REGOPER TO_REGOPERATOR TO_REGTYPE TO_REGNAMESPACE TO_REGROLE '
+ 'COL_DESCRIPTION OBJ_DESCRIPTION SHOBJ_DESCRIPTION '
+ 'TXID_CURRENT TXID_CURRENT_IF_ASSIGNED TXID_CURRENT_SNAPSHOT TXID_SNAPSHOT_XIP TXID_SNAPSHOT_XMAX '
+ 'TXID_SNAPSHOT_XMIN TXID_VISIBLE_IN_SNAPSHOT TXID_STATUS '
// https://www.postgresql.org/docs/11/static/functions-admin.html
+ 'CURRENT_SETTING SET_CONFIG BRIN_SUMMARIZE_NEW_VALUES BRIN_SUMMARIZE_RANGE BRIN_DESUMMARIZE_RANGE '
+ 'GIN_CLEAN_PENDING_LIST '
// https://www.postgresql.org/docs/11/static/functions-trigger.html
+ 'SUPPRESS_REDUNDANT_UPDATES_TRIGGER '
// ihttps://www.postgresql.org/docs/devel/static/lo-funcs.html
+ 'LO_FROM_BYTEA LO_PUT LO_GET LO_CREAT LO_CREATE LO_UNLINK LO_IMPORT LO_EXPORT LOREAD LOWRITE '
//
+ 'GROUPING CAST ';
const FUNCTIONS_RE =
FUNCTIONS.trim()
.split(' ')
.map(function(val) { return val.split('|')[0]; })
.join('|');
return {
name: 'PostgreSQL',
aliases: [
'postgres',
'postgresql'
],
supersetOf: "sql",
case_insensitive: true,
keywords: {
keyword:
SQL_KW + PLPGSQL_KW + ROLE_ATTRS,
built_in:
SQL_BI + PLPGSQL_BI + PLPGSQL_EXCEPTIONS
},
// Forbid some cunstructs from other languages to improve autodetect. In fact
// "[a-z]:" is legal (as part of array slice), but improbabal.
illegal: /:==|\W\s*\(\*|(^|\s)\$[a-z]|\{\{|[a-z]:\s*$|\.\.\.|TO:|DO:/,
contains: [
// special handling of some words, which are reserved only in some contexts
{
className: 'keyword',
variants: [
{ begin: /\bTEXT\s*SEARCH\b/ },
{ begin: /\b(PRIMARY|FOREIGN|FOR(\s+NO)?)\s+KEY\b/ },
{ begin: /\bPARALLEL\s+(UNSAFE|RESTRICTED|SAFE)\b/ },
{ begin: /\bSTORAGE\s+(PLAIN|EXTERNAL|EXTENDED|MAIN)\b/ },
{ begin: /\bMATCH\s+(FULL|PARTIAL|SIMPLE)\b/ },
{ begin: /\bNULLS\s+(FIRST|LAST)\b/ },
{ begin: /\bEVENT\s+TRIGGER\b/ },
{ begin: /\b(MAPPING|OR)\s+REPLACE\b/ },
{ begin: /\b(FROM|TO)\s+(PROGRAM|STDIN|STDOUT)\b/ },
{ begin: /\b(SHARE|EXCLUSIVE)\s+MODE\b/ },
{ begin: /\b(LEFT|RIGHT)\s+(OUTER\s+)?JOIN\b/ },
{ begin: /\b(FETCH|MOVE)\s+(NEXT|PRIOR|FIRST|LAST|ABSOLUTE|RELATIVE|FORWARD|BACKWARD)\b/ },
{ begin: /\bPRESERVE\s+ROWS\b/ },
{ begin: /\bDISCARD\s+PLANS\b/ },
{ begin: /\bREFERENCING\s+(OLD|NEW)\b/ },
{ begin: /\bSKIP\s+LOCKED\b/ },
{ begin: /\bGROUPING\s+SETS\b/ },
{ begin: /\b(BINARY|INSENSITIVE|SCROLL|NO\s+SCROLL)\s+(CURSOR|FOR)\b/ },
{ begin: /\b(WITH|WITHOUT)\s+HOLD\b/ },
{ begin: /\bWITH\s+(CASCADED|LOCAL)\s+CHECK\s+OPTION\b/ },
{ begin: /\bEXCLUDE\s+(TIES|NO\s+OTHERS)\b/ },
{ begin: /\bFORMAT\s+(TEXT|XML|JSON|YAML)\b/ },
{ begin: /\bSET\s+((SESSION|LOCAL)\s+)?NAMES\b/ },
{ begin: /\bIS\s+(NOT\s+)?UNKNOWN\b/ },
{ begin: /\bSECURITY\s+LABEL\b/ },
{ begin: /\bSTANDALONE\s+(YES|NO|NO\s+VALUE)\b/ },
{ begin: /\bWITH\s+(NO\s+)?DATA\b/ },
{ begin: /\b(FOREIGN|SET)\s+DATA\b/ },
{ begin: /\bSET\s+(CATALOG|CONSTRAINTS)\b/ },
{ begin: /\b(WITH|FOR)\s+ORDINALITY\b/ },
{ begin: /\bIS\s+(NOT\s+)?DOCUMENT\b/ },
{ begin: /\bXML\s+OPTION\s+(DOCUMENT|CONTENT)\b/ },
{ begin: /\b(STRIP|PRESERVE)\s+WHITESPACE\b/ },
{ begin: /\bNO\s+(ACTION|MAXVALUE|MINVALUE)\b/ },
{ begin: /\bPARTITION\s+BY\s+(RANGE|LIST|HASH)\b/ },
{ begin: /\bAT\s+TIME\s+ZONE\b/ },
{ begin: /\bGRANTED\s+BY\b/ },
{ begin: /\bRETURN\s+(QUERY|NEXT)\b/ },
{ begin: /\b(ATTACH|DETACH)\s+PARTITION\b/ },
{ begin: /\bFORCE\s+ROW\s+LEVEL\s+SECURITY\b/ },
{ begin: /\b(INCLUDING|EXCLUDING)\s+(COMMENTS|CONSTRAINTS|DEFAULTS|IDENTITY|INDEXES|STATISTICS|STORAGE|ALL)\b/ },
{ begin: /\bAS\s+(ASSIGNMENT|IMPLICIT|PERMISSIVE|RESTRICTIVE|ENUM|RANGE)\b/ }
]
},
// functions named as keywords, followed by '('
{ begin: /\b(FORMAT|FAMILY|VERSION)\s*\(/
// keywords: { built_in: 'FORMAT FAMILY VERSION' }
},
// INCLUDE ( ... ) in index_parameters in CREATE TABLE
{
begin: /\bINCLUDE\s*\(/,
keywords: 'INCLUDE'
},
// not highlight RANGE if not in frame_clause (not 100% correct, but seems satisfactory)
{ begin: /\bRANGE(?!\s*(BETWEEN|UNBOUNDED|CURRENT|[-0-9]+))/ },
// disable highlighting in commands CREATE AGGREGATE/COLLATION/DATABASE/OPERTOR/TEXT SEARCH .../TYPE
// and in PL/pgSQL RAISE ... USING
{ begin: /\b(VERSION|OWNER|TEMPLATE|TABLESPACE|CONNECTION\s+LIMIT|PROCEDURE|RESTRICT|JOIN|PARSER|COPY|START|END|COLLATION|INPUT|ANALYZE|STORAGE|LIKE|DEFAULT|DELIMITER|ENCODING|COLUMN|CONSTRAINT|TABLE|SCHEMA)\s*=/ },
// PG_smth; HAS_some_PRIVILEGE
{
// className: 'built_in',
begin: /\b(PG_\w+?|HAS_[A-Z_]+_PRIVILEGE)\b/,
relevance: 10
},
// extract
{
begin: /\bEXTRACT\s*\(/,
end: /\bFROM\b/,
returnEnd: true,
keywords: {
// built_in: 'EXTRACT',
type: 'CENTURY DAY DECADE DOW DOY EPOCH HOUR ISODOW ISOYEAR MICROSECONDS '
+ 'MILLENNIUM MILLISECONDS MINUTE MONTH QUARTER SECOND TIMEZONE TIMEZONE_HOUR '
+ 'TIMEZONE_MINUTE WEEK YEAR' }
},
// xmlelement, xmlpi - special NAME
{
begin: /\b(XMLELEMENT|XMLPI)\s*\(\s*NAME/,
keywords: {
// built_in: 'XMLELEMENT XMLPI',
keyword: 'NAME' }
},
// xmlparse, xmlserialize
{
begin: /\b(XMLPARSE|XMLSERIALIZE)\s*\(\s*(DOCUMENT|CONTENT)/,
keywords: {
// built_in: 'XMLPARSE XMLSERIALIZE',
keyword: 'DOCUMENT CONTENT' }
},
// Sequences. We actually skip everything between CACHE|INCREMENT|MAXVALUE|MINVALUE and
// nearest following numeric constant. Without with trick we find a lot of "keywords"
// in 'avrasm' autodetection test...
{
beginKeywords: 'CACHE INCREMENT MAXVALUE MINVALUE',
end: hljs.C_NUMBER_RE,
returnEnd: true,
keywords: 'BY CACHE INCREMENT MAXVALUE MINVALUE'
},
// WITH|WITHOUT TIME ZONE as part of datatype
{
className: 'type',
begin: /\b(WITH|WITHOUT)\s+TIME\s+ZONE\b/
},
// INTERVAL optional fields
{
className: 'type',
begin: /\bINTERVAL\s+(YEAR|MONTH|DAY|HOUR|MINUTE|SECOND)(\s+TO\s+(MONTH|HOUR|MINUTE|SECOND))?\b/
},
// Pseudo-types which allowed only as return type
{
begin: /\bRETURNS\s+(LANGUAGE_HANDLER|TRIGGER|EVENT_TRIGGER|FDW_HANDLER|INDEX_AM_HANDLER|TSM_HANDLER)\b/,
keywords: {
keyword: 'RETURNS',
type: 'LANGUAGE_HANDLER TRIGGER EVENT_TRIGGER FDW_HANDLER INDEX_AM_HANDLER TSM_HANDLER'
}
},
// Known functions - only when followed by '('
{ begin: '\\b(' + FUNCTIONS_RE + ')\\s*\\('
// keywords: { built_in: FUNCTIONS }
},
// Types
{ begin: '\\.(' + TYPES_RE + ')\\b' // prevent highlight as type, say, 'oid' in 'pgclass.oid'
},
{
begin: '\\b(' + TYPES_RE + ')\\s+PATH\\b', // in XMLTABLE
keywords: {
keyword: 'PATH', // hopefully no one would use PATH type in XMLTABLE...
type: TYPES.replace('PATH ', '')
}
},
{
className: 'type',
begin: '\\b(' + TYPES_RE + ')\\b'
},
// Strings, see https://www.postgresql.org/docs/11/static/sql-syntax-lexical.html#SQL-SYNTAX-CONSTANTS
{
className: 'string',
begin: '\'',
end: '\'',
contains: [ { begin: '\'\'' } ]
},
{
className: 'string',
begin: '(e|E|u&|U&)\'',
end: '\'',
contains: [ { begin: '\\\\.' } ],
relevance: 10
},
hljs.END_SAME_AS_BEGIN({
begin: DOLLAR_STRING,
end: DOLLAR_STRING,
contains: [
{
// actually we want them all except SQL; listed are those with known implementations
// and XML + JSON just in case
subLanguage: [
'pgsql',
'perl',
'python',
'tcl',
'r',
'lua',
'java',
'php',
'ruby',
'bash',
'scheme',
'xml',
'json'
],
endsWithParent: true
}
]
}),
// identifiers in quotes
{
begin: '"',
end: '"',
contains: [ { begin: '""' } ]
},
// numbers
hljs.C_NUMBER_MODE,
// comments
hljs.C_BLOCK_COMMENT_MODE,
COMMENT_MODE,
// PL/pgSQL staff
// %ROWTYPE, %TYPE, $n
{
className: 'meta',
variants: [
{ // %TYPE, %ROWTYPE
begin: '%(ROW)?TYPE',
relevance: 10
},
{ // $n
begin: '\\$\\d+' },
{ // #compiler option
begin: '^#\\w',
end: '$'
}
]
},
// <>
{
className: 'symbol',
begin: LABEL,
relevance: 10
}
]
};
}
return pgsql;
})();
hljs.registerLanguage('pgsql', hljsGrammar);
})();/*! `php` grammar compiled for Highlight.js 11.11.1 */
(function(){
var hljsGrammar = (function () {
'use strict';
/*
Language: PHP
Author: Victor Karamzin
Contributors: Evgeny Stepanischev , Ivan Sagalaev
Website: https://www.php.net
Category: common
*/
/**
* @param {HLJSApi} hljs
* @returns {LanguageDetail}
* */
function php(hljs) {
const regex = hljs.regex;
// negative look-ahead tries to avoid matching patterns that are not
// Perl at all like $ident$, @ident@, etc.
const NOT_PERL_ETC = /(?![A-Za-z0-9])(?![$])/;
const IDENT_RE = regex.concat(
/[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*/,
NOT_PERL_ETC);
// Will not detect camelCase classes
const PASCAL_CASE_CLASS_NAME_RE = regex.concat(
/(\\?[A-Z][a-z0-9_\x7f-\xff]+|\\?[A-Z]+(?=[A-Z][a-z0-9_\x7f-\xff])){1,}/,
NOT_PERL_ETC);
const UPCASE_NAME_RE = regex.concat(
/[A-Z]+/,
NOT_PERL_ETC);
const VARIABLE = {
scope: 'variable',
match: '\\$+' + IDENT_RE,
};
const PREPROCESSOR = {
scope: "meta",
variants: [
{ begin: /<\?php/, relevance: 10 }, // boost for obvious PHP
{ begin: /<\?=/ },
// less relevant per PSR-1 which says not to use short-tags
{ begin: /<\?/, relevance: 0.1 },
{ begin: /\?>/ } // end php tag
]
};
const SUBST = {
scope: 'subst',
variants: [
{ begin: /\$\w+/ },
{
begin: /\{\$/,
end: /\}/
}
]
};
const SINGLE_QUOTED = hljs.inherit(hljs.APOS_STRING_MODE, { illegal: null, });
const DOUBLE_QUOTED = hljs.inherit(hljs.QUOTE_STRING_MODE, {
illegal: null,
contains: hljs.QUOTE_STRING_MODE.contains.concat(SUBST),
});
const HEREDOC = {
begin: /<<<[ \t]*(?:(\w+)|"(\w+)")\n/,
end: /[ \t]*(\w+)\b/,
contains: hljs.QUOTE_STRING_MODE.contains.concat(SUBST),
'on:begin': (m, resp) => { resp.data._beginMatch = m[1] || m[2]; },
'on:end': (m, resp) => { if (resp.data._beginMatch !== m[1]) resp.ignoreMatch(); },
};
const NOWDOC = hljs.END_SAME_AS_BEGIN({
begin: /<<<[ \t]*'(\w+)'\n/,
end: /[ \t]*(\w+)\b/,
});
// list of valid whitespaces because non-breaking space might be part of a IDENT_RE
const WHITESPACE = '[ \t\n]';
const STRING = {
scope: 'string',
variants: [
DOUBLE_QUOTED,
SINGLE_QUOTED,
HEREDOC,
NOWDOC
]
};
const NUMBER = {
scope: 'number',
variants: [
{ begin: `\\b0[bB][01]+(?:_[01]+)*\\b` }, // Binary w/ underscore support
{ begin: `\\b0[oO][0-7]+(?:_[0-7]+)*\\b` }, // Octals w/ underscore support
{ begin: `\\b0[xX][\\da-fA-F]+(?:_[\\da-fA-F]+)*\\b` }, // Hex w/ underscore support
// Decimals w/ underscore support, with optional fragments and scientific exponent (e) suffix.
{ begin: `(?:\\b\\d+(?:_\\d+)*(\\.(?:\\d+(?:_\\d+)*))?|\\B\\.\\d+)(?:[eE][+-]?\\d+)?` }
],
relevance: 0
};
const LITERALS = [
"false",
"null",
"true"
];
const KWS = [
// Magic constants:
//
"__CLASS__",
"__DIR__",
"__FILE__",
"__FUNCTION__",
"__COMPILER_HALT_OFFSET__",
"__LINE__",
"__METHOD__",
"__NAMESPACE__",
"__TRAIT__",
// Function that look like language construct or language construct that look like function:
// List of keywords that may not require parenthesis
"die",
"echo",
"exit",
"include",
"include_once",
"print",
"require",
"require_once",
// These are not language construct (function) but operate on the currently-executing function and can access the current symbol table
// 'compact extract func_get_arg func_get_args func_num_args get_called_class get_parent_class ' +
// Other keywords:
//
//
"array",
"abstract",
"and",
"as",
"binary",
"bool",
"boolean",
"break",
"callable",
"case",
"catch",
"class",
"clone",
"const",
"continue",
"declare",
"default",
"do",
"double",
"else",
"elseif",
"empty",
"enddeclare",
"endfor",
"endforeach",
"endif",
"endswitch",
"endwhile",
"enum",
"eval",
"extends",
"final",
"finally",
"float",
"for",
"foreach",
"from",
"global",
"goto",
"if",
"implements",
"instanceof",
"insteadof",
"int",
"integer",
"interface",
"isset",
"iterable",
"list",
"match|0",
"mixed",
"new",
"never",
"object",
"or",
"private",
"protected",
"public",
"readonly",
"real",
"return",
"string",
"switch",
"throw",
"trait",
"try",
"unset",
"use",
"var",
"void",
"while",
"xor",
"yield"
];
const BUILT_INS = [
// Standard PHP library:
//
"Error|0",
"AppendIterator",
"ArgumentCountError",
"ArithmeticError",
"ArrayIterator",
"ArrayObject",
"AssertionError",
"BadFunctionCallException",
"BadMethodCallException",
"CachingIterator",
"CallbackFilterIterator",
"CompileError",
"Countable",
"DirectoryIterator",
"DivisionByZeroError",
"DomainException",
"EmptyIterator",
"ErrorException",
"Exception",
"FilesystemIterator",
"FilterIterator",
"GlobIterator",
"InfiniteIterator",
"InvalidArgumentException",
"IteratorIterator",
"LengthException",
"LimitIterator",
"LogicException",
"MultipleIterator",
"NoRewindIterator",
"OutOfBoundsException",
"OutOfRangeException",
"OuterIterator",
"OverflowException",
"ParentIterator",
"ParseError",
"RangeException",
"RecursiveArrayIterator",
"RecursiveCachingIterator",
"RecursiveCallbackFilterIterator",
"RecursiveDirectoryIterator",
"RecursiveFilterIterator",
"RecursiveIterator",
"RecursiveIteratorIterator",
"RecursiveRegexIterator",
"RecursiveTreeIterator",
"RegexIterator",
"RuntimeException",
"SeekableIterator",
"SplDoublyLinkedList",
"SplFileInfo",
"SplFileObject",
"SplFixedArray",
"SplHeap",
"SplMaxHeap",
"SplMinHeap",
"SplObjectStorage",
"SplObserver",
"SplPriorityQueue",
"SplQueue",
"SplStack",
"SplSubject",
"SplTempFileObject",
"TypeError",
"UnderflowException",
"UnexpectedValueException",
"UnhandledMatchError",
// Reserved interfaces:
//
"ArrayAccess",
"BackedEnum",
"Closure",
"Fiber",
"Generator",
"Iterator",
"IteratorAggregate",
"Serializable",
"Stringable",
"Throwable",
"Traversable",
"UnitEnum",
"WeakReference",
"WeakMap",
// Reserved classes:
//
"Directory",
"__PHP_Incomplete_Class",
"parent",
"php_user_filter",
"self",
"static",
"stdClass"
];
/** Dual-case keywords
*
* ["then","FILE"] =>
* ["then", "THEN", "FILE", "file"]
*
* @param {string[]} items */
const dualCase = (items) => {
/** @type string[] */
const result = [];
items.forEach(item => {
result.push(item);
if (item.toLowerCase() === item) {
result.push(item.toUpperCase());
} else {
result.push(item.toLowerCase());
}
});
return result;
};
const KEYWORDS = {
keyword: KWS,
literal: dualCase(LITERALS),
built_in: BUILT_INS,
};
/**
* @param {string[]} items */
const normalizeKeywords = (items) => {
return items.map(item => {
return item.replace(/\|\d+$/, "");
});
};
const CONSTRUCTOR_CALL = { variants: [
{
match: [
/new/,
regex.concat(WHITESPACE, "+"),
// to prevent built ins from being confused as the class constructor call
regex.concat("(?!", normalizeKeywords(BUILT_INS).join("\\b|"), "\\b)"),
PASCAL_CASE_CLASS_NAME_RE,
],
scope: {
1: "keyword",
4: "title.class",
},
}
] };
const CONSTANT_REFERENCE = regex.concat(IDENT_RE, "\\b(?!\\()");
const LEFT_AND_RIGHT_SIDE_OF_DOUBLE_COLON = { variants: [
{
match: [
regex.concat(
/::/,
regex.lookahead(/(?!class\b)/)
),
CONSTANT_REFERENCE,
],
scope: { 2: "variable.constant", },
},
{
match: [
/::/,
/class/,
],
scope: { 2: "variable.language", },
},
{
match: [
PASCAL_CASE_CLASS_NAME_RE,
regex.concat(
/::/,
regex.lookahead(/(?!class\b)/)
),
CONSTANT_REFERENCE,
],
scope: {
1: "title.class",
3: "variable.constant",
},
},
{
match: [
PASCAL_CASE_CLASS_NAME_RE,
regex.concat(
"::",
regex.lookahead(/(?!class\b)/)
),
],
scope: { 1: "title.class", },
},
{
match: [
PASCAL_CASE_CLASS_NAME_RE,
/::/,
/class/,
],
scope: {
1: "title.class",
3: "variable.language",
},
}
] };
const NAMED_ARGUMENT = {
scope: 'attr',
match: regex.concat(IDENT_RE, regex.lookahead(':'), regex.lookahead(/(?!::)/)),
};
const PARAMS_MODE = {
relevance: 0,
begin: /\(/,
end: /\)/,
keywords: KEYWORDS,
contains: [
NAMED_ARGUMENT,
VARIABLE,
LEFT_AND_RIGHT_SIDE_OF_DOUBLE_COLON,
hljs.C_BLOCK_COMMENT_MODE,
STRING,
NUMBER,
CONSTRUCTOR_CALL,
],
};
const FUNCTION_INVOKE = {
relevance: 0,
match: [
/\b/,
// to prevent keywords from being confused as the function title
regex.concat("(?!fn\\b|function\\b|", normalizeKeywords(KWS).join("\\b|"), "|", normalizeKeywords(BUILT_INS).join("\\b|"), "\\b)"),
IDENT_RE,
regex.concat(WHITESPACE, "*"),
regex.lookahead(/(?=\()/)
],
scope: { 3: "title.function.invoke", },
contains: [ PARAMS_MODE ]
};
PARAMS_MODE.contains.push(FUNCTION_INVOKE);
const ATTRIBUTE_CONTAINS = [
NAMED_ARGUMENT,
LEFT_AND_RIGHT_SIDE_OF_DOUBLE_COLON,
hljs.C_BLOCK_COMMENT_MODE,
STRING,
NUMBER,
CONSTRUCTOR_CALL,
];
const ATTRIBUTES = {
begin: regex.concat(/#\[\s*\\?/,
regex.either(
PASCAL_CASE_CLASS_NAME_RE,
UPCASE_NAME_RE
)
),
beginScope: "meta",
end: /]/,
endScope: "meta",
keywords: {
literal: LITERALS,
keyword: [
'new',
'array',
]
},
contains: [
{
begin: /\[/,
end: /]/,
keywords: {
literal: LITERALS,
keyword: [
'new',
'array',
]
},
contains: [
'self',
...ATTRIBUTE_CONTAINS,
]
},
...ATTRIBUTE_CONTAINS,
{
scope: 'meta',
variants: [
{ match: PASCAL_CASE_CLASS_NAME_RE },
{ match: UPCASE_NAME_RE }
]
}
]
};
return {
case_insensitive: false,
keywords: KEYWORDS,
contains: [
ATTRIBUTES,
hljs.HASH_COMMENT_MODE,
hljs.COMMENT('//', '$'),
hljs.COMMENT(
'/\\*',
'\\*/',
{ contains: [
{
scope: 'doctag',
match: '@[A-Za-z]+'
}
] }
),
{
match: /__halt_compiler\(\);/,
keywords: '__halt_compiler',
starts: {
scope: "comment",
end: hljs.MATCH_NOTHING_RE,
contains: [
{
match: /\?>/,
scope: "meta",
endsParent: true
}
]
}
},
PREPROCESSOR,
{
scope: 'variable.language',
match: /\$this\b/
},
VARIABLE,
FUNCTION_INVOKE,
LEFT_AND_RIGHT_SIDE_OF_DOUBLE_COLON,
{
match: [
/const/,
/\s/,
IDENT_RE,
],
scope: {
1: "keyword",
3: "variable.constant",
},
},
CONSTRUCTOR_CALL,
{
scope: 'function',
relevance: 0,
beginKeywords: 'fn function',
end: /[;{]/,
excludeEnd: true,
illegal: '[$%\\[]',
contains: [
{ beginKeywords: 'use', },
hljs.UNDERSCORE_TITLE_MODE,
{
begin: '=>', // No markup, just a relevance booster
endsParent: true
},
{
scope: 'params',
begin: '\\(',
end: '\\)',
excludeBegin: true,
excludeEnd: true,
keywords: KEYWORDS,
contains: [
'self',
ATTRIBUTES,
VARIABLE,
LEFT_AND_RIGHT_SIDE_OF_DOUBLE_COLON,
hljs.C_BLOCK_COMMENT_MODE,
STRING,
NUMBER
]
},
]
},
{
scope: 'class',
variants: [
{
beginKeywords: "enum",
illegal: /[($"]/
},
{
beginKeywords: "class interface trait",
illegal: /[:($"]/
}
],
relevance: 0,
end: /\{/,
excludeEnd: true,
contains: [
{ beginKeywords: 'extends implements' },
hljs.UNDERSCORE_TITLE_MODE
]
},
// both use and namespace still use "old style" rules (vs multi-match)
// because the namespace name can include `\` and we still want each
// element to be treated as its own *individual* title
{
beginKeywords: 'namespace',
relevance: 0,
end: ';',
illegal: /[.']/,
contains: [ hljs.inherit(hljs.UNDERSCORE_TITLE_MODE, { scope: "title.class" }) ]
},
{
beginKeywords: 'use',
relevance: 0,
end: ';',
contains: [
// TODO: title.function vs title.class
{
match: /\b(as|const|function)\b/,
scope: "keyword"
},
// TODO: could be title.class or title.function
hljs.UNDERSCORE_TITLE_MODE
]
},
STRING,
NUMBER,
]
};
}
return php;
})();
hljs.registerLanguage('php', hljsGrammar);
})();/*! `php-template` grammar compiled for Highlight.js 11.11.1 */
(function(){
var hljsGrammar = (function () {
'use strict';
/*
Language: PHP Template
Requires: xml.js, php.js
Author: Josh Goebel
Website: https://www.php.net
Category: common
*/
function phpTemplate(hljs) {
return {
name: "PHP template",
subLanguage: 'xml',
contains: [
{
begin: /<\?(php|=)?/,
end: /\?>/,
subLanguage: 'php',
contains: [
// We don't want the php closing tag ?> to close the PHP block when
// inside any of the following blocks:
{
begin: '/\\*',
end: '\\*/',
skip: true
},
{
begin: 'b"',
end: '"',
skip: true
},
{
begin: 'b\'',
end: '\'',
skip: true
},
hljs.inherit(hljs.APOS_STRING_MODE, {
illegal: null,
className: null,
contains: null,
skip: true
}),
hljs.inherit(hljs.QUOTE_STRING_MODE, {
illegal: null,
className: null,
contains: null,
skip: true
})
]
}
]
};
}
return phpTemplate;
})();
hljs.registerLanguage('php-template', hljsGrammar);
})();/*! `plaintext` grammar compiled for Highlight.js 11.11.1 */
(function(){
var hljsGrammar = (function () {
'use strict';
/*
Language: Plain text
Author: Egor Rogov (e.rogov@postgrespro.ru)
Description: Plain text without any highlighting.
Category: common
*/
function plaintext(hljs) {
return {
name: 'Plain text',
aliases: [
'text',
'txt'
],
disableAutodetect: true
};
}
return plaintext;
})();
hljs.registerLanguage('plaintext', hljsGrammar);
})();/*! `pony` grammar compiled for Highlight.js 11.11.1 */
(function(){
var hljsGrammar = (function () {
'use strict';
/*
Language: Pony
Author: Joe Eli McIlvain
Description: Pony is an open-source, object-oriented, actor-model,
capabilities-secure, high performance programming language.
Website: https://www.ponylang.io
Category: system
*/
function pony(hljs) {
const KEYWORDS = {
keyword:
'actor addressof and as be break class compile_error compile_intrinsic '
+ 'consume continue delegate digestof do else elseif embed end error '
+ 'for fun if ifdef in interface is isnt lambda let match new not object '
+ 'or primitive recover repeat return struct then trait try type until '
+ 'use var where while with xor',
meta:
'iso val tag trn box ref',
literal:
'this false true'
};
const TRIPLE_QUOTE_STRING_MODE = {
className: 'string',
begin: '"""',
end: '"""',
relevance: 10
};
const QUOTE_STRING_MODE = {
className: 'string',
begin: '"',
end: '"',
contains: [ hljs.BACKSLASH_ESCAPE ]
};
const SINGLE_QUOTE_CHAR_MODE = {
className: 'string',
begin: '\'',
end: '\'',
contains: [ hljs.BACKSLASH_ESCAPE ],
relevance: 0
};
const TYPE_NAME = {
className: 'type',
begin: '\\b_?[A-Z][\\w]*',
relevance: 0
};
const PRIMED_NAME = {
begin: hljs.IDENT_RE + '\'',
relevance: 0
};
const NUMBER_MODE = {
className: 'number',
begin: '(-?)(\\b0[xX][a-fA-F0-9]+|\\b0[bB][01]+|(\\b\\d+(_\\d+)?(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)',
relevance: 0
};
/**
* The `FUNCTION` and `CLASS` modes were intentionally removed to simplify
* highlighting and fix cases like
* ```
* interface Iterator[A: A]
* fun has_next(): Bool
* fun next(): A?
* ```
* where it is valid to have a function head without a body
*/
return {
name: 'Pony',
keywords: KEYWORDS,
contains: [
TYPE_NAME,
TRIPLE_QUOTE_STRING_MODE,
QUOTE_STRING_MODE,
SINGLE_QUOTE_CHAR_MODE,
PRIMED_NAME,
NUMBER_MODE,
hljs.C_LINE_COMMENT_MODE,
hljs.C_BLOCK_COMMENT_MODE
]
};
}
return pony;
})();
hljs.registerLanguage('pony', hljsGrammar);
})();/*! `powershell` grammar compiled for Highlight.js 11.11.1 */
(function(){
var hljsGrammar = (function () {
'use strict';
/*
Language: PowerShell
Description: PowerShell is a task-based command-line shell and scripting language built on .NET.
Author: David Mohundro
Contributors: Nicholas Blumhardt , Victor Zhou , Nicolas Le Gall
Website: https://docs.microsoft.com/en-us/powershell/
Category: scripting
*/
function powershell(hljs) {
const TYPES = [
"string",
"char",
"byte",
"int",
"long",
"bool",
"decimal",
"single",
"double",
"DateTime",
"xml",
"array",
"hashtable",
"void"
];
// https://docs.microsoft.com/en-us/powershell/scripting/developer/cmdlet/approved-verbs-for-windows-powershell-commands
const VALID_VERBS =
'Add|Clear|Close|Copy|Enter|Exit|Find|Format|Get|Hide|Join|Lock|'
+ 'Move|New|Open|Optimize|Pop|Push|Redo|Remove|Rename|Reset|Resize|'
+ 'Search|Select|Set|Show|Skip|Split|Step|Switch|Undo|Unlock|'
+ 'Watch|Backup|Checkpoint|Compare|Compress|Convert|ConvertFrom|'
+ 'ConvertTo|Dismount|Edit|Expand|Export|Group|Import|Initialize|'
+ 'Limit|Merge|Mount|Out|Publish|Restore|Save|Sync|Unpublish|Update|'
+ 'Approve|Assert|Build|Complete|Confirm|Deny|Deploy|Disable|Enable|Install|Invoke|'
+ 'Register|Request|Restart|Resume|Start|Stop|Submit|Suspend|Uninstall|'
+ 'Unregister|Wait|Debug|Measure|Ping|Repair|Resolve|Test|Trace|Connect|'
+ 'Disconnect|Read|Receive|Send|Write|Block|Grant|Protect|Revoke|Unblock|'
+ 'Unprotect|Use|ForEach|Sort|Tee|Where';
const COMPARISON_OPERATORS =
'-and|-as|-band|-bnot|-bor|-bxor|-casesensitive|-ccontains|-ceq|-cge|-cgt|'
+ '-cle|-clike|-clt|-cmatch|-cne|-cnotcontains|-cnotlike|-cnotmatch|-contains|'
+ '-creplace|-csplit|-eq|-exact|-f|-file|-ge|-gt|-icontains|-ieq|-ige|-igt|'
+ '-ile|-ilike|-ilt|-imatch|-in|-ine|-inotcontains|-inotlike|-inotmatch|'
+ '-ireplace|-is|-isnot|-isplit|-join|-le|-like|-lt|-match|-ne|-not|'
+ '-notcontains|-notin|-notlike|-notmatch|-or|-regex|-replace|-shl|-shr|'
+ '-split|-wildcard|-xor';
const KEYWORDS = {
$pattern: /-?[A-z\.\-]+\b/,
keyword:
'if else foreach return do while until elseif begin for trap data dynamicparam '
+ 'end break throw param continue finally in switch exit filter try process catch '
+ 'hidden static parameter',
// "echo" relevance has been set to 0 to avoid auto-detect conflicts with shell transcripts
built_in:
'ac asnp cat cd CFS chdir clc clear clhy cli clp cls clv cnsn compare copy cp '
+ 'cpi cpp curl cvpa dbp del diff dir dnsn ebp echo|0 epal epcsv epsn erase etsn exsn fc fhx '
+ 'fl ft fw gal gbp gc gcb gci gcm gcs gdr gerr ghy gi gin gjb gl gm gmo gp gps gpv group '
+ 'gsn gsnp gsv gtz gu gv gwmi h history icm iex ihy ii ipal ipcsv ipmo ipsn irm ise iwmi '
+ 'iwr kill lp ls man md measure mi mount move mp mv nal ndr ni nmo npssc nsn nv ogv oh '
+ 'popd ps pushd pwd r rbp rcjb rcsn rd rdr ren ri rjb rm rmdir rmo rni rnp rp rsn rsnp '
+ 'rujb rv rvpa rwmi sajb sal saps sasv sbp sc scb select set shcm si sl sleep sls sort sp '
+ 'spjb spps spsv start stz sujb sv swmi tee trcm type wget where wjb write'
// TODO: 'validate[A-Z]+' can't work in keywords
};
const TITLE_NAME_RE = /\w[\w\d]*((-)[\w\d]+)*/;
const BACKTICK_ESCAPE = {
begin: '`[\\s\\S]',
relevance: 0
};
const VAR = {
className: 'variable',
variants: [
{ begin: /\$\B/ },
{
className: 'keyword',
begin: /\$this/
},
{ begin: /\$[\w\d][\w\d_:]*/ }
]
};
const LITERAL = {
className: 'literal',
begin: /\$(null|true|false)\b/
};
const QUOTE_STRING = {
className: "string",
variants: [
{
begin: /"/,
end: /"/
},
{
begin: /@"/,
end: /^"@/
}
],
contains: [
BACKTICK_ESCAPE,
VAR,
{
className: 'variable',
begin: /\$[A-z]/,
end: /[^A-z]/
}
]
};
const APOS_STRING = {
className: 'string',
variants: [
{
begin: /'/,
end: /'/
},
{
begin: /@'/,
end: /^'@/
}
]
};
const PS_HELPTAGS = {
className: "doctag",
variants: [
/* no paramater help tags */
{ begin: /\.(synopsis|description|example|inputs|outputs|notes|link|component|role|functionality)/ },
/* one parameter help tags */
{ begin: /\.(parameter|forwardhelptargetname|forwardhelpcategory|remotehelprunspace|externalhelp)\s+\S+/ }
]
};
const PS_COMMENT = hljs.inherit(
hljs.COMMENT(null, null),
{
variants: [
/* single-line comment */
{
begin: /#/,
end: /$/
},
/* multi-line comment */
{
begin: /<#/,
end: /#>/
}
],
contains: [ PS_HELPTAGS ]
}
);
const CMDLETS = {
className: 'built_in',
variants: [ { begin: '('.concat(VALID_VERBS, ')+(-)[\\w\\d]+') } ]
};
const PS_CLASS = {
className: 'class',
beginKeywords: 'class enum',
end: /\s*[{]/,
excludeEnd: true,
relevance: 0,
contains: [ hljs.TITLE_MODE ]
};
const PS_FUNCTION = {
className: 'function',
begin: /function\s+/,
end: /\s*\{|$/,
excludeEnd: true,
returnBegin: true,
relevance: 0,
contains: [
{
begin: "function",
relevance: 0,
className: "keyword"
},
{
className: "title",
begin: TITLE_NAME_RE,
relevance: 0
},
{
begin: /\(/,
end: /\)/,
className: "params",
relevance: 0,
contains: [ VAR ]
}
// CMDLETS
]
};
// Using statment, plus type, plus assembly name.
const PS_USING = {
begin: /using\s/,
end: /$/,
returnBegin: true,
contains: [
QUOTE_STRING,
APOS_STRING,
{
className: 'keyword',
begin: /(using|assembly|command|module|namespace|type)/
}
]
};
// Comperison operators & function named parameters.
const PS_ARGUMENTS = { variants: [
// PS literals are pretty verbose so it's a good idea to accent them a bit.
{
className: 'operator',
begin: '('.concat(COMPARISON_OPERATORS, ')\\b')
},
{
className: 'literal',
begin: /(-){1,2}[\w\d-]+/,
relevance: 0
}
] };
const HASH_SIGNS = {
className: 'selector-tag',
begin: /@\B/,
relevance: 0
};
// It's a very general rule so I'll narrow it a bit with some strict boundaries
// to avoid any possible false-positive collisions!
const PS_METHODS = {
className: 'function',
begin: /\[.*\]\s*[\w]+[ ]??\(/,
end: /$/,
returnBegin: true,
relevance: 0,
contains: [
{
className: 'keyword',
begin: '('.concat(
KEYWORDS.keyword.toString().replace(/\s/g, '|'
), ')\\b'),
endsParent: true,
relevance: 0
},
hljs.inherit(hljs.TITLE_MODE, { endsParent: true })
]
};
const GENTLEMANS_SET = [
// STATIC_MEMBER,
PS_METHODS,
PS_COMMENT,
BACKTICK_ESCAPE,
hljs.NUMBER_MODE,
QUOTE_STRING,
APOS_STRING,
// PS_NEW_OBJECT_TYPE,
CMDLETS,
VAR,
LITERAL,
HASH_SIGNS
];
const PS_TYPE = {
begin: /\[/,
end: /\]/,
excludeBegin: true,
excludeEnd: true,
relevance: 0,
contains: [].concat(
'self',
GENTLEMANS_SET,
{
begin: "(" + TYPES.join("|") + ")",
className: "built_in",
relevance: 0
},
{
className: 'type',
begin: /[\.\w\d]+/,
relevance: 0
}
)
};
PS_METHODS.contains.unshift(PS_TYPE);
return {
name: 'PowerShell',
aliases: [
"pwsh",
"ps",
"ps1"
],
case_insensitive: true,
keywords: KEYWORDS,
contains: GENTLEMANS_SET.concat(
PS_CLASS,
PS_FUNCTION,
PS_USING,
PS_ARGUMENTS,
PS_TYPE
)
};
}
return powershell;
})();
hljs.registerLanguage('powershell', hljsGrammar);
})();/*! `processing` grammar compiled for Highlight.js 11.11.1 */
(function(){
var hljsGrammar = (function () {
'use strict';
/*
Language: Processing
Description: Processing is a flexible software sketchbook and a language for learning how to code within the context of the visual arts.
Author: Erik Paluka
Website: https://processing.org
Category: graphics
*/
function processing(hljs) {
const regex = hljs.regex;
const BUILT_INS = [
"displayHeight",
"displayWidth",
"mouseY",
"mouseX",
"mousePressed",
"pmouseX",
"pmouseY",
"key",
"keyCode",
"pixels",
"focused",
"frameCount",
"frameRate",
"height",
"width",
"size",
"createGraphics",
"beginDraw",
"createShape",
"loadShape",
"PShape",
"arc",
"ellipse",
"line",
"point",
"quad",
"rect",
"triangle",
"bezier",
"bezierDetail",
"bezierPoint",
"bezierTangent",
"curve",
"curveDetail",
"curvePoint",
"curveTangent",
"curveTightness",
"shape",
"shapeMode",
"beginContour",
"beginShape",
"bezierVertex",
"curveVertex",
"endContour",
"endShape",
"quadraticVertex",
"vertex",
"ellipseMode",
"noSmooth",
"rectMode",
"smooth",
"strokeCap",
"strokeJoin",
"strokeWeight",
"mouseClicked",
"mouseDragged",
"mouseMoved",
"mousePressed",
"mouseReleased",
"mouseWheel",
"keyPressed",
"keyPressedkeyReleased",
"keyTyped",
"print",
"println",
"save",
"saveFrame",
"day",
"hour",
"millis",
"minute",
"month",
"second",
"year",
"background",
"clear",
"colorMode",
"fill",
"noFill",
"noStroke",
"stroke",
"alpha",
"blue",
"brightness",
"color",
"green",
"hue",
"lerpColor",
"red",
"saturation",
"modelX",
"modelY",
"modelZ",
"screenX",
"screenY",
"screenZ",
"ambient",
"emissive",
"shininess",
"specular",
"add",
"createImage",
"beginCamera",
"camera",
"endCamera",
"frustum",
"ortho",
"perspective",
"printCamera",
"printProjection",
"cursor",
"frameRate",
"noCursor",
"exit",
"loop",
"noLoop",
"popStyle",
"pushStyle",
"redraw",
"binary",
"boolean",
"byte",
"char",
"float",
"hex",
"int",
"str",
"unbinary",
"unhex",
"join",
"match",
"matchAll",
"nf",
"nfc",
"nfp",
"nfs",
"split",
"splitTokens",
"trim",
"append",
"arrayCopy",
"concat",
"expand",
"reverse",
"shorten",
"sort",
"splice",
"subset",
"box",
"sphere",
"sphereDetail",
"createInput",
"createReader",
"loadBytes",
"loadJSONArray",
"loadJSONObject",
"loadStrings",
"loadTable",
"loadXML",
"open",
"parseXML",
"saveTable",
"selectFolder",
"selectInput",
"beginRaw",
"beginRecord",
"createOutput",
"createWriter",
"endRaw",
"endRecord",
"PrintWritersaveBytes",
"saveJSONArray",
"saveJSONObject",
"saveStream",
"saveStrings",
"saveXML",
"selectOutput",
"popMatrix",
"printMatrix",
"pushMatrix",
"resetMatrix",
"rotate",
"rotateX",
"rotateY",
"rotateZ",
"scale",
"shearX",
"shearY",
"translate",
"ambientLight",
"directionalLight",
"lightFalloff",
"lights",
"lightSpecular",
"noLights",
"normal",
"pointLight",
"spotLight",
"image",
"imageMode",
"loadImage",
"noTint",
"requestImage",
"tint",
"texture",
"textureMode",
"textureWrap",
"blend",
"copy",
"filter",
"get",
"loadPixels",
"set",
"updatePixels",
"blendMode",
"loadShader",
"PShaderresetShader",
"shader",
"createFont",
"loadFont",
"text",
"textFont",
"textAlign",
"textLeading",
"textMode",
"textSize",
"textWidth",
"textAscent",
"textDescent",
"abs",
"ceil",
"constrain",
"dist",
"exp",
"floor",
"lerp",
"log",
"mag",
"map",
"max",
"min",
"norm",
"pow",
"round",
"sq",
"sqrt",
"acos",
"asin",
"atan",
"atan2",
"cos",
"degrees",
"radians",
"sin",
"tan",
"noise",
"noiseDetail",
"noiseSeed",
"random",
"randomGaussian",
"randomSeed"
];
const IDENT = hljs.IDENT_RE;
const FUNC_NAME = { variants: [
{
match: regex.concat(regex.either(...BUILT_INS), regex.lookahead(/\s*\(/)),
className: "built_in"
},
{
relevance: 0,
match: regex.concat(
/\b(?!for|if|while)/,
IDENT, regex.lookahead(/\s*\(/)),
className: "title.function"
}
] };
const NEW_CLASS = {
match: [
/new\s+/,
IDENT
],
className: {
1: "keyword",
2: "class.title"
}
};
const PROPERTY = {
relevance: 0,
match: [
/\./,
IDENT
],
className: { 2: "property" }
};
const CLASS = {
variants: [
{ match: [
/class/,
/\s+/,
IDENT,
/\s+/,
/extends/,
/\s+/,
IDENT
] },
{ match: [
/class/,
/\s+/,
IDENT
] }
],
className: {
1: "keyword",
3: "title.class",
5: "keyword",
7: "title.class.inherited"
}
};
const TYPES = [
"boolean",
"byte",
"char",
"color",
"double",
"float",
"int",
"long",
"short",
];
const CLASSES = [
"BufferedReader",
"PVector",
"PFont",
"PImage",
"PGraphics",
"HashMap",
"String",
"Array",
"FloatDict",
"ArrayList",
"FloatList",
"IntDict",
"IntList",
"JSONArray",
"JSONObject",
"Object",
"StringDict",
"StringList",
"Table",
"TableRow",
"XML"
];
const JAVA_KEYWORDS = [
"abstract",
"assert",
"break",
"case",
"catch",
"const",
"continue",
"default",
"else",
"enum",
"final",
"finally",
"for",
"if",
"import",
"instanceof",
"long",
"native",
"new",
"package",
"private",
"private",
"protected",
"protected",
"public",
"public",
"return",
"static",
"strictfp",
"switch",
"synchronized",
"throw",
"throws",
"transient",
"try",
"void",
"volatile",
"while"
];
return {
name: 'Processing',
aliases: [ 'pde' ],
keywords: {
keyword: [ ...JAVA_KEYWORDS ],
literal: 'P2D P3D HALF_PI PI QUARTER_PI TAU TWO_PI null true false',
title: 'setup draw',
variable: "super this",
built_in: [
...BUILT_INS,
...CLASSES
],
type: TYPES
},
contains: [
CLASS,
NEW_CLASS,
FUNC_NAME,
PROPERTY,
hljs.C_LINE_COMMENT_MODE,
hljs.C_BLOCK_COMMENT_MODE,
hljs.APOS_STRING_MODE,
hljs.QUOTE_STRING_MODE,
hljs.C_NUMBER_MODE
]
};
}
return processing;
})();
hljs.registerLanguage('processing', hljsGrammar);
})();/*! `profile` grammar compiled for Highlight.js 11.11.1 */
(function(){
var hljsGrammar = (function () {
'use strict';
/*
Language: Python profiler
Description: Python profiler results
Author: Brian Beck
*/
function profile(hljs) {
return {
name: 'Python profiler',
contains: [
hljs.C_NUMBER_MODE,
{
begin: '[a-zA-Z_][\\da-zA-Z_]+\\.[\\da-zA-Z_]{1,3}',
end: ':',
excludeEnd: true
},
{
begin: '(ncalls|tottime|cumtime)',
end: '$',
keywords: 'ncalls tottime|10 cumtime|10 filename',
relevance: 10
},
{
begin: 'function calls',
end: '$',
contains: [ hljs.C_NUMBER_MODE ],
relevance: 10
},
hljs.APOS_STRING_MODE,
hljs.QUOTE_STRING_MODE,
{
className: 'string',
begin: '\\(',
end: '\\)$',
excludeBegin: true,
excludeEnd: true,
relevance: 0
}
]
};
}
return profile;
})();
hljs.registerLanguage('profile', hljsGrammar);
})();/*! `prolog` grammar compiled for Highlight.js 11.11.1 */
(function(){
var hljsGrammar = (function () {
'use strict';
/*
Language: Prolog
Description: Prolog is a general purpose logic programming language associated with artificial intelligence and computational linguistics.
Author: Raivo Laanemets
Website: https://en.wikipedia.org/wiki/Prolog
Category: functional
*/
function prolog(hljs) {
const ATOM = {
begin: /[a-z][A-Za-z0-9_]*/,
relevance: 0
};
const VAR = {
className: 'symbol',
variants: [
{ begin: /[A-Z][a-zA-Z0-9_]*/ },
{ begin: /_[A-Za-z0-9_]*/ }
],
relevance: 0
};
const PARENTED = {
begin: /\(/,
end: /\)/,
relevance: 0
};
const LIST = {
begin: /\[/,
end: /\]/
};
const LINE_COMMENT = {
className: 'comment',
begin: /%/,
end: /$/,
contains: [ hljs.PHRASAL_WORDS_MODE ]
};
const BACKTICK_STRING = {
className: 'string',
begin: /`/,
end: /`/,
contains: [ hljs.BACKSLASH_ESCAPE ]
};
const CHAR_CODE = {
className: 'string', // 0'a etc.
begin: /0'(\\'|.)/
};
const SPACE_CODE = {
className: 'string',
begin: /0'\\s/ // 0'\s
};
const PRED_OP = { // relevance booster
begin: /:-/ };
const inner = [
ATOM,
VAR,
PARENTED,
PRED_OP,
LIST,
LINE_COMMENT,
hljs.C_BLOCK_COMMENT_MODE,
hljs.QUOTE_STRING_MODE,
hljs.APOS_STRING_MODE,
BACKTICK_STRING,
CHAR_CODE,
SPACE_CODE,
hljs.C_NUMBER_MODE
];
PARENTED.contains = inner;
LIST.contains = inner;
return {
name: 'Prolog',
contains: inner.concat([
{ // relevance booster
begin: /\.$/ }
])
};
}
return prolog;
})();
hljs.registerLanguage('prolog', hljsGrammar);
})();/*! `properties` grammar compiled for Highlight.js 11.11.1 */
(function(){
var hljsGrammar = (function () {
'use strict';
/*
Language: .properties
Contributors: Valentin Aitken , Egor Rogov
Website: https://en.wikipedia.org/wiki/.properties
Category: config
*/
/** @type LanguageFn */
function properties(hljs) {
// whitespaces: space, tab, formfeed
const WS0 = '[ \\t\\f]*';
const WS1 = '[ \\t\\f]+';
// delimiter
const EQUAL_DELIM = WS0 + '[:=]' + WS0;
const WS_DELIM = WS1;
const DELIM = '(' + EQUAL_DELIM + '|' + WS_DELIM + ')';
const KEY = '([^\\\\:= \\t\\f\\n]|\\\\.)+';
const DELIM_AND_VALUE = {
// skip DELIM
end: DELIM,
relevance: 0,
starts: {
// value: everything until end of line (again, taking into account backslashes)
className: 'string',
end: /$/,
relevance: 0,
contains: [
{ begin: '\\\\\\\\' },
{ begin: '\\\\\\n' }
]
}
};
return {
name: '.properties',
disableAutodetect: true,
case_insensitive: true,
illegal: /\S/,
contains: [
hljs.COMMENT('^\\s*[!#]', '$'),
// key: everything until whitespace or = or : (taking into account backslashes)
// case of a key-value pair
{
returnBegin: true,
variants: [
{ begin: KEY + EQUAL_DELIM },
{ begin: KEY + WS_DELIM }
],
contains: [
{
className: 'attr',
begin: KEY,
endsParent: true
}
],
starts: DELIM_AND_VALUE
},
// case of an empty key
{
className: 'attr',
begin: KEY + WS0 + '$'
}
]
};
}
return properties;
})();
hljs.registerLanguage('properties', hljsGrammar);
})();/*! `protobuf` grammar compiled for Highlight.js 11.11.1 */
(function(){
var hljsGrammar = (function () {
'use strict';
/*
Language: Protocol Buffers
Author: Dan Tao
Description: Protocol buffer message definition format
Website: https://developers.google.com/protocol-buffers/docs/proto3
Category: protocols
*/
function protobuf(hljs) {
const KEYWORDS = [
"package",
"import",
"option",
"optional",
"required",
"repeated",
"group",
"oneof"
];
const TYPES = [
"double",
"float",
"int32",
"int64",
"uint32",
"uint64",
"sint32",
"sint64",
"fixed32",
"fixed64",
"sfixed32",
"sfixed64",
"bool",
"string",
"bytes"
];
const CLASS_DEFINITION = {
match: [
/(message|enum|service)\s+/,
hljs.IDENT_RE
],
scope: {
1: "keyword",
2: "title.class"
}
};
return {
name: 'Protocol Buffers',
aliases: ['proto'],
keywords: {
keyword: KEYWORDS,
type: TYPES,
literal: [
'true',
'false'
]
},
contains: [
hljs.QUOTE_STRING_MODE,
hljs.NUMBER_MODE,
hljs.C_LINE_COMMENT_MODE,
hljs.C_BLOCK_COMMENT_MODE,
CLASS_DEFINITION,
{
className: 'function',
beginKeywords: 'rpc',
end: /[{;]/,
excludeEnd: true,
keywords: 'rpc returns'
},
{ // match enum items (relevance)
// BLAH = ...;
begin: /^\s*[A-Z_]+(?=\s*=[^\n]+;$)/ }
]
};
}
return protobuf;
})();
hljs.registerLanguage('protobuf', hljsGrammar);
})();/*! `puppet` grammar compiled for Highlight.js 11.11.1 */
(function(){
var hljsGrammar = (function () {
'use strict';
/*
Language: Puppet
Author: Jose Molina Colmenero
Website: https://puppet.com/docs
Category: config
*/
function puppet(hljs) {
const PUPPET_KEYWORDS = {
keyword:
/* language keywords */
'and case default else elsif false if in import enherits node or true undef unless main settings $string ',
literal:
/* metaparameters */
'alias audit before loglevel noop require subscribe tag '
/* normal attributes */
+ 'owner ensure group mode name|0 changes context force incl lens load_path onlyif provider returns root show_diff type_check '
+ 'en_address ip_address realname command environment hour monute month monthday special target weekday '
+ 'creates cwd ogoutput refresh refreshonly tries try_sleep umask backup checksum content ctime force ignore '
+ 'links mtime purge recurse recurselimit replace selinux_ignore_defaults selrange selrole seltype seluser source '
+ 'souirce_permissions sourceselect validate_cmd validate_replacement allowdupe attribute_membership auth_membership forcelocal gid '
+ 'ia_load_module members system host_aliases ip allowed_trunk_vlans description device_url duplex encapsulation etherchannel '
+ 'native_vlan speed principals allow_root auth_class auth_type authenticate_user k_of_n mechanisms rule session_owner shared options '
+ 'device fstype enable hasrestart directory present absent link atboot blockdevice device dump pass remounts poller_tag use '
+ 'message withpath adminfile allow_virtual allowcdrom category configfiles flavor install_options instance package_settings platform '
+ 'responsefile status uninstall_options vendor unless_system_user unless_uid binary control flags hasstatus manifest pattern restart running '
+ 'start stop allowdupe auths expiry gid groups home iterations key_membership keys managehome membership password password_max_age '
+ 'password_min_age profile_membership profiles project purge_ssh_keys role_membership roles salt shell uid baseurl cost descr enabled '
+ 'enablegroups exclude failovermethod gpgcheck gpgkey http_caching include includepkgs keepalive metadata_expire metalink mirrorlist '
+ 'priority protect proxy proxy_password proxy_username repo_gpgcheck s3_enabled skip_if_unavailable sslcacert sslclientcert sslclientkey '
+ 'sslverify mounted',
built_in:
/* core facts */
'architecture augeasversion blockdevices boardmanufacturer boardproductname boardserialnumber cfkey dhcp_servers '
+ 'domain ec2_ ec2_userdata facterversion filesystems ldom fqdn gid hardwareisa hardwaremodel hostname id|0 interfaces '
+ 'ipaddress ipaddress_ ipaddress6 ipaddress6_ iphostnumber is_virtual kernel kernelmajversion kernelrelease kernelversion '
+ 'kernelrelease kernelversion lsbdistcodename lsbdistdescription lsbdistid lsbdistrelease lsbmajdistrelease lsbminordistrelease '
+ 'lsbrelease macaddress macaddress_ macosx_buildversion macosx_productname macosx_productversion macosx_productverson_major '
+ 'macosx_productversion_minor manufacturer memoryfree memorysize netmask metmask_ network_ operatingsystem operatingsystemmajrelease '
+ 'operatingsystemrelease osfamily partitions path physicalprocessorcount processor processorcount productname ps puppetversion '
+ 'rubysitedir rubyversion selinux selinux_config_mode selinux_config_policy selinux_current_mode selinux_current_mode selinux_enforced '
+ 'selinux_policyversion serialnumber sp_ sshdsakey sshecdsakey sshrsakey swapencrypted swapfree swapsize timezone type uniqueid uptime '
+ 'uptime_days uptime_hours uptime_seconds uuid virtual vlans xendomains zfs_version zonenae zones zpool_version'
};
const COMMENT = hljs.COMMENT('#', '$');
const IDENT_RE = '([A-Za-z_]|::)(\\w|::)*';
const TITLE = hljs.inherit(hljs.TITLE_MODE, { begin: IDENT_RE });
const VARIABLE = {
className: 'variable',
begin: '\\$' + IDENT_RE
};
const STRING = {
className: 'string',
contains: [
hljs.BACKSLASH_ESCAPE,
VARIABLE
],
variants: [
{
begin: /'/,
end: /'/
},
{
begin: /"/,
end: /"/
}
]
};
return {
name: 'Puppet',
aliases: [ 'pp' ],
contains: [
COMMENT,
VARIABLE,
STRING,
{
beginKeywords: 'class',
end: '\\{|;',
illegal: /=/,
contains: [
TITLE,
COMMENT
]
},
{
beginKeywords: 'define',
end: /\{/,
contains: [
{
className: 'section',
begin: hljs.IDENT_RE,
endsParent: true
}
]
},
{
begin: hljs.IDENT_RE + '\\s+\\{',
returnBegin: true,
end: /\S/,
contains: [
{
className: 'keyword',
begin: hljs.IDENT_RE,
relevance: 0.2
},
{
begin: /\{/,
end: /\}/,
keywords: PUPPET_KEYWORDS,
relevance: 0,
contains: [
STRING,
COMMENT,
{
begin: '[a-zA-Z_]+\\s*=>',
returnBegin: true,
end: '=>',
contains: [
{
className: 'attr',
begin: hljs.IDENT_RE
}
]
},
{
className: 'number',
begin: '(\\b0[0-7_]+)|(\\b0x[0-9a-fA-F_]+)|(\\b[1-9][0-9_]*(\\.[0-9_]+)?)|[0_]\\b',
relevance: 0
},
VARIABLE
]
}
],
relevance: 0
}
]
};
}
return puppet;
})();
hljs.registerLanguage('puppet', hljsGrammar);
})();/*! `purebasic` grammar compiled for Highlight.js 11.11.1 */
(function(){
var hljsGrammar = (function () {
'use strict';
/*
Language: PureBASIC
Author: Tristano Ajmone
Description: Syntax highlighting for PureBASIC (v.5.00-5.60). No inline ASM highlighting. (v.1.2, May 2017)
Credits: I've taken inspiration from the PureBasic language file for GeSHi, created by Gustavo Julio Fiorenza (GuShH).
Website: https://www.purebasic.com
Category: system
*/
// Base deafult colors in PB IDE: background: #FFFFDF; foreground: #000000;
function purebasic(hljs) {
const STRINGS = { // PB IDE color: #0080FF (Azure Radiance)
className: 'string',
begin: '(~)?"',
end: '"',
illegal: '\\n'
};
const CONSTANTS = { // PB IDE color: #924B72 (Cannon Pink)
// "#" + a letter or underscore + letters, digits or underscores + (optional) "$"
className: 'symbol',
begin: '#[a-zA-Z_]\\w*\\$?'
};
return {
name: 'PureBASIC',
aliases: [
'pb',
'pbi'
],
keywords: // PB IDE color: #006666 (Blue Stone) + Bold
// Keywords from all version of PureBASIC 5.00 upward ...
'Align And Array As Break CallDebugger Case CompilerCase CompilerDefault '
+ 'CompilerElse CompilerElseIf CompilerEndIf CompilerEndSelect CompilerError '
+ 'CompilerIf CompilerSelect CompilerWarning Continue Data DataSection Debug '
+ 'DebugLevel Declare DeclareC DeclareCDLL DeclareDLL DeclareModule Default '
+ 'Define Dim DisableASM DisableDebugger DisableExplicit Else ElseIf EnableASM '
+ 'EnableDebugger EnableExplicit End EndDataSection EndDeclareModule EndEnumeration '
+ 'EndIf EndImport EndInterface EndMacro EndModule EndProcedure EndSelect '
+ 'EndStructure EndStructureUnion EndWith Enumeration EnumerationBinary Extends '
+ 'FakeReturn For ForEach ForEver Global Gosub Goto If Import ImportC '
+ 'IncludeBinary IncludeFile IncludePath Interface List Macro MacroExpandedCount '
+ 'Map Module NewList NewMap Next Not Or Procedure ProcedureC '
+ 'ProcedureCDLL ProcedureDLL ProcedureReturn Protected Prototype PrototypeC ReDim '
+ 'Read Repeat Restore Return Runtime Select Shared Static Step Structure '
+ 'StructureUnion Swap Threaded To UndefineMacro Until Until UnuseModule '
+ 'UseModule Wend While With XIncludeFile XOr',
contains: [
// COMMENTS | PB IDE color: #00AAAA (Persian Green)
hljs.COMMENT(';', '$', { relevance: 0 }),
{ // PROCEDURES DEFINITIONS
className: 'function',
begin: '\\b(Procedure|Declare)(C|CDLL|DLL)?\\b',
end: '\\(',
excludeEnd: true,
returnBegin: true,
contains: [
{ // PROCEDURE KEYWORDS | PB IDE color: #006666 (Blue Stone) + Bold
className: 'keyword',
begin: '(Procedure|Declare)(C|CDLL|DLL)?',
excludeEnd: true
},
{ // PROCEDURE RETURN TYPE SETTING | PB IDE color: #000000 (Black)
className: 'type',
begin: '\\.\\w*'
// end: ' ',
},
hljs.UNDERSCORE_TITLE_MODE // PROCEDURE NAME | PB IDE color: #006666 (Blue Stone)
]
},
STRINGS,
CONSTANTS
]
};
}
/* ==============================================================================
CHANGELOG
==============================================================================
- v.1.2 (2017-05-12)
-- BUG-FIX: Some keywords were accidentally joyned together. Now fixed.
- v.1.1 (2017-04-30)
-- Updated to PureBASIC 5.60.
-- Keywords list now built by extracting them from the PureBASIC SDK's
"SyntaxHilighting.dll" (from each PureBASIC version). Tokens from each
version are added to the list, and renamed or removed tokens are kept
for the sake of covering all versions of the language from PureBASIC
v5.00 upward. (NOTE: currently, there are no renamed or deprecated
tokens in the keywords list). For more info, see:
-- http://www.purebasic.fr/english/viewtopic.php?&p=506269
-- https://github.com/tajmone/purebasic-archives/tree/master/syntax-highlighting/guidelines
- v.1.0 (April 2016)
-- First release
-- Keywords list taken and adapted from GuShH's (Gustavo Julio Fiorenza)
PureBasic language file for GeSHi:
-- https://github.com/easybook/geshi/blob/master/geshi/purebasic.php
*/
return purebasic;
})();
hljs.registerLanguage('purebasic', hljsGrammar);
})();/*! `python` grammar compiled for Highlight.js 11.11.1 */
(function(){
var hljsGrammar = (function () {
'use strict';
/*
Language: Python
Description: Python is an interpreted, object-oriented, high-level programming language with dynamic semantics.
Website: https://www.python.org
Category: common
*/
function python(hljs) {
const regex = hljs.regex;
const IDENT_RE = /[\p{XID_Start}_]\p{XID_Continue}*/u;
const RESERVED_WORDS = [
'and',
'as',
'assert',
'async',
'await',
'break',
'case',
'class',
'continue',
'def',
'del',
'elif',
'else',
'except',
'finally',
'for',
'from',
'global',
'if',
'import',
'in',
'is',
'lambda',
'match',
'nonlocal|10',
'not',
'or',
'pass',
'raise',
'return',
'try',
'while',
'with',
'yield'
];
const BUILT_INS = [
'__import__',
'abs',
'all',
'any',
'ascii',
'bin',
'bool',
'breakpoint',
'bytearray',
'bytes',
'callable',
'chr',
'classmethod',
'compile',
'complex',
'delattr',
'dict',
'dir',
'divmod',
'enumerate',
'eval',
'exec',
'filter',
'float',
'format',
'frozenset',
'getattr',
'globals',
'hasattr',
'hash',
'help',
'hex',
'id',
'input',
'int',
'isinstance',
'issubclass',
'iter',
'len',
'list',
'locals',
'map',
'max',
'memoryview',
'min',
'next',
'object',
'oct',
'open',
'ord',
'pow',
'print',
'property',
'range',
'repr',
'reversed',
'round',
'set',
'setattr',
'slice',
'sorted',
'staticmethod',
'str',
'sum',
'super',
'tuple',
'type',
'vars',
'zip'
];
const LITERALS = [
'__debug__',
'Ellipsis',
'False',
'None',
'NotImplemented',
'True'
];
// https://docs.python.org/3/library/typing.html
// TODO: Could these be supplemented by a CamelCase matcher in certain
// contexts, leaving these remaining only for relevance hinting?
const TYPES = [
"Any",
"Callable",
"Coroutine",
"Dict",
"List",
"Literal",
"Generic",
"Optional",
"Sequence",
"Set",
"Tuple",
"Type",
"Union"
];
const KEYWORDS = {
$pattern: /[A-Za-z]\w+|__\w+__/,
keyword: RESERVED_WORDS,
built_in: BUILT_INS,
literal: LITERALS,
type: TYPES
};
const PROMPT = {
className: 'meta',
begin: /^(>>>|\.\.\.) /
};
const SUBST = {
className: 'subst',
begin: /\{/,
end: /\}/,
keywords: KEYWORDS,
illegal: /#/
};
const LITERAL_BRACKET = {
begin: /\{\{/,
relevance: 0
};
const STRING = {
className: 'string',
contains: [ hljs.BACKSLASH_ESCAPE ],
variants: [
{
begin: /([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?'''/,
end: /'''/,
contains: [
hljs.BACKSLASH_ESCAPE,
PROMPT
],
relevance: 10
},
{
begin: /([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?"""/,
end: /"""/,
contains: [
hljs.BACKSLASH_ESCAPE,
PROMPT
],
relevance: 10
},
{
begin: /([fF][rR]|[rR][fF]|[fF])'''/,
end: /'''/,
contains: [
hljs.BACKSLASH_ESCAPE,
PROMPT,
LITERAL_BRACKET,
SUBST
]
},
{
begin: /([fF][rR]|[rR][fF]|[fF])"""/,
end: /"""/,
contains: [
hljs.BACKSLASH_ESCAPE,
PROMPT,
LITERAL_BRACKET,
SUBST
]
},
{
begin: /([uU]|[rR])'/,
end: /'/,
relevance: 10
},
{
begin: /([uU]|[rR])"/,
end: /"/,
relevance: 10
},
{
begin: /([bB]|[bB][rR]|[rR][bB])'/,
end: /'/
},
{
begin: /([bB]|[bB][rR]|[rR][bB])"/,
end: /"/
},
{
begin: /([fF][rR]|[rR][fF]|[fF])'/,
end: /'/,
contains: [
hljs.BACKSLASH_ESCAPE,
LITERAL_BRACKET,
SUBST
]
},
{
begin: /([fF][rR]|[rR][fF]|[fF])"/,
end: /"/,
contains: [
hljs.BACKSLASH_ESCAPE,
LITERAL_BRACKET,
SUBST
]
},
hljs.APOS_STRING_MODE,
hljs.QUOTE_STRING_MODE
]
};
// https://docs.python.org/3.9/reference/lexical_analysis.html#numeric-literals
const digitpart = '[0-9](_?[0-9])*';
const pointfloat = `(\\b(${digitpart}))?\\.(${digitpart})|\\b(${digitpart})\\.`;
// Whitespace after a number (or any lexical token) is needed only if its absence
// would change the tokenization
// https://docs.python.org/3.9/reference/lexical_analysis.html#whitespace-between-tokens
// We deviate slightly, requiring a word boundary or a keyword
// to avoid accidentally recognizing *prefixes* (e.g., `0` in `0x41` or `08` or `0__1`)
const lookahead = `\\b|${RESERVED_WORDS.join('|')}`;
const NUMBER = {
className: 'number',
relevance: 0,
variants: [
// exponentfloat, pointfloat
// https://docs.python.org/3.9/reference/lexical_analysis.html#floating-point-literals
// optionally imaginary
// https://docs.python.org/3.9/reference/lexical_analysis.html#imaginary-literals
// Note: no leading \b because floats can start with a decimal point
// and we don't want to mishandle e.g. `fn(.5)`,
// no trailing \b for pointfloat because it can end with a decimal point
// and we don't want to mishandle e.g. `0..hex()`; this should be safe
// because both MUST contain a decimal point and so cannot be confused with
// the interior part of an identifier
{
begin: `(\\b(${digitpart})|(${pointfloat}))[eE][+-]?(${digitpart})[jJ]?(?=${lookahead})`
},
{
begin: `(${pointfloat})[jJ]?`
},
// decinteger, bininteger, octinteger, hexinteger
// https://docs.python.org/3.9/reference/lexical_analysis.html#integer-literals
// optionally "long" in Python 2
// https://docs.python.org/2.7/reference/lexical_analysis.html#integer-and-long-integer-literals
// decinteger is optionally imaginary
// https://docs.python.org/3.9/reference/lexical_analysis.html#imaginary-literals
{
begin: `\\b([1-9](_?[0-9])*|0+(_?0)*)[lLjJ]?(?=${lookahead})`
},
{
begin: `\\b0[bB](_?[01])+[lL]?(?=${lookahead})`
},
{
begin: `\\b0[oO](_?[0-7])+[lL]?(?=${lookahead})`
},
{
begin: `\\b0[xX](_?[0-9a-fA-F])+[lL]?(?=${lookahead})`
},
// imagnumber (digitpart-based)
// https://docs.python.org/3.9/reference/lexical_analysis.html#imaginary-literals
{
begin: `\\b(${digitpart})[jJ](?=${lookahead})`
}
]
};
const COMMENT_TYPE = {
className: "comment",
begin: regex.lookahead(/# type:/),
end: /$/,
keywords: KEYWORDS,
contains: [
{ // prevent keywords from coloring `type`
begin: /# type:/
},
// comment within a datatype comment includes no keywords
{
begin: /#/,
end: /\b\B/,
endsWithParent: true
}
]
};
const PARAMS = {
className: 'params',
variants: [
// Exclude params in functions without params
{
className: "",
begin: /\(\s*\)/,
skip: true
},
{
begin: /\(/,
end: /\)/,
excludeBegin: true,
excludeEnd: true,
keywords: KEYWORDS,
contains: [
'self',
PROMPT,
NUMBER,
STRING,
hljs.HASH_COMMENT_MODE
]
}
]
};
SUBST.contains = [
STRING,
NUMBER,
PROMPT
];
return {
name: 'Python',
aliases: [
'py',
'gyp',
'ipython'
],
unicodeRegex: true,
keywords: KEYWORDS,
illegal: /(<\/|\?)|=>/,
contains: [
PROMPT,
NUMBER,
{
// very common convention
scope: 'variable.language',
match: /\bself\b/
},
{
// eat "if" prior to string so that it won't accidentally be
// labeled as an f-string
beginKeywords: "if",
relevance: 0
},
{ match: /\bor\b/, scope: "keyword" },
STRING,
COMMENT_TYPE,
hljs.HASH_COMMENT_MODE,
{
match: [
/\bdef/, /\s+/,
IDENT_RE,
],
scope: {
1: "keyword",
3: "title.function"
},
contains: [ PARAMS ]
},
{
variants: [
{
match: [
/\bclass/, /\s+/,
IDENT_RE, /\s*/,
/\(\s*/, IDENT_RE,/\s*\)/
],
},
{
match: [
/\bclass/, /\s+/,
IDENT_RE
],
}
],
scope: {
1: "keyword",
3: "title.class",
6: "title.class.inherited",
}
},
{
className: 'meta',
begin: /^[\t ]*@/,
end: /(?=#)|$/,
contains: [
NUMBER,
PARAMS,
STRING
]
}
]
};
}
return python;
})();
hljs.registerLanguage('python', hljsGrammar);
})();/*! `python-repl` grammar compiled for Highlight.js 11.11.1 */
(function(){
var hljsGrammar = (function () {
'use strict';
/*
Language: Python REPL
Requires: python.js
Author: Josh Goebel
Category: common
*/
function pythonRepl(hljs) {
return {
aliases: [ 'pycon' ],
contains: [
{
className: 'meta.prompt',
starts: {
// a space separates the REPL prefix from the actual code
// this is purely for cleaner HTML output
end: / |$/,
starts: {
end: '$',
subLanguage: 'python'
}
},
variants: [
{ begin: /^>>>(?=[ ]|$)/ },
{ begin: /^\.\.\.(?=[ ]|$)/ }
]
}
]
};
}
return pythonRepl;
})();
hljs.registerLanguage('python-repl', hljsGrammar);
})();/*! `q` grammar compiled for Highlight.js 11.11.1 */
(function(){
var hljsGrammar = (function () {
'use strict';
/*
Language: Q
Description: Q is a vector-based functional paradigm programming language built into the kdb+ database.
(K/Q/Kdb+ from Kx Systems)
Author: Sergey Vidyuk
Website: https://kx.com/connect-with-us/developers/
Category: enterprise, functional, database
*/
function q(hljs) {
const KEYWORDS = {
$pattern: /(`?)[A-Za-z0-9_]+\b/,
keyword:
'do while select delete by update from',
literal:
'0b 1b',
built_in:
'neg not null string reciprocal floor ceiling signum mod xbar xlog and or each scan over prior mmu lsq inv md5 ltime gtime count first var dev med cov cor all any rand sums prds mins maxs fills deltas ratios avgs differ prev next rank reverse iasc idesc asc desc msum mcount mavg mdev xrank mmin mmax xprev rotate distinct group where flip type key til get value attr cut set upsert raze union inter except cross sv vs sublist enlist read0 read1 hopen hclose hdel hsym hcount peach system ltrim rtrim trim lower upper ssr view tables views cols xcols keys xkey xcol xasc xdesc fkeys meta lj aj aj0 ij pj asof uj ww wj wj1 fby xgroup ungroup ej save load rsave rload show csv parse eval min max avg wavg wsum sin cos tan sum',
type:
'`float `double int `timestamp `timespan `datetime `time `boolean `symbol `char `byte `short `long `real `month `date `minute `second `guid'
};
return {
name: 'Q',
aliases: [
'k',
'kdb'
],
keywords: KEYWORDS,
contains: [
hljs.C_LINE_COMMENT_MODE,
hljs.QUOTE_STRING_MODE,
hljs.C_NUMBER_MODE
]
};
}
return q;
})();
hljs.registerLanguage('q', hljsGrammar);
})();/*! `qml` grammar compiled for Highlight.js 11.11.1 */
(function(){
var hljsGrammar = (function () {
'use strict';
/*
Language: QML
Requires: javascript.js, xml.js
Author: John Foster
Description: Syntax highlighting for the Qt Quick QML scripting language, based mostly off
the JavaScript parser.
Website: https://doc.qt.io/qt-5/qmlapplications.html
Category: scripting
*/
function qml(hljs) {
const regex = hljs.regex;
const KEYWORDS = {
keyword:
'in of on if for while finally var new function do return void else break catch '
+ 'instanceof with throw case default try this switch continue typeof delete '
+ 'let yield const export super debugger as async await import',
literal:
'true false null undefined NaN Infinity',
built_in:
'eval isFinite isNaN parseFloat parseInt decodeURI decodeURIComponent '
+ 'encodeURI encodeURIComponent escape unescape Object Function Boolean Error '
+ 'EvalError InternalError RangeError ReferenceError StopIteration SyntaxError '
+ 'TypeError URIError Number Math Date String RegExp Array Float32Array '
+ 'Float64Array Int16Array Int32Array Int8Array Uint16Array Uint32Array '
+ 'Uint8Array Uint8ClampedArray ArrayBuffer DataView JSON Intl arguments require '
+ 'module console window document Symbol Set Map WeakSet WeakMap Proxy Reflect '
+ 'Behavior bool color coordinate date double enumeration font geocircle georectangle '
+ 'geoshape int list matrix4x4 parent point quaternion real rect '
+ 'size string url variant vector2d vector3d vector4d '
+ 'Promise'
};
const QML_IDENT_RE = '[a-zA-Z_][a-zA-Z0-9\\._]*';
// Isolate property statements. Ends at a :, =, ;, ,, a comment or end of line.
// Use property class.
const PROPERTY = {
className: 'keyword',
begin: '\\bproperty\\b',
starts: {
className: 'string',
end: '(:|=|;|,|//|/\\*|$)',
returnEnd: true
}
};
// Isolate signal statements. Ends at a ) a comment or end of line.
// Use property class.
const SIGNAL = {
className: 'keyword',
begin: '\\bsignal\\b',
starts: {
className: 'string',
end: '(\\(|:|=|;|,|//|/\\*|$)',
returnEnd: true
}
};
// id: is special in QML. When we see id: we want to mark the id: as attribute and
// emphasize the token following.
const ID_ID = {
className: 'attribute',
begin: '\\bid\\s*:',
starts: {
className: 'string',
end: QML_IDENT_RE,
returnEnd: false
}
};
// Find QML object attribute. An attribute is a QML identifier followed by :.
// Unfortunately it's hard to know where it ends, as it may contain scalars,
// objects, object definitions, or javascript. The true end is either when the parent
// ends or the next attribute is detected.
const QML_ATTRIBUTE = {
begin: QML_IDENT_RE + '\\s*:',
returnBegin: true,
contains: [
{
className: 'attribute',
begin: QML_IDENT_RE,
end: '\\s*:',
excludeEnd: true,
relevance: 0
}
],
relevance: 0
};
// Find QML object. A QML object is a QML identifier followed by { and ends at the matching }.
// All we really care about is finding IDENT followed by { and just mark up the IDENT and ignore the {.
const QML_OBJECT = {
begin: regex.concat(QML_IDENT_RE, /\s*\{/),
end: /\{/,
returnBegin: true,
relevance: 0,
contains: [ hljs.inherit(hljs.TITLE_MODE, { begin: QML_IDENT_RE }) ]
};
return {
name: 'QML',
aliases: [ 'qt' ],
case_insensitive: false,
keywords: KEYWORDS,
contains: [
{
className: 'meta',
begin: /^\s*['"]use (strict|asm)['"]/
},
hljs.APOS_STRING_MODE,
hljs.QUOTE_STRING_MODE,
{ // template string
className: 'string',
begin: '`',
end: '`',
contains: [
hljs.BACKSLASH_ESCAPE,
{
className: 'subst',
begin: '\\$\\{',
end: '\\}'
}
]
},
hljs.C_LINE_COMMENT_MODE,
hljs.C_BLOCK_COMMENT_MODE,
{
className: 'number',
variants: [
{ begin: '\\b(0[bB][01]+)' },
{ begin: '\\b(0[oO][0-7]+)' },
{ begin: hljs.C_NUMBER_RE }
],
relevance: 0
},
{ // "value" container
begin: '(' + hljs.RE_STARTERS_RE + '|\\b(case|return|throw)\\b)\\s*',
keywords: 'return throw case',
contains: [
hljs.C_LINE_COMMENT_MODE,
hljs.C_BLOCK_COMMENT_MODE,
hljs.REGEXP_MODE,
{ // E4X / JSX
begin: /,
end: />\s*[);\]]/,
relevance: 0,
subLanguage: 'xml'
}
],
relevance: 0
},
SIGNAL,
PROPERTY,
{
className: 'function',
beginKeywords: 'function',
end: /\{/,
excludeEnd: true,
contains: [
hljs.inherit(hljs.TITLE_MODE, { begin: /[A-Za-z$_][0-9A-Za-z$_]*/ }),
{
className: 'params',
begin: /\(/,
end: /\)/,
excludeBegin: true,
excludeEnd: true,
contains: [
hljs.C_LINE_COMMENT_MODE,
hljs.C_BLOCK_COMMENT_MODE
]
}
],
illegal: /\[|%/
},
{
// hack: prevents detection of keywords after dots
begin: '\\.' + hljs.IDENT_RE,
relevance: 0
},
ID_ID,
QML_ATTRIBUTE,
QML_OBJECT
],
illegal: /#/
};
}
return qml;
})();
hljs.registerLanguage('qml', hljsGrammar);
})();/*! `r` grammar compiled for Highlight.js 11.11.1 */
(function(){
var hljsGrammar = (function () {
'use strict';
/*
Language: R
Description: R is a free software environment for statistical computing and graphics.
Author: Joe Cheng
Contributors: Konrad Rudolph
Website: https://www.r-project.org
Category: common,scientific
*/
/** @type LanguageFn */
function r(hljs) {
const regex = hljs.regex;
// Identifiers in R cannot start with `_`, but they can start with `.` if it
// is not immediately followed by a digit.
// R also supports quoted identifiers, which are near-arbitrary sequences
// delimited by backticks (`…`), which may contain escape sequences. These are
// handled in a separate mode. See `test/markup/r/names.txt` for examples.
// FIXME: Support Unicode identifiers.
const IDENT_RE = /(?:(?:[a-zA-Z]|\.[._a-zA-Z])[._a-zA-Z0-9]*)|\.(?!\d)/;
const NUMBER_TYPES_RE = regex.either(
// Special case: only hexadecimal binary powers can contain fractions
/0[xX][0-9a-fA-F]+\.[0-9a-fA-F]*[pP][+-]?\d+i?/,
// Hexadecimal numbers without fraction and optional binary power
/0[xX][0-9a-fA-F]+(?:[pP][+-]?\d+)?[Li]?/,
// Decimal numbers
/(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?[Li]?/
);
const OPERATORS_RE = /[=!<>:]=|\|\||&&|:::?|<-|<<-|->>|->|\|>|[-+*\/?!$&|:<=>@^~]|\*\*/;
const PUNCTUATION_RE = regex.either(
/[()]/,
/[{}]/,
/\[\[/,
/[[\]]/,
/\\/,
/,/
);
return {
name: 'R',
keywords: {
$pattern: IDENT_RE,
keyword:
'function if in break next repeat else for while',
literal:
'NULL NA TRUE FALSE Inf NaN NA_integer_|10 NA_real_|10 '
+ 'NA_character_|10 NA_complex_|10',
built_in:
// Builtin constants
'LETTERS letters month.abb month.name pi T F '
// Primitive functions
// These are all the functions in `base` that are implemented as a
// `.Primitive`, minus those functions that are also keywords.
+ 'abs acos acosh all any anyNA Arg as.call as.character '
+ 'as.complex as.double as.environment as.integer as.logical '
+ 'as.null.default as.numeric as.raw asin asinh atan atanh attr '
+ 'attributes baseenv browser c call ceiling class Conj cos cosh '
+ 'cospi cummax cummin cumprod cumsum digamma dim dimnames '
+ 'emptyenv exp expression floor forceAndCall gamma gc.time '
+ 'globalenv Im interactive invisible is.array is.atomic is.call '
+ 'is.character is.complex is.double is.environment is.expression '
+ 'is.finite is.function is.infinite is.integer is.language '
+ 'is.list is.logical is.matrix is.na is.name is.nan is.null '
+ 'is.numeric is.object is.pairlist is.raw is.recursive is.single '
+ 'is.symbol lazyLoadDBfetch length lgamma list log max min '
+ 'missing Mod names nargs nzchar oldClass on.exit pos.to.env '
+ 'proc.time prod quote range Re rep retracemem return round '
+ 'seq_along seq_len seq.int sign signif sin sinh sinpi sqrt '
+ 'standardGeneric substitute sum switch tan tanh tanpi tracemem '
+ 'trigamma trunc unclass untracemem UseMethod xtfrm',
},
contains: [
// Roxygen comments
hljs.COMMENT(
/#'/,
/$/,
{ contains: [
{
// Handle `@examples` separately to cause all subsequent code
// until the next `@`-tag on its own line to be kept as-is,
// preventing highlighting. This code is example R code, so nested
// doctags shouldn’t be treated as such. See
// `test/markup/r/roxygen.txt` for an example.
scope: 'doctag',
match: /@examples/,
starts: {
end: regex.lookahead(regex.either(
// end if another doc comment
/\n^#'\s*(?=@[a-zA-Z]+)/,
// or a line with no comment
/\n^(?!#')/
)),
endsParent: true
}
},
{
// Handle `@param` to highlight the parameter name following
// after.
scope: 'doctag',
begin: '@param',
end: /$/,
contains: [
{
scope: 'variable',
variants: [
{ match: IDENT_RE },
{ match: /`(?:\\.|[^`\\])+`/ }
],
endsParent: true
}
]
},
{
scope: 'doctag',
match: /@[a-zA-Z]+/
},
{
scope: 'keyword',
match: /\\[a-zA-Z]+/
}
] }
),
hljs.HASH_COMMENT_MODE,
{
scope: 'string',
contains: [ hljs.BACKSLASH_ESCAPE ],
variants: [
hljs.END_SAME_AS_BEGIN({
begin: /[rR]"(-*)\(/,
end: /\)(-*)"/
}),
hljs.END_SAME_AS_BEGIN({
begin: /[rR]"(-*)\{/,
end: /\}(-*)"/
}),
hljs.END_SAME_AS_BEGIN({
begin: /[rR]"(-*)\[/,
end: /\](-*)"/
}),
hljs.END_SAME_AS_BEGIN({
begin: /[rR]'(-*)\(/,
end: /\)(-*)'/
}),
hljs.END_SAME_AS_BEGIN({
begin: /[rR]'(-*)\{/,
end: /\}(-*)'/
}),
hljs.END_SAME_AS_BEGIN({
begin: /[rR]'(-*)\[/,
end: /\](-*)'/
}),
{
begin: '"',
end: '"',
relevance: 0
},
{
begin: "'",
end: "'",
relevance: 0
}
],
},
// Matching numbers immediately following punctuation and operators is
// tricky since we need to look at the character ahead of a number to
// ensure the number is not part of an identifier, and we cannot use
// negative look-behind assertions. So instead we explicitly handle all
// possible combinations of (operator|punctuation), number.
// TODO: replace with negative look-behind when available
// { begin: /(?
Category: functional
*/
function reasonml(hljs) {
const BUILT_IN_TYPES = [
"array",
"bool",
"bytes",
"char",
"exn|5",
"float",
"int",
"int32",
"int64",
"list",
"lazy_t|5",
"nativeint|5",
"ref",
"string",
"unit",
];
return {
name: 'ReasonML',
aliases: [ 're' ],
keywords: {
$pattern: /[a-z_]\w*!?/,
keyword: [
"and",
"as",
"asr",
"assert",
"begin",
"class",
"constraint",
"do",
"done",
"downto",
"else",
"end",
"esfun",
"exception",
"external",
"for",
"fun",
"function",
"functor",
"if",
"in",
"include",
"inherit",
"initializer",
"land",
"lazy",
"let",
"lor",
"lsl",
"lsr",
"lxor",
"mod",
"module",
"mutable",
"new",
"nonrec",
"object",
"of",
"open",
"or",
"pri",
"pub",
"rec",
"sig",
"struct",
"switch",
"then",
"to",
"try",
"type",
"val",
"virtual",
"when",
"while",
"with",
],
built_in: BUILT_IN_TYPES,
literal: ["true", "false"],
},
illegal: /(:-|:=|\$\{|\+=)/,
contains: [
{
scope: 'literal',
match: /\[(\|\|)?\]|\(\)/,
relevance: 0
},
hljs.C_LINE_COMMENT_MODE,
hljs.COMMENT(/\/\*/, /\*\//, { illegal: /^(#,\/\/)/ }),
{ /* type variable */
scope: 'symbol',
match: /\'[A-Za-z_](?!\')[\w\']*/
/* the grammar is ambiguous on how 'a'b should be interpreted but not the compiler */
},
{ /* polymorphic variant */
scope: 'type',
match: /`[A-Z][\w\']*/
},
{ /* module or constructor */
scope: 'type',
match: /\b[A-Z][\w\']*/,
relevance: 0
},
{ /* don't color identifiers, but safely catch all identifiers with ' */
match: /[a-z_]\w*\'[\w\']*/,
relevance: 0
},
{
scope: 'operator',
match: /\s+(\|\||\+[\+\.]?|\*[\*\/\.]?|\/[\.]?|\.\.\.|\|>|&&|===?)\s+/,
relevance: 0
},
hljs.inherit(hljs.APOS_STRING_MODE, {
scope: 'string',
relevance: 0
}),
hljs.inherit(hljs.QUOTE_STRING_MODE, { illegal: null }),
{
scope: 'number',
variants: [
{ match: /\b0[xX][a-fA-F0-9_]+[Lln]?/ },
{ match: /\b0[oO][0-7_]+[Lln]?/ },
{ match: /\b0[bB][01_]+[Lln]?/ },
{ match: /\b[0-9][0-9_]*([Lln]|(\.[0-9_]*)?([eE][-+]?[0-9_]+)?)/ },
],
relevance: 0
},
]
};
}
return reasonml;
})();
hljs.registerLanguage('reasonml', hljsGrammar);
})();/*! `rib` grammar compiled for Highlight.js 11.11.1 */
(function(){
var hljsGrammar = (function () {
'use strict';
/*
Language: RenderMan RIB
Author: Konstantin Evdokimenko
Contributors: Shuen-Huei Guan
Website: https://renderman.pixar.com/resources/RenderMan_20/ribBinding.html
Category: graphics
*/
function rib(hljs) {
return {
name: 'RenderMan RIB',
keywords:
'ArchiveRecord AreaLightSource Atmosphere Attribute AttributeBegin AttributeEnd Basis '
+ 'Begin Blobby Bound Clipping ClippingPlane Color ColorSamples ConcatTransform Cone '
+ 'CoordinateSystem CoordSysTransform CropWindow Curves Cylinder DepthOfField Detail '
+ 'DetailRange Disk Displacement Display End ErrorHandler Exposure Exterior Format '
+ 'FrameAspectRatio FrameBegin FrameEnd GeneralPolygon GeometricApproximation Geometry '
+ 'Hider Hyperboloid Identity Illuminate Imager Interior LightSource '
+ 'MakeCubeFaceEnvironment MakeLatLongEnvironment MakeShadow MakeTexture Matte '
+ 'MotionBegin MotionEnd NuPatch ObjectBegin ObjectEnd ObjectInstance Opacity Option '
+ 'Orientation Paraboloid Patch PatchMesh Perspective PixelFilter PixelSamples '
+ 'PixelVariance Points PointsGeneralPolygons PointsPolygons Polygon Procedural Projection '
+ 'Quantize ReadArchive RelativeDetail ReverseOrientation Rotate Scale ScreenWindow '
+ 'ShadingInterpolation ShadingRate Shutter Sides Skew SolidBegin SolidEnd Sphere '
+ 'SubdivisionMesh Surface TextureCoordinates Torus Transform TransformBegin TransformEnd '
+ 'TransformPoints Translate TrimCurve WorldBegin WorldEnd',
illegal: '',
contains: [
hljs.HASH_COMMENT_MODE,
hljs.C_NUMBER_MODE,
hljs.APOS_STRING_MODE,
hljs.QUOTE_STRING_MODE
]
};
}
return rib;
})();
hljs.registerLanguage('rib', hljsGrammar);
})();/*! `roboconf` grammar compiled for Highlight.js 11.11.1 */
(function(){
var hljsGrammar = (function () {
'use strict';
/*
Language: Roboconf
Author: Vincent Zurczak
Description: Syntax highlighting for Roboconf's DSL
Website: http://roboconf.net
Category: config
*/
function roboconf(hljs) {
const IDENTIFIER = '[a-zA-Z-_][^\\n{]+\\{';
const PROPERTY = {
className: 'attribute',
begin: /[a-zA-Z-_]+/,
end: /\s*:/,
excludeEnd: true,
starts: {
end: ';',
relevance: 0,
contains: [
{
className: 'variable',
begin: /\.[a-zA-Z-_]+/
},
{
className: 'keyword',
begin: /\(optional\)/
}
]
}
};
return {
name: 'Roboconf',
aliases: [
'graph',
'instances'
],
case_insensitive: true,
keywords: 'import',
contains: [
// Facet sections
{
begin: '^facet ' + IDENTIFIER,
end: /\}/,
keywords: 'facet',
contains: [
PROPERTY,
hljs.HASH_COMMENT_MODE
]
},
// Instance sections
{
begin: '^\\s*instance of ' + IDENTIFIER,
end: /\}/,
keywords: 'name count channels instance-data instance-state instance of',
illegal: /\S/,
contains: [
'self',
PROPERTY,
hljs.HASH_COMMENT_MODE
]
},
// Component sections
{
begin: '^' + IDENTIFIER,
end: /\}/,
contains: [
PROPERTY,
hljs.HASH_COMMENT_MODE
]
},
// Comments
hljs.HASH_COMMENT_MODE
]
};
}
return roboconf;
})();
hljs.registerLanguage('roboconf', hljsGrammar);
})();/*! `routeros` grammar compiled for Highlight.js 11.11.1 */
(function(){
var hljsGrammar = (function () {
'use strict';
/*
Language: MikroTik RouterOS script
Author: Ivan Dementev
Description: Scripting host provides a way to automate some router maintenance tasks by means of executing user-defined scripts bounded to some event occurrence
Website: https://wiki.mikrotik.com/wiki/Manual:Scripting
Category: scripting
*/
// Colors from RouterOS terminal:
// green - #0E9A00
// teal - #0C9A9A
// purple - #99069A
// light-brown - #9A9900
function routeros(hljs) {
const STATEMENTS = 'foreach do while for if from to step else on-error and or not in';
// Global commands: Every global command should start with ":" token, otherwise it will be treated as variable.
const GLOBAL_COMMANDS = 'global local beep delay put len typeof pick log time set find environment terminal error execute parse resolve toarray tobool toid toip toip6 tonum tostr totime';
// Common commands: Following commands available from most sub-menus:
const COMMON_COMMANDS = 'add remove enable disable set get print export edit find run debug error info warning';
const LITERALS = 'true false yes no nothing nil null';
const OBJECTS = 'traffic-flow traffic-generator firewall scheduler aaa accounting address-list address align area bandwidth-server bfd bgp bridge client clock community config connection console customer default dhcp-client dhcp-server discovery dns e-mail ethernet filter firmware gps graphing group hardware health hotspot identity igmp-proxy incoming instance interface ip ipsec ipv6 irq l2tp-server lcd ldp logging mac-server mac-winbox mangle manual mirror mme mpls nat nd neighbor network note ntp ospf ospf-v3 ovpn-server page peer pim ping policy pool port ppp pppoe-client pptp-server prefix profile proposal proxy queue radius resource rip ripng route routing screen script security-profiles server service service-port settings shares smb sms sniffer snmp snooper socks sstp-server system tool tracking type upgrade upnp user-manager users user vlan secret vrrp watchdog web-access wireless pptp pppoe lan wan layer7-protocol lease simple raw';
const VAR = {
className: 'variable',
variants: [
{ begin: /\$[\w\d#@][\w\d_]*/ },
{ begin: /\$\{(.*?)\}/ }
]
};
const QUOTE_STRING = {
className: 'string',
begin: /"/,
end: /"/,
contains: [
hljs.BACKSLASH_ESCAPE,
VAR,
{
className: 'variable',
begin: /\$\(/,
end: /\)/,
contains: [ hljs.BACKSLASH_ESCAPE ]
}
]
};
const APOS_STRING = {
className: 'string',
begin: /'/,
end: /'/
};
return {
name: 'MikroTik RouterOS script',
aliases: [ 'mikrotik' ],
case_insensitive: true,
keywords: {
$pattern: /:?[\w-]+/,
literal: LITERALS,
keyword: STATEMENTS + ' :' + STATEMENTS.split(' ').join(' :') + ' :' + GLOBAL_COMMANDS.split(' ').join(' :')
},
contains: [
{ // illegal syntax
variants: [
{ // -- comment
begin: /\/\*/,
end: /\*\//
},
{ // Stan comment
begin: /\/\//,
end: /$/
},
{ // HTML tags
begin: /<\//,
end: />/
}
],
illegal: /./
},
hljs.COMMENT('^#', '$'),
QUOTE_STRING,
APOS_STRING,
VAR,
// attribute=value
{
// > is to avoid matches with => in other grammars
begin: /[\w-]+=([^\s{}[\]()>]+)/,
relevance: 0,
returnBegin: true,
contains: [
{
className: 'attribute',
begin: /[^=]+/
},
{
begin: /=/,
endsWithParent: true,
relevance: 0,
contains: [
QUOTE_STRING,
APOS_STRING,
VAR,
{
className: 'literal',
begin: '\\b(' + LITERALS.split(' ').join('|') + ')\\b'
},
{
// Do not format unclassified values. Needed to exclude highlighting of values as built_in.
begin: /("[^"]*"|[^\s{}[\]]+)/ }
/*
{
// IPv4 addresses and subnets
className: 'number',
variants: [
{begin: IPADDR_wBITMASK+'(,'+IPADDR_wBITMASK+')*'}, //192.168.0.0/24,1.2.3.0/24
{begin: IPADDR+'-'+IPADDR}, // 192.168.0.1-192.168.0.3
{begin: IPADDR+'(,'+IPADDR+')*'}, // 192.168.0.1,192.168.0.34,192.168.24.1,192.168.0.1
]
},
{
// MAC addresses and DHCP Client IDs
className: 'number',
begin: /\b(1:)?([0-9A-Fa-f]{1,2}[:-]){5}([0-9A-Fa-f]){1,2}\b/,
},
*/
]
}
]
},
{
// HEX values
className: 'number',
begin: /\*[0-9a-fA-F]+/
},
{
begin: '\\b(' + COMMON_COMMANDS.split(' ').join('|') + ')([\\s[(\\]|])',
returnBegin: true,
contains: [
{
className: 'built_in', // 'function',
begin: /\w+/
}
]
},
{
className: 'built_in',
variants: [
{ begin: '(\\.\\./|/|\\s)((' + OBJECTS.split(' ').join('|') + ');?\\s)+' },
{
begin: /\.\./,
relevance: 0
}
]
}
]
};
}
return routeros;
})();
hljs.registerLanguage('routeros', hljsGrammar);
})();/*! `rsl` grammar compiled for Highlight.js 11.11.1 */
(function(){
var hljsGrammar = (function () {
'use strict';
/*
Language: RenderMan RSL
Author: Konstantin Evdokimenko
Contributors: Shuen-Huei Guan
Website: https://renderman.pixar.com/resources/RenderMan_20/shadingLanguage.html
Category: graphics
*/
function rsl(hljs) {
const BUILT_INS = [
"abs",
"acos",
"ambient",
"area",
"asin",
"atan",
"atmosphere",
"attribute",
"calculatenormal",
"ceil",
"cellnoise",
"clamp",
"comp",
"concat",
"cos",
"degrees",
"depth",
"Deriv",
"diffuse",
"distance",
"Du",
"Dv",
"environment",
"exp",
"faceforward",
"filterstep",
"floor",
"format",
"fresnel",
"incident",
"length",
"lightsource",
"log",
"match",
"max",
"min",
"mod",
"noise",
"normalize",
"ntransform",
"opposite",
"option",
"phong",
"pnoise",
"pow",
"printf",
"ptlined",
"radians",
"random",
"reflect",
"refract",
"renderinfo",
"round",
"setcomp",
"setxcomp",
"setycomp",
"setzcomp",
"shadow",
"sign",
"sin",
"smoothstep",
"specular",
"specularbrdf",
"spline",
"sqrt",
"step",
"tan",
"texture",
"textureinfo",
"trace",
"transform",
"vtransform",
"xcomp",
"ycomp",
"zcomp"
];
const TYPES = [
"matrix",
"float",
"color",
"point",
"normal",
"vector"
];
const KEYWORDS = [
"while",
"for",
"if",
"do",
"return",
"else",
"break",
"extern",
"continue"
];
const CLASS_DEFINITION = {
match: [
/(surface|displacement|light|volume|imager)/,
/\s+/,
hljs.IDENT_RE,
],
scope: {
1: "keyword",
3: "title.class",
}
};
return {
name: 'RenderMan RSL',
keywords: {
keyword: KEYWORDS,
built_in: BUILT_INS,
type: TYPES
},
illegal: '',
contains: [
hljs.C_LINE_COMMENT_MODE,
hljs.C_BLOCK_COMMENT_MODE,
hljs.QUOTE_STRING_MODE,
hljs.APOS_STRING_MODE,
hljs.C_NUMBER_MODE,
{
className: 'meta',
begin: '#',
end: '$'
},
CLASS_DEFINITION,
{
beginKeywords: 'illuminate illuminance gather',
end: '\\('
}
]
};
}
return rsl;
})();
hljs.registerLanguage('rsl', hljsGrammar);
})();/*! `ruby` grammar compiled for Highlight.js 11.11.1 */
(function(){
var hljsGrammar = (function () {
'use strict';
/*
Language: Ruby
Description: Ruby is a dynamic, open source programming language with a focus on simplicity and productivity.
Website: https://www.ruby-lang.org/
Author: Anton Kovalyov
Contributors: Peter Leonov , Vasily Polovnyov , Loren Segal , Pascal Hurni , Cedric Sohrauer
Category: common, scripting
*/
function ruby(hljs) {
const regex = hljs.regex;
const RUBY_METHOD_RE = '([a-zA-Z_]\\w*[!?=]?|[-+~]@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?)';
// TODO: move concepts like CAMEL_CASE into `modes.js`
const CLASS_NAME_RE = regex.either(
/\b([A-Z]+[a-z0-9]+)+/,
// ends in caps
/\b([A-Z]+[a-z0-9]+)+[A-Z]+/,
)
;
const CLASS_NAME_WITH_NAMESPACE_RE = regex.concat(CLASS_NAME_RE, /(::\w+)*/);
// very popular ruby built-ins that one might even assume
// are actual keywords (despite that not being the case)
const PSEUDO_KWS = [
"include",
"extend",
"prepend",
"public",
"private",
"protected",
"raise",
"throw"
];
const RUBY_KEYWORDS = {
"variable.constant": [
"__FILE__",
"__LINE__",
"__ENCODING__"
],
"variable.language": [
"self",
"super",
],
keyword: [
"alias",
"and",
"begin",
"BEGIN",
"break",
"case",
"class",
"defined",
"do",
"else",
"elsif",
"end",
"END",
"ensure",
"for",
"if",
"in",
"module",
"next",
"not",
"or",
"redo",
"require",
"rescue",
"retry",
"return",
"then",
"undef",
"unless",
"until",
"when",
"while",
"yield",
...PSEUDO_KWS
],
built_in: [
"proc",
"lambda",
"attr_accessor",
"attr_reader",
"attr_writer",
"define_method",
"private_constant",
"module_function"
],
literal: [
"true",
"false",
"nil"
]
};
const YARDOCTAG = {
className: 'doctag',
begin: '@[A-Za-z]+'
};
const IRB_OBJECT = {
begin: '#<',
end: '>'
};
const COMMENT_MODES = [
hljs.COMMENT(
'#',
'$',
{ contains: [ YARDOCTAG ] }
),
hljs.COMMENT(
'^=begin',
'^=end',
{
contains: [ YARDOCTAG ],
relevance: 10
}
),
hljs.COMMENT('^__END__', hljs.MATCH_NOTHING_RE)
];
const SUBST = {
className: 'subst',
begin: /#\{/,
end: /\}/,
keywords: RUBY_KEYWORDS
};
const STRING = {
className: 'string',
contains: [
hljs.BACKSLASH_ESCAPE,
SUBST
],
variants: [
{
begin: /'/,
end: /'/
},
{
begin: /"/,
end: /"/
},
{
begin: /`/,
end: /`/
},
{
begin: /%[qQwWx]?\(/,
end: /\)/
},
{
begin: /%[qQwWx]?\[/,
end: /\]/
},
{
begin: /%[qQwWx]?\{/,
end: /\}/
},
{
begin: /%[qQwWx]?,
end: />/
},
{
begin: /%[qQwWx]?\//,
end: /\//
},
{
begin: /%[qQwWx]?%/,
end: /%/
},
{
begin: /%[qQwWx]?-/,
end: /-/
},
{
begin: /%[qQwWx]?\|/,
end: /\|/
},
// in the following expressions, \B in the beginning suppresses recognition of ?-sequences
// where ? is the last character of a preceding identifier, as in: `func?4`
{ begin: /\B\?(\\\d{1,3})/ },
{ begin: /\B\?(\\x[A-Fa-f0-9]{1,2})/ },
{ begin: /\B\?(\\u\{?[A-Fa-f0-9]{1,6}\}?)/ },
{ begin: /\B\?(\\M-\\C-|\\M-\\c|\\c\\M-|\\M-|\\C-\\M-)[\x20-\x7e]/ },
{ begin: /\B\?\\(c|C-)[\x20-\x7e]/ },
{ begin: /\B\?\\?\S/ },
// heredocs
{
// this guard makes sure that we have an entire heredoc and not a false
// positive (auto-detect, etc.)
begin: regex.concat(
/<<[-~]?'?/,
regex.lookahead(/(\w+)(?=\W)[^\n]*\n(?:[^\n]*\n)*?\s*\1\b/)
),
contains: [
hljs.END_SAME_AS_BEGIN({
begin: /(\w+)/,
end: /(\w+)/,
contains: [
hljs.BACKSLASH_ESCAPE,
SUBST
]
})
]
}
]
};
// Ruby syntax is underdocumented, but this grammar seems to be accurate
// as of version 2.7.2 (confirmed with (irb and `Ripper.sexp(...)`)
// https://docs.ruby-lang.org/en/2.7.0/doc/syntax/literals_rdoc.html#label-Numbers
const decimal = '[1-9](_?[0-9])*|0';
const digits = '[0-9](_?[0-9])*';
const NUMBER = {
className: 'number',
relevance: 0,
variants: [
// decimal integer/float, optionally exponential or rational, optionally imaginary
{ begin: `\\b(${decimal})(\\.(${digits}))?([eE][+-]?(${digits})|r)?i?\\b` },
// explicit decimal/binary/octal/hexadecimal integer,
// optionally rational and/or imaginary
{ begin: "\\b0[dD][0-9](_?[0-9])*r?i?\\b" },
{ begin: "\\b0[bB][0-1](_?[0-1])*r?i?\\b" },
{ begin: "\\b0[oO][0-7](_?[0-7])*r?i?\\b" },
{ begin: "\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*r?i?\\b" },
// 0-prefixed implicit octal integer, optionally rational and/or imaginary
{ begin: "\\b0(_?[0-7])+r?i?\\b" }
]
};
const PARAMS = {
variants: [
{
match: /\(\)/,
},
{
className: 'params',
begin: /\(/,
end: /(?=\))/,
excludeBegin: true,
endsParent: true,
keywords: RUBY_KEYWORDS,
}
]
};
const INCLUDE_EXTEND = {
match: [
/(include|extend)\s+/,
CLASS_NAME_WITH_NAMESPACE_RE
],
scope: {
2: "title.class"
},
keywords: RUBY_KEYWORDS
};
const CLASS_DEFINITION = {
variants: [
{
match: [
/class\s+/,
CLASS_NAME_WITH_NAMESPACE_RE,
/\s+<\s+/,
CLASS_NAME_WITH_NAMESPACE_RE
]
},
{
match: [
/\b(class|module)\s+/,
CLASS_NAME_WITH_NAMESPACE_RE
]
}
],
scope: {
2: "title.class",
4: "title.class.inherited"
},
keywords: RUBY_KEYWORDS
};
const UPPER_CASE_CONSTANT = {
relevance: 0,
match: /\b[A-Z][A-Z_0-9]+\b/,
className: "variable.constant"
};
const METHOD_DEFINITION = {
match: [
/def/, /\s+/,
RUBY_METHOD_RE
],
scope: {
1: "keyword",
3: "title.function"
},
contains: [
PARAMS
]
};
const OBJECT_CREATION = {
relevance: 0,
match: [
CLASS_NAME_WITH_NAMESPACE_RE,
/\.new[. (]/
],
scope: {
1: "title.class"
}
};
// CamelCase
const CLASS_REFERENCE = {
relevance: 0,
match: CLASS_NAME_RE,
scope: "title.class"
};
const RUBY_DEFAULT_CONTAINS = [
STRING,
CLASS_DEFINITION,
INCLUDE_EXTEND,
OBJECT_CREATION,
UPPER_CASE_CONSTANT,
CLASS_REFERENCE,
METHOD_DEFINITION,
{
// swallow namespace qualifiers before symbols
begin: hljs.IDENT_RE + '::' },
{
className: 'symbol',
begin: hljs.UNDERSCORE_IDENT_RE + '(!|\\?)?:',
relevance: 0
},
{
className: 'symbol',
begin: ':(?!\\s)',
contains: [
STRING,
{ begin: RUBY_METHOD_RE }
],
relevance: 0
},
NUMBER,
{
// negative-look forward attempts to prevent false matches like:
// @ident@ or $ident$ that might indicate this is not ruby at all
className: "variable",
begin: '(\\$\\W)|((\\$|@@?)(\\w+))(?=[^@$?])' + `(?![A-Za-z])(?![@$?'])`
},
{
className: 'params',
begin: /\|(?!=)/,
end: /\|/,
excludeBegin: true,
excludeEnd: true,
relevance: 0, // this could be a lot of things (in other languages) other than params
keywords: RUBY_KEYWORDS
},
{ // regexp container
begin: '(' + hljs.RE_STARTERS_RE + '|unless)\\s*',
keywords: 'unless',
contains: [
{
className: 'regexp',
contains: [
hljs.BACKSLASH_ESCAPE,
SUBST
],
illegal: /\n/,
variants: [
{
begin: '/',
end: '/[a-z]*'
},
{
begin: /%r\{/,
end: /\}[a-z]*/
},
{
begin: '%r\\(',
end: '\\)[a-z]*'
},
{
begin: '%r!',
end: '![a-z]*'
},
{
begin: '%r\\[',
end: '\\][a-z]*'
}
]
}
].concat(IRB_OBJECT, COMMENT_MODES),
relevance: 0
}
].concat(IRB_OBJECT, COMMENT_MODES);
SUBST.contains = RUBY_DEFAULT_CONTAINS;
PARAMS.contains = RUBY_DEFAULT_CONTAINS;
// >>
// ?>
const SIMPLE_PROMPT = "[>?]>";
// irb(main):001:0>
const DEFAULT_PROMPT = "[\\w#]+\\(\\w+\\):\\d+:\\d+[>*]";
const RVM_PROMPT = "(\\w+-)?\\d+\\.\\d+\\.\\d+(p\\d+)?[^\\d][^>]+>";
const IRB_DEFAULT = [
{
begin: /^\s*=>/,
starts: {
end: '$',
contains: RUBY_DEFAULT_CONTAINS
}
},
{
className: 'meta.prompt',
begin: '^(' + SIMPLE_PROMPT + "|" + DEFAULT_PROMPT + '|' + RVM_PROMPT + ')(?=[ ])',
starts: {
end: '$',
keywords: RUBY_KEYWORDS,
contains: RUBY_DEFAULT_CONTAINS
}
}
];
COMMENT_MODES.unshift(IRB_OBJECT);
return {
name: 'Ruby',
aliases: [
'rb',
'gemspec',
'podspec',
'thor',
'irb'
],
keywords: RUBY_KEYWORDS,
illegal: /\/\*/,
contains: [ hljs.SHEBANG({ binary: "ruby" }) ]
.concat(IRB_DEFAULT)
.concat(COMMENT_MODES)
.concat(RUBY_DEFAULT_CONTAINS)
};
}
return ruby;
})();
hljs.registerLanguage('ruby', hljsGrammar);
})();/*! `ruleslanguage` grammar compiled for Highlight.js 11.11.1 */
(function(){
var hljsGrammar = (function () {
'use strict';
/*
Language: Oracle Rules Language
Author: Jason Jacobson
Description: The Oracle Utilities Rules Language is used to program the Oracle Utilities Applications acquired from LODESTAR Corporation. The products include Billing Component, LPSS, Pricing Component etc. through version 1.6.1.
Website: https://docs.oracle.com/cd/E17904_01/dev.1111/e10227/rlref.htm
Category: enterprise
*/
function ruleslanguage(hljs) {
return {
name: 'Oracle Rules Language',
keywords: {
keyword:
'BILL_PERIOD BILL_START BILL_STOP RS_EFFECTIVE_START RS_EFFECTIVE_STOP RS_JURIS_CODE RS_OPCO_CODE '
+ 'INTDADDATTRIBUTE|5 INTDADDVMSG|5 INTDBLOCKOP|5 INTDBLOCKOPNA|5 INTDCLOSE|5 INTDCOUNT|5 '
+ 'INTDCOUNTSTATUSCODE|5 INTDCREATEMASK|5 INTDCREATEDAYMASK|5 INTDCREATEFACTORMASK|5 '
+ 'INTDCREATEHANDLE|5 INTDCREATEOVERRIDEDAYMASK|5 INTDCREATEOVERRIDEMASK|5 '
+ 'INTDCREATESTATUSCODEMASK|5 INTDCREATETOUPERIOD|5 INTDDELETE|5 INTDDIPTEST|5 INTDEXPORT|5 '
+ 'INTDGETERRORCODE|5 INTDGETERRORMESSAGE|5 INTDISEQUAL|5 INTDJOIN|5 INTDLOAD|5 INTDLOADACTUALCUT|5 '
+ 'INTDLOADDATES|5 INTDLOADHIST|5 INTDLOADLIST|5 INTDLOADLISTDATES|5 INTDLOADLISTENERGY|5 '
+ 'INTDLOADLISTHIST|5 INTDLOADRELATEDCHANNEL|5 INTDLOADSP|5 INTDLOADSTAGING|5 INTDLOADUOM|5 '
+ 'INTDLOADUOMDATES|5 INTDLOADUOMHIST|5 INTDLOADVERSION|5 INTDOPEN|5 INTDREADFIRST|5 INTDREADNEXT|5 '
+ 'INTDRECCOUNT|5 INTDRELEASE|5 INTDREPLACE|5 INTDROLLAVG|5 INTDROLLPEAK|5 INTDSCALAROP|5 INTDSCALE|5 '
+ 'INTDSETATTRIBUTE|5 INTDSETDSTPARTICIPANT|5 INTDSETSTRING|5 INTDSETVALUE|5 INTDSETVALUESTATUS|5 '
+ 'INTDSHIFTSTARTTIME|5 INTDSMOOTH|5 INTDSORT|5 INTDSPIKETEST|5 INTDSUBSET|5 INTDTOU|5 '
+ 'INTDTOURELEASE|5 INTDTOUVALUE|5 INTDUPDATESTATS|5 INTDVALUE|5 STDEV INTDDELETEEX|5 '
+ 'INTDLOADEXACTUAL|5 INTDLOADEXCUT|5 INTDLOADEXDATES|5 INTDLOADEX|5 INTDLOADEXRELATEDCHANNEL|5 '
+ 'INTDSAVEEX|5 MVLOAD|5 MVLOADACCT|5 MVLOADACCTDATES|5 MVLOADACCTHIST|5 MVLOADDATES|5 MVLOADHIST|5 '
+ 'MVLOADLIST|5 MVLOADLISTDATES|5 MVLOADLISTHIST|5 IF FOR NEXT DONE SELECT END CALL ABORT CLEAR CHANNEL FACTOR LIST NUMBER '
+ 'OVERRIDE SET WEEK DISTRIBUTIONNODE ELSE WHEN THEN OTHERWISE IENUM CSV INCLUDE LEAVE RIDER SAVE DELETE '
+ 'NOVALUE SECTION WARN SAVE_UPDATE DETERMINANT LABEL REPORT REVENUE EACH '
+ 'IN FROM TOTAL CHARGE BLOCK AND OR CSV_FILE RATE_CODE AUXILIARY_DEMAND '
+ 'UIDACCOUNT RS BILL_PERIOD_SELECT HOURS_PER_MONTH INTD_ERROR_STOP SEASON_SCHEDULE_NAME '
+ 'ACCOUNTFACTOR ARRAYUPPERBOUND CALLSTOREDPROC GETADOCONNECTION GETCONNECT GETDATASOURCE '
+ 'GETQUALIFIER GETUSERID HASVALUE LISTCOUNT LISTOP LISTUPDATE LISTVALUE PRORATEFACTOR RSPRORATE '
+ 'SETBINPATH SETDBMONITOR WQ_OPEN BILLINGHOURS DATE DATEFROMFLOAT DATETIMEFROMSTRING '
+ 'DATETIMETOSTRING DATETOFLOAT DAY DAYDIFF DAYNAME DBDATETIME HOUR MINUTE MONTH MONTHDIFF '
+ 'MONTHHOURS MONTHNAME ROUNDDATE SAMEWEEKDAYLASTYEAR SECOND WEEKDAY WEEKDIFF YEAR YEARDAY '
+ 'YEARSTR COMPSUM HISTCOUNT HISTMAX HISTMIN HISTMINNZ HISTVALUE MAXNRANGE MAXRANGE MINRANGE '
+ 'COMPIKVA COMPKVA COMPKVARFROMKQKW COMPLF IDATTR FLAG LF2KW LF2KWH MAXKW POWERFACTOR '
+ 'READING2USAGE AVGSEASON MAXSEASON MONTHLYMERGE SEASONVALUE SUMSEASON ACCTREADDATES '
+ 'ACCTTABLELOAD CONFIGADD CONFIGGET CREATEOBJECT CREATEREPORT EMAILCLIENT EXPBLKMDMUSAGE '
+ 'EXPMDMUSAGE EXPORT_USAGE FACTORINEFFECT GETUSERSPECIFIEDSTOP INEFFECT ISHOLIDAY RUNRATE '
+ 'SAVE_PROFILE SETREPORTTITLE USEREXIT WATFORRUNRATE TO TABLE ACOS ASIN ATAN ATAN2 BITAND CEIL '
+ 'COS COSECANT COSH COTANGENT DIVQUOT DIVREM EXP FABS FLOOR FMOD FREPM FREXPN LOG LOG10 MAX MAXN '
+ 'MIN MINNZ MODF POW ROUND ROUND2VALUE ROUNDINT SECANT SIN SINH SQROOT TAN TANH FLOAT2STRING '
+ 'FLOAT2STRINGNC INSTR LEFT LEN LTRIM MID RIGHT RTRIM STRING STRINGNC TOLOWER TOUPPER TRIM '
+ 'NUMDAYS READ_DATE STAGING',
built_in:
'IDENTIFIER OPTIONS XML_ELEMENT XML_OP XML_ELEMENT_OF DOMDOCCREATE DOMDOCLOADFILE DOMDOCLOADXML '
+ 'DOMDOCSAVEFILE DOMDOCGETROOT DOMDOCADDPI DOMNODEGETNAME DOMNODEGETTYPE DOMNODEGETVALUE DOMNODEGETCHILDCT '
+ 'DOMNODEGETFIRSTCHILD DOMNODEGETSIBLING DOMNODECREATECHILDELEMENT DOMNODESETATTRIBUTE '
+ 'DOMNODEGETCHILDELEMENTCT DOMNODEGETFIRSTCHILDELEMENT DOMNODEGETSIBLINGELEMENT DOMNODEGETATTRIBUTECT '
+ 'DOMNODEGETATTRIBUTEI DOMNODEGETATTRIBUTEBYNAME DOMNODEGETBYNAME'
},
contains: [
hljs.C_LINE_COMMENT_MODE,
hljs.C_BLOCK_COMMENT_MODE,
hljs.APOS_STRING_MODE,
hljs.QUOTE_STRING_MODE,
hljs.C_NUMBER_MODE,
{
className: 'literal',
variants: [
{ // looks like #-comment
begin: '#\\s+',
relevance: 0
},
{ begin: '#[a-zA-Z .]+' }
]
}
]
};
}
return ruleslanguage;
})();
hljs.registerLanguage('ruleslanguage', hljsGrammar);
})();/*! `rust` grammar compiled for Highlight.js 11.11.1 */
(function(){
var hljsGrammar = (function () {
'use strict';
/*
Language: Rust
Author: Andrey Vlasovskikh
Contributors: Roman Shmatov , Kasper Andersen
Website: https://www.rust-lang.org
Category: common, system
*/
/** @type LanguageFn */
function rust(hljs) {
const regex = hljs.regex;
// ============================================
// Added to support the r# keyword, which is a raw identifier in Rust.
const RAW_IDENTIFIER = /(r#)?/;
const UNDERSCORE_IDENT_RE = regex.concat(RAW_IDENTIFIER, hljs.UNDERSCORE_IDENT_RE);
const IDENT_RE = regex.concat(RAW_IDENTIFIER, hljs.IDENT_RE);
// ============================================
const FUNCTION_INVOKE = {
className: "title.function.invoke",
relevance: 0,
begin: regex.concat(
/\b/,
/(?!let|for|while|if|else|match\b)/,
IDENT_RE,
regex.lookahead(/\s*\(/))
};
const NUMBER_SUFFIX = '([ui](8|16|32|64|128|size)|f(32|64))\?';
const KEYWORDS = [
"abstract",
"as",
"async",
"await",
"become",
"box",
"break",
"const",
"continue",
"crate",
"do",
"dyn",
"else",
"enum",
"extern",
"false",
"final",
"fn",
"for",
"if",
"impl",
"in",
"let",
"loop",
"macro",
"match",
"mod",
"move",
"mut",
"override",
"priv",
"pub",
"ref",
"return",
"self",
"Self",
"static",
"struct",
"super",
"trait",
"true",
"try",
"type",
"typeof",
"union",
"unsafe",
"unsized",
"use",
"virtual",
"where",
"while",
"yield"
];
const LITERALS = [
"true",
"false",
"Some",
"None",
"Ok",
"Err"
];
const BUILTINS = [
// functions
'drop ',
// traits
"Copy",
"Send",
"Sized",
"Sync",
"Drop",
"Fn",
"FnMut",
"FnOnce",
"ToOwned",
"Clone",
"Debug",
"PartialEq",
"PartialOrd",
"Eq",
"Ord",
"AsRef",
"AsMut",
"Into",
"From",
"Default",
"Iterator",
"Extend",
"IntoIterator",
"DoubleEndedIterator",
"ExactSizeIterator",
"SliceConcatExt",
"ToString",
// macros
"assert!",
"assert_eq!",
"bitflags!",
"bytes!",
"cfg!",
"col!",
"concat!",
"concat_idents!",
"debug_assert!",
"debug_assert_eq!",
"env!",
"eprintln!",
"panic!",
"file!",
"format!",
"format_args!",
"include_bytes!",
"include_str!",
"line!",
"local_data_key!",
"module_path!",
"option_env!",
"print!",
"println!",
"select!",
"stringify!",
"try!",
"unimplemented!",
"unreachable!",
"vec!",
"write!",
"writeln!",
"macro_rules!",
"assert_ne!",
"debug_assert_ne!"
];
const TYPES = [
"i8",
"i16",
"i32",
"i64",
"i128",
"isize",
"u8",
"u16",
"u32",
"u64",
"u128",
"usize",
"f32",
"f64",
"str",
"char",
"bool",
"Box",
"Option",
"Result",
"String",
"Vec"
];
return {
name: 'Rust',
aliases: [ 'rs' ],
keywords: {
$pattern: hljs.IDENT_RE + '!?',
type: TYPES,
keyword: KEYWORDS,
literal: LITERALS,
built_in: BUILTINS
},
illegal: '',
contains: [
hljs.C_LINE_COMMENT_MODE,
hljs.COMMENT('/\\*', '\\*/', { contains: [ 'self' ] }),
hljs.inherit(hljs.QUOTE_STRING_MODE, {
begin: /b?"/,
illegal: null
}),
{
className: 'symbol',
// negative lookahead to avoid matching `'`
begin: /'[a-zA-Z_][a-zA-Z0-9_]*(?!')/
},
{
scope: 'string',
variants: [
{ begin: /b?r(#*)"(.|\n)*?"\1(?!#)/ },
{
begin: /b?'/,
end: /'/,
contains: [
{
scope: "char.escape",
match: /\\('|\w|x\w{2}|u\w{4}|U\w{8})/
}
]
}
]
},
{
className: 'number',
variants: [
{ begin: '\\b0b([01_]+)' + NUMBER_SUFFIX },
{ begin: '\\b0o([0-7_]+)' + NUMBER_SUFFIX },
{ begin: '\\b0x([A-Fa-f0-9_]+)' + NUMBER_SUFFIX },
{ begin: '\\b(\\d[\\d_]*(\\.[0-9_]+)?([eE][+-]?[0-9_]+)?)'
+ NUMBER_SUFFIX }
],
relevance: 0
},
{
begin: [
/fn/,
/\s+/,
UNDERSCORE_IDENT_RE
],
className: {
1: "keyword",
3: "title.function"
}
},
{
className: 'meta',
begin: '#!?\\[',
end: '\\]',
contains: [
{
className: 'string',
begin: /"/,
end: /"/,
contains: [
hljs.BACKSLASH_ESCAPE
]
}
]
},
{
begin: [
/let/,
/\s+/,
/(?:mut\s+)?/,
UNDERSCORE_IDENT_RE
],
className: {
1: "keyword",
3: "keyword",
4: "variable"
}
},
// must come before impl/for rule later
{
begin: [
/for/,
/\s+/,
UNDERSCORE_IDENT_RE,
/\s+/,
/in/
],
className: {
1: "keyword",
3: "variable",
5: "keyword"
}
},
{
begin: [
/type/,
/\s+/,
UNDERSCORE_IDENT_RE
],
className: {
1: "keyword",
3: "title.class"
}
},
{
begin: [
/(?:trait|enum|struct|union|impl|for)/,
/\s+/,
UNDERSCORE_IDENT_RE
],
className: {
1: "keyword",
3: "title.class"
}
},
{
begin: hljs.IDENT_RE + '::',
keywords: {
keyword: "Self",
built_in: BUILTINS,
type: TYPES
}
},
{
className: "punctuation",
begin: '->'
},
FUNCTION_INVOKE
]
};
}
return rust;
})();
hljs.registerLanguage('rust', hljsGrammar);
})();/*! `sas` grammar compiled for Highlight.js 11.11.1 */
(function(){
var hljsGrammar = (function () {
'use strict';
/*
Language: SAS
Author: Mauricio Caceres
Description: Syntax Highlighting for SAS
Category: scientific
*/
/** @type LanguageFn */
function sas(hljs) {
const regex = hljs.regex;
// Data step and PROC SQL statements
const SAS_KEYWORDS = [
"do",
"if",
"then",
"else",
"end",
"until",
"while",
"abort",
"array",
"attrib",
"by",
"call",
"cards",
"cards4",
"catname",
"continue",
"datalines",
"datalines4",
"delete",
"delim",
"delimiter",
"display",
"dm",
"drop",
"endsas",
"error",
"file",
"filename",
"footnote",
"format",
"goto",
"in",
"infile",
"informat",
"input",
"keep",
"label",
"leave",
"length",
"libname",
"link",
"list",
"lostcard",
"merge",
"missing",
"modify",
"options",
"output",
"out",
"page",
"put",
"redirect",
"remove",
"rename",
"replace",
"retain",
"return",
"select",
"set",
"skip",
"startsas",
"stop",
"title",
"update",
"waitsas",
"where",
"window",
"x|0",
"systask",
"add",
"and",
"alter",
"as",
"cascade",
"check",
"create",
"delete",
"describe",
"distinct",
"drop",
"foreign",
"from",
"group",
"having",
"index",
"insert",
"into",
"in",
"key",
"like",
"message",
"modify",
"msgtype",
"not",
"null",
"on",
"or",
"order",
"primary",
"references",
"reset",
"restrict",
"select",
"set",
"table",
"unique",
"update",
"validate",
"view",
"where"
];
// Built-in SAS functions
const FUNCTIONS = [
"abs",
"addr",
"airy",
"arcos",
"arsin",
"atan",
"attrc",
"attrn",
"band",
"betainv",
"blshift",
"bnot",
"bor",
"brshift",
"bxor",
"byte",
"cdf",
"ceil",
"cexist",
"cinv",
"close",
"cnonct",
"collate",
"compbl",
"compound",
"compress",
"cos",
"cosh",
"css",
"curobs",
"cv",
"daccdb",
"daccdbsl",
"daccsl",
"daccsyd",
"dacctab",
"dairy",
"date",
"datejul",
"datepart",
"datetime",
"day",
"dclose",
"depdb",
"depdbsl",
"depdbsl",
"depsl",
"depsl",
"depsyd",
"depsyd",
"deptab",
"deptab",
"dequote",
"dhms",
"dif",
"digamma",
"dim",
"dinfo",
"dnum",
"dopen",
"doptname",
"doptnum",
"dread",
"dropnote",
"dsname",
"erf",
"erfc",
"exist",
"exp",
"fappend",
"fclose",
"fcol",
"fdelete",
"fetch",
"fetchobs",
"fexist",
"fget",
"fileexist",
"filename",
"fileref",
"finfo",
"finv",
"fipname",
"fipnamel",
"fipstate",
"floor",
"fnonct",
"fnote",
"fopen",
"foptname",
"foptnum",
"fpoint",
"fpos",
"fput",
"fread",
"frewind",
"frlen",
"fsep",
"fuzz",
"fwrite",
"gaminv",
"gamma",
"getoption",
"getvarc",
"getvarn",
"hbound",
"hms",
"hosthelp",
"hour",
"ibessel",
"index",
"indexc",
"indexw",
"input",
"inputc",
"inputn",
"int",
"intck",
"intnx",
"intrr",
"irr",
"jbessel",
"juldate",
"kurtosis",
"lag",
"lbound",
"left",
"length",
"lgamma",
"libname",
"libref",
"log",
"log10",
"log2",
"logpdf",
"logpmf",
"logsdf",
"lowcase",
"max",
"mdy",
"mean",
"min",
"minute",
"mod",
"month",
"mopen",
"mort",
"n",
"netpv",
"nmiss",
"normal",
"note",
"npv",
"open",
"ordinal",
"pathname",
"pdf",
"peek",
"peekc",
"pmf",
"point",
"poisson",
"poke",
"probbeta",
"probbnml",
"probchi",
"probf",
"probgam",
"probhypr",
"probit",
"probnegb",
"probnorm",
"probt",
"put",
"putc",
"putn",
"qtr",
"quote",
"ranbin",
"rancau",
"ranexp",
"rangam",
"range",
"rank",
"rannor",
"ranpoi",
"rantbl",
"rantri",
"ranuni",
"repeat",
"resolve",
"reverse",
"rewind",
"right",
"round",
"saving",
"scan",
"sdf",
"second",
"sign",
"sin",
"sinh",
"skewness",
"soundex",
"spedis",
"sqrt",
"std",
"stderr",
"stfips",
"stname",
"stnamel",
"substr",
"sum",
"symget",
"sysget",
"sysmsg",
"sysprod",
"sysrc",
"system",
"tan",
"tanh",
"time",
"timepart",
"tinv",
"tnonct",
"today",
"translate",
"tranwrd",
"trigamma",
"trim",
"trimn",
"trunc",
"uniform",
"upcase",
"uss",
"var",
"varfmt",
"varinfmt",
"varlabel",
"varlen",
"varname",
"varnum",
"varray",
"varrayx",
"vartype",
"verify",
"vformat",
"vformatd",
"vformatdx",
"vformatn",
"vformatnx",
"vformatw",
"vformatwx",
"vformatx",
"vinarray",
"vinarrayx",
"vinformat",
"vinformatd",
"vinformatdx",
"vinformatn",
"vinformatnx",
"vinformatw",
"vinformatwx",
"vinformatx",
"vlabel",
"vlabelx",
"vlength",
"vlengthx",
"vname",
"vnamex",
"vtype",
"vtypex",
"weekday",
"year",
"yyq",
"zipfips",
"zipname",
"zipnamel",
"zipstate"
];
// Built-in macro functions
const MACRO_FUNCTIONS = [
"bquote",
"nrbquote",
"cmpres",
"qcmpres",
"compstor",
"datatyp",
"display",
"do",
"else",
"end",
"eval",
"global",
"goto",
"if",
"index",
"input",
"keydef",
"label",
"left",
"length",
"let",
"local",
"lowcase",
"macro",
"mend",
"nrbquote",
"nrquote",
"nrstr",
"put",
"qcmpres",
"qleft",
"qlowcase",
"qscan",
"qsubstr",
"qsysfunc",
"qtrim",
"quote",
"qupcase",
"scan",
"str",
"substr",
"superq",
"syscall",
"sysevalf",
"sysexec",
"sysfunc",
"sysget",
"syslput",
"sysprod",
"sysrc",
"sysrput",
"then",
"to",
"trim",
"unquote",
"until",
"upcase",
"verify",
"while",
"window"
];
const LITERALS = [
"null",
"missing",
"_all_",
"_automatic_",
"_character_",
"_infile_",
"_n_",
"_name_",
"_null_",
"_numeric_",
"_user_",
"_webout_"
];
return {
name: 'SAS',
case_insensitive: true,
keywords: {
literal: LITERALS,
keyword: SAS_KEYWORDS
},
contains: [
{
// Distinct highlight for proc , data, run, quit
className: 'keyword',
begin: /^\s*(proc [\w\d_]+|data|run|quit)[\s;]/
},
{
// Macro variables
className: 'variable',
begin: /&[a-zA-Z_&][a-zA-Z0-9_]*\.?/
},
{
begin: [
/^\s*/,
/datalines;|cards;/,
/(?:.*\n)+/,
/^\s*;\s*$/
],
className: {
2: "keyword",
3: "string"
}
},
{
begin: [
/%mend|%macro/,
/\s+/,
/[a-zA-Z_&][a-zA-Z0-9_]*/
],
className: {
1: "built_in",
3: "title.function"
}
},
{ // Built-in macro variables
className: 'built_in',
begin: '%' + regex.either(...MACRO_FUNCTIONS)
},
{
// User-defined macro functions
className: 'title.function',
begin: /%[a-zA-Z_][a-zA-Z_0-9]*/
},
{
// TODO: this is most likely an incorrect classification
// built_in may need more nuance
// https://github.com/highlightjs/highlight.js/issues/2521
className: 'meta',
begin: regex.either(...FUNCTIONS) + '(?=\\()'
},
{
className: 'string',
variants: [
hljs.APOS_STRING_MODE,
hljs.QUOTE_STRING_MODE
]
},
hljs.COMMENT('\\*', ';'),
hljs.C_BLOCK_COMMENT_MODE
]
};
}
return sas;
})();
hljs.registerLanguage('sas', hljsGrammar);
})();/*! `scala` grammar compiled for Highlight.js 11.11.1 */
(function(){
var hljsGrammar = (function () {
'use strict';
/*
Language: Scala
Category: functional
Author: Jan Berkel
Contributors: Erik Osheim
Website: https://www.scala-lang.org
*/
function scala(hljs) {
const regex = hljs.regex;
const ANNOTATION = {
className: 'meta',
begin: '@[A-Za-z]+'
};
// used in strings for escaping/interpolation/substitution
const SUBST = {
className: 'subst',
variants: [
{ begin: '\\$[A-Za-z0-9_]+' },
{
begin: /\$\{/,
end: /\}/
}
]
};
const STRING = {
className: 'string',
variants: [
{
begin: '"""',
end: '"""'
},
{
begin: '"',
end: '"',
illegal: '\\n',
contains: [ hljs.BACKSLASH_ESCAPE ]
},
{
begin: '[a-z]+"',
end: '"',
illegal: '\\n',
contains: [
hljs.BACKSLASH_ESCAPE,
SUBST
]
},
{
className: 'string',
begin: '[a-z]+"""',
end: '"""',
contains: [ SUBST ],
relevance: 10
}
]
};
const TYPE = {
className: 'type',
begin: '\\b[A-Z][A-Za-z0-9_]*',
relevance: 0
};
const NAME = {
className: 'title',
begin: /[^0-9\n\t "'(),.`{}\[\]:;][^\n\t "'(),.`{}\[\]:;]+|[^0-9\n\t "'(),.`{}\[\]:;=]/,
relevance: 0
};
const CLASS = {
className: 'class',
beginKeywords: 'class object trait type',
end: /[:={\[\n;]/,
excludeEnd: true,
contains: [
hljs.C_LINE_COMMENT_MODE,
hljs.C_BLOCK_COMMENT_MODE,
{
beginKeywords: 'extends with',
relevance: 10
},
{
begin: /\[/,
end: /\]/,
excludeBegin: true,
excludeEnd: true,
relevance: 0,
contains: [
TYPE,
hljs.C_LINE_COMMENT_MODE,
hljs.C_BLOCK_COMMENT_MODE,
]
},
{
className: 'params',
begin: /\(/,
end: /\)/,
excludeBegin: true,
excludeEnd: true,
relevance: 0,
contains: [
TYPE,
hljs.C_LINE_COMMENT_MODE,
hljs.C_BLOCK_COMMENT_MODE,
]
},
NAME
]
};
const METHOD = {
className: 'function',
beginKeywords: 'def',
end: regex.lookahead(/[:={\[(\n;]/),
contains: [ NAME ]
};
const EXTENSION = {
begin: [
/^\s*/, // Is first token on the line
'extension',
/\s+(?=[[(])/, // followed by at least one space and `[` or `(`
],
beginScope: { 2: "keyword", }
};
const END = {
begin: [
/^\s*/, // Is first token on the line
/end/,
/\s+/,
/(extension\b)?/, // `extension` is the only marker that follows an `end` that cannot be captured by another rule.
],
beginScope: {
2: "keyword",
4: "keyword",
}
};
// TODO: use negative look-behind in future
// /(?',
/\s+/,
/using/,
/\s+/,
/\S+/
],
beginScope: {
1: "comment",
3: "keyword",
5: "type"
},
end: /$/,
contains: [
DIRECTIVE_VALUE,
]
};
return {
name: 'Scala',
keywords: {
literal: 'true false null',
keyword: 'type yield lazy override def with val var sealed abstract private trait object if then forSome for while do throw finally protected extends import final return else break new catch super class case package default try this match continue throws implicit export enum given transparent'
},
contains: [
USING_DIRECTIVE,
hljs.C_LINE_COMMENT_MODE,
hljs.C_BLOCK_COMMENT_MODE,
STRING,
TYPE,
METHOD,
CLASS,
hljs.C_NUMBER_MODE,
EXTENSION,
END,
...INLINE_MODES,
USING_PARAM_CLAUSE,
ANNOTATION
]
};
}
return scala;
})();
hljs.registerLanguage('scala', hljsGrammar);
})();/*! `scheme` grammar compiled for Highlight.js 11.11.1 */
(function(){
var hljsGrammar = (function () {
'use strict';
/*
Language: Scheme
Description: Scheme is a programming language in the Lisp family.
(keywords based on http://community.schemewiki.org/?scheme-keywords)
Author: JP Verkamp
Contributors: Ivan Sagalaev
Origin: clojure.js
Website: http://community.schemewiki.org/?what-is-scheme
Category: lisp
*/
function scheme(hljs) {
const SCHEME_IDENT_RE = '[^\\(\\)\\[\\]\\{\\}",\'`;#|\\\\\\s]+';
const SCHEME_SIMPLE_NUMBER_RE = '(-|\\+)?\\d+([./]\\d+)?';
const SCHEME_COMPLEX_NUMBER_RE = SCHEME_SIMPLE_NUMBER_RE + '[+\\-]' + SCHEME_SIMPLE_NUMBER_RE + 'i';
const KEYWORDS = {
$pattern: SCHEME_IDENT_RE,
built_in:
'case-lambda call/cc class define-class exit-handler field import '
+ 'inherit init-field interface let*-values let-values let/ec mixin '
+ 'opt-lambda override protect provide public rename require '
+ 'require-for-syntax syntax syntax-case syntax-error unit/sig unless '
+ 'when with-syntax and begin call-with-current-continuation '
+ 'call-with-input-file call-with-output-file case cond define '
+ 'define-syntax delay do dynamic-wind else for-each if lambda let let* '
+ 'let-syntax letrec letrec-syntax map or syntax-rules \' * + , ,@ - ... / '
+ '; < <= = => > >= ` abs acos angle append apply asin assoc assq assv atan '
+ 'boolean? caar cadr call-with-input-file call-with-output-file '
+ 'call-with-values car cdddar cddddr cdr ceiling char->integer '
+ 'char-alphabetic? char-ci<=? char-ci char-ci=? char-ci>=? char-ci>? '
+ 'char-downcase char-lower-case? char-numeric? char-ready? char-upcase '
+ 'char-upper-case? char-whitespace? char<=? char char=? char>=? char>? '
+ 'char? close-input-port close-output-port complex? cons cos '
+ 'current-input-port current-output-port denominator display eof-object? '
+ 'eq? equal? eqv? eval even? exact->inexact exact? exp expt floor '
+ 'force gcd imag-part inexact->exact inexact? input-port? integer->char '
+ 'integer? interaction-environment lcm length list list->string '
+ 'list->vector list-ref list-tail list? load log magnitude make-polar '
+ 'make-rectangular make-string make-vector max member memq memv min '
+ 'modulo negative? newline not null-environment null? number->string '
+ 'number? numerator odd? open-input-file open-output-file output-port? '
+ 'pair? peek-char port? positive? procedure? quasiquote quote quotient '
+ 'rational? rationalize read read-char real-part real? remainder reverse '
+ 'round scheme-report-environment set! set-car! set-cdr! sin sqrt string '
+ 'string->list string->number string->symbol string-append string-ci<=? '
+ 'string-ci string-ci=? string-ci>=? string-ci>? string-copy '
+ 'string-fill! string-length string-ref string-set! string<=? string '
+ 'string=? string>=? string>? string? substring symbol->string symbol? '
+ 'tan transcript-off transcript-on truncate values vector '
+ 'vector->list vector-fill! vector-length vector-ref vector-set! '
+ 'with-input-from-file with-output-to-file write write-char zero?'
};
const LITERAL = {
className: 'literal',
begin: '(#t|#f|#\\\\' + SCHEME_IDENT_RE + '|#\\\\.)'
};
const NUMBER = {
className: 'number',
variants: [
{
begin: SCHEME_SIMPLE_NUMBER_RE,
relevance: 0
},
{
begin: SCHEME_COMPLEX_NUMBER_RE,
relevance: 0
},
{ begin: '#b[0-1]+(/[0-1]+)?' },
{ begin: '#o[0-7]+(/[0-7]+)?' },
{ begin: '#x[0-9a-f]+(/[0-9a-f]+)?' }
]
};
const STRING = hljs.QUOTE_STRING_MODE;
const COMMENT_MODES = [
hljs.COMMENT(
';',
'$',
{ relevance: 0 }
),
hljs.COMMENT('#\\|', '\\|#')
];
const IDENT = {
begin: SCHEME_IDENT_RE,
relevance: 0
};
const QUOTED_IDENT = {
className: 'symbol',
begin: '\'' + SCHEME_IDENT_RE
};
const BODY = {
endsWithParent: true,
relevance: 0
};
const QUOTED_LIST = {
variants: [
{ begin: /'/ },
{ begin: '`' }
],
contains: [
{
begin: '\\(',
end: '\\)',
contains: [
'self',
LITERAL,
STRING,
NUMBER,
IDENT,
QUOTED_IDENT
]
}
]
};
const NAME = {
className: 'name',
relevance: 0,
begin: SCHEME_IDENT_RE,
keywords: KEYWORDS
};
const LAMBDA = {
begin: /lambda/,
endsWithParent: true,
returnBegin: true,
contains: [
NAME,
{
endsParent: true,
variants: [
{
begin: /\(/,
end: /\)/
},
{
begin: /\[/,
end: /\]/
}
],
contains: [ IDENT ]
}
]
};
const LIST = {
variants: [
{
begin: '\\(',
end: '\\)'
},
{
begin: '\\[',
end: '\\]'
}
],
contains: [
LAMBDA,
NAME,
BODY
]
};
BODY.contains = [
LITERAL,
NUMBER,
STRING,
IDENT,
QUOTED_IDENT,
QUOTED_LIST,
LIST
].concat(COMMENT_MODES);
return {
name: 'Scheme',
aliases: ['scm'],
illegal: /\S/,
contains: [
hljs.SHEBANG(),
NUMBER,
STRING,
QUOTED_IDENT,
QUOTED_LIST,
LIST
].concat(COMMENT_MODES)
};
}
return scheme;
})();
hljs.registerLanguage('scheme', hljsGrammar);
})();/*! `scilab` grammar compiled for Highlight.js 11.11.1 */
(function(){
var hljsGrammar = (function () {
'use strict';
/*
Language: Scilab
Author: Sylvestre Ledru
Origin: matlab.js
Description: Scilab is a port from Matlab
Website: https://www.scilab.org
Category: scientific
*/
function scilab(hljs) {
const COMMON_CONTAINS = [
hljs.C_NUMBER_MODE,
{
className: 'string',
begin: '\'|\"',
end: '\'|\"',
contains: [
hljs.BACKSLASH_ESCAPE,
{ begin: '\'\'' }
]
}
];
return {
name: 'Scilab',
aliases: [ 'sci' ],
keywords: {
$pattern: /%?\w+/,
keyword: 'abort break case clear catch continue do elseif else endfunction end for function '
+ 'global if pause return resume select try then while',
literal:
'%f %F %t %T %pi %eps %inf %nan %e %i %z %s',
built_in: // Scilab has more than 2000 functions. Just list the most commons
'abs and acos asin atan ceil cd chdir clearglobal cosh cos cumprod deff disp error '
+ 'exec execstr exists exp eye gettext floor fprintf fread fsolve imag isdef isempty '
+ 'isinfisnan isvector lasterror length load linspace list listfiles log10 log2 log '
+ 'max min msprintf mclose mopen ones or pathconvert poly printf prod pwd rand real '
+ 'round sinh sin size gsort sprintf sqrt strcat strcmps tring sum system tanh tan '
+ 'type typename warning zeros matrix'
},
illegal: '("|#|/\\*|\\s+/\\w+)',
contains: [
{
className: 'function',
beginKeywords: 'function',
end: '$',
contains: [
hljs.UNDERSCORE_TITLE_MODE,
{
className: 'params',
begin: '\\(',
end: '\\)'
}
]
},
// seems to be a guard against [ident]' or [ident].
// perhaps to prevent attributes from flagging as keywords?
{
begin: '[a-zA-Z_][a-zA-Z_0-9]*[\\.\']+',
relevance: 0
},
{
begin: '\\[',
end: '\\][\\.\']*',
relevance: 0,
contains: COMMON_CONTAINS
},
hljs.COMMENT('//', '$')
].concat(COMMON_CONTAINS)
};
}
return scilab;
})();
hljs.registerLanguage('scilab', hljsGrammar);
})();/*! `scss` grammar compiled for Highlight.js 11.11.1 */
(function(){
var hljsGrammar = (function () {
'use strict';
const MODES = (hljs) => {
return {
IMPORTANT: {
scope: 'meta',
begin: '!important'
},
BLOCK_COMMENT: hljs.C_BLOCK_COMMENT_MODE,
HEXCOLOR: {
scope: 'number',
begin: /#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/
},
FUNCTION_DISPATCH: {
className: "built_in",
begin: /[\w-]+(?=\()/
},
ATTRIBUTE_SELECTOR_MODE: {
scope: 'selector-attr',
begin: /\[/,
end: /\]/,
illegal: '$',
contains: [
hljs.APOS_STRING_MODE,
hljs.QUOTE_STRING_MODE
]
},
CSS_NUMBER_MODE: {
scope: 'number',
begin: hljs.NUMBER_RE + '(' +
'%|em|ex|ch|rem' +
'|vw|vh|vmin|vmax' +
'|cm|mm|in|pt|pc|px' +
'|deg|grad|rad|turn' +
'|s|ms' +
'|Hz|kHz' +
'|dpi|dpcm|dppx' +
')?',
relevance: 0
},
CSS_VARIABLE: {
className: "attr",
begin: /--[A-Za-z_][A-Za-z0-9_-]*/
}
};
};
const HTML_TAGS = [
'a',
'abbr',
'address',
'article',
'aside',
'audio',
'b',
'blockquote',
'body',
'button',
'canvas',
'caption',
'cite',
'code',
'dd',
'del',
'details',
'dfn',
'div',
'dl',
'dt',
'em',
'fieldset',
'figcaption',
'figure',
'footer',
'form',
'h1',
'h2',
'h3',
'h4',
'h5',
'h6',
'header',
'hgroup',
'html',
'i',
'iframe',
'img',
'input',
'ins',
'kbd',
'label',
'legend',
'li',
'main',
'mark',
'menu',
'nav',
'object',
'ol',
'optgroup',
'option',
'p',
'picture',
'q',
'quote',
'samp',
'section',
'select',
'source',
'span',
'strong',
'summary',
'sup',
'table',
'tbody',
'td',
'textarea',
'tfoot',
'th',
'thead',
'time',
'tr',
'ul',
'var',
'video'
];
const SVG_TAGS = [
'defs',
'g',
'marker',
'mask',
'pattern',
'svg',
'switch',
'symbol',
'feBlend',
'feColorMatrix',
'feComponentTransfer',
'feComposite',
'feConvolveMatrix',
'feDiffuseLighting',
'feDisplacementMap',
'feFlood',
'feGaussianBlur',
'feImage',
'feMerge',
'feMorphology',
'feOffset',
'feSpecularLighting',
'feTile',
'feTurbulence',
'linearGradient',
'radialGradient',
'stop',
'circle',
'ellipse',
'image',
'line',
'path',
'polygon',
'polyline',
'rect',
'text',
'use',
'textPath',
'tspan',
'foreignObject',
'clipPath'
];
const TAGS = [
...HTML_TAGS,
...SVG_TAGS,
];
// Sorting, then reversing makes sure longer attributes/elements like
// `font-weight` are matched fully instead of getting false positives on say `font`
const MEDIA_FEATURES = [
'any-hover',
'any-pointer',
'aspect-ratio',
'color',
'color-gamut',
'color-index',
'device-aspect-ratio',
'device-height',
'device-width',
'display-mode',
'forced-colors',
'grid',
'height',
'hover',
'inverted-colors',
'monochrome',
'orientation',
'overflow-block',
'overflow-inline',
'pointer',
'prefers-color-scheme',
'prefers-contrast',
'prefers-reduced-motion',
'prefers-reduced-transparency',
'resolution',
'scan',
'scripting',
'update',
'width',
// TODO: find a better solution?
'min-width',
'max-width',
'min-height',
'max-height'
].sort().reverse();
// https://developer.mozilla.org/en-US/docs/Web/CSS/Pseudo-classes
const PSEUDO_CLASSES = [
'active',
'any-link',
'blank',
'checked',
'current',
'default',
'defined',
'dir', // dir()
'disabled',
'drop',
'empty',
'enabled',
'first',
'first-child',
'first-of-type',
'fullscreen',
'future',
'focus',
'focus-visible',
'focus-within',
'has', // has()
'host', // host or host()
'host-context', // host-context()
'hover',
'indeterminate',
'in-range',
'invalid',
'is', // is()
'lang', // lang()
'last-child',
'last-of-type',
'left',
'link',
'local-link',
'not', // not()
'nth-child', // nth-child()
'nth-col', // nth-col()
'nth-last-child', // nth-last-child()
'nth-last-col', // nth-last-col()
'nth-last-of-type', //nth-last-of-type()
'nth-of-type', //nth-of-type()
'only-child',
'only-of-type',
'optional',
'out-of-range',
'past',
'placeholder-shown',
'read-only',
'read-write',
'required',
'right',
'root',
'scope',
'target',
'target-within',
'user-invalid',
'valid',
'visited',
'where' // where()
].sort().reverse();
// https://developer.mozilla.org/en-US/docs/Web/CSS/Pseudo-elements
const PSEUDO_ELEMENTS = [
'after',
'backdrop',
'before',
'cue',
'cue-region',
'first-letter',
'first-line',
'grammar-error',
'marker',
'part',
'placeholder',
'selection',
'slotted',
'spelling-error'
].sort().reverse();
const ATTRIBUTES = [
'accent-color',
'align-content',
'align-items',
'align-self',
'alignment-baseline',
'all',
'anchor-name',
'animation',
'animation-composition',
'animation-delay',
'animation-direction',
'animation-duration',
'animation-fill-mode',
'animation-iteration-count',
'animation-name',
'animation-play-state',
'animation-range',
'animation-range-end',
'animation-range-start',
'animation-timeline',
'animation-timing-function',
'appearance',
'aspect-ratio',
'backdrop-filter',
'backface-visibility',
'background',
'background-attachment',
'background-blend-mode',
'background-clip',
'background-color',
'background-image',
'background-origin',
'background-position',
'background-position-x',
'background-position-y',
'background-repeat',
'background-size',
'baseline-shift',
'block-size',
'border',
'border-block',
'border-block-color',
'border-block-end',
'border-block-end-color',
'border-block-end-style',
'border-block-end-width',
'border-block-start',
'border-block-start-color',
'border-block-start-style',
'border-block-start-width',
'border-block-style',
'border-block-width',
'border-bottom',
'border-bottom-color',
'border-bottom-left-radius',
'border-bottom-right-radius',
'border-bottom-style',
'border-bottom-width',
'border-collapse',
'border-color',
'border-end-end-radius',
'border-end-start-radius',
'border-image',
'border-image-outset',
'border-image-repeat',
'border-image-slice',
'border-image-source',
'border-image-width',
'border-inline',
'border-inline-color',
'border-inline-end',
'border-inline-end-color',
'border-inline-end-style',
'border-inline-end-width',
'border-inline-start',
'border-inline-start-color',
'border-inline-start-style',
'border-inline-start-width',
'border-inline-style',
'border-inline-width',
'border-left',
'border-left-color',
'border-left-style',
'border-left-width',
'border-radius',
'border-right',
'border-right-color',
'border-right-style',
'border-right-width',
'border-spacing',
'border-start-end-radius',
'border-start-start-radius',
'border-style',
'border-top',
'border-top-color',
'border-top-left-radius',
'border-top-right-radius',
'border-top-style',
'border-top-width',
'border-width',
'bottom',
'box-align',
'box-decoration-break',
'box-direction',
'box-flex',
'box-flex-group',
'box-lines',
'box-ordinal-group',
'box-orient',
'box-pack',
'box-shadow',
'box-sizing',
'break-after',
'break-before',
'break-inside',
'caption-side',
'caret-color',
'clear',
'clip',
'clip-path',
'clip-rule',
'color',
'color-interpolation',
'color-interpolation-filters',
'color-profile',
'color-rendering',
'color-scheme',
'column-count',
'column-fill',
'column-gap',
'column-rule',
'column-rule-color',
'column-rule-style',
'column-rule-width',
'column-span',
'column-width',
'columns',
'contain',
'contain-intrinsic-block-size',
'contain-intrinsic-height',
'contain-intrinsic-inline-size',
'contain-intrinsic-size',
'contain-intrinsic-width',
'container',
'container-name',
'container-type',
'content',
'content-visibility',
'counter-increment',
'counter-reset',
'counter-set',
'cue',
'cue-after',
'cue-before',
'cursor',
'cx',
'cy',
'direction',
'display',
'dominant-baseline',
'empty-cells',
'enable-background',
'field-sizing',
'fill',
'fill-opacity',
'fill-rule',
'filter',
'flex',
'flex-basis',
'flex-direction',
'flex-flow',
'flex-grow',
'flex-shrink',
'flex-wrap',
'float',
'flood-color',
'flood-opacity',
'flow',
'font',
'font-display',
'font-family',
'font-feature-settings',
'font-kerning',
'font-language-override',
'font-optical-sizing',
'font-palette',
'font-size',
'font-size-adjust',
'font-smooth',
'font-smoothing',
'font-stretch',
'font-style',
'font-synthesis',
'font-synthesis-position',
'font-synthesis-small-caps',
'font-synthesis-style',
'font-synthesis-weight',
'font-variant',
'font-variant-alternates',
'font-variant-caps',
'font-variant-east-asian',
'font-variant-emoji',
'font-variant-ligatures',
'font-variant-numeric',
'font-variant-position',
'font-variation-settings',
'font-weight',
'forced-color-adjust',
'gap',
'glyph-orientation-horizontal',
'glyph-orientation-vertical',
'grid',
'grid-area',
'grid-auto-columns',
'grid-auto-flow',
'grid-auto-rows',
'grid-column',
'grid-column-end',
'grid-column-start',
'grid-gap',
'grid-row',
'grid-row-end',
'grid-row-start',
'grid-template',
'grid-template-areas',
'grid-template-columns',
'grid-template-rows',
'hanging-punctuation',
'height',
'hyphenate-character',
'hyphenate-limit-chars',
'hyphens',
'icon',
'image-orientation',
'image-rendering',
'image-resolution',
'ime-mode',
'initial-letter',
'initial-letter-align',
'inline-size',
'inset',
'inset-area',
'inset-block',
'inset-block-end',
'inset-block-start',
'inset-inline',
'inset-inline-end',
'inset-inline-start',
'isolation',
'justify-content',
'justify-items',
'justify-self',
'kerning',
'left',
'letter-spacing',
'lighting-color',
'line-break',
'line-height',
'line-height-step',
'list-style',
'list-style-image',
'list-style-position',
'list-style-type',
'margin',
'margin-block',
'margin-block-end',
'margin-block-start',
'margin-bottom',
'margin-inline',
'margin-inline-end',
'margin-inline-start',
'margin-left',
'margin-right',
'margin-top',
'margin-trim',
'marker',
'marker-end',
'marker-mid',
'marker-start',
'marks',
'mask',
'mask-border',
'mask-border-mode',
'mask-border-outset',
'mask-border-repeat',
'mask-border-slice',
'mask-border-source',
'mask-border-width',
'mask-clip',
'mask-composite',
'mask-image',
'mask-mode',
'mask-origin',
'mask-position',
'mask-repeat',
'mask-size',
'mask-type',
'masonry-auto-flow',
'math-depth',
'math-shift',
'math-style',
'max-block-size',
'max-height',
'max-inline-size',
'max-width',
'min-block-size',
'min-height',
'min-inline-size',
'min-width',
'mix-blend-mode',
'nav-down',
'nav-index',
'nav-left',
'nav-right',
'nav-up',
'none',
'normal',
'object-fit',
'object-position',
'offset',
'offset-anchor',
'offset-distance',
'offset-path',
'offset-position',
'offset-rotate',
'opacity',
'order',
'orphans',
'outline',
'outline-color',
'outline-offset',
'outline-style',
'outline-width',
'overflow',
'overflow-anchor',
'overflow-block',
'overflow-clip-margin',
'overflow-inline',
'overflow-wrap',
'overflow-x',
'overflow-y',
'overlay',
'overscroll-behavior',
'overscroll-behavior-block',
'overscroll-behavior-inline',
'overscroll-behavior-x',
'overscroll-behavior-y',
'padding',
'padding-block',
'padding-block-end',
'padding-block-start',
'padding-bottom',
'padding-inline',
'padding-inline-end',
'padding-inline-start',
'padding-left',
'padding-right',
'padding-top',
'page',
'page-break-after',
'page-break-before',
'page-break-inside',
'paint-order',
'pause',
'pause-after',
'pause-before',
'perspective',
'perspective-origin',
'place-content',
'place-items',
'place-self',
'pointer-events',
'position',
'position-anchor',
'position-visibility',
'print-color-adjust',
'quotes',
'r',
'resize',
'rest',
'rest-after',
'rest-before',
'right',
'rotate',
'row-gap',
'ruby-align',
'ruby-position',
'scale',
'scroll-behavior',
'scroll-margin',
'scroll-margin-block',
'scroll-margin-block-end',
'scroll-margin-block-start',
'scroll-margin-bottom',
'scroll-margin-inline',
'scroll-margin-inline-end',
'scroll-margin-inline-start',
'scroll-margin-left',
'scroll-margin-right',
'scroll-margin-top',
'scroll-padding',
'scroll-padding-block',
'scroll-padding-block-end',
'scroll-padding-block-start',
'scroll-padding-bottom',
'scroll-padding-inline',
'scroll-padding-inline-end',
'scroll-padding-inline-start',
'scroll-padding-left',
'scroll-padding-right',
'scroll-padding-top',
'scroll-snap-align',
'scroll-snap-stop',
'scroll-snap-type',
'scroll-timeline',
'scroll-timeline-axis',
'scroll-timeline-name',
'scrollbar-color',
'scrollbar-gutter',
'scrollbar-width',
'shape-image-threshold',
'shape-margin',
'shape-outside',
'shape-rendering',
'speak',
'speak-as',
'src', // @font-face
'stop-color',
'stop-opacity',
'stroke',
'stroke-dasharray',
'stroke-dashoffset',
'stroke-linecap',
'stroke-linejoin',
'stroke-miterlimit',
'stroke-opacity',
'stroke-width',
'tab-size',
'table-layout',
'text-align',
'text-align-all',
'text-align-last',
'text-anchor',
'text-combine-upright',
'text-decoration',
'text-decoration-color',
'text-decoration-line',
'text-decoration-skip',
'text-decoration-skip-ink',
'text-decoration-style',
'text-decoration-thickness',
'text-emphasis',
'text-emphasis-color',
'text-emphasis-position',
'text-emphasis-style',
'text-indent',
'text-justify',
'text-orientation',
'text-overflow',
'text-rendering',
'text-shadow',
'text-size-adjust',
'text-transform',
'text-underline-offset',
'text-underline-position',
'text-wrap',
'text-wrap-mode',
'text-wrap-style',
'timeline-scope',
'top',
'touch-action',
'transform',
'transform-box',
'transform-origin',
'transform-style',
'transition',
'transition-behavior',
'transition-delay',
'transition-duration',
'transition-property',
'transition-timing-function',
'translate',
'unicode-bidi',
'user-modify',
'user-select',
'vector-effect',
'vertical-align',
'view-timeline',
'view-timeline-axis',
'view-timeline-inset',
'view-timeline-name',
'view-transition-name',
'visibility',
'voice-balance',
'voice-duration',
'voice-family',
'voice-pitch',
'voice-range',
'voice-rate',
'voice-stress',
'voice-volume',
'white-space',
'white-space-collapse',
'widows',
'width',
'will-change',
'word-break',
'word-spacing',
'word-wrap',
'writing-mode',
'x',
'y',
'z-index',
'zoom'
].sort().reverse();
/*
Language: SCSS
Description: Scss is an extension of the syntax of CSS.
Author: Kurt Emch
Website: https://sass-lang.com
Category: common, css, web
*/
/** @type LanguageFn */
function scss(hljs) {
const modes = MODES(hljs);
const PSEUDO_ELEMENTS$1 = PSEUDO_ELEMENTS;
const PSEUDO_CLASSES$1 = PSEUDO_CLASSES;
const AT_IDENTIFIER = '@[a-z-]+'; // @font-face
const AT_MODIFIERS = "and or not only";
const IDENT_RE = '[a-zA-Z-][a-zA-Z0-9_-]*';
const VARIABLE = {
className: 'variable',
begin: '(\\$' + IDENT_RE + ')\\b',
relevance: 0
};
return {
name: 'SCSS',
case_insensitive: true,
illegal: '[=/|\']',
contains: [
hljs.C_LINE_COMMENT_MODE,
hljs.C_BLOCK_COMMENT_MODE,
// to recognize keyframe 40% etc which are outside the scope of our
// attribute value mode
modes.CSS_NUMBER_MODE,
{
className: 'selector-id',
begin: '#[A-Za-z0-9_-]+',
relevance: 0
},
{
className: 'selector-class',
begin: '\\.[A-Za-z0-9_-]+',
relevance: 0
},
modes.ATTRIBUTE_SELECTOR_MODE,
{
className: 'selector-tag',
begin: '\\b(' + TAGS.join('|') + ')\\b',
// was there, before, but why?
relevance: 0
},
{
className: 'selector-pseudo',
begin: ':(' + PSEUDO_CLASSES$1.join('|') + ')'
},
{
className: 'selector-pseudo',
begin: ':(:)?(' + PSEUDO_ELEMENTS$1.join('|') + ')'
},
VARIABLE,
{ // pseudo-selector params
begin: /\(/,
end: /\)/,
contains: [ modes.CSS_NUMBER_MODE ]
},
modes.CSS_VARIABLE,
{
className: 'attribute',
begin: '\\b(' + ATTRIBUTES.join('|') + ')\\b'
},
{ begin: '\\b(whitespace|wait|w-resize|visible|vertical-text|vertical-ideographic|uppercase|upper-roman|upper-alpha|underline|transparent|top|thin|thick|text|text-top|text-bottom|tb-rl|table-header-group|table-footer-group|sw-resize|super|strict|static|square|solid|small-caps|separate|se-resize|scroll|s-resize|rtl|row-resize|ridge|right|repeat|repeat-y|repeat-x|relative|progress|pointer|overline|outside|outset|oblique|nowrap|not-allowed|normal|none|nw-resize|no-repeat|no-drop|newspaper|ne-resize|n-resize|move|middle|medium|ltr|lr-tb|lowercase|lower-roman|lower-alpha|loose|list-item|line|line-through|line-edge|lighter|left|keep-all|justify|italic|inter-word|inter-ideograph|inside|inset|inline|inline-block|inherit|inactive|ideograph-space|ideograph-parenthesis|ideograph-numeric|ideograph-alpha|horizontal|hidden|help|hand|groove|fixed|ellipsis|e-resize|double|dotted|distribute|distribute-space|distribute-letter|distribute-all-lines|disc|disabled|default|decimal|dashed|crosshair|collapse|col-resize|circle|char|center|capitalize|break-word|break-all|bottom|both|bolder|bold|block|bidi-override|below|baseline|auto|always|all-scroll|absolute|table|table-cell)\\b' },
{
begin: /:/,
end: /[;}{]/,
relevance: 0,
contains: [
modes.BLOCK_COMMENT,
VARIABLE,
modes.HEXCOLOR,
modes.CSS_NUMBER_MODE,
hljs.QUOTE_STRING_MODE,
hljs.APOS_STRING_MODE,
modes.IMPORTANT,
modes.FUNCTION_DISPATCH
]
},
// matching these here allows us to treat them more like regular CSS
// rules so everything between the {} gets regular rule highlighting,
// which is what we want for page and font-face
{
begin: '@(page|font-face)',
keywords: {
$pattern: AT_IDENTIFIER,
keyword: '@page @font-face'
}
},
{
begin: '@',
end: '[{;]',
returnBegin: true,
keywords: {
$pattern: /[a-z-]+/,
keyword: AT_MODIFIERS,
attribute: MEDIA_FEATURES.join(" ")
},
contains: [
{
begin: AT_IDENTIFIER,
className: "keyword"
},
{
begin: /[a-z-]+(?=:)/,
className: "attribute"
},
VARIABLE,
hljs.QUOTE_STRING_MODE,
hljs.APOS_STRING_MODE,
modes.HEXCOLOR,
modes.CSS_NUMBER_MODE
]
},
modes.FUNCTION_DISPATCH
]
};
}
return scss;
})();
hljs.registerLanguage('scss', hljsGrammar);
})();/*! `shell` grammar compiled for Highlight.js 11.11.1 */
(function(){
var hljsGrammar = (function () {
'use strict';
/*
Language: Shell Session
Requires: bash.js
Author: TSUYUSATO Kitsune
Category: common
Audit: 2020
*/
/** @type LanguageFn */
function shell(hljs) {
return {
name: 'Shell Session',
aliases: [
'console',
'shellsession'
],
contains: [
{
className: 'meta.prompt',
// We cannot add \s (spaces) in the regular expression otherwise it will be too broad and produce unexpected result.
// For instance, in the following example, it would match "echo /path/to/home >" as a prompt:
// echo /path/to/home > t.exe
begin: /^\s{0,3}[/~\w\d[\]()@-]*[>%$#][ ]?/,
starts: {
end: /[^\\](?=\s*$)/,
subLanguage: 'bash'
}
}
]
};
}
return shell;
})();
hljs.registerLanguage('shell', hljsGrammar);
})();/*! `smali` grammar compiled for Highlight.js 11.11.1 */
(function(){
var hljsGrammar = (function () {
'use strict';
/*
Language: Smali
Author: Dennis Titze
Description: Basic Smali highlighting
Website: https://github.com/JesusFreke/smali
Category: assembler
*/
function smali(hljs) {
const smali_instr_low_prio = [
'add',
'and',
'cmp',
'cmpg',
'cmpl',
'const',
'div',
'double',
'float',
'goto',
'if',
'int',
'long',
'move',
'mul',
'neg',
'new',
'nop',
'not',
'or',
'rem',
'return',
'shl',
'shr',
'sput',
'sub',
'throw',
'ushr',
'xor'
];
const smali_instr_high_prio = [
'aget',
'aput',
'array',
'check',
'execute',
'fill',
'filled',
'goto/16',
'goto/32',
'iget',
'instance',
'invoke',
'iput',
'monitor',
'packed',
'sget',
'sparse'
];
const smali_keywords = [
'transient',
'constructor',
'abstract',
'final',
'synthetic',
'public',
'private',
'protected',
'static',
'bridge',
'system'
];
return {
name: 'Smali',
contains: [
{
className: 'string',
begin: '"',
end: '"',
relevance: 0
},
hljs.COMMENT(
'#',
'$',
{ relevance: 0 }
),
{
className: 'keyword',
variants: [
{ begin: '\\s*\\.end\\s[a-zA-Z0-9]*' },
{
begin: '^[ ]*\\.[a-zA-Z]*',
relevance: 0
},
{
begin: '\\s:[a-zA-Z_0-9]*',
relevance: 0
},
{ begin: '\\s(' + smali_keywords.join('|') + ')' }
]
},
{
className: 'built_in',
variants: [
{ begin: '\\s(' + smali_instr_low_prio.join('|') + ')\\s' },
{
begin: '\\s(' + smali_instr_low_prio.join('|') + ')((-|/)[a-zA-Z0-9]+)+\\s',
relevance: 10
},
{
begin: '\\s(' + smali_instr_high_prio.join('|') + ')((-|/)[a-zA-Z0-9]+)*\\s',
relevance: 10
}
]
},
{
className: 'class',
begin: 'L[^\(;:\n]*;',
relevance: 0
},
{ begin: '[vp][0-9]+' }
]
};
}
return smali;
})();
hljs.registerLanguage('smali', hljsGrammar);
})();/*! `smalltalk` grammar compiled for Highlight.js 11.11.1 */
(function(){
var hljsGrammar = (function () {
'use strict';
/*
Language: Smalltalk
Description: Smalltalk is an object-oriented, dynamically typed reflective programming language.
Author: Vladimir Gubarkov
Website: https://en.wikipedia.org/wiki/Smalltalk
Category: system
*/
function smalltalk(hljs) {
const VAR_IDENT_RE = '[a-z][a-zA-Z0-9_]*';
const CHAR = {
className: 'string',
begin: '\\$.{1}'
};
const SYMBOL = {
className: 'symbol',
begin: '#' + hljs.UNDERSCORE_IDENT_RE
};
return {
name: 'Smalltalk',
aliases: [ 'st' ],
keywords: [
"self",
"super",
"nil",
"true",
"false",
"thisContext"
],
contains: [
hljs.COMMENT('"', '"'),
hljs.APOS_STRING_MODE,
{
className: 'type',
begin: '\\b[A-Z][A-Za-z0-9_]*',
relevance: 0
},
{
begin: VAR_IDENT_RE + ':',
relevance: 0
},
hljs.C_NUMBER_MODE,
SYMBOL,
CHAR,
{
// This looks more complicated than needed to avoid combinatorial
// explosion under V8. It effectively means `| var1 var2 ... |` with
// whitespace adjacent to `|` being optional.
begin: '\\|[ ]*' + VAR_IDENT_RE + '([ ]+' + VAR_IDENT_RE + ')*[ ]*\\|',
returnBegin: true,
end: /\|/,
illegal: /\S/,
contains: [ { begin: '(\\|[ ]*)?' + VAR_IDENT_RE } ]
},
{
begin: '#\\(',
end: '\\)',
contains: [
hljs.APOS_STRING_MODE,
CHAR,
hljs.C_NUMBER_MODE,
SYMBOL
]
}
]
};
}
return smalltalk;
})();
hljs.registerLanguage('smalltalk', hljsGrammar);
})();/*! `sml` grammar compiled for Highlight.js 11.11.1 */
(function(){
var hljsGrammar = (function () {
'use strict';
/*
Language: SML (Standard ML)
Author: Edwin Dalorzo
Description: SML language definition.
Website: https://www.smlnj.org
Origin: ocaml.js
Category: functional
*/
function sml(hljs) {
return {
name: 'SML (Standard ML)',
aliases: [ 'ml' ],
keywords: {
$pattern: '[a-z_]\\w*!?',
keyword:
/* according to Definition of Standard ML 97 */
'abstype and andalso as case datatype do else end eqtype '
+ 'exception fn fun functor handle if in include infix infixr '
+ 'let local nonfix of op open orelse raise rec sharing sig '
+ 'signature struct structure then type val with withtype where while',
built_in:
/* built-in types according to basis library */
'array bool char exn int list option order real ref string substring vector unit word',
literal:
'true false NONE SOME LESS EQUAL GREATER nil'
},
illegal: /\/\/|>>/,
contains: [
{
className: 'literal',
begin: /\[(\|\|)?\]|\(\)/,
relevance: 0
},
hljs.COMMENT(
'\\(\\*',
'\\*\\)',
{ contains: [ 'self' ] }
),
{ /* type variable */
className: 'symbol',
begin: '\'[A-Za-z_](?!\')[\\w\']*'
/* the grammar is ambiguous on how 'a'b should be interpreted but not the compiler */
},
{ /* polymorphic variant */
className: 'type',
begin: '`[A-Z][\\w\']*'
},
{ /* module or constructor */
className: 'type',
begin: '\\b[A-Z][\\w\']*',
relevance: 0
},
{ /* don't color identifiers, but safely catch all identifiers with ' */
begin: '[a-z_]\\w*\'[\\w\']*' },
hljs.inherit(hljs.APOS_STRING_MODE, {
className: 'string',
relevance: 0
}),
hljs.inherit(hljs.QUOTE_STRING_MODE, { illegal: null }),
{
className: 'number',
begin:
'\\b(0[xX][a-fA-F0-9_]+[Lln]?|'
+ '0[oO][0-7_]+[Lln]?|'
+ '0[bB][01_]+[Lln]?|'
+ '[0-9][0-9_]*([Lln]|(\\.[0-9_]*)?([eE][-+]?[0-9_]+)?)?)',
relevance: 0
},
{ begin: /[-=]>/ // relevance booster
}
]
};
}
return sml;
})();
hljs.registerLanguage('sml', hljsGrammar);
})();/*! `sqf` grammar compiled for Highlight.js 11.11.1 */
(function(){
var hljsGrammar = (function () {
'use strict';
/*
Language: SQF
Author: Søren Enevoldsen