├── .gitignore ├── .travis.yml ├── CONTRIBUTING.md ├── Gruntfile.js ├── LICENSE ├── README.md ├── bower.json ├── css ├── print │ ├── paper.css │ └── pdf.css ├── reveal.css ├── reveal.scss └── theme │ ├── README.md │ ├── beige.css │ ├── black.css │ ├── blood.css │ ├── league.css │ ├── moon.css │ ├── night.css │ ├── serif.css │ ├── simple.css │ ├── sky.css │ ├── solarized.css │ ├── source │ ├── beige.scss │ ├── black.scss │ ├── blood.scss │ ├── league.scss │ ├── moon.scss │ ├── night.scss │ ├── serif.scss │ ├── simple.scss │ ├── sky.scss │ ├── solarized.scss │ └── white.scss │ ├── template │ ├── mixins.scss │ ├── settings.scss │ └── theme.scss │ └── white.css ├── img ├── flux-concept.png ├── flux-explained.png ├── flux.png ├── mvc-vs.png ├── mvc.png ├── react-flux.png ├── react-redux.png ├── redux-2.png ├── redux.png └── source.png ├── index.html ├── js └── reveal.js ├── lib ├── css │ └── zenburn.css ├── font │ ├── league-gothic │ │ ├── LICENSE │ │ ├── league-gothic.css │ │ ├── league-gothic.eot │ │ ├── league-gothic.ttf │ │ └── league-gothic.woff │ └── source-sans-pro │ │ ├── LICENSE │ │ ├── source-sans-pro-italic.eot │ │ ├── source-sans-pro-italic.ttf │ │ ├── source-sans-pro-italic.woff │ │ ├── source-sans-pro-regular.eot │ │ ├── source-sans-pro-regular.ttf │ │ ├── source-sans-pro-regular.woff │ │ ├── source-sans-pro-semibold.eot │ │ ├── source-sans-pro-semibold.ttf │ │ ├── source-sans-pro-semibold.woff │ │ ├── source-sans-pro-semibolditalic.eot │ │ ├── source-sans-pro-semibolditalic.ttf │ │ ├── source-sans-pro-semibolditalic.woff │ │ └── source-sans-pro.css └── js │ ├── classList.js │ ├── head.min.js │ └── html5shiv.js ├── node_modules └── prismjs │ ├── .editorconfig │ ├── .gitattributes │ ├── .npmignore │ ├── .travis.yml │ ├── CHANGELOG.md │ ├── LICENSE │ ├── README.md │ ├── bower.json │ ├── components │ ├── prism-abap.js │ ├── prism-abap.min.js │ ├── prism-actionscript.js │ ├── prism-actionscript.min.js │ ├── prism-apacheconf.js │ ├── prism-apacheconf.min.js │ ├── prism-apl.js │ ├── prism-apl.min.js │ ├── prism-applescript.js │ ├── prism-applescript.min.js │ ├── prism-aspnet.js │ ├── prism-aspnet.min.js │ ├── prism-autohotkey.js │ ├── prism-autohotkey.min.js │ ├── prism-autoit.js │ ├── prism-autoit.min.js │ ├── prism-bash.js │ ├── prism-bash.min.js │ ├── prism-basic.js │ ├── prism-basic.min.js │ ├── prism-batch.js │ ├── prism-batch.min.js │ ├── prism-bison.js │ ├── prism-bison.min.js │ ├── prism-brainfuck.js │ ├── prism-brainfuck.min.js │ ├── prism-c.js │ ├── prism-c.min.js │ ├── prism-clike.js │ ├── prism-clike.min.js │ ├── prism-coffeescript.js │ ├── prism-coffeescript.min.js │ ├── prism-core.js │ ├── prism-core.min.js │ ├── prism-cpp.js │ ├── prism-cpp.min.js │ ├── prism-crystal.js │ ├── prism-crystal.min.js │ ├── prism-csharp.js │ ├── prism-csharp.min.js │ ├── prism-css-extras.js │ ├── prism-css-extras.min.js │ ├── prism-css.js │ ├── prism-css.min.js │ ├── prism-d.js │ ├── prism-d.min.js │ ├── prism-dart.js │ ├── prism-dart.min.js │ ├── prism-diff.js │ ├── prism-diff.min.js │ ├── prism-docker.js │ ├── prism-docker.min.js │ ├── prism-eiffel.js │ ├── prism-eiffel.min.js │ ├── prism-elixir.js │ ├── prism-elixir.min.js │ ├── prism-erlang.js │ ├── prism-erlang.min.js │ ├── prism-fortran.js │ ├── prism-fortran.min.js │ ├── prism-fsharp.js │ ├── prism-fsharp.min.js │ ├── prism-gherkin.js │ ├── prism-gherkin.min.js │ ├── prism-git.js │ ├── prism-git.min.js │ ├── prism-glsl.js │ ├── prism-glsl.min.js │ ├── prism-go.js │ ├── prism-go.min.js │ ├── prism-groovy.js │ ├── prism-groovy.min.js │ ├── prism-haml.js │ ├── prism-haml.min.js │ ├── prism-handlebars.js │ ├── prism-handlebars.min.js │ ├── prism-haskell.js │ ├── prism-haskell.min.js │ ├── prism-http.js │ ├── prism-http.min.js │ ├── prism-inform7.js │ ├── prism-inform7.min.js │ ├── prism-ini.js │ ├── prism-ini.min.js │ ├── prism-j.js │ ├── prism-j.min.js │ ├── prism-jade.js │ ├── prism-jade.min.js │ ├── prism-java.js │ ├── prism-java.min.js │ ├── prism-javascript.js │ ├── prism-javascript.min.js │ ├── prism-jsx.js │ ├── prism-jsx.min.js │ ├── prism-julia.js │ ├── prism-julia.min.js │ ├── prism-keyman.js │ ├── prism-keyman.min.js │ ├── prism-latex.js │ ├── prism-latex.min.js │ ├── prism-less.js │ ├── prism-less.min.js │ ├── prism-lolcode.js │ ├── prism-lolcode.min.js │ ├── prism-makefile.js │ ├── prism-makefile.min.js │ ├── prism-markdown.js │ ├── prism-markdown.min.js │ ├── prism-markup.js │ ├── prism-markup.min.js │ ├── prism-matlab.js │ ├── prism-matlab.min.js │ ├── prism-mel.js │ ├── prism-mel.min.js │ ├── prism-mizar.js │ ├── prism-mizar.min.js │ ├── prism-monkey.js │ ├── prism-monkey.min.js │ ├── prism-nasm.js │ ├── prism-nasm.min.js │ ├── prism-nginx.js │ ├── prism-nginx.min.js │ ├── prism-nim.js │ ├── prism-nim.min.js │ ├── prism-nsis.js │ ├── prism-nsis.min.js │ ├── prism-objectivec.js │ ├── prism-objectivec.min.js │ ├── prism-ocaml.js │ ├── prism-ocaml.min.js │ ├── prism-pascal.js │ ├── prism-pascal.min.js │ ├── prism-perl.js │ ├── prism-perl.min.js │ ├── prism-php-extras.js │ ├── prism-php-extras.min.js │ ├── prism-php.js │ ├── prism-php.min.js │ ├── prism-powershell.js │ ├── prism-powershell.min.js │ ├── prism-processing.js │ ├── prism-processing.min.js │ ├── prism-prolog.js │ ├── prism-prolog.min.js │ ├── prism-pure.js │ ├── prism-pure.min.js │ ├── prism-python.js │ ├── prism-python.min.js │ ├── prism-q.js │ ├── prism-q.min.js │ ├── prism-qore.js │ ├── prism-qore.min.js │ ├── prism-r.js │ ├── prism-r.min.js │ ├── prism-rest.js │ ├── prism-rest.min.js │ ├── prism-rip.js │ ├── prism-rip.min.js │ ├── prism-ruby.js │ ├── prism-ruby.min.js │ ├── prism-rust.js │ ├── prism-rust.min.js │ ├── prism-sas.js │ ├── prism-sas.min.js │ ├── prism-sass.js │ ├── prism-sass.min.js │ ├── prism-scala.js │ ├── prism-scala.min.js │ ├── prism-scheme.js │ ├── prism-scheme.min.js │ ├── prism-scss.js │ ├── prism-scss.min.js │ ├── prism-smalltalk.js │ ├── prism-smalltalk.min.js │ ├── prism-smarty.js │ ├── prism-smarty.min.js │ ├── prism-sql.js │ ├── prism-sql.min.js │ ├── prism-stylus.js │ ├── prism-stylus.min.js │ ├── prism-swift.js │ ├── prism-swift.min.js │ ├── prism-tcl.js │ ├── prism-tcl.min.js │ ├── prism-textile.js │ ├── prism-textile.min.js │ ├── prism-twig.js │ ├── prism-twig.min.js │ ├── prism-typescript.js │ ├── prism-typescript.min.js │ ├── prism-verilog.js │ ├── prism-verilog.min.js │ ├── prism-vhdl.js │ ├── prism-vhdl.min.js │ ├── prism-vim.js │ ├── prism-vim.min.js │ ├── prism-wiki.js │ ├── prism-wiki.min.js │ ├── prism-yaml.js │ └── prism-yaml.min.js │ ├── examples.js │ ├── gulpfile.js │ ├── package.json │ ├── plugins │ ├── autolinker │ │ ├── prism-autolinker.css │ │ ├── prism-autolinker.js │ │ └── prism-autolinker.min.js │ ├── autoloader │ │ ├── prism-autoloader.js │ │ └── prism-autoloader.min.js │ ├── file-highlight │ │ ├── prism-file-highlight.js │ │ └── prism-file-highlight.min.js │ ├── highlight-keywords │ │ ├── prism-highlight-keywords.js │ │ └── prism-highlight-keywords.min.js │ ├── ie8 │ │ ├── prism-ie8.css │ │ ├── prism-ie8.js │ │ └── prism-ie8.min.js │ ├── jsonp-highlight │ │ ├── prism-jsonp-highlight.js │ │ └── prism-jsonp-highlight.min.js │ ├── keep-markup │ │ ├── prism-keep-markup.js │ │ └── prism-keep-markup.min.js │ ├── line-highlight │ │ ├── prism-line-highlight.css │ │ ├── prism-line-highlight.js │ │ └── prism-line-highlight.min.js │ ├── line-numbers │ │ ├── prism-line-numbers.css │ │ ├── prism-line-numbers.js │ │ └── prism-line-numbers.min.js │ ├── previewer-base │ │ ├── prism-previewer-base.css │ │ ├── prism-previewer-base.js │ │ └── prism-previewer-base.min.js │ ├── previewer-color │ │ ├── prism-previewer-color.css │ │ ├── prism-previewer-color.js │ │ └── prism-previewer-color.min.js │ ├── previewer-easing │ │ ├── prism-previewer-easing.css │ │ ├── prism-previewer-easing.js │ │ └── prism-previewer-easing.min.js │ ├── previewer-gradient │ │ ├── prism-previewer-gradient.css │ │ ├── prism-previewer-gradient.js │ │ └── prism-previewer-gradient.min.js │ ├── remove-initial-line-feed │ │ ├── prism-remove-initial-line-feed.js │ │ └── prism-remove-initial-line-feed.min.js │ ├── show-invisibles │ │ ├── prism-show-invisibles.css │ │ ├── prism-show-invisibles.js │ │ └── prism-show-invisibles.min.js │ ├── show-language │ │ ├── prism-show-language.css │ │ ├── prism-show-language.js │ │ └── prism-show-language.min.js │ └── wpd │ │ ├── prism-wpd.css │ │ ├── prism-wpd.js │ │ └── prism-wpd.min.js │ ├── prism.esproj │ ├── Project.espressostorage │ └── user.leaverou.espressostorage │ ├── prism.js │ ├── tests │ ├── helper │ │ ├── prism-loader.js │ │ ├── test-case.js │ │ ├── test-discovery.js │ │ └── token-stream-transformer.js │ ├── languages │ │ ├── abap │ │ │ ├── comment_feature.test │ │ │ ├── eol-comment_feature.test │ │ │ ├── keyword_feature.test │ │ │ ├── number_feature.test │ │ │ ├── operator_feature.test │ │ │ ├── string-template_feature.test │ │ │ └── string_feature.test │ │ ├── actionscript │ │ │ ├── keyword_feature.test │ │ │ └── operator_feature.test │ │ ├── apacheconf │ │ │ ├── comment_feature.test │ │ │ ├── directive-block_feature.test │ │ │ ├── directive-flags_feature.test │ │ │ ├── directive-inline_feature.test │ │ │ ├── regex_feature.test │ │ │ ├── string_feature.test │ │ │ └── variable_feature.test │ │ ├── apl │ │ │ ├── assignment_feature.test │ │ │ ├── comment_feature.test │ │ │ ├── constant_feature.test │ │ │ ├── dfn_feature.test │ │ │ ├── dyadic-operator_feature.test │ │ │ ├── function_feature.test │ │ │ ├── monadic-operator_feature.test │ │ │ ├── number_feature.test │ │ │ ├── statement_feature.test │ │ │ ├── string_feature.test │ │ │ └── system-function_feature.test │ │ ├── applescript │ │ │ ├── class_feature.test │ │ │ ├── comment_feature.test │ │ │ ├── keyword_feature.test │ │ │ ├── number_feature.test │ │ │ ├── operator_feature.test │ │ │ └── string_feature.test │ │ ├── aspnet │ │ │ ├── comment_feature.test │ │ │ └── page-directive_feature.test │ │ ├── autohotkey │ │ │ ├── boolean_feature.test │ │ │ ├── builtin_feature.test │ │ │ ├── comment_feature.test │ │ │ ├── constant_feature.test │ │ │ ├── function_feature.test │ │ │ ├── important_feature.test │ │ │ ├── keyword_feature.test │ │ │ ├── number_feature.test │ │ │ ├── operator_feature.test │ │ │ ├── selector_feature.test │ │ │ ├── string_feature.test │ │ │ ├── symbol_feature.test │ │ │ ├── tag_feature.test │ │ │ └── variable_feature.test │ │ ├── autoit │ │ │ ├── boolean_feature.test │ │ │ ├── comment_feature.test │ │ │ ├── directive_feature.test │ │ │ ├── function_feature.test │ │ │ ├── keyword_feature.test │ │ │ ├── number_feature.test │ │ │ ├── operator_feature.test │ │ │ ├── string_feature.test │ │ │ ├── url_feature.test │ │ │ └── variable_feature.test │ │ ├── bash │ │ │ ├── arithmetic_environment_feature.test │ │ │ ├── command_substitution_feature.test │ │ │ ├── comment_feature.test │ │ │ ├── function_feature.test │ │ │ ├── keyword_feature.test │ │ │ ├── shebang_feature.test │ │ │ ├── string_feature.test │ │ │ └── variable_feature.test │ │ ├── basic │ │ │ ├── comment_feature.test │ │ │ ├── function_feature.test │ │ │ ├── keyword_feature.test │ │ │ ├── number_feature.test │ │ │ ├── operator_feature.test │ │ │ └── string_feature.test │ │ ├── batch │ │ │ ├── command_feature.test │ │ │ ├── comment_feature.test │ │ │ └── label_feature.test │ │ ├── bison │ │ │ ├── c_feature.test │ │ │ ├── comment_feature.test │ │ │ ├── keyword_feature.test │ │ │ ├── number_feature.test │ │ │ ├── property_feature.test │ │ │ └── string_feature.test │ │ ├── brainfuck │ │ │ └── all_feature.test │ │ ├── c+pure │ │ │ └── c_inclusion.test │ │ ├── c │ │ │ ├── keyword_feature.test │ │ │ ├── macro_feature.test │ │ │ ├── number_feature.test │ │ │ └── operator_feature.test │ │ ├── clike │ │ │ ├── boolean_feature.test │ │ │ ├── class-name_feature.test │ │ │ ├── comment_feature.test │ │ │ ├── function_feature.test │ │ │ ├── keyword_feature.test │ │ │ ├── number_feature.test │ │ │ ├── operator_feature.test │ │ │ └── string_feature.test │ │ ├── coffeescript+haml │ │ │ └── coffeescript_inclusion.test │ │ ├── coffeescript+jade │ │ │ └── coffeescript_inclusion.test │ │ ├── coffeescript │ │ │ ├── block-regex_feature.test │ │ │ ├── class-member_feature.test │ │ │ ├── comment_feature.test │ │ │ ├── inline-javascript_feature.test │ │ │ ├── keyword_feature.test │ │ │ ├── property_feature.test │ │ │ └── string_feature.test │ │ ├── cpp+pure │ │ │ └── cpp_inclusion.test │ │ ├── cpp │ │ │ ├── boolean_feature.test │ │ │ ├── class-name_feature.test │ │ │ └── keyword_feature.test │ │ ├── crystal │ │ │ ├── attribute_feature.test │ │ │ ├── expansion_feature.test │ │ │ ├── keyword_feature.test │ │ │ └── number_feature.test │ │ ├── csharp+aspnet │ │ │ └── directive_feature.test │ │ ├── csharp │ │ │ ├── keyword_feature.test │ │ │ ├── number_feature.test │ │ │ ├── preprocessor_feature.test │ │ │ └── string_feature.test │ │ ├── css!+css-extras │ │ │ ├── entity_feature.test │ │ │ ├── hexcode_feature.test │ │ │ ├── number_feature.test │ │ │ └── selector_feature.test │ │ ├── css+haml │ │ │ └── css+haml_usage.test │ │ ├── css+textile │ │ │ └── css_inclusion.test │ │ ├── css │ │ │ ├── atrule_feature.test │ │ │ ├── comment_feature.test │ │ │ ├── function_feature.test │ │ │ ├── important_feature.test │ │ │ ├── property_feature.test │ │ │ ├── selector_feature.test │ │ │ ├── string_feature.test │ │ │ └── url_feature.test │ │ ├── d │ │ │ ├── comment_feature.test │ │ │ ├── keyword_feature.test │ │ │ ├── number_feature.test │ │ │ ├── operator_feature.test │ │ │ ├── property_feature.test │ │ │ ├── register_feature.test │ │ │ ├── string_feature.test │ │ │ └── token-string_feature.test │ │ ├── dart │ │ │ ├── keyword_feature.test │ │ │ ├── metadata_feature.test │ │ │ ├── operator_feature.test │ │ │ └── string_feature.test │ │ ├── diff │ │ │ ├── coord_feature.test │ │ │ └── diff_feature.test │ │ ├── docker │ │ │ ├── comment_feature.test │ │ │ ├── keyword_feature.test │ │ │ └── string_feature.test │ │ ├── eiffel │ │ │ ├── boolean_feature.test │ │ │ ├── char_feature.test │ │ │ ├── comment_feature.test │ │ │ ├── keyword_feature.test │ │ │ ├── number_feature.test │ │ │ ├── operator_feature.test │ │ │ └── string_feature.test │ │ ├── elixir │ │ │ ├── atom_feature.test │ │ │ ├── attr-name_feature.test │ │ │ ├── attribute_feature.test │ │ │ ├── boolean_feature.test │ │ │ ├── capture_feature.test │ │ │ ├── comment_feature.test │ │ │ ├── issue775.test │ │ │ ├── keyword_feature.test │ │ │ ├── number_feature.test │ │ │ ├── operator_feature.test │ │ │ ├── regex_feature.test │ │ │ └── string_feature.test │ │ ├── erlang │ │ │ ├── atom_feature.test │ │ │ ├── boolean_feature.test │ │ │ ├── comment_feature.test │ │ │ ├── function_feature.test │ │ │ ├── keyword_feature.test │ │ │ ├── number_feature.test │ │ │ ├── operator_feature.test │ │ │ ├── string_feature.test │ │ │ └── variable_feature.test │ │ ├── fortran+pure │ │ │ └── fortran_inclusion.test │ │ ├── fortran │ │ │ ├── boolean_feature.test │ │ │ ├── comment_feature.test │ │ │ ├── keyword_feature.test │ │ │ ├── number_feature.test │ │ │ ├── operator_feature.test │ │ │ └── string_feature.test │ │ ├── fsharp │ │ │ ├── comment_feature.test │ │ │ ├── keyword_feature.test │ │ │ ├── number_feature.test │ │ │ ├── preprocessor_feature.test │ │ │ └── string_feature.test │ │ ├── gherkin │ │ │ ├── atrule_feature.test │ │ │ ├── comment_feature.test │ │ │ ├── feature_feature.test │ │ │ ├── outline_feature.test │ │ │ ├── pystring_feature.test │ │ │ ├── scenario_feature.test │ │ │ ├── string_feature.test │ │ │ ├── table_feature.test │ │ │ └── tag_feature.test │ │ ├── git │ │ │ ├── command_feature.test │ │ │ ├── comment_feature.test │ │ │ ├── commit_sha1_feature.test │ │ │ ├── coord_feature.test │ │ │ ├── diff_feature.test │ │ │ └── string_feature.test │ │ ├── glsl │ │ │ ├── comment_feature.test │ │ │ ├── keyword_feature.test │ │ │ ├── number_feature.test │ │ │ └── preprocessor_feature.test │ │ ├── go │ │ │ ├── boolean_feature.test │ │ │ ├── builtin_feature.test │ │ │ ├── keyword_feature.test │ │ │ ├── number_feature.test │ │ │ ├── operator_feature.test │ │ │ └── string_feature.test │ │ ├── groovy │ │ │ ├── annotation_feature.test │ │ │ ├── keyword_feature.test │ │ │ ├── number_feature.test │ │ │ ├── operator_feature.test │ │ │ ├── shebang_feature.test │ │ │ ├── spock-block_feature.test │ │ │ └── string_feature.test │ │ ├── haml │ │ │ ├── code_feature.test │ │ │ ├── doctype_feature.test │ │ │ ├── interpolation_feature.test │ │ │ ├── multiline-code_feature.test │ │ │ ├── multiline-comment_feature.test │ │ │ └── tag_feature.test │ │ ├── handlebars+jade │ │ │ └── handlebars_inclusion.test │ │ ├── handlebars │ │ │ ├── block_feature.test │ │ │ ├── boolean_feature.test │ │ │ ├── comment_feature.test │ │ │ ├── number_feature.test │ │ │ └── string_feature.test │ │ ├── haskell │ │ │ ├── builtin_feature.test │ │ │ ├── char_feature.test │ │ │ ├── comment_feature.test │ │ │ ├── constant_feature.test │ │ │ ├── hvariable_feature.test │ │ │ ├── import_statement_feature.test │ │ │ ├── keyword_feature.test │ │ │ ├── number_feature.test │ │ │ ├── operator_feature.test │ │ │ └── string_feature.test │ │ ├── http │ │ │ ├── header-name_feature.test │ │ │ ├── request-line_feature.test │ │ │ └── response-status_feature.test │ │ ├── inform7 │ │ │ ├── comment_feature.test │ │ │ ├── keyword_feature.test │ │ │ ├── number_feature.test │ │ │ ├── position_feature.test │ │ │ ├── property_feature.test │ │ │ ├── string_feature.test │ │ │ ├── title_feature.test │ │ │ ├── variable_feature.test │ │ │ └── verb_feature.test │ │ ├── ini │ │ │ ├── comment_feature.test │ │ │ ├── important_feature.test │ │ │ └── key_value_feature.test │ │ ├── j │ │ │ ├── adverb_feature.test │ │ │ ├── comment_feature.test │ │ │ ├── conjunction_feature.test │ │ │ ├── keyword_feature.test │ │ │ ├── number_feature.test │ │ │ ├── string_feature.test │ │ │ └── verb_feature.test │ │ ├── jade │ │ │ ├── code_feature.test │ │ │ ├── comment_feature.test │ │ │ ├── doctype_feature.test │ │ │ ├── flow-control_feature.test │ │ │ ├── keyword_feature.test │ │ │ ├── mixin_feature.test │ │ │ ├── multiline-plain-text_feature.test │ │ │ ├── multiline-script_feature.test │ │ │ ├── plain-text_feature.test │ │ │ ├── script_feature.test │ │ │ └── tag_feature.test │ │ ├── java │ │ │ ├── keyword_feature.test │ │ │ ├── number_feature.test │ │ │ └── operator_feature.test │ │ ├── javascript+haml │ │ │ └── javascript_inclusion.test │ │ ├── javascript+http │ │ │ └── javascript_inclusion.test │ │ ├── javascript │ │ │ ├── function_feature.test │ │ │ ├── keyword_feature.test │ │ │ ├── number_feature.test │ │ │ ├── regex_feature.test │ │ │ └── template-string_feature.test │ │ ├── jsx │ │ │ └── tag_feature.test │ │ ├── julia │ │ │ ├── boolean_feature.test │ │ │ ├── comment_feature.test │ │ │ ├── keyword_feature.test │ │ │ ├── number_feature.test │ │ │ ├── operator_feature.test │ │ │ └── string_feature.test │ │ ├── keyman │ │ │ ├── atrule_feature.test │ │ │ ├── bold_feature.test │ │ │ ├── comment_feature.test │ │ │ ├── function_feature.test │ │ │ ├── keyword_feature.test │ │ │ ├── number_feature.test │ │ │ ├── operator_feature.test │ │ │ ├── string_feature.test │ │ │ └── tag_feature.test │ │ ├── latex │ │ │ ├── cdata_feature.test │ │ │ ├── comment_feature.test │ │ │ ├── equation_feature.test │ │ │ ├── headline_feature.test │ │ │ ├── keyword_feature.test │ │ │ └── url_feature.test │ │ ├── less+haml │ │ │ └── less_inclusion.test │ │ ├── less+jade │ │ │ └── less_inclusion.test │ │ ├── less │ │ │ ├── atrule_feature.test │ │ │ ├── comment_feature.test │ │ │ ├── operator_feature.test │ │ │ ├── property_feature.test │ │ │ └── selector_feature.test │ │ ├── lolcode │ │ │ ├── boolean_feature.test │ │ │ ├── comment_feature.test │ │ │ ├── function_feature.test │ │ │ ├── keyword_feature.test │ │ │ ├── label_feature.test │ │ │ ├── number_feature.test │ │ │ ├── operator_feature.test │ │ │ ├── string_feature.test │ │ │ ├── symbol_feature.test │ │ │ └── variable_feature.test │ │ ├── makefile │ │ │ ├── builtin_feature.test │ │ │ ├── comment_feature.test │ │ │ ├── keyword_feature.test │ │ │ ├── operator_feature.test │ │ │ ├── string_feature.test │ │ │ ├── symbol_feature.test │ │ │ └── variable_feature.test │ │ ├── markdown+haml │ │ │ └── markdown_inclusion.test │ │ ├── markdown+jade │ │ │ └── markdown_inclusion.test │ │ ├── markdown │ │ │ ├── blockquote_feature.test │ │ │ ├── bold_feature.test │ │ │ ├── code_feature.test │ │ │ ├── hr_feature.test │ │ │ ├── italic_feature.test │ │ │ ├── list_feature.test │ │ │ ├── title_feature.test │ │ │ ├── url-reference_feature.test │ │ │ └── url_feature.test │ │ ├── markup!+css │ │ │ └── css_inclusion.test │ │ ├── markup!+javascript │ │ │ └── javascript_inclusion.test │ │ ├── markup+actionscript │ │ │ └── xml_feature.test │ │ ├── markup+css+wiki │ │ │ └── table-tag_feature.test │ │ ├── markup+haml │ │ │ └── markup_feature.test │ │ ├── markup+http │ │ │ └── markup_inclusion.test │ │ ├── markup+jade │ │ │ └── markup_feature.test │ │ ├── markup+javascript+csharp+aspnet │ │ │ └── script_feature.test │ │ ├── markup+php │ │ │ └── markup_feature.test │ │ ├── markup │ │ │ ├── cdata_feature.test │ │ │ ├── comment_feature.test │ │ │ ├── doctype_feature.test │ │ │ ├── entity_feature.test │ │ │ ├── issue585.test │ │ │ ├── prolog_feature.test │ │ │ ├── tag_attribute_feature.test │ │ │ └── tag_feature.test │ │ ├── matlab │ │ │ ├── comment_feature.test │ │ │ ├── function_feature.test │ │ │ ├── keyword_feature.test │ │ │ ├── number_feature.test │ │ │ ├── operator_feature.test │ │ │ └── string_feature.test │ │ ├── mel │ │ │ ├── code_feature.test │ │ │ ├── comment_feature.test │ │ │ ├── flag_feature.test │ │ │ ├── function_feature.test │ │ │ ├── keyword_feature.test │ │ │ ├── number_feature.test │ │ │ ├── operator_feature.test │ │ │ ├── string_feature.test │ │ │ └── variable_feature.test │ │ ├── mizar │ │ │ ├── comment_feature.test │ │ │ ├── keyword_feature.test │ │ │ ├── number_feature.test │ │ │ ├── operator_feature.test │ │ │ ├── parameter_feature.test │ │ │ └── variable_feature.test │ │ ├── monkey │ │ │ ├── comment_feature.test │ │ │ ├── function_feature.test │ │ │ ├── keyword_feature.test │ │ │ ├── number_feature.test │ │ │ ├── operator_feature.test │ │ │ ├── preprocessor_feature.test │ │ │ ├── string_feature.test │ │ │ └── type-char_feature.test │ │ ├── nasm │ │ │ ├── comment_feature.test │ │ │ ├── keyword_feature.test │ │ │ ├── label_feature.test │ │ │ ├── number_feature.test │ │ │ ├── operator_feature.test │ │ │ ├── register_feature.test │ │ │ └── string_feature.test │ │ ├── nginx │ │ │ ├── comment_feature.test │ │ │ ├── keyword_feature.test │ │ │ └── variable_feature.test │ │ ├── nim │ │ │ ├── comment_feature.test │ │ │ ├── function_feature.test │ │ │ ├── keyword_feature.test │ │ │ ├── number_feature.test │ │ │ ├── operator_feature.test │ │ │ └── string_feature.test │ │ ├── nsis │ │ │ ├── comment_feature.test │ │ │ ├── important_feature.test │ │ │ ├── keyword_feature.test │ │ │ ├── number_feature.test │ │ │ ├── operator_feature.test │ │ │ ├── property_feature.test │ │ │ ├── string_feature.test │ │ │ └── variable_feature.test │ │ ├── objectivec │ │ │ ├── keyword_feature.test │ │ │ ├── operator_feature.test │ │ │ └── string_feature.test │ │ ├── ocaml │ │ │ ├── boolean_feature.test │ │ │ ├── comment_feature.test │ │ │ ├── directive_feature.test │ │ │ ├── keyword_feature.test │ │ │ ├── number_feature.test │ │ │ ├── operator_feature.test │ │ │ ├── string_feature.test │ │ │ └── type_feature.test │ │ ├── pascal │ │ │ ├── comment_feature.test │ │ │ ├── keyword_feature.test │ │ │ ├── number_feature.test │ │ │ ├── operator_feature.test │ │ │ └── string_feature.test │ │ ├── perl │ │ │ ├── comment_feature.test │ │ │ ├── filehandle_feature.test │ │ │ ├── function_feature.test │ │ │ ├── keyword_feature.test │ │ │ ├── number_feature.test │ │ │ ├── operator_feature.test │ │ │ ├── regex_feature.test │ │ │ ├── string_feature.test │ │ │ ├── variable_feature.test │ │ │ └── vstring_feature.test │ │ ├── php!+php-extras │ │ │ ├── global_feature.test │ │ │ ├── scope_feature.test │ │ │ └── this_feature.test │ │ ├── php │ │ │ ├── comment_feature.test │ │ │ ├── constant_feature.test │ │ │ ├── delimiter_feature.test │ │ │ ├── keyword_feature.test │ │ │ ├── package_feature.test │ │ │ ├── property_feature.test │ │ │ ├── shell-comment_feature.test │ │ │ └── variable_feature.test │ │ ├── powershell │ │ │ ├── boolean_feature.test │ │ │ ├── comment_feature.test │ │ │ ├── function_feature.test │ │ │ ├── keyword_feature.test │ │ │ ├── namespace_feature.test │ │ │ ├── operator_feature.test │ │ │ ├── string_feature.test │ │ │ └── variable_feature.test │ │ ├── processing │ │ │ ├── constant_feature.test │ │ │ ├── function_feature.test │ │ │ ├── keyword_feature.test │ │ │ ├── operator_feature.test │ │ │ └── type_feature.test │ │ ├── prolog │ │ │ ├── builtin_feature.test │ │ │ ├── comment_feature.test │ │ │ ├── function_feature.test │ │ │ ├── number_feature.test │ │ │ ├── operator_feature.test │ │ │ ├── string_feature.test │ │ │ └── variable_feature.test │ │ ├── pure │ │ │ ├── comment_feature.test │ │ │ ├── function_feature.test │ │ │ ├── keyword_feature.test │ │ │ ├── number_feature.test │ │ │ ├── operator_feature.test │ │ │ ├── special_feature.test │ │ │ └── string_feature.test │ │ ├── python │ │ │ ├── boolean_feature.test │ │ │ ├── class-name_feature.test │ │ │ ├── comment_feature.test │ │ │ ├── function_feature.test │ │ │ ├── keyword_feature.test │ │ │ ├── number_feature.test │ │ │ ├── operator_feature.test │ │ │ └── string_feature.test │ │ ├── q │ │ │ ├── adverb_feature.test │ │ │ ├── comment_feature.test │ │ │ ├── datetime_feature.test │ │ │ ├── keyword_feature.test │ │ │ ├── number_feature.test │ │ │ ├── string_feature.test │ │ │ ├── symbol_feature.test │ │ │ └── verb_feature.test │ │ ├── qore │ │ │ ├── boolean_feature.test │ │ │ ├── comment_feature.test │ │ │ ├── function_feature.test │ │ │ ├── keyword_feature.test │ │ │ ├── number_feature.test │ │ │ ├── operator_feature.test │ │ │ ├── string_feature.test │ │ │ └── variable_feature.test │ │ ├── r │ │ │ ├── boolean_feature.test │ │ │ ├── comment_feature.test │ │ │ ├── ellipsis_feature.test │ │ │ ├── keyword_feature.test │ │ │ ├── number_feature.test │ │ │ ├── operator_feature.test │ │ │ ├── percent-operator_feature.test │ │ │ └── string_feature.test │ │ ├── rest │ │ │ ├── command-line-option_feature.test │ │ │ ├── comment_feature.test │ │ │ ├── directive_feature.test │ │ │ ├── doctest-block_feature.test │ │ │ ├── field_feature.test │ │ │ ├── hr_feature.test │ │ │ ├── inline_feature.test │ │ │ ├── link-target_feature.test │ │ │ ├── link_feature.test │ │ │ ├── list-bullet_feature.test │ │ │ ├── literal-block_feature.test │ │ │ ├── quoted-literal-block_feature.test │ │ │ ├── substitution-def_feature.test │ │ │ ├── table_feature.test │ │ │ └── title_feature.test │ │ ├── rip │ │ │ ├── boolean_feature.test │ │ │ ├── builtin_feature.test │ │ │ ├── character_feature.test │ │ │ ├── comment_feature.test │ │ │ ├── date_time_feature.test │ │ │ ├── keyword_feature.test │ │ │ ├── number_feature.test │ │ │ ├── reference_feature.test │ │ │ ├── regex_feature.test │ │ │ ├── string_feature.test │ │ │ └── symbol_feature.test │ │ ├── ruby │ │ │ ├── builtin_feature.test │ │ │ ├── comment_feature.test │ │ │ ├── constant_feature.test │ │ │ ├── keyword_feature.test │ │ │ ├── regex_feature.test │ │ │ ├── string_feature.test │ │ │ ├── symbol_feature.test │ │ │ └── variable_feature.test │ │ ├── rust │ │ │ ├── attribute_feature.test │ │ │ ├── closure-params_feature.test │ │ │ ├── comment_feature.test │ │ │ ├── function_feature.test │ │ │ ├── keyword_feature.test │ │ │ ├── macro-rules_feature.test │ │ │ ├── number_feature.test │ │ │ ├── operator_feature.test │ │ │ └── string_feature.test │ │ ├── sas │ │ │ ├── comment_feature.test │ │ │ ├── datalines_feature.test │ │ │ ├── datetime_feature.test │ │ │ ├── keyword_feature.test │ │ │ ├── number_feature.test │ │ │ ├── operator_feature.test │ │ │ └── string_feature.test │ │ ├── sass │ │ │ ├── atrule-line_feature.test │ │ │ ├── comment_feature.test │ │ │ ├── property-line_feature.test │ │ │ ├── selector_feature.test │ │ │ └── variable-line_feature.test │ │ ├── scala │ │ │ ├── builtin_feature.test │ │ │ ├── keyword_feature.test │ │ │ ├── number_feature.test │ │ │ ├── string_feature.test │ │ │ └── symbol_feature.test │ │ ├── scheme │ │ │ ├── boolean_feature.test │ │ │ ├── builtin_feature.test │ │ │ ├── comment_feature.test │ │ │ ├── function_feature.test │ │ │ ├── keyword_feature.test │ │ │ ├── number_feature.test │ │ │ ├── operator_feature.test │ │ │ └── string_feature.test │ │ ├── scss+haml │ │ │ └── scss_inclusion.test │ │ ├── scss+jade │ │ │ └── scss_inclusion.test │ │ ├── scss │ │ │ ├── atrule_feature.test │ │ │ ├── boolean_feature.test │ │ │ ├── comment_feature.test │ │ │ ├── keyword_feature.test │ │ │ ├── null_feature.test │ │ │ ├── operator_feature.test │ │ │ ├── placeholder_feature.test │ │ │ ├── selector_feature.test │ │ │ ├── statement_feature.test │ │ │ ├── url_feature.test │ │ │ └── variable_feature.test │ │ ├── smalltalk │ │ │ ├── block-arguments_feature.test │ │ │ ├── character_feature.test │ │ │ ├── comment_feature.test │ │ │ ├── keyword_feature.test │ │ │ ├── number_feature.test │ │ │ ├── operator_feature.test │ │ │ ├── string_feature.test │ │ │ ├── symbol_feature.test │ │ │ └── temporary-variables_feature.test │ │ ├── smarty │ │ │ ├── attr-name_feature.test │ │ │ ├── function_feature.test │ │ │ ├── keyword_feature.test │ │ │ ├── number_feature.test │ │ │ ├── operator_feature.test │ │ │ ├── smarty-comment_feature.test │ │ │ ├── string_feature.test │ │ │ └── variable_feature.test │ │ ├── sql │ │ │ ├── boolean_feature.test │ │ │ ├── comment_feature.test │ │ │ ├── function_feature.test │ │ │ ├── keyword_feature.test │ │ │ ├── operator_feature.test │ │ │ ├── string_feature.test │ │ │ └── variable_feature.test │ │ ├── stylus+jade │ │ │ └── stylus_inclusion.test │ │ ├── stylus │ │ │ ├── atrule-declaration_feature.test │ │ │ ├── boolean_feature.test │ │ │ ├── comment_feature.test │ │ │ ├── func_feature.test │ │ │ ├── hexcode_feature.test │ │ │ ├── important_feature.test │ │ │ ├── keyword_feature.test │ │ │ ├── number_feature.test │ │ │ ├── operator_feature.test │ │ │ ├── property-declaration_feature.test │ │ │ ├── selector_feature.test │ │ │ ├── string_feature.test │ │ │ ├── url_feature.test │ │ │ └── variable-declaration_feature.test │ │ ├── swift │ │ │ ├── atrule_feature.test │ │ │ ├── builtin_feature.test │ │ │ ├── constant_feature.test │ │ │ ├── keyword_feature.test │ │ │ ├── number_feature.test │ │ │ └── string_feature.test │ │ ├── tcl │ │ │ ├── builtin_feature.test │ │ │ ├── comment_feature.test │ │ │ ├── function_feature.test │ │ │ ├── keyword_feature.test │ │ │ ├── operator_feature.test │ │ │ ├── scope_feature.test │ │ │ ├── string_feature.test │ │ │ └── variable_feature.test │ │ ├── textile │ │ │ ├── acronym_feature.test │ │ │ ├── block-tag_feature.test │ │ │ ├── footnote_feature.test │ │ │ ├── image_feature.test │ │ │ ├── inline_feature.test │ │ │ ├── link-ref_feature.test │ │ │ ├── link_feature.test │ │ │ ├── list_feature.test │ │ │ ├── mark_feature.test │ │ │ └── table_feature.test │ │ ├── twig+jade │ │ │ └── twig_inclusion.test │ │ ├── twig │ │ │ ├── boolean_feature.test │ │ │ ├── comment_feature.test │ │ │ ├── keyword_feature.test │ │ │ ├── number_feature.test │ │ │ ├── operator_feature.test │ │ │ └── string_feature.test │ │ ├── typescript │ │ │ └── keyword_feature.test │ │ ├── verilog │ │ │ ├── comment_feature.test │ │ │ ├── constant_feature.test │ │ │ ├── function_feature.test │ │ │ ├── important_feature.test │ │ │ ├── keyword_feature.test │ │ │ ├── number_feature.test │ │ │ ├── operator_feature.test │ │ │ ├── property_feature.test │ │ │ └── string_feature.test │ │ ├── vhdl │ │ │ ├── boolean_feature.test │ │ │ ├── comment_feature.test │ │ │ ├── constant_feature.test │ │ │ ├── function_feature.test │ │ │ ├── keyword_feature.test │ │ │ ├── number_feature.test │ │ │ ├── operator_feature.test │ │ │ ├── string_feature.test │ │ │ └── vhdl-vectors_feature.test │ │ ├── vim │ │ │ ├── builtin_feature.test │ │ │ ├── comment_feature.test │ │ │ ├── function_feature.test │ │ │ ├── keyword_feature.test │ │ │ ├── number_feature.test │ │ │ ├── operator_feature.test │ │ │ └── string_feature.test │ │ ├── wiki │ │ │ ├── block-comment_feature.test │ │ │ ├── emphasis_feature.test │ │ │ ├── heading_feature.test │ │ │ ├── hr_feature.test │ │ │ ├── nowiki_feature.test │ │ │ ├── symbol_feature.test │ │ │ ├── url_feature.test │ │ │ └── variable_feature.test │ │ └── yaml │ │ │ ├── boolean_feature.test │ │ │ ├── comment_feature.test │ │ │ ├── datetime_feature.test │ │ │ ├── directive_feature.test │ │ │ ├── important_feature.test │ │ │ ├── key_feature.test │ │ │ ├── null_feature.test │ │ │ ├── number_feature.test │ │ │ ├── scalar_feature.test │ │ │ ├── string_feature.test │ │ │ └── tag_feature.test │ ├── run.js │ └── testrunner-tests.js │ ├── themes │ ├── prism-coy.css │ ├── prism-dark.css │ ├── prism-funky.css │ ├── prism-okaidia.css │ ├── prism-tomorrow.css │ ├── prism-twilight.css │ └── prism.css │ └── vendor │ └── promise.js ├── package.json ├── plugin ├── highlight │ └── highlight.js ├── leap │ └── leap.js ├── markdown │ ├── example.html │ ├── example.md │ ├── markdown.js │ └── marked.js ├── math │ └── math.js ├── multiplex │ ├── client.js │ ├── index.js │ └── master.js ├── notes-server │ ├── client.js │ ├── index.js │ └── notes.html ├── notes │ ├── notes.html │ └── notes.js ├── print-pdf │ └── print-pdf.js ├── remotes │ └── remotes.js ├── search │ └── search.js └── zoom-js │ └── zoom.js └── test ├── examples ├── assets │ ├── image1.png │ └── image2.png ├── barebones.html ├── embedded-media.html ├── math.html ├── slide-backgrounds.html └── slide-transitions.html ├── qunit-1.12.0.css ├── qunit-1.12.0.js ├── test-markdown-element-attributes.html ├── test-markdown-element-attributes.js ├── test-markdown-slide-attributes.html ├── test-markdown-slide-attributes.js ├── test-markdown.html ├── test-markdown.js ├── test-pdf.html ├── test-pdf.js ├── test.html └── test.js /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | .svn 3 | log/*.log 4 | tmp/** 5 | .sass-cache 6 | css/reveal.min.css 7 | js/reveal.min.js 8 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - 0.10 4 | before_script: 5 | - npm install -g grunt-cli -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | ## Redux Demo 2 | 3 | > A introduction about Redux 4 | 5 | 中文 Redux 簡介 6 | 7 | http://chentsulin.github.io/redux-intro 8 | -------------------------------------------------------------------------------- /img/flux-concept.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chentsulin/redux-intro/a1b1afb03a57b657c8730832363f1d28e253e9e4/img/flux-concept.png -------------------------------------------------------------------------------- /img/flux-explained.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chentsulin/redux-intro/a1b1afb03a57b657c8730832363f1d28e253e9e4/img/flux-explained.png -------------------------------------------------------------------------------- /img/flux.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chentsulin/redux-intro/a1b1afb03a57b657c8730832363f1d28e253e9e4/img/flux.png -------------------------------------------------------------------------------- /img/mvc-vs.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chentsulin/redux-intro/a1b1afb03a57b657c8730832363f1d28e253e9e4/img/mvc-vs.png -------------------------------------------------------------------------------- /img/mvc.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chentsulin/redux-intro/a1b1afb03a57b657c8730832363f1d28e253e9e4/img/mvc.png -------------------------------------------------------------------------------- /img/react-flux.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chentsulin/redux-intro/a1b1afb03a57b657c8730832363f1d28e253e9e4/img/react-flux.png -------------------------------------------------------------------------------- /img/react-redux.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chentsulin/redux-intro/a1b1afb03a57b657c8730832363f1d28e253e9e4/img/react-redux.png -------------------------------------------------------------------------------- /img/redux-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chentsulin/redux-intro/a1b1afb03a57b657c8730832363f1d28e253e9e4/img/redux-2.png -------------------------------------------------------------------------------- /img/redux.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chentsulin/redux-intro/a1b1afb03a57b657c8730832363f1d28e253e9e4/img/redux.png -------------------------------------------------------------------------------- /img/source.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chentsulin/redux-intro/a1b1afb03a57b657c8730832363f1d28e253e9e4/img/source.png -------------------------------------------------------------------------------- /lib/font/league-gothic/LICENSE: -------------------------------------------------------------------------------- 1 | SIL Open Font License (OFL) 2 | http://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&id=OFL 3 | -------------------------------------------------------------------------------- /lib/font/league-gothic/league-gothic.css: -------------------------------------------------------------------------------- 1 | @font-face { 2 | font-family: 'League Gothic'; 3 | src: url('league-gothic.eot'); 4 | src: url('league-gothic.eot?#iefix') format('embedded-opentype'), 5 | url('league-gothic.woff') format('woff'), 6 | url('league-gothic.ttf') format('truetype'); 7 | 8 | font-weight: normal; 9 | font-style: normal; 10 | } -------------------------------------------------------------------------------- /lib/font/league-gothic/league-gothic.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chentsulin/redux-intro/a1b1afb03a57b657c8730832363f1d28e253e9e4/lib/font/league-gothic/league-gothic.eot -------------------------------------------------------------------------------- /lib/font/league-gothic/league-gothic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chentsulin/redux-intro/a1b1afb03a57b657c8730832363f1d28e253e9e4/lib/font/league-gothic/league-gothic.ttf -------------------------------------------------------------------------------- /lib/font/league-gothic/league-gothic.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chentsulin/redux-intro/a1b1afb03a57b657c8730832363f1d28e253e9e4/lib/font/league-gothic/league-gothic.woff -------------------------------------------------------------------------------- /lib/font/source-sans-pro/source-sans-pro-italic.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chentsulin/redux-intro/a1b1afb03a57b657c8730832363f1d28e253e9e4/lib/font/source-sans-pro/source-sans-pro-italic.eot -------------------------------------------------------------------------------- /lib/font/source-sans-pro/source-sans-pro-italic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chentsulin/redux-intro/a1b1afb03a57b657c8730832363f1d28e253e9e4/lib/font/source-sans-pro/source-sans-pro-italic.ttf -------------------------------------------------------------------------------- /lib/font/source-sans-pro/source-sans-pro-italic.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chentsulin/redux-intro/a1b1afb03a57b657c8730832363f1d28e253e9e4/lib/font/source-sans-pro/source-sans-pro-italic.woff -------------------------------------------------------------------------------- /lib/font/source-sans-pro/source-sans-pro-regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chentsulin/redux-intro/a1b1afb03a57b657c8730832363f1d28e253e9e4/lib/font/source-sans-pro/source-sans-pro-regular.eot -------------------------------------------------------------------------------- /lib/font/source-sans-pro/source-sans-pro-regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chentsulin/redux-intro/a1b1afb03a57b657c8730832363f1d28e253e9e4/lib/font/source-sans-pro/source-sans-pro-regular.ttf -------------------------------------------------------------------------------- /lib/font/source-sans-pro/source-sans-pro-regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chentsulin/redux-intro/a1b1afb03a57b657c8730832363f1d28e253e9e4/lib/font/source-sans-pro/source-sans-pro-regular.woff -------------------------------------------------------------------------------- /lib/font/source-sans-pro/source-sans-pro-semibold.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chentsulin/redux-intro/a1b1afb03a57b657c8730832363f1d28e253e9e4/lib/font/source-sans-pro/source-sans-pro-semibold.eot -------------------------------------------------------------------------------- /lib/font/source-sans-pro/source-sans-pro-semibold.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chentsulin/redux-intro/a1b1afb03a57b657c8730832363f1d28e253e9e4/lib/font/source-sans-pro/source-sans-pro-semibold.ttf -------------------------------------------------------------------------------- /lib/font/source-sans-pro/source-sans-pro-semibold.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chentsulin/redux-intro/a1b1afb03a57b657c8730832363f1d28e253e9e4/lib/font/source-sans-pro/source-sans-pro-semibold.woff -------------------------------------------------------------------------------- /lib/font/source-sans-pro/source-sans-pro-semibolditalic.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chentsulin/redux-intro/a1b1afb03a57b657c8730832363f1d28e253e9e4/lib/font/source-sans-pro/source-sans-pro-semibolditalic.eot -------------------------------------------------------------------------------- /lib/font/source-sans-pro/source-sans-pro-semibolditalic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chentsulin/redux-intro/a1b1afb03a57b657c8730832363f1d28e253e9e4/lib/font/source-sans-pro/source-sans-pro-semibolditalic.ttf -------------------------------------------------------------------------------- /lib/font/source-sans-pro/source-sans-pro-semibolditalic.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chentsulin/redux-intro/a1b1afb03a57b657c8730832363f1d28e253e9e4/lib/font/source-sans-pro/source-sans-pro-semibolditalic.woff -------------------------------------------------------------------------------- /lib/js/html5shiv.js: -------------------------------------------------------------------------------- 1 | document.createElement('header'); 2 | document.createElement('nav'); 3 | document.createElement('section'); 4 | document.createElement('article'); 5 | document.createElement('aside'); 6 | document.createElement('footer'); 7 | document.createElement('hgroup'); -------------------------------------------------------------------------------- /node_modules/prismjs/.editorconfig: -------------------------------------------------------------------------------- 1 | root = true 2 | 3 | [*] 4 | insert_final_newline = false 5 | charset = utf-8 6 | indent_style = tab 7 | 8 | [tests/languages/**.test] 9 | end_of_line = crlf 10 | 11 | [{package.json,.travis.yml}] 12 | indent_style = space 13 | indent_size = 2 -------------------------------------------------------------------------------- /node_modules/prismjs/.gitattributes: -------------------------------------------------------------------------------- 1 | * text=auto 2 | 3 | # Test files should not have their line endings modified by git 4 | /tests/languages/**/*.test binary -------------------------------------------------------------------------------- /node_modules/prismjs/.npmignore: -------------------------------------------------------------------------------- 1 | .idea 2 | *.iml 3 | 4 | hide-*.js 5 | 6 | CNAME 7 | img 8 | templates 9 | *.html 10 | style.css 11 | favicon.png 12 | logo.svg 13 | download.js 14 | prefixfree.min.js 15 | utopia.js 16 | code.js 17 | components.js -------------------------------------------------------------------------------- /node_modules/prismjs/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | 3 | node_js: 4 | - "0.10" 5 | - "0.12" 6 | 7 | before_script: 8 | - npm install -g gulp 9 | - gulp 10 | 11 | script: npm test 12 | -------------------------------------------------------------------------------- /node_modules/prismjs/components/prism-apl.min.js: -------------------------------------------------------------------------------- 1 | Prism.languages.apl={comment:/(?:⍝|#[! ]).*$/m,string:/'(?:[^'\r\n]|'')*'/,number:/¯?(?:\d*\.?\d+(?:e[+¯]?\d+)?|¯|∞)(?:j¯?(?:\d*\.?\d+(?:e[\+¯]?\d+)?|¯|∞))?/i,statement:/:[A-Z][a-z][A-Za-z]*\b/,"system-function":{pattern:/⎕[A-Z]+/i,alias:"function"},constant:/[⍬⌾#⎕⍞]/,"function":/[-+×÷⌈⌊∣|⍳?*⍟○!⌹<≤=>≥≠≡≢∊⍷∪∩~∨∧⍱⍲⍴,⍪⌽⊖⍉↑↓⊂⊃⌷⍋⍒⊤⊥⍕⍎⊣⊢⍁⍂≈⍯↗¤→]/,"monadic-operator":{pattern:/[\\\/⌿⍀¨⍨⌶&∥]/,alias:"operator"},"dyadic-operator":{pattern:/[.⍣⍠⍤∘⌸]/,alias:"operator"},assignment:{pattern:/←/,alias:"keyword"},punctuation:/[\[;\]()◇⋄]/,dfn:{pattern:/[{}⍺⍵⍶⍹∇⍫:]/,alias:"builtin"}}; -------------------------------------------------------------------------------- /node_modules/prismjs/components/prism-brainfuck.js: -------------------------------------------------------------------------------- 1 | Prism.languages.brainfuck = { 2 | 'pointer': { 3 | pattern: /<|>/, 4 | alias: 'keyword' 5 | }, 6 | 'increment': { 7 | pattern: /\+/, 8 | alias: 'inserted' 9 | }, 10 | 'decrement': { 11 | pattern: /-/, 12 | alias: 'deleted' 13 | }, 14 | 'branching': { 15 | pattern: /\[|\]/, 16 | alias: 'important' 17 | }, 18 | 'operator': /[.,]/, 19 | 'comment': /\S+/ 20 | }; -------------------------------------------------------------------------------- /node_modules/prismjs/components/prism-brainfuck.min.js: -------------------------------------------------------------------------------- 1 | Prism.languages.brainfuck={pointer:{pattern:/<|>/,alias:"keyword"},increment:{pattern:/\+/,alias:"inserted"},decrement:{pattern:/-/,alias:"deleted"},branching:{pattern:/\[|\]/,alias:"important"},operator:/[.,]/,comment:/\S+/}; -------------------------------------------------------------------------------- /node_modules/prismjs/components/prism-css-extras.js: -------------------------------------------------------------------------------- 1 | Prism.languages.css.selector = { 2 | pattern: /[^\{\}\s][^\{\}]*(?=\s*\{)/, 3 | inside: { 4 | 'pseudo-element': /:(?:after|before|first-letter|first-line|selection)|::[-\w]+/, 5 | 'pseudo-class': /:[-\w]+(?:\(.*\))?/, 6 | 'class': /\.[-:\.\w]+/, 7 | 'id': /#[-:\.\w]+/ 8 | } 9 | }; 10 | 11 | Prism.languages.insertBefore('css', 'function', { 12 | 'hexcode': /#[\da-f]{3,6}/i, 13 | 'entity': /\\[\da-f]{1,8}/i, 14 | 'number': /[\d%\.]+/ 15 | }); -------------------------------------------------------------------------------- /node_modules/prismjs/components/prism-css-extras.min.js: -------------------------------------------------------------------------------- 1 | Prism.languages.css.selector={pattern:/[^\{\}\s][^\{\}]*(?=\s*\{)/,inside:{"pseudo-element":/:(?:after|before|first-letter|first-line|selection)|::[-\w]+/,"pseudo-class":/:[-\w]+(?:\(.*\))?/,"class":/\.[-:\.\w]+/,id:/#[-:\.\w]+/}},Prism.languages.insertBefore("css","function",{hexcode:/#[\da-f]{3,6}/i,entity:/\\[\da-f]{1,8}/i,number:/[\d%\.]+/}); -------------------------------------------------------------------------------- /node_modules/prismjs/components/prism-diff.min.js: -------------------------------------------------------------------------------- 1 | Prism.languages.diff={coord:[/^(?:\*{3}|-{3}|\+{3}).*$/m,/^@@.*@@$/m,/^\d+.*$/m],deleted:/^[-<].+$/m,inserted:/^[+>].+$/m,diff:{pattern:/^!(?!!).+$/m,alias:"important"}}; -------------------------------------------------------------------------------- /node_modules/prismjs/components/prism-docker.js: -------------------------------------------------------------------------------- 1 | Prism.languages.docker = { 2 | 'keyword': { 3 | pattern: /(^\s*)(?:ONBUILD|FROM|MAINTAINER|RUN|EXPOSE|ENV|ADD|COPY|VOLUME|USER|WORKDIR|CMD|LABEL|ENTRYPOINT)(?=\s)/mi, 4 | lookbehind: true 5 | }, 6 | 'string': /("|')(?:(?!\1)[^\\\r\n]|\\(?:\r\n|[\s\S]))*?\1/, 7 | 'comment': /#.*/, 8 | 'punctuation': /---|\.\.\.|[:[\]{}\-,|>?]/ 9 | }; -------------------------------------------------------------------------------- /node_modules/prismjs/components/prism-docker.min.js: -------------------------------------------------------------------------------- 1 | Prism.languages.docker={keyword:{pattern:/(^\s*)(?:ONBUILD|FROM|MAINTAINER|RUN|EXPOSE|ENV|ADD|COPY|VOLUME|USER|WORKDIR|CMD|LABEL|ENTRYPOINT)(?=\s)/im,lookbehind:!0},string:/("|')(?:(?!\1)[^\\\r\n]|\\(?:\r\n|[\s\S]))*?\1/,comment:/#.*/,punctuation:/---|\.\.\.|[:[\]{}\-,|>?]/}; -------------------------------------------------------------------------------- /node_modules/prismjs/components/prism-git.min.js: -------------------------------------------------------------------------------- 1 | Prism.languages.git={comment:/^#.*/m,deleted:/^[-–].*/m,inserted:/^\+.*/m,string:/("|')(\\?.)*?\1/m,command:{pattern:/^.*\$ git .*$/m,inside:{parameter:/\s(--|-)\w+/m}},coord:/^@@.*@@$/m,commit_sha1:/^commit \w{40}$/m}; -------------------------------------------------------------------------------- /node_modules/prismjs/components/prism-ini.js: -------------------------------------------------------------------------------- 1 | Prism.languages.ini= { 2 | 'comment': /^[ \t]*;.*$/m, 3 | 'important': /\[.*?\]/, 4 | 'constant': /^[ \t]*[^\s=]+?(?=[ \t]*=)/m, 5 | 'attr-value': { 6 | pattern: /=.*/, 7 | inside: { 8 | 'punctuation': /^[=]/ 9 | } 10 | } 11 | }; -------------------------------------------------------------------------------- /node_modules/prismjs/components/prism-ini.min.js: -------------------------------------------------------------------------------- 1 | Prism.languages.ini={comment:/^[ \t]*;.*$/m,important:/\[.*?\]/,constant:/^[ \t]*[^\s=]+?(?=[ \t]*=)/m,"attr-value":{pattern:/=.*/,inside:{punctuation:/^[=]/}}}; -------------------------------------------------------------------------------- /node_modules/prismjs/components/prism-matlab.min.js: -------------------------------------------------------------------------------- 1 | Prism.languages.matlab={string:/\B'(?:''|[^'\n])*'/,comment:[/%\{[\s\S]*?\}%/,/%.+/],number:/\b-?(?:\d*\.?\d+(?:[eE][+-]?\d+)?(?:[ij])?|[ij])\b/,keyword:/\b(?:break|case|catch|continue|else|elseif|end|for|function|if|inf|NaN|otherwise|parfor|pause|pi|return|switch|try|while)\b/,"function":/(?!\d)\w+(?=\s*\()/,operator:/\.?[*^\/\\']|[+\-:@]|[<>=~]=?|&&?|\|\|?/,punctuation:/\.{3}|[.,;\[\](){}!]/}; -------------------------------------------------------------------------------- /node_modules/prismjs/components/prism-php-extras.js: -------------------------------------------------------------------------------- 1 | Prism.languages.insertBefore('php', 'variable', { 2 | 'this': /\$this\b/, 3 | 'global': /\$(?:_(?:SERVER|GET|POST|FILES|REQUEST|SESSION|ENV|COOKIE)|GLOBALS|HTTP_RAW_POST_DATA|argc|argv|php_errormsg|http_response_header)/, 4 | 'scope': { 5 | pattern: /\b[\w\\]+::/, 6 | inside: { 7 | keyword: /(static|self|parent)/, 8 | punctuation: /(::|\\)/ 9 | } 10 | } 11 | }); -------------------------------------------------------------------------------- /node_modules/prismjs/components/prism-php-extras.min.js: -------------------------------------------------------------------------------- 1 | Prism.languages.insertBefore("php","variable",{"this":/\$this\b/,global:/\$(?:_(?:SERVER|GET|POST|FILES|REQUEST|SESSION|ENV|COOKIE)|GLOBALS|HTTP_RAW_POST_DATA|argc|argv|php_errormsg|http_response_header)/,scope:{pattern:/\b[\w\\]+::/,inside:{keyword:/(static|self|parent)/,punctuation:/(::|\\)/}}}); -------------------------------------------------------------------------------- /node_modules/prismjs/components/prism-prolog.min.js: -------------------------------------------------------------------------------- 1 | Prism.languages.prolog={comment:[/%.+/,/\/\*[\s\S]*?\*\//],string:/(["'])(?:\1\1|\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,builtin:/\b(?:fx|fy|xf[xy]?|yfx?)\b/,variable:/\b[A-Z_]\w*/,"function":/\b[a-z]\w*(?:(?=\()|\/\d+)/,number:/\b\d+\.?\d*/,operator:/[:\\=><\-?*@\/;+^|!$.]+|\b(?:is|mod|not|xor)\b/,punctuation:/[(){}\[\],]/}; -------------------------------------------------------------------------------- /node_modules/prismjs/components/prism-r.min.js: -------------------------------------------------------------------------------- 1 | Prism.languages.r={comment:/#.*/,string:/(['"])(?:\\?.)*?\1/,"percent-operator":{pattern:/%[^%\s]*%/,alias:"operator"},"boolean":/\b(?:TRUE|FALSE)\b/,ellipsis:/\.\.(?:\.|\d+)/,number:[/\b(?:NaN|Inf)\b/,/\b(?:0x[\dA-Fa-f]+(?:\.\d*)?|\d*\.?\d+)(?:[EePp][+-]?\d+)?[iL]?\b/],keyword:/\b(?:if|else|repeat|while|function|for|in|next|break|NULL|NA|NA_integer_|NA_real_|NA_complex_|NA_character_)\b/,operator:/->?>?|<(?:=|=!]=?|::?|&&?|\|\|?|[+*\/^$@~]/,punctuation:/[(){}\[\],;]/}; -------------------------------------------------------------------------------- /node_modules/prismjs/components/prism-typescript.js: -------------------------------------------------------------------------------- 1 | Prism.languages.typescript = Prism.languages.extend('javascript', { 2 | 'keyword': /\b(break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|false|finally|for|function|get|if|implements|import|in|instanceof|interface|let|new|null|package|private|protected|public|return|set|static|super|switch|this|throw|true|try|typeof|var|void|while|with|yield|module|declare|constructor|string|Function|any|number|boolean|Array|enum)\b/ 3 | }); 4 | -------------------------------------------------------------------------------- /node_modules/prismjs/components/prism-typescript.min.js: -------------------------------------------------------------------------------- 1 | Prism.languages.typescript=Prism.languages.extend("javascript",{keyword:/\b(break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|false|finally|for|function|get|if|implements|import|in|instanceof|interface|let|new|null|package|private|protected|public|return|set|static|super|switch|this|throw|true|try|typeof|var|void|while|with|yield|module|declare|constructor|string|Function|any|number|boolean|Array|enum)\b/}); -------------------------------------------------------------------------------- /node_modules/prismjs/plugins/autolinker/prism-autolinker.css: -------------------------------------------------------------------------------- 1 | .token a { 2 | color: inherit; 3 | } -------------------------------------------------------------------------------- /node_modules/prismjs/plugins/highlight-keywords/prism-highlight-keywords.js: -------------------------------------------------------------------------------- 1 | (function(){ 2 | 3 | if ( 4 | typeof self !== 'undefined' && !self.Prism || 5 | typeof global !== 'undefined' && !global.Prism 6 | ) { 7 | return; 8 | } 9 | 10 | Prism.hooks.add('wrap', function(env) { 11 | if (env.type !== "keyword") { 12 | return; 13 | } 14 | env.classes.push('keyword-' + env.content); 15 | }); 16 | 17 | })(); 18 | -------------------------------------------------------------------------------- /node_modules/prismjs/plugins/highlight-keywords/prism-highlight-keywords.min.js: -------------------------------------------------------------------------------- 1 | !function(){"undefined"!=typeof self&&!self.Prism||"undefined"!=typeof global&&!global.Prism||Prism.hooks.add("wrap",function(e){"keyword"===e.type&&e.classes.push("keyword-"+e.content)})}(); -------------------------------------------------------------------------------- /node_modules/prismjs/plugins/ie8/prism-ie8.css: -------------------------------------------------------------------------------- 1 | .token a { 2 | color: inherit; 3 | } -------------------------------------------------------------------------------- /node_modules/prismjs/plugins/previewer-color/prism-previewer-color.css: -------------------------------------------------------------------------------- 1 | .prism-previewer-color { 2 | background-image: linear-gradient(45deg, #bbb 25%, transparent 25%, transparent 75%, #bbb 75%, #bbb), linear-gradient(45deg, #bbb 25%, #eee 25%, #eee 75%, #bbb 75%, #bbb); 3 | background-size: 10px 10px; 4 | background-position: 0 0, 5px 5px; 5 | } 6 | .prism-previewer-color:before { 7 | background-color: inherit; 8 | background-clip: padding-box; 9 | } 10 | -------------------------------------------------------------------------------- /node_modules/prismjs/plugins/remove-initial-line-feed/prism-remove-initial-line-feed.min.js: -------------------------------------------------------------------------------- 1 | !function(){"undefined"!=typeof self&&self.Prism&&self.document&&Prism.hooks.add("before-highlight",function(e){if(e.code){var s=e.element.parentNode,n=/\s*\bkeep-initial-line-feed\b\s*/;!s||"pre"!==s.nodeName.toLowerCase()||n.test(s.className)||n.test(e.element.className)||(e.code=e.code.replace(/^(?:\r?\n|\r)/,""))}})}(); -------------------------------------------------------------------------------- /node_modules/prismjs/plugins/show-invisibles/prism-show-invisibles.css: -------------------------------------------------------------------------------- 1 | .token.tab:not(:empty):before, 2 | .token.cr:before, 3 | .token.lf:before { 4 | color: hsl(24, 20%, 85%); 5 | } 6 | 7 | .token.tab:not(:empty):before { 8 | content: '\21E5'; 9 | } 10 | 11 | .token.cr:before { 12 | content: '\240D'; 13 | } 14 | 15 | .token.crlf:before { 16 | content: '\240D\240A'; 17 | } 18 | .token.lf:before { 19 | content: '\240A'; 20 | } 21 | -------------------------------------------------------------------------------- /node_modules/prismjs/plugins/show-invisibles/prism-show-invisibles.js: -------------------------------------------------------------------------------- 1 | (function(){ 2 | 3 | if ( 4 | typeof self !== 'undefined' && !self.Prism || 5 | typeof global !== 'undefined' && !global.Prism 6 | ) { 7 | return; 8 | } 9 | 10 | for (var language in Prism.languages) { 11 | var tokens = Prism.languages[language]; 12 | 13 | tokens.tab = /\t/g; 14 | tokens.crlf = /\r\n/g; 15 | tokens.lf = /\n/g; 16 | tokens.cr = /\r/g; 17 | } 18 | 19 | })(); 20 | -------------------------------------------------------------------------------- /node_modules/prismjs/plugins/show-invisibles/prism-show-invisibles.min.js: -------------------------------------------------------------------------------- 1 | !function(){if(("undefined"==typeof self||self.Prism)&&("undefined"==typeof global||global.Prism))for(var f in Prism.languages){var n=Prism.languages[f];n.tab=/\t/g,n.crlf=/\r\n/g,n.lf=/\n/g,n.cr=/\r/g}}(); -------------------------------------------------------------------------------- /node_modules/prismjs/plugins/wpd/prism-wpd.css: -------------------------------------------------------------------------------- 1 | code[class*="language-"] a[href], 2 | pre[class*="language-"] a[href] { 3 | cursor: help; 4 | text-decoration: none; 5 | } 6 | 7 | code[class*="language-"] a[href]:hover, 8 | pre[class*="language-"] a[href]:hover { 9 | cursor: help; 10 | text-decoration: underline; 11 | } -------------------------------------------------------------------------------- /node_modules/prismjs/prism.esproj/Project.espressostorage: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chentsulin/redux-intro/a1b1afb03a57b657c8730832363f1d28e253e9e4/node_modules/prismjs/prism.esproj/Project.espressostorage -------------------------------------------------------------------------------- /node_modules/prismjs/prism.esproj/user.leaverou.espressostorage: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chentsulin/redux-intro/a1b1afb03a57b657c8730832363f1d28e253e9e4/node_modules/prismjs/prism.esproj/user.leaverou.espressostorage -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/abap/comment_feature.test: -------------------------------------------------------------------------------- 1 | * 2 | * Foobar 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["comment", "*"], 8 | ["comment", "* Foobar"] 9 | ] 10 | 11 | ---------------------------------------------------- 12 | 13 | Checks for comments. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/abap/eol-comment_feature.test: -------------------------------------------------------------------------------- 1 | " 2 | " foobar 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["eol-comment", "\""], 8 | ["eol-comment", "\" foobar"] 9 | ] 10 | 11 | ---------------------------------------------------- 12 | 13 | Checks for EOL comments. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/abap/number_feature.test: -------------------------------------------------------------------------------- 1 | 0 2 | 42 3 | 123456789 4 | 5 | ---------------------------------------------------- 6 | 7 | [ 8 | ["number", "0"], 9 | ["number", "42"], 10 | ["number", "123456789"] 11 | ] 12 | 13 | ---------------------------------------------------- 14 | 15 | Checks for numbers. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/abap/string_feature.test: -------------------------------------------------------------------------------- 1 | '' 2 | 'foo' 3 | 'foo\'bar' 4 | `` 5 | `foo` 6 | `foo\`bar` 7 | 8 | ---------------------------------------------------- 9 | 10 | [ 11 | ["string", "''"], 12 | ["string", "'foo'"], 13 | ["string", "'foo\\'bar'"], 14 | ["string", "``"], 15 | ["string", "`foo`"], 16 | ["string", "`foo\\`bar`"] 17 | ] 18 | 19 | ---------------------------------------------------- 20 | 21 | Checks for strings. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/apacheconf/comment_feature.test: -------------------------------------------------------------------------------- 1 | #foo 2 | # bar 3 | # Redirect 301 /2006/oldfile.html http://subdomain.domain.tld/newfile.html 4 | 5 | ---------------------------------------------------- 6 | 7 | [ 8 | ["comment", "#foo"], 9 | ["comment", "# bar"], 10 | ["comment", "# Redirect 301 /2006/oldfile.html http://subdomain.domain.tld/newfile.html"] 11 | ] 12 | 13 | ---------------------------------------------------- 14 | 15 | Checks for comments. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/apacheconf/directive-flags_feature.test: -------------------------------------------------------------------------------- 1 | [OR] 2 | [L,QSA] 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["directive-flags", "[OR]"], 8 | ["directive-flags", "[L,QSA]"] 9 | ] 10 | 11 | ---------------------------------------------------- 12 | 13 | Checks for directive flags. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/apacheconf/regex_feature.test: -------------------------------------------------------------------------------- 1 | ^(.*)$ 2 | ^foo 3 | bar$ 4 | 5 | ---------------------------------------------------- 6 | 7 | [ 8 | ["regex", "^(.*)$"], 9 | ["regex", "^foo"], 10 | ["regex", "bar$"] 11 | ] 12 | 13 | ---------------------------------------------------- 14 | 15 | Checks for regex. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/apacheconf/string_feature.test: -------------------------------------------------------------------------------- 1 | "foo bar" 2 | 'foo bar' 3 | "%{REMOTE_HOST}" 4 | 5 | ---------------------------------------------------- 6 | 7 | [ 8 | ["string", [ 9 | "\"foo bar\"" 10 | ]], 11 | ["string", [ 12 | "'foo bar'" 13 | ]], 14 | ["string", [ 15 | "\"", 16 | ["variable", "%{REMOTE_HOST}"], 17 | "\"" 18 | ]] 19 | ] 20 | 21 | ---------------------------------------------------- 22 | 23 | Checks for strings. 24 | Also checks for variables inside strings. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/apacheconf/variable_feature.test: -------------------------------------------------------------------------------- 1 | $port 2 | ${docroot} 3 | %{REMOTE_HOST} 4 | 5 | ---------------------------------------------------- 6 | 7 | [ 8 | ["variable", "$port"], 9 | ["variable", "${docroot}"], 10 | ["variable", "%{REMOTE_HOST}"] 11 | ] 12 | 13 | ---------------------------------------------------- 14 | 15 | Checks for variables. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/apl/assignment_feature.test: -------------------------------------------------------------------------------- 1 | a←1 2 3 2 | 3 | ---------------------------------------------------- 4 | 5 | [ 6 | "a", 7 | ["assignment", "←"], 8 | ["number", "1"], ["number", "2"], ["number", "3"] 9 | ] 10 | 11 | ---------------------------------------------------- 12 | 13 | Checks for assignment. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/apl/comment_feature.test: -------------------------------------------------------------------------------- 1 | ⍝ 2 | ⍝ Foobar 3 | #!/usr/bin/env runapl 4 | 5 | ---------------------------------------------------- 6 | 7 | [ 8 | ["comment", "⍝"], 9 | ["comment", "⍝ Foobar"], 10 | ["comment", "#!/usr/bin/env runapl"] 11 | ] 12 | 13 | ---------------------------------------------------- 14 | 15 | Checks for comments. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/apl/constant_feature.test: -------------------------------------------------------------------------------- 1 | ⍬ 2 | ⌾ 3 | # 4 | ⎕ 5 | ⍞ 6 | 7 | ---------------------------------------------------- 8 | 9 | [ 10 | ["constant", "⍬"], 11 | ["constant", "⌾"], 12 | ["constant", "#"], 13 | ["constant", "⎕"], 14 | ["constant", "⍞"] 15 | ] 16 | 17 | ---------------------------------------------------- 18 | 19 | Checks for constants. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/apl/dfn_feature.test: -------------------------------------------------------------------------------- 1 | {0=⍴⍴⍺:'hello' ⋄ ∇¨⍵} 2 | 3 | ---------------------------------------------------- 4 | 5 | [ 6 | ["dfn", "{"], 7 | ["number", "0"], 8 | ["function", "="], 9 | ["function", "⍴"], 10 | ["function", "⍴"], 11 | ["dfn", "⍺"], 12 | ["dfn", ":"], 13 | ["string", "'hello'"], 14 | ["punctuation", "⋄"], 15 | ["dfn", "∇"], 16 | ["monadic-operator", "¨"], 17 | ["dfn", "⍵"], 18 | ["dfn", "}"] 19 | ] 20 | 21 | ---------------------------------------------------- 22 | 23 | Checks for Dfns. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/apl/dyadic-operator_feature.test: -------------------------------------------------------------------------------- 1 | . ⍣ ⍠ 2 | ⍤ ∘ ⌸ 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["dyadic-operator", "."], ["dyadic-operator", "⍣"], ["dyadic-operator", "⍠"], 8 | ["dyadic-operator", "⍤"], ["dyadic-operator", "∘"], ["dyadic-operator", "⌸"] 9 | ] 10 | 11 | ---------------------------------------------------- 12 | 13 | Checks for dyadic operators. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/apl/monadic-operator_feature.test: -------------------------------------------------------------------------------- 1 | \ / ⌿ ⍀ 2 | ¨ ⍨ ⌶ 3 | & ∥ 4 | 5 | ---------------------------------------------------- 6 | 7 | [ 8 | ["monadic-operator", "\\"], ["monadic-operator", "/"], ["monadic-operator", "⌿"], ["monadic-operator", "⍀"], 9 | ["monadic-operator", "¨"], ["monadic-operator", "⍨"], ["monadic-operator", "⌶"], 10 | ["monadic-operator", "&"], ["monadic-operator", "∥"] 11 | ] 12 | 13 | ---------------------------------------------------- 14 | 15 | Checks for monadic operators. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/apl/number_feature.test: -------------------------------------------------------------------------------- 1 | 42 2 | 3.14159 3 | ¯2 4 | ∞ 5 | 3E12 6 | 2.8e¯4 7 | 0.1e+7 8 | 2j3 9 | ¯4.3e2J1.9e¯4 10 | 11 | ---------------------------------------------------- 12 | 13 | [ 14 | ["number", "42"], 15 | ["number", "3.14159"], 16 | ["number", "¯2"], 17 | ["number", "∞"], 18 | ["number", "3E12"], 19 | ["number", "2.8e¯4"], 20 | ["number", "0.1e+7"], 21 | ["number", "2j3"], 22 | ["number", "¯4.3e2J1.9e¯4"] 23 | ] 24 | 25 | ---------------------------------------------------- 26 | 27 | Checks for numbers. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/apl/statement_feature.test: -------------------------------------------------------------------------------- 1 | :Ab 2 | :FooBar 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["statement", ":Ab"], 8 | ["statement", ":FooBar"] 9 | ] 10 | 11 | ---------------------------------------------------- 12 | 13 | Checks for statements. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/apl/string_feature.test: -------------------------------------------------------------------------------- 1 | '' 2 | 'foobar' 3 | 'fo''obar' 4 | 5 | ---------------------------------------------------- 6 | 7 | [ 8 | ["string", "''"], 9 | ["string", "'foobar'"], 10 | ["string", "'fo''obar'"] 11 | ] 12 | 13 | ---------------------------------------------------- 14 | 15 | Checks for strings. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/apl/system-function_feature.test: -------------------------------------------------------------------------------- 1 | ⎕IO 2 | ⎕WA 3 | ⎕CR 4 | ⎕TCNL 5 | 6 | ---------------------------------------------------- 7 | 8 | [ 9 | ["system-function", "⎕IO"], 10 | ["system-function", "⎕WA"], 11 | ["system-function", "⎕CR"], 12 | ["system-function", "⎕TCNL"] 13 | ] 14 | 15 | ---------------------------------------------------- 16 | 17 | Checks for system functions. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/applescript/comment_feature.test: -------------------------------------------------------------------------------- 1 | -- foo bar 2 | # foo bar 3 | (* foo 4 | bar *) 5 | (* foo 6 | (* bar *) 7 | *) 8 | 9 | ---------------------------------------------------- 10 | 11 | [ 12 | ["comment", "-- foo bar"], 13 | ["comment", "# foo bar"], 14 | ["comment", "(* foo\r\nbar *)"], 15 | ["comment", "(* foo\r\n(* bar *)\r\n*)"] 16 | ] 17 | 18 | ---------------------------------------------------- 19 | 20 | Checks for single-line and multi-line comments. 21 | Also checks for one level of nesting. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/applescript/number_feature.test: -------------------------------------------------------------------------------- 1 | 42 2 | 3.14159 3 | 3e10 4 | 4.2E-5 5 | 6 | ---------------------------------------------------- 7 | 8 | [ 9 | ["number", "42"], 10 | ["number", "3.14159"], 11 | ["number", "3e10"], 12 | ["number", "4.2E-5"] 13 | ] 14 | 15 | ---------------------------------------------------- 16 | 17 | Checks for numbers. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/applescript/string_feature.test: -------------------------------------------------------------------------------- 1 | "" 2 | "foo bar" 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["string", "\"\""], 8 | ["string", "\"foo bar\""] 9 | ] 10 | 11 | ---------------------------------------------------- 12 | 13 | Checks for strings. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/aspnet/comment_feature.test: -------------------------------------------------------------------------------- 1 | <%----%> 2 | <%--foo--%> 3 | <%-- foo 4 | bar --%> 5 | 6 | ---------------------------------------------------- 7 | 8 | [ 9 | ["asp comment", "<%----%>"], 10 | ["asp comment", "<%--foo--%>"], 11 | ["asp comment", "<%-- foo\r\nbar --%>"] 12 | ] 13 | 14 | ---------------------------------------------------- 15 | 16 | Checks for comments. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/autohotkey/boolean_feature.test: -------------------------------------------------------------------------------- 1 | true 2 | false 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["boolean", "true"], 8 | ["boolean", "false"] 9 | ] 10 | 11 | ---------------------------------------------------- 12 | 13 | Checks for booleans -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/autohotkey/comment_feature.test: -------------------------------------------------------------------------------- 1 | ;foo 2 | ; bar 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["comment", ";foo"], 8 | ["comment", "; bar"] 9 | ] 10 | 11 | ---------------------------------------------------- 12 | 13 | Checks for comments. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/autohotkey/function_feature.test: -------------------------------------------------------------------------------- 1 | foo( 2 | foo_bar( 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["function", "foo"], 8 | ["punctuation", "("], 9 | ["function", "foo_bar"], 10 | ["punctuation", "("] 11 | ] 12 | 13 | ---------------------------------------------------- 14 | 15 | Checks for functions. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/autohotkey/number_feature.test: -------------------------------------------------------------------------------- 1 | 42 2 | 3.14159 3 | 3.2e10 4 | 2.9E-7 5 | 0xbabe 6 | 0xBABE 7 | 8 | ---------------------------------------------------- 9 | 10 | [ 11 | ["number", "42"], 12 | ["number", "3.14159"], 13 | ["number", "3.2e10"], 14 | ["number", "2.9E-7"], 15 | ["number", "0xbabe"], 16 | ["number", "0xBABE"] 17 | ] 18 | 19 | ---------------------------------------------------- 20 | 21 | Checks for numbers. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/autohotkey/string_feature.test: -------------------------------------------------------------------------------- 1 | "" 2 | "foo" 3 | "foo""bar" 4 | 5 | ---------------------------------------------------- 6 | 7 | [ 8 | ["string", "\"\""], 9 | ["string", "\"foo\""], 10 | ["string", "\"foo\"\"bar\""] 11 | ] 12 | 13 | ---------------------------------------------------- 14 | 15 | Checks for strings. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/autohotkey/tag_feature.test: -------------------------------------------------------------------------------- 1 | foo: 2 | foo_bar: 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["tag", "foo"], 8 | ["punctuation", ":"], 9 | ["tag", "foo_bar"], 10 | ["punctuation", ":"] 11 | ] 12 | 13 | ---------------------------------------------------- 14 | 15 | Checks for tags (labels). -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/autohotkey/variable_feature.test: -------------------------------------------------------------------------------- 1 | %foo% 2 | %foo_bar% 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["variable", "%foo%"], 8 | ["variable", "%foo_bar%"] 9 | ] 10 | 11 | ---------------------------------------------------- 12 | 13 | Checks for variables. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/autoit/boolean_feature.test: -------------------------------------------------------------------------------- 1 | True 2 | False 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["boolean", "True"], 8 | ["boolean", "False"] 9 | ] 10 | 11 | ---------------------------------------------------- 12 | 13 | Checks for booleans. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/autoit/directive_feature.test: -------------------------------------------------------------------------------- 1 | #NoTrayIcon 2 | #OnAutoItStartRegister "Example" 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["directive", "#NoTrayIcon"], 8 | ["directive", "#OnAutoItStartRegister"], ["string", ["\"Example\""]] 9 | ] 10 | 11 | ---------------------------------------------------- 12 | 13 | Checks for directives. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/autoit/function_feature.test: -------------------------------------------------------------------------------- 1 | foo() 2 | foo_bar() 3 | foo_bar_42() 4 | 5 | ---------------------------------------------------- 6 | 7 | [ 8 | ["function", "foo"], ["punctuation", "("], ["punctuation", ")"], 9 | ["function", "foo_bar"], ["punctuation", "("], ["punctuation", ")"], 10 | ["function", "foo_bar_42"], ["punctuation", "("], ["punctuation", ")"] 11 | ] 12 | 13 | ---------------------------------------------------- 14 | 15 | Checks for functions. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/autoit/number_feature.test: -------------------------------------------------------------------------------- 1 | 42 2 | 3.14159 3 | 4e8 4 | 3.5E-9 5 | 0.7e+12 6 | 0xBadFace 7 | 8 | ---------------------------------------------------- 9 | 10 | [ 11 | ["number", "42"], 12 | ["number", "3.14159"], 13 | ["number", "4e8"], 14 | ["number", "3.5E-9"], 15 | ["number", "0.7e+12"], 16 | ["number", "0xBadFace"] 17 | ] 18 | 19 | ---------------------------------------------------- 20 | 21 | Checks for numbers. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/autoit/url_feature.test: -------------------------------------------------------------------------------- 1 | #include 2 | #include "foo.au3" 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["directive", "#include"], 8 | ["url", ""], 9 | ["directive", "#include"], 10 | ["url", "\"foo.au3\""] 11 | ] 12 | 13 | ---------------------------------------------------- 14 | 15 | Checks for files in includes. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/autoit/variable_feature.test: -------------------------------------------------------------------------------- 1 | $foo 2 | $foo_bar_42 3 | @ComputerName 4 | @CPUArch 5 | @TAB 6 | 7 | ---------------------------------------------------- 8 | 9 | [ 10 | ["variable", "$foo"], 11 | ["variable", "$foo_bar_42"], 12 | ["variable", "@ComputerName"], 13 | ["variable", "@CPUArch"], 14 | ["variable", "@TAB"] 15 | ] 16 | 17 | ---------------------------------------------------- 18 | 19 | Checks for variables and macros. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/bash/comment_feature.test: -------------------------------------------------------------------------------- 1 | #foo 2 | # bar 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["comment", "#foo"], 8 | ["comment", "# bar"] 9 | ] 10 | 11 | ---------------------------------------------------- 12 | 13 | Checks for comments. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/bash/shebang_feature.test: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | ---------------------------------------------------- 4 | 5 | [ 6 | ["shebang", "#!/bin/bash"] 7 | ] 8 | 9 | ---------------------------------------------------- 10 | 11 | Checks for shebang. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/bash/variable_feature.test: -------------------------------------------------------------------------------- 1 | $foo 2 | $@ 3 | ${foo bar} 4 | 5 | ---------------------------------------------------- 6 | 7 | [ 8 | ["variable", "$foo"], 9 | ["variable", "$@"], 10 | ["variable", "${foo bar}"] 11 | ] 12 | 13 | ---------------------------------------------------- 14 | 15 | Checks for variables. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/basic/comment_feature.test: -------------------------------------------------------------------------------- 1 | ! Foobar 2 | REM Foobar 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["comment", ["! Foobar"]], 8 | ["comment", [["keyword", "REM"], " Foobar"]] 9 | ] 10 | 11 | ---------------------------------------------------- 12 | 13 | Checks for comments. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/basic/number_feature.test: -------------------------------------------------------------------------------- 1 | 42 2 | 3.14159 3 | 2e8 4 | 3.4E-9 5 | 0.7E+12 6 | 7 | ---------------------------------------------------- 8 | 9 | [ 10 | ["number", "42"], 11 | ["number", "3.14159"], 12 | ["number", "2e8"], 13 | ["number", "3.4E-9"], 14 | ["number", "0.7E+12"] 15 | ] 16 | 17 | ---------------------------------------------------- 18 | 19 | Checks for numbers. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/basic/string_feature.test: -------------------------------------------------------------------------------- 1 | "" 2 | "fo""obar" 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["string", "\"\""], 8 | ["string", "\"fo\"\"obar\""] 9 | ] 10 | 11 | ---------------------------------------------------- 12 | 13 | Checks for strings. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/batch/comment_feature.test: -------------------------------------------------------------------------------- 1 | :: 2 | :: Foobar 3 | REM Foobar 4 | rem foo^ 5 | bar 6 | 7 | ---------------------------------------------------- 8 | 9 | [ 10 | ["comment", "::"], 11 | ["comment", ":: Foobar"], 12 | ["comment", "REM Foobar"], 13 | ["comment", "rem foo^\r\nbar"] 14 | ] 15 | 16 | ---------------------------------------------------- 17 | 18 | Checks for comments. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/batch/label_feature.test: -------------------------------------------------------------------------------- 1 | :foo 2 | :Foo_Bar 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["label", ":foo"], 8 | ["label", ":Foo_Bar"] 9 | ] 10 | 11 | ---------------------------------------------------- 12 | 13 | Checks for labels. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/bison/comment_feature.test: -------------------------------------------------------------------------------- 1 | // Foobar 2 | /* Foo 3 | bar */ 4 | %% 5 | // Foobar 6 | /* Foo 7 | bar */ 8 | %% 9 | 10 | ---------------------------------------------------- 11 | 12 | [ 13 | ["bison", [ 14 | ["comment", "// Foobar"], 15 | ["comment", "/* Foo\r\nbar */"], 16 | ["punctuation", "%%"], 17 | ["comment", "// Foobar"], 18 | ["comment", "/* Foo\r\nbar */"], 19 | ["punctuation", "%%"] 20 | ]] 21 | ] 22 | 23 | ---------------------------------------------------- 24 | 25 | Checks for comments. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/bison/keyword_feature.test: -------------------------------------------------------------------------------- 1 | %union 2 | %token 3 | %% 4 | exp: %empty 5 | %% 6 | 7 | ---------------------------------------------------- 8 | 9 | [ 10 | ["bison", [ 11 | ["keyword", "%union"], 12 | ["keyword", "%token"], 13 | ["punctuation", "%%"], 14 | ["property", "exp"], ["punctuation", ":"], 15 | ["keyword", "%empty"], 16 | ["punctuation", "%%"] 17 | ]] 18 | ] 19 | 20 | ---------------------------------------------------- 21 | 22 | Checks for keywords. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/bison/number_feature.test: -------------------------------------------------------------------------------- 1 | 42 2 | 0 3 | 0xBadFace 4 | 5 | ---------------------------------------------------- 6 | 7 | [ 8 | ["number", "42"], 9 | ["number", "0"], 10 | ["number", "0xBadFace"] 11 | ] 12 | 13 | ---------------------------------------------------- 14 | 15 | Checks for numbers. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/bison/property_feature.test: -------------------------------------------------------------------------------- 1 | %% 2 | foo: 3 | bar_42: 4 | $@1: 5 | %% 6 | 7 | ---------------------------------------------------- 8 | 9 | [ 10 | ["bison", [ 11 | ["punctuation", "%%"], 12 | ["property", "foo"], ["punctuation", ":"], 13 | ["property", "bar_42"], ["punctuation", ":"], 14 | ["property", "$@1"], ["punctuation", ":"], 15 | ["punctuation", "%%"] 16 | ]] 17 | ] 18 | 19 | ---------------------------------------------------- 20 | 21 | Checks for properties. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/brainfuck/all_feature.test: -------------------------------------------------------------------------------- 1 | ++ foobar 2 | [ 3 | >. 4 | <-, 5 | ] 6 | 7 | ---------------------------------------------------- 8 | 9 | [ 10 | ["increment", "+"], ["increment", "+"], ["comment", "foobar"], 11 | ["branching", "["], 12 | ["pointer", ">"], ["operator", "."], 13 | ["pointer", "<"], ["decrement", "-"], ["operator", ","], 14 | ["branching", "]"] 15 | ] 16 | 17 | ---------------------------------------------------- 18 | 19 | Checks for all patterns. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/c/macro_feature.test: -------------------------------------------------------------------------------- 1 | # include 2 | #define PG_locked 0 3 | #foo \ 4 | bar 5 | 6 | ---------------------------------------------------- 7 | 8 | [ 9 | ["macro", [ 10 | "# include ", 11 | ["string", ""] 12 | ]], 13 | ["macro", ["#define PG_locked 0"]], 14 | ["macro", ["#foo \\\r\nbar"]] 15 | ] 16 | 17 | ---------------------------------------------------- 18 | 19 | Checks for macros, multi-line macros and paths inside include statements. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/clike/boolean_feature.test: -------------------------------------------------------------------------------- 1 | true; false; 2 | 3 | ---------------------------------------------------- 4 | 5 | [ 6 | ["boolean", "true"], ["punctuation", ";"], 7 | ["boolean", "false"], ["punctuation", ";"] 8 | ] 9 | 10 | ---------------------------------------------------- 11 | 12 | Checks for booleans. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/clike/comment_feature.test: -------------------------------------------------------------------------------- 1 | // foobar 2 | /**/ 3 | /* foo 4 | bar */ 5 | 6 | ---------------------------------------------------- 7 | 8 | [ 9 | ["comment", "// foobar"], 10 | ["comment", "/**/"], 11 | ["comment", "/* foo\r\nbar */"] 12 | ] 13 | 14 | ---------------------------------------------------- 15 | 16 | Checks for single-line and multi-line comments. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/clike/function_feature.test: -------------------------------------------------------------------------------- 1 | foo() 2 | foo_bar() 3 | f42() 4 | 5 | ---------------------------------------------------- 6 | 7 | [ 8 | ["function", "foo"], 9 | ["punctuation", "("], 10 | ["punctuation", ")"], 11 | 12 | ["function", "foo_bar"], 13 | ["punctuation", "("], 14 | ["punctuation", ")"], 15 | 16 | ["function", "f42"], 17 | ["punctuation", "("], 18 | ["punctuation", ")"] 19 | ] 20 | 21 | ---------------------------------------------------- 22 | 23 | Checks for functions. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/clike/number_feature.test: -------------------------------------------------------------------------------- 1 | 42 2 | 3.14159 3 | 4e10 4 | 2.1e-10 5 | 0.4e+2 6 | 0xbabe 7 | 0xBABE 8 | 9 | ---------------------------------------------------- 10 | 11 | [ 12 | ["number", "42"], 13 | ["number", "3.14159"], 14 | ["number", "4e10"], 15 | ["number", "2.1e-10"], 16 | ["number", "0.4e+2"], 17 | ["number", "0xbabe"], 18 | ["number", "0xBABE"] 19 | ] 20 | 21 | ---------------------------------------------------- 22 | 23 | Checks for decimal numbers and hexadecimal numbers. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/clike/string_feature.test: -------------------------------------------------------------------------------- 1 | "" 2 | '' 3 | "f\"oo" 4 | 'b\'ar' 5 | "foo\ 6 | bar" 7 | 'foo\ 8 | bar' 9 | 10 | ---------------------------------------------------- 11 | 12 | [ 13 | ["string", "\"\""], 14 | ["string", "''"], 15 | ["string", "\"f\\\"oo\""], 16 | ["string", "'b\\'ar'"], 17 | ["string", "\"foo\\\r\nbar\""], 18 | ["string", "'foo\\\r\nbar'"] 19 | ] 20 | 21 | ---------------------------------------------------- 22 | 23 | Checks for empty strings, single-line strings and 24 | multi-line strings, both single-quoted and double-quoted. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/coffeescript+jade/coffeescript_inclusion.test: -------------------------------------------------------------------------------- 1 | :coffee 2 | "#{foo}" 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["filter-coffee", [ 8 | ["filter-name", ":coffee"], 9 | ["string", [ 10 | "\"", 11 | ["interpolation", "#{foo}"], 12 | "\"" 13 | ]] 14 | ]] 15 | ] 16 | 17 | ---------------------------------------------------- 18 | 19 | Checks for coffee filter (CoffeeScript) in Jade. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/coffeescript/class-member_feature.test: -------------------------------------------------------------------------------- 1 | @name 2 | @foo_bar 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["class-member", "@name"], 8 | ["class-member", "@foo_bar"] 9 | ] 10 | 11 | ---------------------------------------------------- 12 | 13 | Checks for class members. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/coffeescript/comment_feature.test: -------------------------------------------------------------------------------- 1 | #foo 2 | # foo bar 3 | ### foo bar 4 | baz ### 5 | 6 | ---------------------------------------------------- 7 | 8 | [ 9 | ["comment", "#foo"], 10 | ["comment", "# foo bar"], 11 | ["multiline-comment", "### foo bar\r\nbaz ###"] 12 | ] 13 | 14 | ---------------------------------------------------- 15 | 16 | Checks for single-line and multi-line comments. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/coffeescript/inline-javascript_feature.test: -------------------------------------------------------------------------------- 1 | `/* JS here */` 2 | `/* 3 | JS here */` 4 | 5 | ---------------------------------------------------- 6 | 7 | [ 8 | ["inline-javascript", [ 9 | ["delimiter", "`"], 10 | ["comment", "/* JS here */"], 11 | ["delimiter", "`"] 12 | ]], 13 | ["inline-javascript", [ 14 | ["delimiter", "`"], 15 | ["comment", "/*\r\nJS here */"], 16 | ["delimiter", "`"] 17 | ]] 18 | ] 19 | 20 | ---------------------------------------------------- 21 | 22 | Checks for inline JavaScript. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/coffeescript/property_feature.test: -------------------------------------------------------------------------------- 1 | foo: 2 | foo_bar : 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["property", "foo"], 8 | ["punctuation", ":"], 9 | ["property", "foo_bar"], 10 | ["punctuation", ":"] 11 | ] 12 | 13 | ---------------------------------------------------- 14 | 15 | Checks for object properties. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/cpp+pure/cpp_inclusion.test: -------------------------------------------------------------------------------- 1 | %< -*- C++ -*- 2 | alignas 3 | %> 4 | 5 | ---------------------------------------------------- 6 | 7 | [ 8 | ["inline-lang-cpp", [ 9 | ["delimiter", "%< "], 10 | ["lang", "-*- C++ -*-"], 11 | ["keyword", "alignas"], 12 | ["delimiter", "%>"] 13 | ]] 14 | ] 15 | 16 | ---------------------------------------------------- 17 | 18 | Checks for C++ in Pure. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/cpp/boolean_feature.test: -------------------------------------------------------------------------------- 1 | true 2 | false 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["boolean", "true"], 8 | ["boolean", "false"] 9 | ] 10 | 11 | ---------------------------------------------------- 12 | 13 | Checks for booleans. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/cpp/class-name_feature.test: -------------------------------------------------------------------------------- 1 | class Foo 2 | class Foo_bar 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["keyword", "class"], ["class-name", "Foo"], 8 | ["keyword", "class"], ["class-name", "Foo_bar"] 9 | ] 10 | 11 | ---------------------------------------------------- 12 | 13 | Checks for class names. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/crystal/number_feature.test: -------------------------------------------------------------------------------- 1 | 1 2 | 1_1 3 | 1_1_1 4 | 0b10_01 5 | 0o1_2_3 6 | 0x123456789abcdef 7 | 012_345.678_9e+10_f64 8 | 9 | ---------------------------------------------------- 10 | 11 | [ 12 | ["number", "1"], 13 | ["number", "1_1"], 14 | ["number", "1_1_1"], 15 | ["number", "0b10_01"], 16 | ["number", "0o1_2_3"], 17 | ["number", "0x123456789abcdef"], 18 | ["number", "012_345.678_9e+10_f64"] 19 | ] 20 | 21 | ---------------------------------------------------- 22 | 23 | Checks for number literals. 24 | -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/csharp/number_feature.test: -------------------------------------------------------------------------------- 1 | 42 2 | 3.14159 3 | 0xbabe 4 | 0XBABE 5 | 6 | ---------------------------------------------------- 7 | 8 | [ 9 | ["number", "42"], 10 | ["number", "3.14159"], 11 | ["number", "0xbabe"], 12 | ["number", "0XBABE"] 13 | ] 14 | 15 | ---------------------------------------------------- 16 | 17 | Checks for decimal and hexadecimal numbers. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/csharp/preprocessor_feature.test: -------------------------------------------------------------------------------- 1 | #define DEBUG 2 | #if DEBUG 3 | #endif 4 | 5 | ---------------------------------------------------- 6 | 7 | [ 8 | ["preprocessor", "#define DEBUG"], 9 | ["preprocessor", "#if DEBUG"], 10 | ["preprocessor", "#endif"] 11 | ] 12 | 13 | ---------------------------------------------------- 14 | 15 | Checks for preprocessor directives. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/css!+css-extras/entity_feature.test: -------------------------------------------------------------------------------- 1 | \0022 2 | \20B9 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["entity", "\\0022"], 8 | ["entity", "\\20B9"] 9 | ] 10 | 11 | ---------------------------------------------------- 12 | 13 | Checks for entities. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/css!+css-extras/hexcode_feature.test: -------------------------------------------------------------------------------- 1 | #ff0000 2 | #BADA55 3 | #4dd 4 | #D0C 5 | 6 | ---------------------------------------------------- 7 | 8 | [ 9 | ["hexcode", "#ff0000"], 10 | ["hexcode", "#BADA55"], 11 | ["hexcode", "#4dd"], 12 | ["hexcode", "#D0C"] 13 | ] 14 | 15 | ---------------------------------------------------- 16 | 17 | Checks for hexadecimal colors. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/css!+css-extras/number_feature.test: -------------------------------------------------------------------------------- 1 | 42 2 | 3.14159 3 | 42% 4 | 3.14% 5 | 6 | ---------------------------------------------------- 7 | 8 | [ 9 | ["number", "42"], 10 | ["number", "3.14159"], 11 | ["number", "42%"], 12 | ["number", "3.14%"] 13 | ] 14 | 15 | ---------------------------------------------------- 16 | 17 | Checks for numbers. 18 | -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/css/comment_feature.test: -------------------------------------------------------------------------------- 1 | /**/ 2 | /* foo */ 3 | /* foo 4 | bar */ 5 | 6 | ---------------------------------------------------- 7 | 8 | [ 9 | ["comment", "/**/"], 10 | ["comment", "/* foo */"], 11 | ["comment", "/* foo\r\nbar */"] 12 | ] 13 | 14 | ---------------------------------------------------- 15 | 16 | Checks for empty comment, single-line comment and multi-line comment. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/css/important_feature.test: -------------------------------------------------------------------------------- 1 | color: red !important; 2 | padding: 10px 20px 30px !important; 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["property", "color"], 8 | ["punctuation", ":"], 9 | " red ", 10 | ["important", "!important"], 11 | ["punctuation", ";"], 12 | ["property", "padding"], 13 | ["punctuation", ":"], 14 | " 10px 20px 30px ", 15 | ["important", "!important"], 16 | ["punctuation", ";"] 17 | ] 18 | 19 | ---------------------------------------------------- 20 | 21 | Checks for !important rule. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/css/string_feature.test: -------------------------------------------------------------------------------- 1 | "f\"oo" 2 | 'f\'oo' 3 | "foo\ 4 | bar" 5 | 'foo\ 6 | bar' 7 | 8 | ---------------------------------------------------- 9 | 10 | [ 11 | ["string", "\"f\\\"oo\""], 12 | ["string", "'f\\'oo'"], 13 | ["string", "\"foo\\\r\nbar\""], 14 | ["string", "'foo\\\r\nbar'"] 15 | ] 16 | 17 | ---------------------------------------------------- 18 | 19 | Checks for single-quoted and double-quoted strings. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/css/url_feature.test: -------------------------------------------------------------------------------- 1 | url(foo.png) 2 | url('foo.png') 3 | url("foo.png") 4 | url('foo\ 5 | bar.png') 6 | url("foo\ 7 | bar.png") 8 | 9 | ---------------------------------------------------- 10 | 11 | [ 12 | ["url", "url(foo.png)"], 13 | ["url", "url('foo.png')"], 14 | ["url", "url(\"foo.png\")"], 15 | ["url", "url('foo\\\r\nbar.png')"], 16 | ["url", "url(\"foo\\\r\nbar.png\")"] 17 | ] 18 | 19 | ---------------------------------------------------- 20 | 21 | Checks for url(), unquoted, single-quoted and double-quoted. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/d/comment_feature.test: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env rdmd 2 | 3 | /++/ 4 | /+ foo 5 | bar +/ 6 | /+ foo 7 | /+ 8 | bar +/ 9 | baz +/ 10 | 11 | ---------------------------------------------------- 12 | 13 | [ 14 | ["comment", "#!/usr/bin/env rdmd"], 15 | ["comment", "/++/"], 16 | ["comment", "/+ foo\r\nbar +/"], 17 | ["comment", "/+ foo\r\n\t/+\r\n\tbar +/\r\nbaz +/"] 18 | ] 19 | 20 | ---------------------------------------------------- 21 | 22 | Checks for shebang and nestable multi-line comments. 23 | Other comments are tested in clike. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/d/property_feature.test: -------------------------------------------------------------------------------- 1 | @property int data() 2 | @disable this(); 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["property", "@property"], 8 | ["keyword", "int"], 9 | ["function", "data"], ["punctuation", "("], ["punctuation", ")"], 10 | ["property", "@disable"], 11 | ["keyword", "this"], ["punctuation", "("], ["punctuation", ")"], 12 | ["punctuation", ";"] 13 | ] 14 | 15 | ---------------------------------------------------- 16 | 17 | Check for properties. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/d/token-string_feature.test: -------------------------------------------------------------------------------- 1 | q{foo} 2 | q{ q{bar} } 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["token-string", "q{foo}"], 8 | ["token-string", "q{ q{bar} }"] 9 | ] 10 | 11 | ---------------------------------------------------- 12 | 13 | Checks for token strings. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/dart/metadata_feature.test: -------------------------------------------------------------------------------- 1 | @deprecated 2 | @override 3 | @todo('seth', 'make this do something') 4 | 5 | ---------------------------------------------------- 6 | 7 | [ 8 | ["metadata", "@deprecated"], 9 | ["metadata", "@override"], 10 | ["metadata", "@todo"], 11 | ["punctuation", "("], 12 | ["string", "'seth'"], 13 | ["punctuation", ","], 14 | ["string", "'make this do something'"], 15 | ["punctuation", ")"] 16 | ] 17 | 18 | ---------------------------------------------------- 19 | 20 | Checks for metadata. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/diff/coord_feature.test: -------------------------------------------------------------------------------- 1 | 7c7 2 | 3 | *** 4,8 **** 4 | --- 4,8 ---- 5 | 6 | @@ -4,5 +4,5 @@ 7 | 8 | ---------------------------------------------------- 9 | 10 | [ 11 | ["coord", "7c7"], 12 | 13 | ["coord", "*** 4,8 ****"], 14 | ["coord", "--- 4,8 ----"], 15 | 16 | ["coord", "@@ -4,5 +4,5 @@"] 17 | ] 18 | 19 | ---------------------------------------------------- 20 | 21 | Checks for coords. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/diff/diff_feature.test: -------------------------------------------------------------------------------- 1 | ! qt: core 2 | 3 | - qt: core 4 | + qt: core gui 5 | 6 | < qt: core 7 | > qt: core quick 8 | 9 | ---------------------------------------------------- 10 | 11 | [ 12 | ["diff", "! qt: core"], 13 | ["deleted", "- qt: core"], 14 | ["inserted", "+ qt: core gui"], 15 | ["deleted", "< qt: core"], 16 | ["inserted", "> qt: core quick"] 17 | ] 18 | 19 | ---------------------------------------------------- 20 | 21 | Checks for deleted, inserted and different lines. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/docker/comment_feature.test: -------------------------------------------------------------------------------- 1 | # 2 | # foobar 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["comment", "#"], 8 | ["comment", "# foobar"] 9 | ] 10 | 11 | ---------------------------------------------------- 12 | 13 | Checks for comments. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/docker/string_feature.test: -------------------------------------------------------------------------------- 1 | "" 2 | "fo\"obar" 3 | "foo\ 4 | bar" 5 | '' 6 | 'fo\'obar' 7 | 'foo\ 8 | bar' 9 | 10 | ---------------------------------------------------- 11 | 12 | [ 13 | ["string", "\"\""], 14 | ["string", "\"fo\\\"obar\""], 15 | ["string", "\"foo\\\r\nbar\""], 16 | ["string", "''"], 17 | ["string", "'fo\\'obar'"], 18 | ["string", "'foo\\\r\nbar'"] 19 | ] 20 | 21 | ---------------------------------------------------- 22 | 23 | Checks for strings. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/eiffel/boolean_feature.test: -------------------------------------------------------------------------------- 1 | True 2 | False 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["boolean", "True"], 8 | ["boolean", "False"] 9 | ] 10 | 11 | ---------------------------------------------------- 12 | 13 | Checks for booleans. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/eiffel/char_feature.test: -------------------------------------------------------------------------------- 1 | 'a' 2 | '%'' 3 | '%/123/' 4 | 5 | ---------------------------------------------------- 6 | 7 | [ 8 | ["char", "'a'"], 9 | ["char", "'%''"], 10 | ["char", "'%/123/'"] 11 | ] 12 | 13 | ---------------------------------------------------- 14 | 15 | Checks for chars. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/eiffel/comment_feature.test: -------------------------------------------------------------------------------- 1 | -- 2 | -- foo bar 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["comment", "--"], 8 | ["comment", "-- foo bar"] 9 | ] 10 | 11 | ---------------------------------------------------- 12 | 13 | Checks for comments. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/elixir/atom_feature.test: -------------------------------------------------------------------------------- 1 | :true 2 | :false 3 | :FooBar42 4 | 5 | ---------------------------------------------------- 6 | 7 | [ 8 | ["atom", ":true"], 9 | ["atom", ":false"], 10 | ["atom", ":FooBar42"] 11 | ] 12 | 13 | ---------------------------------------------------- 14 | 15 | Checks for atoms. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/elixir/attribute_feature.test: -------------------------------------------------------------------------------- 1 | @vsn 2 2 | @moduledoc """ 3 | foobar 4 | """ 5 | @tag :external 6 | 7 | ---------------------------------------------------- 8 | 9 | [ 10 | ["attribute", "@vsn"], ["number", "2"], 11 | ["attribute", "@moduledoc"], ["string", [ 12 | "\"\"\"\r\nfoobar\r\n\"\"\"" 13 | ]], 14 | ["attribute", "@tag"], ["atom", ":external"] 15 | ] 16 | 17 | ---------------------------------------------------- 18 | 19 | Checks for module attributes. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/elixir/boolean_feature.test: -------------------------------------------------------------------------------- 1 | true 2 | false 3 | nil 4 | 5 | ---------------------------------------------------- 6 | 7 | [ 8 | ["boolean", "true"], 9 | ["boolean", "false"], 10 | ["boolean", "nil"] 11 | ] 12 | 13 | ---------------------------------------------------- 14 | 15 | Checks for booleans and nil. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/elixir/comment_feature.test: -------------------------------------------------------------------------------- 1 | # 2 | # Foobar 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["comment", "#"], 8 | ["comment", "# Foobar"] 9 | ] 10 | 11 | ---------------------------------------------------- 12 | 13 | Checks for comments. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/elixir/issue775.test: -------------------------------------------------------------------------------- 1 | @doc """ 2 | ## Parameters 3 | """ 4 | 5 | ---------------------------------------------------- 6 | 7 | [ 8 | ["attribute", "@doc"], 9 | ["string", [ 10 | "\"\"\"\r\n## Parameters\r\n\"\"\"" 11 | ]] 12 | ] 13 | 14 | ---------------------------------------------------- 15 | 16 | Ensures that markdown headers are not highlighted as comments inside strings. 17 | See #775 for details. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/erlang/atom_feature.test: -------------------------------------------------------------------------------- 1 | foo 2 | foo@_bar 3 | 'foo bar' 4 | '\'\\' 5 | 6 | ---------------------------------------------------- 7 | 8 | [ 9 | ["atom", "foo"], 10 | ["atom", "foo@_bar"], 11 | ["quoted-atom", "'foo bar'"], 12 | ["quoted-atom", "'\\'\\\\'"] 13 | ] 14 | 15 | ---------------------------------------------------- 16 | 17 | Checks for atoms and quoted atoms. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/erlang/boolean_feature.test: -------------------------------------------------------------------------------- 1 | true 2 | false 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["boolean", "true"], 8 | ["boolean", "false"] 9 | ] 10 | 11 | ---------------------------------------------------- 12 | 13 | Checks for booleans. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/erlang/comment_feature.test: -------------------------------------------------------------------------------- 1 | % foo bar 2 | 3 | ---------------------------------------------------- 4 | 5 | [ 6 | ["comment", "% foo bar"] 7 | ] 8 | 9 | ---------------------------------------------------- 10 | 11 | Checks for comments. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/erlang/function_feature.test: -------------------------------------------------------------------------------- 1 | spawn( 2 | foo@_bar( 3 | 'foo bar'( 4 | '\'\\'( 5 | 6 | ---------------------------------------------------- 7 | 8 | [ 9 | ["function", "spawn"], ["punctuation", "("], 10 | ["function", "foo@_bar"], ["punctuation", "("], 11 | ["quoted-function", "'foo bar'"], ["punctuation", "("], 12 | ["quoted-function", "'\\'\\\\'"], ["punctuation", "("] 13 | ] 14 | 15 | ---------------------------------------------------- 16 | 17 | Checks for functions and quoted functions. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/erlang/keyword_feature.test: -------------------------------------------------------------------------------- 1 | fun when case of 2 | end if receive 3 | after try catch 4 | 5 | ---------------------------------------------------- 6 | 7 | [ 8 | ["keyword", "fun"], ["keyword", "when"], ["keyword", "case"], ["keyword", "of"], 9 | ["keyword", "end"], ["keyword", "if"], ["keyword", "receive"], 10 | ["keyword", "after"], ["keyword", "try"], ["keyword", "catch"] 11 | ] 12 | 13 | ---------------------------------------------------- 14 | 15 | Checks for all keywords. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/erlang/number_feature.test: -------------------------------------------------------------------------------- 1 | 42 2 | 2#101 3 | 16#1f 4 | 2.3 5 | 2.3e3 6 | 2.3e-3 7 | $A 8 | $\n 9 | 10 | ---------------------------------------------------- 11 | 12 | [ 13 | ["number", "42"], 14 | ["number", "2#101"], 15 | ["number", "16#1f"], 16 | ["number", "2.3"], 17 | ["number", "2.3e3"], 18 | ["number", "2.3e-3"], 19 | ["number", "$A"], 20 | ["number", "$\\n"] 21 | ] 22 | 23 | ---------------------------------------------------- 24 | 25 | Checks for numbers and character codes. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/erlang/string_feature.test: -------------------------------------------------------------------------------- 1 | "" 2 | "foo bar" 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["string", "\"\""], 8 | ["string", "\"foo bar\""] 9 | ] 10 | 11 | ---------------------------------------------------- 12 | 13 | Checks for strings. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/erlang/variable_feature.test: -------------------------------------------------------------------------------- 1 | Foo 2 | ?Bar 3 | _ 4 | Foo@_bar 5 | 6 | ---------------------------------------------------- 7 | 8 | [ 9 | ["variable", "Foo"], 10 | ["variable", "?Bar"], 11 | ["variable", "_"], 12 | ["variable", "Foo@_bar"] 13 | ] 14 | 15 | ---------------------------------------------------- 16 | 17 | Checks for variables. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/fortran+pure/fortran_inclusion.test: -------------------------------------------------------------------------------- 1 | %< -*- Fortran90 -*- 2 | 21_SHORT 3 | %> 4 | 5 | ---------------------------------------------------- 6 | 7 | [ 8 | ["inline-lang-fortran", [ 9 | ["delimiter", "%< "], 10 | ["lang", "-*- Fortran90 -*-"], 11 | ["number", "21_SHORT"], 12 | ["delimiter", "%>"] 13 | ]] 14 | ] 15 | 16 | ---------------------------------------------------- 17 | 18 | Checks for Fortran in Pure. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/fortran/boolean_feature.test: -------------------------------------------------------------------------------- 1 | .TRUE. 2 | .false. 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["boolean", ".TRUE."], 8 | ["boolean", ".false."] 9 | ] 10 | 11 | ---------------------------------------------------- 12 | 13 | Checks for boolean. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/fortran/comment_feature.test: -------------------------------------------------------------------------------- 1 | ! 2 | ! foobar 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["comment", "!"], 8 | ["comment", "! foobar"] 9 | ] 10 | 11 | ---------------------------------------------------- 12 | 13 | Checks for comments. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/fsharp/comment_feature.test: -------------------------------------------------------------------------------- 1 | // foobar 2 | (**) 3 | (* foo 4 | bar *) 5 | 6 | ---------------------------------------------------- 7 | 8 | [ 9 | ["comment", "// foobar"], 10 | ["comment", "(**)"], 11 | ["comment", "(* foo\r\nbar *)"] 12 | ] 13 | 14 | ---------------------------------------------------- 15 | 16 | Checks for single-line and multi-line comments. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/fsharp/preprocessor_feature.test: -------------------------------------------------------------------------------- 1 | #if foo 2 | #else 3 | #endif 4 | 5 | ---------------------------------------------------- 6 | 7 | [ 8 | ["preprocessor", "#if foo"], 9 | ["preprocessor", "#else"], 10 | ["preprocessor", "#endif"] 11 | ] 12 | 13 | ---------------------------------------------------- 14 | 15 | Checks for preprocessor directives. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/gherkin/comment_feature.test: -------------------------------------------------------------------------------- 1 | # 2 | # foo bar 3 | # foobar 4 | 5 | ---------------------------------------------------- 6 | 7 | [ 8 | ["comment", "#"], 9 | ["comment", "# foo bar"], 10 | ["comment", "# foobar"] 11 | ] 12 | 13 | ---------------------------------------------------- 14 | 15 | Checks for comments. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/gherkin/outline_feature.test: -------------------------------------------------------------------------------- 1 | 2 | 3 | ---------------------------------------------------- 4 | 5 | [ 6 | ["outline", ""] 7 | ] 8 | 9 | ---------------------------------------------------- 10 | 11 | Checks for single outlines. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/gherkin/pystring_feature.test: -------------------------------------------------------------------------------- 1 | """ 2 | foo 3 | bar 4 | """ 5 | 6 | ''' 7 | foo 8 | bar 9 | ''' 10 | 11 | ---------------------------------------------------- 12 | 13 | [ 14 | ["pystring", "\"\"\"\r\nfoo\r\nbar\r\n\"\"\""], 15 | ["pystring", "'''\r\nfoo\r\nbar\r\n'''"] 16 | ] 17 | 18 | ---------------------------------------------------- 19 | 20 | Checks for pystrings. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/gherkin/tag_feature.test: -------------------------------------------------------------------------------- 1 | @important 2 | @billing @bicker @annoy 3 | @foo 4 | 5 | ---------------------------------------------------- 6 | 7 | [ 8 | ["tag", "@important"], 9 | ["tag", "@billing"], 10 | ["tag", "@bicker"], 11 | ["tag", "@annoy"], 12 | ["tag", "@foo"] 13 | ] 14 | 15 | ---------------------------------------------------- 16 | 17 | Checks for tags. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/git/command_feature.test: -------------------------------------------------------------------------------- 1 | $ git add file.txt 2 | foo@foobar ~ $ git diff --cached 3 | $ git log -p -i 4 | 5 | ---------------------------------------------------- 6 | 7 | [ 8 | ["command", ["$ git add file.txt"]], 9 | ["command", ["foo@foobar ~ $ git diff", ["parameter", " --cached"]]], 10 | ["command", ["$ git log", ["parameter", " -p"], ["parameter", " -i"]]] 11 | ] 12 | 13 | ---------------------------------------------------- 14 | 15 | Checks for git commands, with and without parameters. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/git/comment_feature.test: -------------------------------------------------------------------------------- 1 | # On branch gh-pages 2 | # Changes to be committed: 3 | # (use "git reset HEAD ..." to unstage) 4 | # 5 | 6 | ---------------------------------------------------- 7 | 8 | [ 9 | ["comment", "# On branch gh-pages"], 10 | ["comment", "# Changes to be committed:"], 11 | ["comment", "# (use \"git reset HEAD ...\" to unstage)"], 12 | ["comment", "#"] 13 | ] 14 | 15 | ---------------------------------------------------- 16 | 17 | Checks for comments. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/git/coord_feature.test: -------------------------------------------------------------------------------- 1 | @@ -1 +1,2 @@ 2 | @@@ -98,20 -98,12 +98,20 @@@ 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["coord", "@@ -1 +1,2 @@"], 8 | ["coord", "@@@ -98,20 -98,12 +98,20 @@@"] 9 | ] 10 | 11 | ---------------------------------------------------- 12 | 13 | Checks for coords. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/git/string_feature.test: -------------------------------------------------------------------------------- 1 | "" 2 | "foo" 3 | '' 4 | 'bar' 5 | 6 | ---------------------------------------------------- 7 | 8 | [ 9 | ["string", "\"\""], 10 | ["string", "\"foo\""], 11 | ["string", "''"], 12 | ["string", "'bar'"] 13 | ] 14 | 15 | ---------------------------------------------------- 16 | 17 | Checks for double-quoted and single-quoted strings. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/glsl/comment_feature.test: -------------------------------------------------------------------------------- 1 | /**/ 2 | /* foo 3 | bar */ 4 | // 5 | // foo 6 | // foo\ 7 | bar 8 | 9 | ---------------------------------------------------- 10 | 11 | [ 12 | ["comment", "/**/"], 13 | ["comment", "/* foo\r\nbar */"], 14 | ["comment", "//"], 15 | ["comment", "// foo"], 16 | ["comment", "// foo\\\r\nbar"] 17 | ] 18 | 19 | ---------------------------------------------------- 20 | 21 | Checks for comments. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/go/boolean_feature.test: -------------------------------------------------------------------------------- 1 | _ 2 | iota 3 | nil 4 | true 5 | false 6 | 7 | ---------------------------------------------------- 8 | 9 | [ 10 | ["boolean", "_"], 11 | ["boolean", "iota"], 12 | ["boolean", "nil"], 13 | ["boolean", "true"], 14 | ["boolean", "false"] 15 | ] 16 | 17 | ---------------------------------------------------- 18 | 19 | Checks for all boolean values. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/groovy/annotation_feature.test: -------------------------------------------------------------------------------- 1 | @BaseScript MyBaseClass baseScript 2 | @DelegatesTo(EmailSpec) 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["annotation", "@BaseScript"], 8 | " MyBaseClass baseScript\r\n", 9 | ["annotation", "@DelegatesTo"], 10 | ["punctuation", "("], 11 | "EmailSpec", 12 | ["punctuation", ")"] 13 | ] 14 | 15 | ---------------------------------------------------- 16 | 17 | Checks for annotations. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/groovy/shebang_feature.test: -------------------------------------------------------------------------------- 1 | #!foobar 2 | #!/usr/bin/env groovy 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["shebang", "#!foobar"], 8 | ["shebang", "#!/usr/bin/env groovy"] 9 | ] 10 | 11 | ---------------------------------------------------- 12 | 13 | Check for shebang comments. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/groovy/spock-block_feature.test: -------------------------------------------------------------------------------- 1 | setup: 2 | given: 3 | when: 4 | then: 5 | and: 6 | cleanup: 7 | expect: 8 | where: 9 | 10 | ---------------------------------------------------- 11 | 12 | [ 13 | ["spock-block", "setup:"], 14 | ["spock-block", "given:"], 15 | ["spock-block", "when:"], 16 | ["spock-block", "then:"], 17 | ["spock-block", "and:"], 18 | ["spock-block", "cleanup:"], 19 | ["spock-block", "expect:"], 20 | ["spock-block", "where:"] 21 | ] 22 | 23 | ---------------------------------------------------- 24 | 25 | Checks for all spock blocks. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/haml/code_feature.test: -------------------------------------------------------------------------------- 1 | ~ 42 2 | - 42 3 | = 42 4 | &= 42 5 | != 42 6 | 7 | ---------------------------------------------------- 8 | 9 | [ 10 | ["punctuation", "~"], ["code", [["number", "42"]]], 11 | ["punctuation", "-"], ["code", [["number", "42"]]], 12 | ["punctuation", "="], ["code", [["number", "42"]]], 13 | ["punctuation", "&="], ["code", [["number", "42"]]], 14 | ["punctuation", "!="], ["code", [["number", "42"]]] 15 | ] 16 | 17 | ---------------------------------------------------- 18 | 19 | Checks for single-line code. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/haml/doctype_feature.test: -------------------------------------------------------------------------------- 1 | !!! 2 | !!! 5 3 | !!! Strict 4 | 5 | ---------------------------------------------------- 6 | 7 | [ 8 | ["doctype", "!!!"], 9 | ["doctype", "!!! 5"], 10 | ["doctype", "!!! Strict"] 11 | ] 12 | 13 | ---------------------------------------------------- 14 | 15 | Checks for doctypes. 16 | -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/haml/interpolation_feature.test: -------------------------------------------------------------------------------- 1 | #{ 42 } 2 | #{ "foobar" } 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["interpolation", [ 8 | ["delimiter", "#{"], 9 | ["number", "42"], 10 | ["delimiter", "}"] 11 | ]], 12 | ["interpolation", [ 13 | ["delimiter", "#{"], 14 | ["string", ["\"foobar\""]], 15 | ["delimiter", "}"] 16 | ]] 17 | ] 18 | 19 | ---------------------------------------------------- 20 | 21 | Checks for interpolation in plain text. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/handlebars+jade/handlebars_inclusion.test: -------------------------------------------------------------------------------- 1 | :handlebars 2 | {{!comment}} 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["filter-handlebars", [ 8 | ["filter-name", ":handlebars"], 9 | ["handlebars-comment", "{{!comment}}"] 10 | ]] 11 | ] 12 | 13 | ---------------------------------------------------- 14 | 15 | Checks for handlebars filter in Jade. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/handlebars/boolean_feature.test: -------------------------------------------------------------------------------- 1 | {{ true }} 2 | {{{ false }}} 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["handlebars", [ 8 | ["delimiter", "{{"], ["boolean", "true"], ["delimiter", "}}"] 9 | ]], 10 | ["handlebars", [ 11 | ["delimiter", "{{{"], ["boolean", "false"], ["delimiter", "}}}"] 12 | ]] 13 | ] 14 | 15 | ---------------------------------------------------- 16 | 17 | Checks for all booleans. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/handlebars/comment_feature.test: -------------------------------------------------------------------------------- 1 | {{! foobar}} 2 | {{!-- foo bar baz --}} 3 | {{! foo 4 | bar }} 5 | {{!-- foo 6 | bar --}} 7 | 8 | ---------------------------------------------------- 9 | 10 | [ 11 | ["handlebars-comment", "{{! foobar}}"], 12 | ["handlebars-comment", "{{!-- foo bar baz --}}"], 13 | ["handlebars-comment", "{{! foo\r\nbar }}"], 14 | ["handlebars-comment", "{{!-- foo\r\nbar --}}"] 15 | ] 16 | 17 | ---------------------------------------------------- 18 | 19 | Checks for comments. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/haskell/char_feature.test: -------------------------------------------------------------------------------- 1 | 'a' 2 | '\n' 3 | '\23' 4 | '\xFE' 5 | 6 | ---------------------------------------------------- 7 | 8 | [ 9 | ["char", "'a'"], 10 | ["char", "'\\n'"], 11 | ["char", "'\\23'"], 12 | ["char", "'\\xFE'"] 13 | ] 14 | 15 | ---------------------------------------------------- 16 | 17 | Checks for chars. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/haskell/comment_feature.test: -------------------------------------------------------------------------------- 1 | -- foo 2 | {- foo 3 | bar -} 4 | 5 | ---------------------------------------------------- 6 | 7 | [ 8 | ["comment", "-- foo"], 9 | ["comment", "{- foo\r\nbar -}"] 10 | ] 11 | 12 | ---------------------------------------------------- 13 | 14 | Checks for single-line and multi-line comments. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/haskell/constant_feature.test: -------------------------------------------------------------------------------- 1 | Foo 2 | Foo.Bar 3 | Baz.Foobar_42 4 | 5 | ---------------------------------------------------- 6 | 7 | [ 8 | ["constant", "Foo"], 9 | ["constant", "Foo.Bar"], 10 | ["constant", "Baz.Foobar_42"] 11 | ] 12 | 13 | ---------------------------------------------------- 14 | 15 | Checks for constants. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/haskell/hvariable_feature.test: -------------------------------------------------------------------------------- 1 | foo 2 | Foo.bar 3 | Baz.foobar_42 4 | 5 | ---------------------------------------------------- 6 | 7 | [ 8 | ["hvariable", "foo"], 9 | ["hvariable", "Foo.bar"], 10 | ["hvariable", "Baz.foobar_42"] 11 | ] 12 | 13 | ---------------------------------------------------- 14 | 15 | Checks for hvariables. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/haskell/number_feature.test: -------------------------------------------------------------------------------- 1 | 42 2 | 3.14159 3 | 2E3 4 | 1.2e-4 5 | 0.9e+1 6 | 0o47 7 | 0xBadFace 8 | 9 | ---------------------------------------------------- 10 | 11 | [ 12 | ["number", "42"], 13 | ["number", "3.14159"], 14 | ["number", "2E3"], 15 | ["number", "1.2e-4"], 16 | ["number", "0.9e+1"], 17 | ["number", "0o47"], 18 | ["number", "0xBadFace"] 19 | ] 20 | 21 | ---------------------------------------------------- 22 | 23 | Checks for decimal, octal and hexadecimal numbers. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/haskell/string_feature.test: -------------------------------------------------------------------------------- 1 | "" 2 | "fo\"o" 3 | "foo \ 4 | \ bar" 5 | 6 | ---------------------------------------------------- 7 | 8 | [ 9 | ["string", "\"\""], 10 | ["string", "\"fo\\\"o\""], 11 | ["string", "\"foo \\\r\n \\ bar\""] 12 | ] 13 | 14 | ---------------------------------------------------- 15 | 16 | Checks for strings. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/inform7/comment_feature.test: -------------------------------------------------------------------------------- 1 | [Foobar] 2 | [Foo 3 | bar 4 | baz] 5 | 6 | ---------------------------------------------------- 7 | 8 | [ 9 | ["comment", "[Foobar]"], 10 | ["comment", "[Foo\r\nbar\r\nbaz]"] 11 | ] 12 | 13 | ---------------------------------------------------- 14 | 15 | Checks for comments. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/inform7/title_feature.test: -------------------------------------------------------------------------------- 1 | Volume 1 - Foobar 2 | Book 2 - Foobar 3 | Part 3 - Foobar 4 | Chapter 4 - Foobar 5 | Section 5 - Foobar 6 | Table 6 - Foobar 7 | 8 | ---------------------------------------------------- 9 | 10 | [ 11 | ["title", "Volume 1 - Foobar"], 12 | ["title", "Book 2 - Foobar"], 13 | ["title", "Part 3 - Foobar"], 14 | ["title", "Chapter 4 - Foobar"], 15 | ["title", "Section 5 - Foobar"], 16 | ["title", "Table 6 - Foobar"] 17 | ] 18 | 19 | ---------------------------------------------------- 20 | 21 | Checks for titles. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/ini/comment_feature.test: -------------------------------------------------------------------------------- 1 | ; 2 | ; foobar 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["comment", ";"], 8 | ["comment", "; foobar"] 9 | ] 10 | 11 | ---------------------------------------------------- 12 | 13 | Checks for comments. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/ini/important_feature.test: -------------------------------------------------------------------------------- 1 | [owner] 2 | [foobar] 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["important", "[owner]"], 8 | ["important", "[foobar]"] 9 | ] 10 | 11 | ---------------------------------------------------- 12 | 13 | Checks for section titles. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/ini/key_value_feature.test: -------------------------------------------------------------------------------- 1 | foo=Bar Baz 2 | foobar=42 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["constant", "foo"], 8 | ["attr-value", [ 9 | ["punctuation", "="], 10 | "Bar Baz" 11 | ]], 12 | ["constant", "foobar"], 13 | ["attr-value", [ 14 | ["punctuation", "="], 15 | "42" 16 | ]] 17 | ] 18 | 19 | ---------------------------------------------------- 20 | 21 | Checks for key/value pairs. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/j/adverb_feature.test: -------------------------------------------------------------------------------- 1 | ~ } 2 | / /. 3 | \ \. 4 | b. f. M. 5 | t. t: 6 | 7 | ---------------------------------------------------- 8 | 9 | [ 10 | ["adverb", "~"], ["adverb", "}"], 11 | ["adverb", "/"], ["adverb", "/."], 12 | ["adverb", "\\"], ["adverb", "\\."], 13 | ["adverb", "b."], ["adverb", "f."], ["adverb", "M."], 14 | ["adverb", "t."], ["adverb", "t:"] 15 | ] 16 | 17 | ---------------------------------------------------- 18 | 19 | Checks for adverbs. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/j/comment_feature.test: -------------------------------------------------------------------------------- 1 | NB. 2 | NB. Foo bar 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["comment", "NB."], 8 | ["comment", "NB. Foo bar"] 9 | ] 10 | 11 | ---------------------------------------------------- 12 | 13 | Checks for comments. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/j/string_feature.test: -------------------------------------------------------------------------------- 1 | '' 2 | 'fo''obar' 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["string", "''"], 8 | ["string", "'fo''obar'"] 9 | ] 10 | 11 | ---------------------------------------------------- 12 | 13 | Checks for strings. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/jade/comment_feature.test: -------------------------------------------------------------------------------- 1 | // foo 2 | bar 3 | 4 | // foo 5 | bar baz 6 | 7 | // foo 8 | 9 | // bar 10 | 11 | ---------------------------------------------------- 12 | 13 | [ 14 | ["comment", "// foo\r\n bar"], 15 | ["comment", "// foo\r\n\t\tbar baz"], 16 | ["comment", "// foo"], 17 | ["comment", "// bar"] 18 | ] 19 | 20 | ---------------------------------------------------- 21 | 22 | Checks for single-line comments. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/jade/doctype_feature.test: -------------------------------------------------------------------------------- 1 | doctype html 2 | doctype 1.1 3 | doctype html PUBLIC "-//W3C//DTD XHTML Basic 1.1//EN" 4 | 5 | ---------------------------------------------------- 6 | 7 | [ 8 | ["doctype", "doctype html"], 9 | ["doctype", "doctype 1.1"], 10 | ["doctype", "doctype html PUBLIC \"-//W3C//DTD XHTML Basic 1.1//EN\""] 11 | ] 12 | 13 | ---------------------------------------------------- 14 | 15 | Checks for doctypes. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/jade/plain-text_feature.test: -------------------------------------------------------------------------------- 1 | div foo 2 | span foo bar 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["tag", [ 8 | "div" 9 | ]], 10 | ["plain-text", "foo"], 11 | ["tag", [ 12 | "span" 13 | ]], 14 | ["plain-text", "foo bar"] 15 | ] 16 | 17 | ---------------------------------------------------- 18 | 19 | Checks for single-line plain text. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/javascript+http/javascript_inclusion.test: -------------------------------------------------------------------------------- 1 | Content-type: application/json 2 | 3 | {"foo":"bar"} 4 | 5 | ---------------------------------------------------- 6 | 7 | [ 8 | ["header-name", "Content-type:"], 9 | " application/json", 10 | ["application/json", [ 11 | ["punctuation", "{"], 12 | ["string", "\"foo\""], 13 | ["punctuation", ":"], 14 | ["string", "\"bar\""], 15 | ["punctuation", "}"] 16 | ]] 17 | ] 18 | 19 | ---------------------------------------------------- 20 | 21 | Checks for JSON content in HTTP. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/javascript/regex_feature.test: -------------------------------------------------------------------------------- 1 | /foo bar/ 2 | /foo/gimyu, 3 | /[\[\]]{2,4}(?:foo)*/; 4 | 5 | ---------------------------------------------------- 6 | 7 | [ 8 | ["regex", "/foo bar/"], 9 | ["regex", "/foo/gimyu"], ["punctuation", ","], 10 | ["regex", "/[\\[\\]]{2,4}(?:foo)*/"], ["punctuation", ";"] 11 | ] 12 | 13 | ---------------------------------------------------- 14 | 15 | Checks for regex. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/julia/boolean_feature.test: -------------------------------------------------------------------------------- 1 | true 2 | false 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["boolean", "true"], 8 | ["boolean", "false"] 9 | ] 10 | 11 | ---------------------------------------------------- 12 | 13 | Checks for booleans. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/julia/comment_feature.test: -------------------------------------------------------------------------------- 1 | # 2 | # foobar 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["comment", "#"], 8 | ["comment", "# foobar"] 9 | ] 10 | 11 | ---------------------------------------------------- 12 | 13 | Checks for comments. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/keyman/atrule_feature.test: -------------------------------------------------------------------------------- 1 | ansi begin unicode 2 | group using keys 3 | match nomatch 4 | 5 | ---------------------------------------------------- 6 | 7 | [ 8 | ["atrule", "ansi"], ["atrule", "begin"], ["atrule", "unicode"], 9 | ["atrule", "group"], ["atrule", "using keys"], 10 | ["atrule", "match"], ["atrule", "nomatch"] 11 | ] 12 | 13 | ---------------------------------------------------- 14 | 15 | Checks for all structural keywords. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/keyman/comment_feature.test: -------------------------------------------------------------------------------- 1 | c Foo 2 | c Foobar 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["comment", "c Foo"], 8 | ["comment", "c Foobar"] 9 | ] 10 | 11 | ---------------------------------------------------- 12 | 13 | Checks for comments. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/keyman/number_feature.test: -------------------------------------------------------------------------------- 1 | U+0041 2 | d67 3 | d1114111 4 | x20 5 | x10FFFF 6 | 4177777 7 | 8 | ---------------------------------------------------- 9 | 10 | [ 11 | ["number", "U+0041"], 12 | ["number", "d67"], 13 | ["number", "d1114111"], 14 | ["number", "x20"], 15 | ["number", "x10FFFF"], 16 | ["number", "4177777"] 17 | ] 18 | 19 | ---------------------------------------------------- 20 | 21 | Checks for unicode, decimal, hexadecimal and octal character codes. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/keyman/operator_feature.test: -------------------------------------------------------------------------------- 1 | + > 2 | \ , 3 | ( ) 4 | 5 | ---------------------------------------------------- 6 | 7 | [ 8 | ["operator", "+"], ["operator", ">"], 9 | ["operator", "\\"], ["operator", ","], 10 | ["operator", "("], ["operator", ")"] 11 | ] 12 | 13 | ---------------------------------------------------- 14 | 15 | Checks for all operators. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/keyman/string_feature.test: -------------------------------------------------------------------------------- 1 | '' 2 | "" 3 | 'foo' 4 | "bar" 5 | 6 | ---------------------------------------------------- 7 | 8 | [ 9 | ["string", "''"], 10 | ["string", "\"\""], 11 | ["string", "'foo'"], 12 | ["string", "\"bar\""] 13 | ] 14 | 15 | ---------------------------------------------------- 16 | 17 | Checks for single-quoted and double-quoted strings. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/keyman/tag_feature.test: -------------------------------------------------------------------------------- 1 | $keyman: 2 | $kmfl: 3 | $weaver: 4 | $keymanweb: 5 | $keymanonly: 6 | 7 | ---------------------------------------------------- 8 | 9 | [ 10 | ["tag", "$keyman:"], 11 | ["tag", "$kmfl:"], 12 | ["tag", "$weaver:"], 13 | ["tag", "$keymanweb:"], 14 | ["tag", "$keymanonly:"] 15 | ] 16 | 17 | ---------------------------------------------------- 18 | 19 | Checks for all prefixes. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/latex/comment_feature.test: -------------------------------------------------------------------------------- 1 | % 2 | % foobar 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["comment", "%"], 8 | ["comment", "% foobar"] 9 | ] 10 | 11 | ---------------------------------------------------- 12 | 13 | Checks for comments. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/latex/url_feature.test: -------------------------------------------------------------------------------- 1 | \url{http://prismjs.com} 2 | 3 | ---------------------------------------------------- 4 | 5 | [ 6 | ["function", "\\url"], ["punctuation", "{"], 7 | ["url", "http://prismjs.com"], ["punctuation", "}"] 8 | ] 9 | 10 | ---------------------------------------------------- 11 | 12 | Checks for URLs. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/less+jade/less_inclusion.test: -------------------------------------------------------------------------------- 1 | :less 2 | @foo: #123; 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["filter-less", [ 8 | ["filter-name", ":less"], 9 | ["variable", [ 10 | "@foo", 11 | ["punctuation", ":"] 12 | ]], 13 | " #123", 14 | ["punctuation", ";"] 15 | ]] 16 | ] 17 | 18 | ---------------------------------------------------- 19 | 20 | Checks for less filter in Jade. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/less/comment_feature.test: -------------------------------------------------------------------------------- 1 | // 2 | // foobar 3 | /**/ 4 | /* foo 5 | bar */ 6 | 7 | ---------------------------------------------------- 8 | 9 | [ 10 | ["comment", "//"], 11 | ["comment", "// foobar"], 12 | ["comment", "/**/"], 13 | ["comment", "/* foo\r\nbar */"] 14 | ] 15 | 16 | ---------------------------------------------------- 17 | 18 | Checks for single-line and multi-line comments. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/less/operator_feature.test: -------------------------------------------------------------------------------- 1 | + - * / 2 | 3 | ---------------------------------------------------- 4 | 5 | [ 6 | ["operator", "+"], 7 | ["operator", "-"], 8 | ["operator", "*"], 9 | ["operator", "/"] 10 | ] 11 | 12 | ---------------------------------------------------- 13 | 14 | Checks for operators. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/lolcode/boolean_feature.test: -------------------------------------------------------------------------------- 1 | WIN 2 | FAIL 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["boolean", "WIN"], 8 | ["boolean", "FAIL"] 9 | ] 10 | 11 | ---------------------------------------------------- 12 | 13 | Checks for booleans. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/lolcode/comment_feature.test: -------------------------------------------------------------------------------- 1 | OBTW foo 2 | bar TLDR 3 | BTW foobar 4 | 5 | ---------------------------------------------------- 6 | 7 | [ 8 | ["comment", "OBTW foo\r\nbar TLDR"], 9 | ["comment", "BTW foobar"] 10 | ] 11 | 12 | ---------------------------------------------------- 13 | 14 | Checks for single-line and multi-line comments. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/lolcode/function_feature.test: -------------------------------------------------------------------------------- 1 | I IZ foobar 2 | HOW IZ I foobar 3 | IZ fooBAR 4 | 5 | ---------------------------------------------------- 6 | 7 | [ 8 | ["keyword", "I IZ"], 9 | ["function", "foobar"], 10 | ["keyword", "HOW IZ I"], 11 | ["function", "foobar"], 12 | ["keyword", "IZ"], 13 | ["function", "fooBAR"] 14 | ] 15 | 16 | ---------------------------------------------------- 17 | 18 | Checks for functions. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/lolcode/label_feature.test: -------------------------------------------------------------------------------- 1 | IM IN YR foobar 2 | IM OUTTA YR fooBAR 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["keyword", "IM IN YR"], 8 | ["label", "foobar"], 9 | ["keyword", "IM OUTTA YR"], 10 | ["label", "fooBAR"] 11 | ] 12 | 13 | ---------------------------------------------------- 14 | 15 | Checks for labels. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/lolcode/number_feature.test: -------------------------------------------------------------------------------- 1 | 42 2 | 3.14159 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["number", "42"], 8 | ["number", "3.14159"] 9 | ] 10 | 11 | ---------------------------------------------------- 12 | 13 | Checks for numbers. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/lolcode/variable_feature.test: -------------------------------------------------------------------------------- 1 | IT 2 | 3 | ---------------------------------------------------- 4 | 5 | [ 6 | ["variable", "IT"] 7 | ] 8 | 9 | ---------------------------------------------------- 10 | 11 | Checks for variables. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/makefile/builtin_feature.test: -------------------------------------------------------------------------------- 1 | .PHONY: 2 | .DELETE_ON_ERROR: 3 | .SECONDEXPANSION: 4 | 5 | ---------------------------------------------------- 6 | 7 | [ 8 | ["builtin", ".PHONY"], ["punctuation", ":"], 9 | ["builtin", ".DELETE_ON_ERROR"], ["punctuation", ":"], 10 | ["builtin", ".SECONDEXPANSION"], ["punctuation", ":"] 11 | ] 12 | 13 | ---------------------------------------------------- 14 | 15 | Checks for built-in target names. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/makefile/comment_feature.test: -------------------------------------------------------------------------------- 1 | # 2 | # foobar 3 | # foo \ 4 | bar 5 | 6 | ---------------------------------------------------- 7 | 8 | [ 9 | ["comment", "#"], 10 | ["comment", "# foobar"], 11 | ["comment", "# foo \\\r\nbar"] 12 | ] 13 | 14 | ---------------------------------------------------- 15 | 16 | Checks for comments. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/makefile/operator_feature.test: -------------------------------------------------------------------------------- 1 | = ::= ?= 2 | := += != 3 | | @ 4 | 5 | ---------------------------------------------------- 6 | 7 | [ 8 | ["operator", "="], ["operator", "::="], ["operator", "?="], 9 | ["operator", ":="], ["operator", "+="], ["operator", "!="], 10 | ["operator", "|"], ["operator", "@"] 11 | ] 12 | 13 | ---------------------------------------------------- 14 | 15 | Checks for operators. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/makefile/string_feature.test: -------------------------------------------------------------------------------- 1 | "" 2 | '' 3 | "fo\"o" 4 | 'fo\'o' 5 | "foo\ 6 | bar" 7 | 'foo\ 8 | bar' 9 | 10 | ---------------------------------------------------- 11 | 12 | [ 13 | ["string", "\"\""], 14 | ["string", "''"], 15 | ["string", "\"fo\\\"o\""], 16 | ["string", "'fo\\'o'"], 17 | ["string", "\"foo\\\r\nbar\""], 18 | ["string", "'foo\\\r\nbar'"] 19 | ] 20 | 21 | ---------------------------------------------------- 22 | 23 | Checks for single-quoted and double-quoted strings. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/makefile/symbol_feature.test: -------------------------------------------------------------------------------- 1 | edit : 2 | %oo: 3 | $(foo): 4 | 5 | ---------------------------------------------------- 6 | 7 | [ 8 | ["symbol", ["edit "]], ["punctuation", ":"], 9 | ["symbol", ["%oo"]], ["punctuation", ":"], 10 | ["symbol", [ 11 | ["variable", "$"], 12 | "(foo)" 13 | ]], ["punctuation", ":"] 14 | ] 15 | 16 | ---------------------------------------------------- 17 | 18 | Checks for targets, optionally containing interpolation. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/makefile/variable_feature.test: -------------------------------------------------------------------------------- 1 | $@ 2 | $$< 3 | $(@D) 4 | $(foobar) 5 | $(2) 6 | 7 | ---------------------------------------------------- 8 | 9 | [ 10 | ["variable", "$@"], 11 | ["variable", "$$<"], 12 | ["variable", "$(@D)"], 13 | ["variable", "$"], ["punctuation", "("], "foobar", ["punctuation", ")"], 14 | ["variable", "$"], ["punctuation", "("], "2", ["punctuation", ")"] 15 | ] 16 | 17 | ---------------------------------------------------- 18 | 19 | Checks for variables. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/markdown+jade/markdown_inclusion.test: -------------------------------------------------------------------------------- 1 | :markdown 2 | # title 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["filter-markdown", [ 8 | ["filter-name", ":markdown"], 9 | ["title", [ 10 | ["punctuation", "#"], 11 | " title" 12 | ]] 13 | ]] 14 | ] 15 | 16 | ---------------------------------------------------- 17 | 18 | Checks for markdown filter in Jade. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/markdown/blockquote_feature.test: -------------------------------------------------------------------------------- 1 | > foo 2 | >> foo 3 | > > foo 4 | 5 | ---------------------------------------------------- 6 | 7 | [ 8 | ["blockquote", ">"], " foo\r\n", 9 | ["blockquote", ">>"], " foo\r\n", 10 | ["blockquote", "> >"], " foo" 11 | ] 12 | 13 | ---------------------------------------------------- 14 | 15 | Checks for blockquotes. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/markdown/hr_feature.test: -------------------------------------------------------------------------------- 1 | *** 2 | --- 3 | * * * 4 | 5 | ---------------------------------------------------- 6 | 7 | [ 8 | ["hr", "***"], 9 | ["hr", "---"], 10 | ["hr", "* * *"] 11 | ] 12 | 13 | ---------------------------------------------------- 14 | 15 | Checks for hr. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/markdown/list_feature.test: -------------------------------------------------------------------------------- 1 | * foo 2 | + bar 3 | - baz 4 | 5 | 1. foo 6 | 2. bar 7 | 42. baz 8 | 9 | ---------------------------------------------------- 10 | 11 | [ 12 | ["list", "*"], " foo\r\n", 13 | ["list", "+"], " bar\r\n", 14 | ["list", "-"], " baz\r\n\r\n", 15 | ["list", "1."], " foo\r\n ", 16 | ["list", "2."], " bar\r\n", 17 | ["list", "42."], " baz" 18 | ] 19 | 20 | ---------------------------------------------------- 21 | 22 | Checks for list symbols. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/markdown/url_feature.test: -------------------------------------------------------------------------------- 1 | [foo](http://prismjs.com) 2 | ![foo](http://prismjs.com "Foo\"bar") 3 | [foo] [bar] 4 | 5 | ---------------------------------------------------- 6 | 7 | [ 8 | ["url", [ 9 | "[foo](http://prismjs.com)" 10 | ]], 11 | ["url", [ 12 | "![foo](http://prismjs.com ", 13 | ["string", "\"Foo\\\"bar\""], 14 | ")" 15 | ]], 16 | ["url", [ 17 | "[foo] [", 18 | ["variable", "bar"], 19 | "]" 20 | ]] 21 | ] 22 | 23 | ---------------------------------------------------- 24 | 25 | Checks for URLs. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/markup+haml/markup_feature.test: -------------------------------------------------------------------------------- 1 |
2 | 3 | ---------------------------------------------------- 4 | 5 | [ 6 | ["markup", [["tag", [["tag", [["punctuation", "<"], "div"]], ["punctuation", ">"]]]]] 7 | ] 8 | 9 | ---------------------------------------------------- 10 | 11 | Checks for embedded markup. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/markup/cdata_feature.test: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | ---------------------------------------------------- 7 | 8 | [ 9 | ["cdata", ""], 10 | ["cdata", ""] 11 | ] 12 | 13 | ---------------------------------------------------- 14 | 15 | Checks for CDATA sections, single-line and multi-line. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/markup/comment_feature.test: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 6 | ---------------------------------------------------- 7 | 8 | [ 9 | ["comment", ""], 10 | ["comment", ""], 11 | ["comment", ""] 12 | ] 13 | 14 | ---------------------------------------------------- 15 | 16 | Checks for empty comment, single-line comment and multi-line comment. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/markup/entity_feature.test: -------------------------------------------------------------------------------- 1 | & ϑ ⛵   2 | 3 | ---------------------------------------------------- 4 | 5 | [ 6 | ["entity", "&"], 7 | ["entity", "ϑ"], 8 | ["entity", "⛵"], 9 | ["entity", " "] 10 | ] 11 | 12 | ---------------------------------------------------- 13 | 14 | Checks for HTML/XML character entity references. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/markup/prolog_feature.test: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 6 | ---------------------------------------------------- 7 | 8 | [ 9 | ["prolog", ""], 10 | ["prolog", ""], 11 | ["prolog", ""] 12 | ] 13 | 14 | ---------------------------------------------------- 15 | 16 | Checks for different XML prologs, single-line and multi-line. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/matlab/comment_feature.test: -------------------------------------------------------------------------------- 1 | % foobar 2 | %{}% 3 | %{ foo 4 | bar }% 5 | 6 | ---------------------------------------------------- 7 | 8 | [ 9 | ["comment", "% foobar"], 10 | ["comment", "%{}%"], 11 | ["comment", "%{ foo\r\nbar }%"] 12 | ] 13 | 14 | ---------------------------------------------------- 15 | 16 | Checks for single-line and multi-line comments. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/matlab/function_feature.test: -------------------------------------------------------------------------------- 1 | foo() 2 | foo_42() 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["function", "foo"], ["punctuation", "("], ["punctuation", ")"], 8 | ["function", "foo_42"], ["punctuation", "("], ["punctuation", ")"] 9 | ] 10 | 11 | ---------------------------------------------------- 12 | 13 | Checks for functions. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/matlab/number_feature.test: -------------------------------------------------------------------------------- 1 | 42 2 | 3.14159 3 | 2.1e2 4 | 3.2E+4 5 | 0.1e-5 6 | 3i 7 | 2j 8 | i 9 | j 10 | 11 | ---------------------------------------------------- 12 | 13 | [ 14 | ["number", "42"], 15 | ["number", "3.14159"], 16 | ["number", "2.1e2"], 17 | ["number", "3.2E+4"], 18 | ["number", "0.1e-5"], 19 | ["number", "3i"], 20 | ["number", "2j"], 21 | ["number", "i"], 22 | ["number", "j"] 23 | ] 24 | 25 | ---------------------------------------------------- 26 | 27 | Checks for numbers. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/matlab/string_feature.test: -------------------------------------------------------------------------------- 1 | '' 2 | 'foo''bar' 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["string", "''"], 8 | ["string", "'foo''bar'"] 9 | ] 10 | 11 | ---------------------------------------------------- 12 | 13 | Checks for strings. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/mel/code_feature.test: -------------------------------------------------------------------------------- 1 | `ls -selection` 2 | 3 | ---------------------------------------------------- 4 | 5 | [ 6 | ["code", [ 7 | ["delimiter", "`"], 8 | ["function", "ls"], 9 | ["flag", "-selection"], 10 | ["delimiter", "`"] 11 | ]] 12 | ] 13 | 14 | ---------------------------------------------------- 15 | 16 | Checks for code. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/mel/comment_feature.test: -------------------------------------------------------------------------------- 1 | // 2 | // Foobar 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["comment", "//"], 8 | ["comment", "// Foobar"] 9 | ] 10 | 11 | ---------------------------------------------------- 12 | 13 | Checks for comments. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/mel/flag_feature.test: -------------------------------------------------------------------------------- 1 | -d 2 | -foo 3 | -foo42 4 | 5 | ---------------------------------------------------- 6 | 7 | [ 8 | ["flag", "-d"], 9 | ["flag", "-foo"], 10 | ["flag", "-foo42"] 11 | ] 12 | 13 | ---------------------------------------------------- 14 | 15 | Checks for flags. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/mel/number_feature.test: -------------------------------------------------------------------------------- 1 | 0xBadFace 2 | 42 3 | 3.14159 4 | 5 | ---------------------------------------------------- 6 | 7 | [ 8 | ["number", "0xBadFace"], 9 | ["number", "42"], 10 | ["number", "3.14159"] 11 | ] 12 | 13 | ---------------------------------------------------- 14 | 15 | Checks for numbers. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/mel/string_feature.test: -------------------------------------------------------------------------------- 1 | "" 2 | "fo\"obar" 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["string", "\"\""], 8 | ["string", "\"fo\\\"obar\""] 9 | ] 10 | 11 | ---------------------------------------------------- 12 | 13 | Checks for strings. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/mel/variable_feature.test: -------------------------------------------------------------------------------- 1 | $x 2 | $foo42 3 | $Foo_Bar_42 4 | 5 | ---------------------------------------------------- 6 | 7 | [ 8 | ["variable", "$x"], 9 | ["variable", "$foo42"], 10 | ["variable", "$Foo_Bar_42"] 11 | ] 12 | 13 | ---------------------------------------------------- 14 | 15 | Checks for variables. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/mizar/comment_feature.test: -------------------------------------------------------------------------------- 1 | :: Foobar 2 | 3 | ---------------------------------------------------- 4 | 5 | [ 6 | ["comment", ":: Foobar"] 7 | ] 8 | 9 | ---------------------------------------------------- 10 | 11 | Checks for comments. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/mizar/number_feature.test: -------------------------------------------------------------------------------- 1 | 0 2 | -2 3 | 42 4 | 5 | ---------------------------------------------------- 6 | 7 | [ 8 | ["number", "0"], 9 | ["number", "-2"], 10 | ["number", "42"] 11 | ] 12 | 13 | ---------------------------------------------------- 14 | 15 | Checks for numbers. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/mizar/operator_feature.test: -------------------------------------------------------------------------------- 1 | ... 2 | -> 3 | & 4 | = .= 5 | 6 | ---------------------------------------------------- 7 | 8 | [ 9 | ["operator", "..."], 10 | ["operator", "->"], 11 | ["operator", "&"], 12 | ["operator", "="], ["operator", ".="] 13 | ] 14 | 15 | ---------------------------------------------------- 16 | 17 | Checks for operators. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/mizar/parameter_feature.test: -------------------------------------------------------------------------------- 1 | $1 $2 $3 2 | $4 $5 $6 3 | $6 $7 $9 4 | $10 5 | 6 | ---------------------------------------------------- 7 | 8 | [ 9 | ["parameter", "$1"], ["parameter", "$2"], ["parameter", "$3"], 10 | ["parameter", "$4"], ["parameter", "$5"], ["parameter", "$6"], 11 | ["parameter", "$6"], ["parameter", "$7"], ["parameter", "$9"], 12 | ["parameter", "$10"] 13 | ] 14 | 15 | ---------------------------------------------------- 16 | 17 | Checks for parameters. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/mizar/variable_feature.test: -------------------------------------------------------------------------------- 1 | P: 2 | CQC_THE1: 3 | PRE_FF: 4 | NAT_1: 5 | 6 | ---------------------------------------------------- 7 | 8 | [ 9 | ["variable", "P"], ["punctuation", ":"], 10 | ["variable", "CQC_THE1"], ["punctuation", ":"], 11 | ["variable", "PRE_FF"], ["punctuation", ":"], 12 | ["variable", "NAT_1"], ["punctuation", ":"] 13 | ] 14 | 15 | ---------------------------------------------------- 16 | 17 | Checks for variables. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/monkey/comment_feature.test: -------------------------------------------------------------------------------- 1 | ' Foobar 2 | #Rem Foo 3 | Bar 'Baz 4 | #End 5 | 6 | ---------------------------------------------------- 7 | 8 | [ 9 | ["comment", "' Foobar"], 10 | ["comment", "#Rem Foo\r\nBar 'Baz\r\n#End"] 11 | ] 12 | 13 | ---------------------------------------------------- 14 | 15 | Checks for comments. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/monkey/function_feature.test: -------------------------------------------------------------------------------- 1 | foobar() 2 | Foo_Bar_42() 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["function", "foobar"], ["punctuation", "("], ["punctuation", ")"], 8 | ["function", "Foo_Bar_42"], ["punctuation", "("], ["punctuation", ")"] 9 | ] 10 | 11 | ---------------------------------------------------- 12 | 13 | Checks for functions. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/monkey/number_feature.test: -------------------------------------------------------------------------------- 1 | 0 2 | 42 3 | 3.14159 4 | .5 5 | $BadFace 6 | 7 | ---------------------------------------------------- 8 | 9 | [ 10 | ["number", "0"], 11 | ["number", "42"], 12 | ["number", "3.14159"], 13 | ["number", ".5"], 14 | ["number", "$BadFace"] 15 | ] 16 | 17 | ---------------------------------------------------- 18 | 19 | Checks for numbers. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/monkey/preprocessor_feature.test: -------------------------------------------------------------------------------- 1 | #If HOST 2 | #ElseIf 3 | #Else 4 | 5 | ---------------------------------------------------- 6 | 7 | [ 8 | ["preprocessor", "#If HOST"], 9 | ["preprocessor", "#ElseIf"], 10 | ["preprocessor", "#Else"] 11 | ] 12 | 13 | ---------------------------------------------------- 14 | 15 | Checks for preprocessor directives. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/monkey/string_feature.test: -------------------------------------------------------------------------------- 1 | "" 2 | "Foo ~qBar~q" 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["string", "\"\""], 8 | ["string", "\"Foo ~qBar~q\""] 9 | ] 10 | 11 | ---------------------------------------------------- 12 | 13 | Checks for strings. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/monkey/type-char_feature.test: -------------------------------------------------------------------------------- 1 | foo? 2 | bar% 3 | baz# 4 | foobar$ 5 | 6 | ---------------------------------------------------- 7 | 8 | [ 9 | "foo", ["type-char", "?"], 10 | "\r\nbar", ["type-char", "%"], 11 | "\r\nbaz", ["type-char", "#"], 12 | "\r\nfoobar", ["type-char", "$"] 13 | ] 14 | 15 | ---------------------------------------------------- 16 | 17 | Checks for type chars. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/nasm/comment_feature.test: -------------------------------------------------------------------------------- 1 | ; 2 | ; foo 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["comment", ";"], 8 | ["comment", "; foo"] 9 | ] 10 | 11 | ---------------------------------------------------- 12 | 13 | Checks for comments. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/nasm/label_feature.test: -------------------------------------------------------------------------------- 1 | foo42: 2 | .foo: 3 | ..@foo: 4 | 5 | ---------------------------------------------------- 6 | 7 | [ 8 | ["label", "foo42:"], 9 | ["label", ".foo:"], 10 | ["label", "..@foo:"] 11 | ] 12 | 13 | ---------------------------------------------------- 14 | 15 | Checks for labels. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/nasm/operator_feature.test: -------------------------------------------------------------------------------- 1 | [ ] 2 | * + - / 3 | % < > = 4 | & | $ ! 5 | 6 | ---------------------------------------------------- 7 | 8 | [ 9 | ["operator", "["], ["operator", "]"], 10 | ["operator", "*"], ["operator", "+"], ["operator", "-"], ["operator", "/"], 11 | ["operator", "%"], ["operator", "<"], ["operator", ">"], ["operator", "="], 12 | ["operator", "&"], ["operator", "|"], ["operator", "$"], ["operator", "!"] 13 | ] 14 | 15 | ---------------------------------------------------- 16 | 17 | Checks for operators. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/nasm/string_feature.test: -------------------------------------------------------------------------------- 1 | "" 2 | "fo\"o" 3 | '' 4 | 'fo\'o' 5 | `` 6 | `fo\`o` 7 | 8 | ---------------------------------------------------- 9 | 10 | [ 11 | ["string", "\"\""], 12 | ["string", "\"fo\\\"o\""], 13 | ["string", "''"], 14 | ["string", "'fo\\'o'"], 15 | ["string", "``"], 16 | ["string", "`fo\\`o`"] 17 | ] 18 | 19 | ---------------------------------------------------- 20 | 21 | Checks for strings. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/nginx/comment_feature.test: -------------------------------------------------------------------------------- 1 | # 2 | # Foobar 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["comment", "#"], 8 | ["comment", "# Foobar"] 9 | ] 10 | 11 | ---------------------------------------------------- 12 | 13 | Checks for comments. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/nginx/variable_feature.test: -------------------------------------------------------------------------------- 1 | $foobar 2 | $foo_bar 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["variable", "$foobar"], 8 | ["variable", "$foo_bar"] 9 | ] 10 | 11 | ---------------------------------------------------- 12 | 13 | Checks for variables. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/nim/comment_feature.test: -------------------------------------------------------------------------------- 1 | # 2 | # Foobar 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["comment", "#"], 8 | ["comment", "# Foobar"] 9 | ] 10 | 11 | ---------------------------------------------------- 12 | 13 | Checks for comments. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/nim/function_feature.test: -------------------------------------------------------------------------------- 1 | fo\x9ao( 2 | class*( 3 | takeV[T]( 4 | `$`( 5 | 6 | ---------------------------------------------------- 7 | 8 | [ 9 | ["function", ["fo\\x9ao"]], ["punctuation", "("], 10 | ["function", ["class", ["operator", "*"]]], ["punctuation", "("], 11 | ["function", ["takeV[T]"]], ["punctuation", "("], 12 | ["function", ["`$`"]], ["punctuation", "("] 13 | ] 14 | 15 | ---------------------------------------------------- 16 | 17 | Checks for functions. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/nsis/comment_feature.test: -------------------------------------------------------------------------------- 1 | /* foo */ 2 | /* foo 3 | bar */ 4 | # foo 5 | ; bar 6 | 7 | ---------------------------------------------------- 8 | 9 | [ 10 | ["comment", "/* foo */"], 11 | ["comment", "/* foo\r\nbar */"], 12 | ["comment", "# foo"], 13 | ["comment", "; bar"] 14 | ] 15 | 16 | ---------------------------------------------------- 17 | 18 | Checks for comments. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/nsis/number_feature.test: -------------------------------------------------------------------------------- 1 | 0xBadFace 2 | 42 3 | 3.14159 4 | 3.2e4 5 | 1.0e-5 6 | 7 | ---------------------------------------------------- 8 | 9 | [ 10 | ["number", "0xBadFace"], 11 | ["number", "42"], 12 | ["number", "3.14159"], 13 | ["number", "3.2e4"], 14 | ["number", "1.0e-5"] 15 | ] 16 | 17 | ---------------------------------------------------- 18 | 19 | Checks for hexadecimal and decimal numbers. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/nsis/string_feature.test: -------------------------------------------------------------------------------- 1 | "" 2 | "fo\"o" 3 | '' 4 | 'fo\'o' 5 | 6 | ---------------------------------------------------- 7 | 8 | [ 9 | ["string", "\"\""], 10 | ["string", "\"fo\\\"o\""], 11 | ["string", "''"], 12 | ["string", "'fo\\'o'"] 13 | ] 14 | 15 | ---------------------------------------------------- 16 | 17 | Checks for single-quoted and double-quoted strings. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/nsis/variable_feature.test: -------------------------------------------------------------------------------- 1 | $LANGUAGE 2 | $(myLicenseData) 3 | ${LANG_ENGLISH} 4 | 5 | ---------------------------------------------------- 6 | 7 | [ 8 | ["variable", "$LANGUAGE"], 9 | ["variable", "$(myLicenseData)"], 10 | ["variable", "${LANG_ENGLISH}"] 11 | ] 12 | 13 | ---------------------------------------------------- 14 | 15 | Checks for variables. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/ocaml/boolean_feature.test: -------------------------------------------------------------------------------- 1 | false 2 | true 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["boolean", "false"], 8 | ["boolean", "true"] 9 | ] 10 | 11 | ---------------------------------------------------- 12 | 13 | Checks for booleans. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/ocaml/comment_feature.test: -------------------------------------------------------------------------------- 1 | (**) 2 | (* foo 3 | bar *) 4 | 5 | ---------------------------------------------------- 6 | 7 | [ 8 | ["comment", "(**)"], 9 | ["comment", "(* foo\r\nbar *)"] 10 | ] 11 | 12 | ---------------------------------------------------- 13 | 14 | Checks for comments. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/ocaml/directive_feature.test: -------------------------------------------------------------------------------- 1 | #quit 2 | #load 3 | #load_rec 4 | 5 | ---------------------------------------------------- 6 | 7 | [ 8 | ["directive", "#quit"], 9 | ["directive", "#load"], 10 | ["directive", "#load_rec"] 11 | ] 12 | 13 | ---------------------------------------------------- 14 | 15 | Checks for directives. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/ocaml/number_feature.test: -------------------------------------------------------------------------------- 1 | 0xBad_Face 2 | 0o754_672 3 | 0b1010_1111 4 | 42_000 5 | 3.14_15_9 6 | 3.2e8 7 | 6.1E-7 8 | 0.4e+12_415 9 | 10 | ---------------------------------------------------- 11 | 12 | [ 13 | ["number", "0xBad_Face"], 14 | ["number", "0o754_672"], 15 | ["number", "0b1010_1111"], 16 | ["number", "42_000"], 17 | ["number", "3.14_15_9"], 18 | ["number", "3.2e8"], 19 | ["number", "6.1E-7"], 20 | ["number", "0.4e+12_415"] 21 | ] 22 | 23 | ---------------------------------------------------- 24 | 25 | Checks for numbers. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/ocaml/string_feature.test: -------------------------------------------------------------------------------- 1 | "" 2 | "Fo\"obar" 3 | '\'' 4 | '\123' 5 | '\xf4' 6 | `\`` 7 | `\123` 8 | `\xf4` 9 | 10 | ---------------------------------------------------- 11 | 12 | [ 13 | ["string", "\"\""], 14 | ["string", "\"Fo\\\"obar\""], 15 | ["string", "'\\''"], 16 | ["string", "'\\123'"], 17 | ["string", "'\\xf4'"], 18 | ["string", "`\\``"], 19 | ["string", "`\\123`"], 20 | ["string", "`\\xf4`"] 21 | ] 22 | 23 | ---------------------------------------------------- 24 | 25 | Checks for strings. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/ocaml/type_feature.test: -------------------------------------------------------------------------------- 1 | 'Foo 2 | 'bar_42 3 | `Foo 4 | `bar_42 5 | 6 | ---------------------------------------------------- 7 | 8 | [ 9 | ["type", "'Foo"], 10 | ["type", "'bar_42"], 11 | ["type", "`Foo"], 12 | ["type", "`bar_42"] 13 | ] 14 | 15 | ---------------------------------------------------- 16 | 17 | Checks for types. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/pascal/comment_feature.test: -------------------------------------------------------------------------------- 1 | (* foo *) 2 | (* foo 3 | bar *) 4 | { foo } 5 | { foo 6 | bar } 7 | // 8 | // foobar 9 | 10 | ---------------------------------------------------- 11 | 12 | [ 13 | ["comment", "(* foo *)"], 14 | ["comment", "(* foo\r\nbar *)"], 15 | ["comment", "{ foo }"], 16 | ["comment", "{ foo\r\nbar }"], 17 | ["comment", "//"], 18 | ["comment", "// foobar"] 19 | ] 20 | 21 | ---------------------------------------------------- 22 | 23 | Checks for comments. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/pascal/number_feature.test: -------------------------------------------------------------------------------- 1 | 42 2 | 3.14159 3 | 2.1e4 4 | 1.0e-1 5 | 3.8e+24 6 | $7aff 7 | &17 8 | %11110101 9 | 10 | ---------------------------------------------------- 11 | 12 | [ 13 | ["number", "42"], 14 | ["number", "3.14159"], 15 | ["number", "2.1e4"], 16 | ["number", "1.0e-1"], 17 | ["number", "3.8e+24"], 18 | ["number", "$7aff"], 19 | ["number", "&17"], 20 | ["number", "%11110101"] 21 | ] 22 | 23 | ---------------------------------------------------- 24 | 25 | Checks for decimal, hexadecimal, octal and binary numbers. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/pascal/string_feature.test: -------------------------------------------------------------------------------- 1 | '' 2 | 'fo''o' 3 | ^G 4 | #7 5 | #$f4 6 | 'foo'#9'bar' 7 | 8 | ---------------------------------------------------- 9 | 10 | [ 11 | ["string", "''"], 12 | ["string", "'fo''o'"], 13 | ["string", "^G"], 14 | ["string", "#7"], 15 | ["string", "#$f4"], 16 | ["string", "'foo'#9'bar'"] 17 | ] 18 | 19 | ---------------------------------------------------- 20 | 21 | Checks for strings and chars. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/perl/comment_feature.test: -------------------------------------------------------------------------------- 1 | =label foo 2 | bar 3 | =cut 4 | # 5 | # foobar 6 | 7 | ---------------------------------------------------- 8 | 9 | [ 10 | ["comment", "=label foo\r\nbar\r\n=cut"], 11 | ["comment", "#"], 12 | ["comment", "# foobar"] 13 | ] 14 | 15 | ---------------------------------------------------- 16 | 17 | Checks for comments. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/perl/filehandle_feature.test: -------------------------------------------------------------------------------- 1 | _ 2 | <> 3 | 4 | 5 | 6 | ---------------------------------------------------- 7 | 8 | [ 9 | ["filehandle", "_"], 10 | ["filehandle", "<>"], 11 | ["filehandle", ""], 12 | ["filehandle", ""] 13 | ] 14 | 15 | ---------------------------------------------------- 16 | 17 | Checks for file handles. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/perl/function_feature.test: -------------------------------------------------------------------------------- 1 | sub foo 2 | sub Foo_Bar42 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["function", [["keyword", "sub"], " foo"]], 8 | ["function", [["keyword", "sub"], " Foo_Bar42"]] 9 | ] 10 | 11 | ---------------------------------------------------- 12 | 13 | Checks for functions. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/perl/vstring_feature.test: -------------------------------------------------------------------------------- 1 | v1.2 2 | 1.2.3 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["vstring", "v1.2"], 8 | ["vstring", "1.2.3"] 9 | ] 10 | 11 | ---------------------------------------------------- 12 | 13 | Checks for vstrings. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/php!+php-extras/this_feature.test: -------------------------------------------------------------------------------- 1 | $this 2 | 3 | ---------------------------------------------------- 4 | 5 | [ 6 | ["this", "$this"] 7 | ] 8 | 9 | ---------------------------------------------------- 10 | 11 | Checks for $this. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/php/comment_feature.test: -------------------------------------------------------------------------------- 1 | // 2 | // foobar 3 | /**/ 4 | /* foo 5 | bar */ 6 | 7 | ---------------------------------------------------- 8 | 9 | [ 10 | ["comment", "//"], 11 | ["comment", "// foobar"], 12 | ["comment", "/**/"], 13 | ["comment", "/* foo\r\nbar */"] 14 | ] 15 | 16 | ---------------------------------------------------- 17 | 18 | Checks for single-line and multi-line comments. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/php/constant_feature.test: -------------------------------------------------------------------------------- 1 | AZ 2 | PRISM 3 | FOOBAR_42 4 | 5 | ---------------------------------------------------- 6 | 7 | [ 8 | ["constant", "AZ"], 9 | ["constant", "PRISM"], 10 | ["constant", "FOOBAR_42"] 11 | ] 12 | 13 | ---------------------------------------------------- 14 | 15 | Checks for constants. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/php/delimiter_feature.test: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["delimiter", ""], 9 | ["delimiter", ""] 11 | ] 12 | 13 | ---------------------------------------------------- 14 | 15 | Checks for delimiters. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/php/property_feature.test: -------------------------------------------------------------------------------- 1 | $variable->property 2 | $foo->bar->baz 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["variable", "$variable"], 8 | ["operator", "-"], ["operator", ">"], 9 | ["property", "property"], 10 | ["variable", "$foo"], 11 | ["operator", "-"], ["operator", ">"], 12 | ["property", "bar"], 13 | ["operator", "-"], ["operator", ">"], 14 | ["property", "baz"] 15 | ] 16 | 17 | ---------------------------------------------------- 18 | 19 | Checks for properties. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/php/shell-comment_feature.test: -------------------------------------------------------------------------------- 1 | # 2 | # foobar 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["shell-comment", "#"], 8 | ["shell-comment", "# foobar"] 9 | ] 10 | 11 | ---------------------------------------------------- 12 | 13 | Checks for shell-like comments. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/php/variable_feature.test: -------------------------------------------------------------------------------- 1 | $f 2 | $foo 3 | $foobar_42 4 | 5 | ---------------------------------------------------- 6 | 7 | [ 8 | ["variable", "$f"], 9 | ["variable", "$foo"], 10 | ["variable", "$foobar_42"] 11 | ] 12 | 13 | ---------------------------------------------------- 14 | 15 | Checks for variables. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/powershell/boolean_feature.test: -------------------------------------------------------------------------------- 1 | $true $True $TRUE 2 | $false $False $FALSE 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["boolean", "$true"], 8 | ["boolean", "$True"], 9 | ["boolean", "$TRUE"], 10 | 11 | ["boolean", "$false"], 12 | ["boolean", "$False"], 13 | ["boolean", "$FALSE"] 14 | 15 | ] 16 | ---------------------------------------------------- 17 | 18 | Testing Booleans -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/powershell/comment_feature.test: -------------------------------------------------------------------------------- 1 | # single comment 2 | # comment with $variable 3 | <# multi 4 | line 5 | comment 6 | #> 7 | not a `# comment # is a comment 8 | 9 | ---------------------------------------------------- 10 | 11 | [ 12 | ["comment", "# single comment"], 13 | ["comment", "# comment with $variable"], 14 | ["comment", "<# multi\r\n\tline\r\n\tcomment\r\n#>"], 15 | "\r\nnot a `# comment ", 16 | ["comment", "# is a comment"] 17 | ] 18 | 19 | ---------------------------------------------------- 20 | 21 | Testing comments -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/powershell/namespace_feature.test: -------------------------------------------------------------------------------- 1 | [System.String]::Empty; 2 | [Foo.Bar+Baz]::Abc; 3 | [int] 42; 4 | 5 | ---------------------------------------------------- 6 | 7 | [ 8 | ["namespace", "[System.String]"],"::Empty",["punctuation", ";"], 9 | ["namespace", "[Foo.Bar+Baz]"],"::Abc",["punctuation", ";"], 10 | ["namespace", "[int]"]," 42",["punctuation", ";"] 11 | ] 12 | ---------------------------------------------------- 13 | 14 | Testing namespaces -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/powershell/variable_feature.test: -------------------------------------------------------------------------------- 1 | $foo $bar_baz $var4u $1 $true_as $falsey 2 | 3 | ---------------------------------------------------- 4 | 5 | [ 6 | ["variable", "$foo"], 7 | ["variable", "$bar_baz"], 8 | ["variable", "$var4u"], 9 | ["variable", "$1"], 10 | ["variable", "$true_as"], 11 | ["variable", "$falsey"] 12 | ] 13 | ---------------------------------------------------- 14 | 15 | Testing variables -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/processing/constant_feature.test: -------------------------------------------------------------------------------- 1 | FOOBAR 2 | FOO_BAR_42 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["constant", "FOOBAR"], 8 | ["constant", "FOO_BAR_42"] 9 | ] 10 | 11 | ---------------------------------------------------- 12 | 13 | Checks for constants. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/processing/function_feature.test: -------------------------------------------------------------------------------- 1 | foo( 2 | foo_bar_42 ( 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["function", "foo"], ["punctuation", "("], 8 | ["function", "foo_bar_42"], ["punctuation", "("] 9 | ] 10 | 11 | ---------------------------------------------------- 12 | 13 | Checks for functions. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/prolog/builtin_feature.test: -------------------------------------------------------------------------------- 1 | fx 2 | fy 3 | xf xfx xfy 4 | yf yfx 5 | 6 | ---------------------------------------------------- 7 | 8 | [ 9 | ["builtin", "fx"], 10 | ["builtin", "fy"], 11 | ["builtin", "xf"], ["builtin", "xfx"], ["builtin", "xfy"], 12 | ["builtin", "yf"], ["builtin", "yfx"] 13 | ] 14 | 15 | ---------------------------------------------------- 16 | 17 | Checks for builtins. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/prolog/comment_feature.test: -------------------------------------------------------------------------------- 1 | % Foobar 2 | /**/ 3 | /* Foo 4 | bar */ 5 | 6 | ---------------------------------------------------- 7 | 8 | [ 9 | ["comment", "% Foobar"], 10 | ["comment", "/**/"], 11 | ["comment", "/* Foo\r\nbar */"] 12 | ] 13 | 14 | ---------------------------------------------------- 15 | 16 | Checks for comments. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/prolog/function_feature.test: -------------------------------------------------------------------------------- 1 | foobar( 2 | foo_bar_42( 3 | abs/1 4 | atan/2 5 | 6 | ---------------------------------------------------- 7 | 8 | [ 9 | ["function", "foobar"], ["punctuation", "("], 10 | ["function", "foo_bar_42"], ["punctuation", "("], 11 | ["function", "abs/1"], 12 | ["function", "atan/2"] 13 | ] 14 | 15 | ---------------------------------------------------- 16 | 17 | Checks for functions. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/prolog/number_feature.test: -------------------------------------------------------------------------------- 1 | 42 2 | 3.14159 3 | 0 4 | 5 | ---------------------------------------------------- 6 | 7 | [ 8 | ["number", "42"], 9 | ["number", "3.14159"], 10 | ["number", "0"] 11 | ] 12 | 13 | ---------------------------------------------------- 14 | 15 | Checks for numbers. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/prolog/variable_feature.test: -------------------------------------------------------------------------------- 1 | Foobar 2 | Foo_bar_42 3 | _foo 4 | 5 | ---------------------------------------------------- 6 | 7 | [ 8 | ["variable", "Foobar"], 9 | ["variable", "Foo_bar_42"], 10 | ["variable", "_foo"] 11 | ] 12 | 13 | ---------------------------------------------------- 14 | 15 | Checks for variables. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/pure/comment_feature.test: -------------------------------------------------------------------------------- 1 | // 2 | // Foobar 3 | /**/ 4 | /* Foo 5 | bar */ 6 | #! --nochecks 7 | 8 | ---------------------------------------------------- 9 | 10 | [ 11 | ["comment", "//"], 12 | ["comment", "// Foobar"], 13 | ["comment", "/**/"], 14 | ["comment", "/* Foo\r\nbar */"], 15 | ["comment", "#! --nochecks"] 16 | ] 17 | 18 | ---------------------------------------------------- 19 | 20 | Checks for comments. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/pure/special_feature.test: -------------------------------------------------------------------------------- 1 | __show__ 2 | __cmd__ 3 | __with__ 4 | 5 | ---------------------------------------------------- 6 | 7 | [ 8 | ["special", "__show__"], 9 | ["special", "__cmd__"], 10 | ["special", "__with__"] 11 | ] 12 | 13 | ---------------------------------------------------- 14 | 15 | Checks for special functions. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/pure/string_feature.test: -------------------------------------------------------------------------------- 1 | "" 2 | "fo\"obar" 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["string", "\"\""], 8 | ["string", "\"fo\\\"obar\""] 9 | ] 10 | 11 | ---------------------------------------------------- 12 | 13 | Checks for strings. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/python/boolean_feature.test: -------------------------------------------------------------------------------- 1 | True 2 | False 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["boolean", "True"], 8 | ["boolean", "False"] 9 | ] 10 | 11 | ---------------------------------------------------- 12 | 13 | Checks for booleans. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/python/class-name_feature.test: -------------------------------------------------------------------------------- 1 | class Foo 2 | class foobar_42 3 | class _ 4 | 5 | ---------------------------------------------------- 6 | 7 | [ 8 | ["keyword", "class"], ["class-name", "Foo"], 9 | ["keyword", "class"], ["class-name", "foobar_42"], 10 | ["keyword", "class"], ["class-name", "_"] 11 | ] 12 | 13 | ---------------------------------------------------- 14 | 15 | Checks for class names. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/python/comment_feature.test: -------------------------------------------------------------------------------- 1 | # 2 | # foobar 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["comment", "#"], 8 | ["comment", "# foobar"] 9 | ] 10 | 11 | ---------------------------------------------------- 12 | 13 | Checks for comments. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/python/function_feature.test: -------------------------------------------------------------------------------- 1 | def Foo( 2 | def foo_bar_42( 3 | def _( 4 | 5 | ---------------------------------------------------- 6 | 7 | [ 8 | ["keyword", "def"], ["function", "Foo"], ["punctuation", "("], 9 | ["keyword", "def"], ["function", "foo_bar_42"], ["punctuation", "("], 10 | ["keyword", "def"], ["function", "_"], ["punctuation", "("] 11 | ] 12 | 13 | ---------------------------------------------------- 14 | 15 | Checks for functions. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/q/adverb_feature.test: -------------------------------------------------------------------------------- 1 | ' ': 2 | +/ +/: 3 | \ \: 4 | each 5 | 6 | ---------------------------------------------------- 7 | 8 | [ 9 | ["adverb", "'"], ["adverb", "':"], 10 | ["verb", "+"], ["adverb", "/"], ["verb", "+"], ["adverb", "/:"], 11 | ["adverb", "\\"], ["adverb", "\\:"], 12 | ["adverb", "each"] 13 | ] 14 | 15 | ---------------------------------------------------- 16 | 17 | Checks for adverbs. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/q/comment_feature.test: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env q 2 | / Foobar 3 | 4 | / 5 | Foo 6 | bar 7 | \ 8 | 9 | \ 10 | Foo 11 | Bar 12 | 13 | ---------------------------------------------------- 14 | 15 | [ 16 | ["comment", "#!/usr/bin/env q"], 17 | ["comment", "/ Foobar"], 18 | ["comment", "/\r\nFoo\r\nbar\r\n\\"], 19 | ["comment", "\\\r\nFoo\r\nBar"] 20 | ] 21 | 22 | ---------------------------------------------------- 23 | 24 | Checks for comments. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/q/string_feature.test: -------------------------------------------------------------------------------- 1 | "" 2 | "Fo\"obar" 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["string", "\"\""], 8 | ["string", "\"Fo\\\"obar\""] 9 | ] 10 | 11 | ---------------------------------------------------- 12 | 13 | Checks for strings. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/q/symbol_feature.test: -------------------------------------------------------------------------------- 1 | ` 2 | `foobar 3 | `:www.example.com:8888 4 | `.foo 5 | 6 | ---------------------------------------------------- 7 | 8 | [ 9 | ["symbol", "`"], 10 | ["symbol", "`foobar"], 11 | ["symbol", "`:www.example.com:8888"], 12 | ["symbol", "`.foo"] 13 | ] 14 | 15 | ---------------------------------------------------- 16 | 17 | Checks for symbols. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/qore/boolean_feature.test: -------------------------------------------------------------------------------- 1 | true 2 | false 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["boolean", "true"], 8 | ["boolean", "false"] 9 | ] 10 | 11 | ---------------------------------------------------- 12 | 13 | Checks for booleans. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/qore/comment_feature.test: -------------------------------------------------------------------------------- 1 | /* foo */ 2 | /* foo 3 | bar */ 4 | // 5 | // foobar 6 | # 7 | # foobar 8 | 9 | ---------------------------------------------------- 10 | 11 | [ 12 | ["comment", "/* foo */"], 13 | ["comment", "/* foo\r\nbar */"], 14 | ["comment", "//"], 15 | ["comment", "// foobar"], 16 | ["comment", "#"], 17 | ["comment", "# foobar"] 18 | ] 19 | 20 | ---------------------------------------------------- 21 | 22 | Checks for comments. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/qore/function_feature.test: -------------------------------------------------------------------------------- 1 | foo() 2 | foo_bar() 3 | Foo_bar_42() 4 | 5 | ---------------------------------------------------- 6 | 7 | [ 8 | ["function", "foo"], ["punctuation", "("], ["punctuation", ")"], 9 | ["function", "foo_bar"], ["punctuation", "("], ["punctuation", ")"], 10 | ["function", "Foo_bar_42"], ["punctuation", "("], ["punctuation", ")"] 11 | ] 12 | 13 | ---------------------------------------------------- 14 | 15 | Checks for functions. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/qore/number_feature.test: -------------------------------------------------------------------------------- 1 | 0b11110000 2 | 0xBadFace 3 | 0xabp-3 4 | 42 5 | 3.14159 6 | 3.2e8f 7 | 8 | ---------------------------------------------------- 9 | 10 | [ 11 | ["number", "0b11110000"], 12 | ["number", "0xBadFace"], 13 | ["number", "0xabp-3"], 14 | ["number", "42"], 15 | ["number", "3.14159"], 16 | ["number", "3.2e8f"] 17 | ] 18 | 19 | ---------------------------------------------------- 20 | 21 | Checks for numbers. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/qore/string_feature.test: -------------------------------------------------------------------------------- 1 | "" 2 | "fo\"o 3 | bar" 4 | '' 5 | 'fo\'o 6 | bar' 7 | 8 | ---------------------------------------------------- 9 | 10 | [ 11 | ["string", "\"\""], 12 | ["string", "\"fo\\\"o\r\nbar\""], 13 | ["string", "''"], 14 | ["string", "'fo\\'o\r\nbar'"] 15 | ] 16 | 17 | ---------------------------------------------------- 18 | 19 | Checks for strings. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/qore/variable_feature.test: -------------------------------------------------------------------------------- 1 | $foobar 2 | $foo_bar_42 3 | $Foobar 4 | 5 | ---------------------------------------------------- 6 | 7 | [ 8 | ["variable", "$foobar"], 9 | ["variable", "$foo_bar_42"], 10 | ["variable", "$Foobar"] 11 | ] 12 | 13 | ---------------------------------------------------- 14 | 15 | Checks for variables. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/r/boolean_feature.test: -------------------------------------------------------------------------------- 1 | TRUE 2 | FALSE 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["boolean", "TRUE"], 8 | ["boolean", "FALSE"] 9 | ] 10 | 11 | ---------------------------------------------------- 12 | 13 | Checks for booleans. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/r/comment_feature.test: -------------------------------------------------------------------------------- 1 | # 2 | # foobar 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["comment", "#"], 8 | ["comment", "# foobar"] 9 | ] 10 | 11 | ---------------------------------------------------- 12 | 13 | Checks for comments. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/r/ellipsis_feature.test: -------------------------------------------------------------------------------- 1 | ... 2 | ..1 3 | ..42 4 | 5 | ---------------------------------------------------- 6 | 7 | [ 8 | ["ellipsis", "..."], 9 | ["ellipsis", "..1"], 10 | ["ellipsis", "..42"] 11 | ] 12 | 13 | ---------------------------------------------------- 14 | 15 | Checks for ellipsis and special identifiers. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/r/percent-operator_feature.test: -------------------------------------------------------------------------------- 1 | %% %*% %/% 2 | %in% %o% %x% 3 | %foobar% 4 | 5 | ---------------------------------------------------- 6 | 7 | [ 8 | ["percent-operator", "%%"], ["percent-operator", "%*%"], ["percent-operator", "%/%"], 9 | ["percent-operator", "%in%"], ["percent-operator", "%o%"], ["percent-operator", "%x%"], 10 | ["percent-operator", "%foobar%"] 11 | ] 12 | 13 | ---------------------------------------------------- 14 | 15 | Checks for user-defined operators and operators starting with %. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/r/string_feature.test: -------------------------------------------------------------------------------- 1 | "" 2 | "fo\"obar" 3 | '' 4 | 'fo\'obar' 5 | 6 | ---------------------------------------------------- 7 | 8 | [ 9 | ["string", "\"\""], 10 | ["string", "\"fo\\\"obar\""], 11 | ["string", "''"], 12 | ["string", "'fo\\'obar'"] 13 | ] 14 | 15 | ---------------------------------------------------- 16 | 17 | Checks for single-quoted and double-quoted strings. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/rest/comment_feature.test: -------------------------------------------------------------------------------- 1 | .. foo 2 | 3 | .. foo 4 | bar 5 | 6 | .. 7 | _foo: 8 | [bar] 9 | |baz| 10 | 11 | ---------------------------------------------------- 12 | 13 | [ 14 | ["punctuation", ".."], 15 | ["comment", " foo"], 16 | ["punctuation", ".."], 17 | ["comment", " foo\r\nbar"], 18 | ["punctuation", ".."], 19 | ["comment", "\r\n\t_foo:\r\n\t[bar]\r\n\t|baz|"] 20 | ] 21 | 22 | ---------------------------------------------------- 23 | 24 | Checks for comments. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/rest/doctest-block_feature.test: -------------------------------------------------------------------------------- 1 | >>> Foo 2 | 3 | >>> foo 4 | bar 5 | baz 6 | 7 | ---------------------------------------------------- 8 | 9 | [ 10 | ["doctest-block", [ 11 | ["punctuation", ">>>"], 12 | " Foo" 13 | ]], 14 | ["doctest-block", [ 15 | ["punctuation", ">>>"], 16 | " foo\r\nbar\r\nbaz" 17 | ]] 18 | ] 19 | 20 | ---------------------------------------------------- 21 | 22 | Checks for doctest blocks. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/rest/field_feature.test: -------------------------------------------------------------------------------- 1 | :scale: 50 % 2 | :alt: map to buried treasure 3 | 4 | :width: 11 5 | :height: 11 6 | 7 | ---------------------------------------------------- 8 | 9 | [ 10 | ["field", ":scale:"], " 50 %\r\n\t", 11 | ["field", ":alt:"], " map to buried treasure\r\n\r\n", 12 | 13 | ["field", ":width:"], " 11\r\n", 14 | ["field", ":height:"], " 11" 15 | ] 16 | 17 | ---------------------------------------------------- 18 | 19 | Checks for fields. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/rest/literal-block_feature.test: -------------------------------------------------------------------------------- 1 | :: 2 | Foo 3 | Bar 4 | Baz 5 | 6 | Foobar:: 7 | Foo 8 | Bar 9 | Baz 10 | 11 | ---------------------------------------------------- 12 | 13 | [ 14 | ["literal-block", [ 15 | ["literal-block-punctuation", "::"], 16 | "\r\n\tFoo\r\n\tBar\r\n\tBaz" 17 | ]], 18 | "\r\n\r\nFoobar", 19 | ["literal-block", [ 20 | ["literal-block-punctuation", "::"], 21 | "\r\n Foo\r\n Bar\r\n Baz" 22 | ]] 23 | ] 24 | 25 | ---------------------------------------------------- 26 | 27 | Checks for literal blocks. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/rip/boolean_feature.test: -------------------------------------------------------------------------------- 1 | true 2 | false 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["boolean", "true"], 8 | ["boolean", "false"] 9 | ] 10 | 11 | ---------------------------------------------------- 12 | 13 | Checks for booleans. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/rip/builtin_feature.test: -------------------------------------------------------------------------------- 1 | @ 2 | System 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["builtin", "@"], 8 | ["builtin", "System"] 9 | ] 10 | 11 | ---------------------------------------------------- 12 | 13 | Checks for builtins. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/rip/character_feature.test: -------------------------------------------------------------------------------- 1 | `a 2 | `b 3 | `Z 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["character", "`a"], 8 | ["character", "`b"], 9 | ["character", "`Z"] 10 | ] 11 | 12 | ---------------------------------------------------- 13 | 14 | Checks for characters. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/rip/comment_feature.test: -------------------------------------------------------------------------------- 1 | # 2 | # foobar 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["comment", "#"], 8 | ["comment", "# foobar"] 9 | ] 10 | 11 | ---------------------------------------------------- 12 | 13 | Checks for comments. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/rip/date_time_feature.test: -------------------------------------------------------------------------------- 1 | 2015-08-30 2 | 1970-01-01 3 | 4 | 17:43:21 5 | 00:00:00 6 | 7 | 2015-08-30T17:43:21 8 | 1970-01-01T00:00:00 9 | 10 | ---------------------------------------------------- 11 | 12 | [ 13 | ["date", "2015-08-30"], 14 | ["date", "1970-01-01"], 15 | ["time", "17:43:21"], 16 | ["time", "00:00:00"], 17 | ["datetime", "2015-08-30T17:43:21"], 18 | ["datetime", "1970-01-01T00:00:00"] 19 | ] 20 | 21 | ---------------------------------------------------- 22 | 23 | Checks for dates, times and datetimes. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/rip/number_feature.test: -------------------------------------------------------------------------------- 1 | 42 2 | 3.14159 3 | +18 4 | +0.14 5 | -242 6 | -85.21 7 | 8 | ---------------------------------------------------- 9 | 10 | [ 11 | ["number", "42"], 12 | ["number", "3.14159"], 13 | ["number", "+18"], 14 | ["number", "+0.14"], 15 | ["number", "-242"], 16 | ["number", "-85.21"] 17 | ] 18 | 19 | ---------------------------------------------------- 20 | 21 | Checks for numbers. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/rip/reference_feature.test: -------------------------------------------------------------------------------- 1 | foo 2 | foo_bar 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["reference", "foo"], 8 | ["reference", "foo_bar"] 9 | ] 10 | 11 | ---------------------------------------------------- 12 | 13 | Checks for reference. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/rip/regex_feature.test: -------------------------------------------------------------------------------- 1 | /foobar/ 2 | /fo[o](?=bar)/ 3 | /\/\\\[\]/ 4 | /(fo|o?)+b*ar?/ 5 | 6 | ---------------------------------------------------- 7 | 8 | [ 9 | ["regex", "/foobar/"], 10 | ["regex", "/fo[o](?=bar)/"], 11 | ["regex", "/\\/\\\\\\[\\]/"], 12 | ["regex", "/(fo|o?)+b*ar?/"] 13 | ] 14 | 15 | ---------------------------------------------------- 16 | 17 | Checks for regexes. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/rip/string_feature.test: -------------------------------------------------------------------------------- 1 | "" 2 | "fo\"obar" 3 | '' 4 | 'fo\'obar' 5 | 6 | ---------------------------------------------------- 7 | 8 | [ 9 | ["string", "\"\""], 10 | ["string", "\"fo\\\"obar\""], 11 | ["string", "''"], 12 | ["string", "'fo\\'obar'"] 13 | ] 14 | 15 | ---------------------------------------------------- 16 | 17 | Checks for single-quoted and double-quoted strings. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/rip/symbol_feature.test: -------------------------------------------------------------------------------- 1 | :foo 2 | :foobar42 3 | :foo_bar 4 | 5 | ---------------------------------------------------- 6 | 7 | [ 8 | ["symbol", ":foo"], 9 | ["symbol", ":foobar42"], 10 | ["symbol", ":foo_bar"] 11 | ] 12 | 13 | ---------------------------------------------------- 14 | 15 | Checks for symbols. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/ruby/comment_feature.test: -------------------------------------------------------------------------------- 1 | # 2 | # foobar 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["comment", "#"], 8 | ["comment", "# foobar"] 9 | ] 10 | 11 | ---------------------------------------------------- 12 | 13 | Checks for comments. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/ruby/constant_feature.test: -------------------------------------------------------------------------------- 1 | Foobar 2 | FOO_BAR_42 3 | F 4 | FOO 5 | BAR? 6 | BAZ! 7 | 8 | ---------------------------------------------------- 9 | 10 | [ 11 | ["constant", "Foobar"], 12 | ["constant", "FOO_BAR_42"], 13 | ["constant", "F"], 14 | ["constant", "FOO"], 15 | ["constant", "BAR?"], 16 | ["constant", "BAZ!"] 17 | ] 18 | 19 | ---------------------------------------------------- 20 | 21 | Checks for constants. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/ruby/symbol_feature.test: -------------------------------------------------------------------------------- 1 | :_ 2 | :foo 3 | :BAR? 4 | :Baz_42! 5 | 6 | ---------------------------------------------------- 7 | 8 | [ 9 | ["symbol", ":_"], 10 | ["symbol", ":foo"], 11 | ["symbol", ":BAR?"], 12 | ["symbol", ":Baz_42!"] 13 | ] 14 | 15 | ---------------------------------------------------- 16 | 17 | Checks for symbols. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/ruby/variable_feature.test: -------------------------------------------------------------------------------- 1 | $_ 2 | $foo 3 | $BAR? 4 | $Baz_42! 5 | 6 | @_ 7 | @foo 8 | @BAR? 9 | @Baz_42! 10 | 11 | ---------------------------------------------------- 12 | 13 | [ 14 | ["variable", "$_"], 15 | ["variable", "$foo"], 16 | ["variable", "$BAR?"], 17 | ["variable", "$Baz_42!"], 18 | 19 | ["variable", "@_"], 20 | ["variable", "@foo"], 21 | ["variable", "@BAR?"], 22 | ["variable", "@Baz_42!"] 23 | ] 24 | 25 | ---------------------------------------------------- 26 | 27 | Checks for variables. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/rust/attribute_feature.test: -------------------------------------------------------------------------------- 1 | #[test] 2 | #![warn(unstable)] 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["attribute", "#[test]"], 8 | ["attribute", "#![warn(unstable)]"] 9 | ] 10 | 11 | ---------------------------------------------------- 12 | 13 | Checks for attributes. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/rust/comment_feature.test: -------------------------------------------------------------------------------- 1 | // 2 | // foobar 3 | /**/ 4 | /* foo 5 | bar */ 6 | 7 | ---------------------------------------------------- 8 | 9 | [ 10 | ["comment", "//"], 11 | ["comment", "// foobar"], 12 | ["comment", "/**/"], 13 | ["comment", "/* foo\r\nbar */"] 14 | ] 15 | 16 | ---------------------------------------------------- 17 | 18 | Checks for comments. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/rust/macro-rules_feature.test: -------------------------------------------------------------------------------- 1 | foo! 2 | foo_bar! 3 | foo_bar_42! 4 | 5 | ---------------------------------------------------- 6 | 7 | [ 8 | ["macro-rules", "foo!"], 9 | ["macro-rules", "foo_bar!"], 10 | ["macro-rules", "foo_bar_42!"] 11 | ] 12 | 13 | ---------------------------------------------------- 14 | 15 | Checks for macro rules. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/sas/comment_feature.test: -------------------------------------------------------------------------------- 1 | * foobar; 2 | foo; * foobar; 3 | /* foo 4 | bar */ 5 | 6 | ---------------------------------------------------- 7 | 8 | [ 9 | ["comment", "* foobar;"], 10 | "\r\nfoo", ["punctuation", ";"], 11 | ["comment", "* foobar;"], 12 | ["comment", "/* foo\r\nbar */"] 13 | ] 14 | 15 | ---------------------------------------------------- 16 | 17 | Checks for comments. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/sas/datetime_feature.test: -------------------------------------------------------------------------------- 1 | '1jan2013'd 2 | '9:25:19pm't 3 | '18jan2003:9:27:05am'dt 4 | 5 | ---------------------------------------------------- 6 | 7 | [ 8 | ["datetime", "'1jan2013'd"], 9 | ["datetime", "'9:25:19pm't"], 10 | ["datetime", "'18jan2003:9:27:05am'dt"] 11 | ] 12 | 13 | ---------------------------------------------------- 14 | 15 | Checks for date, times and datetimes. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/sas/keyword_feature.test: -------------------------------------------------------------------------------- 1 | data else format if 2 | input proc run then 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["keyword", "data"], ["keyword", "else"], ["keyword", "format"], ["keyword", "if"], 8 | ["keyword", "input"], ["keyword", "proc"], ["keyword", "run"], ["keyword", "then"] 9 | ] 10 | 11 | ---------------------------------------------------- 12 | 13 | Checks for all keywords. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/sas/number_feature.test: -------------------------------------------------------------------------------- 1 | 42 2 | 3.14159 3 | 3.2e10 4 | 0.4e-8 5 | 1.4E+2 6 | BadFacex 7 | 8 | ---------------------------------------------------- 9 | 10 | [ 11 | ["number", "42"], 12 | ["number", "3.14159"], 13 | ["number", "3.2e10"], 14 | ["number", "0.4e-8"], 15 | ["number", "1.4E+2"], 16 | ["number", "BadFacex"] 17 | ] 18 | 19 | ---------------------------------------------------- 20 | 21 | Checks for decimal and hexadecimal numbers. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/sas/string_feature.test: -------------------------------------------------------------------------------- 1 | "" 2 | "fo""o" 3 | "foo 4 | bar" 5 | '' 6 | 'fo''o' 7 | 'foo 8 | bar' 9 | 10 | ---------------------------------------------------- 11 | 12 | [ 13 | ["string", "\"\""], 14 | ["string", "\"fo\"\"o\""], 15 | ["string", "\"foo\r\nbar\""], 16 | ["string", "''"], 17 | ["string", "'fo''o'"], 18 | ["string", "'foo\r\nbar'"] 19 | ] 20 | 21 | ---------------------------------------------------- 22 | 23 | Checks for single-quoted and double-quoted strings. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/sass/comment_feature.test: -------------------------------------------------------------------------------- 1 | // 2 | // foobar 3 | /* 4 | /* foo 5 | bar 6 | 7 | /* foo 8 | bar 9 | baz 10 | 11 | ---------------------------------------------------- 12 | 13 | [ 14 | ["comment", "//"], 15 | ["comment", "// foobar"], 16 | ["comment", "/*"], 17 | ["comment", "/* foo\r\n\tbar"], 18 | ["comment", "/* foo\r\n\t bar\r\n\t baz"] 19 | ] 20 | 21 | ---------------------------------------------------- 22 | 23 | Checks for comments. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/sass/selector_feature.test: -------------------------------------------------------------------------------- 1 | div, span 2 | .foo .bar + div 3 | #foobar .baz:first-child 4 | 5 | div, 6 | .bar 7 | 8 | #foo, 9 | .bar, 10 | .baz 11 | 12 | ---------------------------------------------------- 13 | 14 | [ 15 | ["selector", "div, span"], 16 | ["selector", ".foo .bar + div"], 17 | ["selector", "#foobar .baz:first-child"], 18 | ["selector", "div,\r\n .bar"], 19 | ["selector", "#foo,\r\n\t\t.bar,\r\n\t\t.baz"] 20 | ] 21 | 22 | ---------------------------------------------------- 23 | 24 | Checks for selectors. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/scala/number_feature.test: -------------------------------------------------------------------------------- 1 | 0xBadFace 2 | 0xf7.fb 3 | 42 4 | 3.14159 5 | 3e4 6 | 0.1E8 7 | 42d 8 | 0777L 9 | 1e30f 10 | 11 | ---------------------------------------------------- 12 | 13 | [ 14 | ["number", "0xBadFace"], 15 | ["number", "0xf7.fb"], 16 | ["number", "42"], 17 | ["number", "3.14159"], 18 | ["number", "3e4"], 19 | ["number", "0.1E8"], 20 | ["number", "42d"], 21 | ["number", "0777L"], 22 | ["number", "1e30f"] 23 | ] 24 | 25 | ---------------------------------------------------- 26 | 27 | Checks for numbers. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/scala/string_feature.test: -------------------------------------------------------------------------------- 1 | 'a' 2 | '\u0041' 3 | '\n' 4 | '\t' 5 | 6 | "" 7 | "fo\"obar" 8 | 9 | """fo"o 10 | bar""" 11 | 12 | ---------------------------------------------------- 13 | 14 | [ 15 | ["string", "'a'"], 16 | ["string", "'\\u0041'"], 17 | ["string", "'\\n'"], 18 | ["string", "'\\t'"], 19 | ["string", "\"\""], 20 | ["string", "\"fo\\\"obar\""], 21 | ["string", "\"\"\"fo\"o\r\nbar\"\"\""] 22 | ] 23 | 24 | ---------------------------------------------------- 25 | 26 | Checks for characters and strings. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/scala/symbol_feature.test: -------------------------------------------------------------------------------- 1 | 'foo 2 | 'foo_42 3 | 'foo_bar 4 | 5 | ---------------------------------------------------- 6 | 7 | [ 8 | ["symbol", "'foo"], 9 | ["symbol", "'foo_42"], 10 | ["symbol", "'foo_bar"] 11 | ] 12 | 13 | ---------------------------------------------------- 14 | 15 | Checks for symbols. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/scheme/boolean_feature.test: -------------------------------------------------------------------------------- 1 | #t 2 | #f 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["boolean", "#t"], 8 | ["boolean", "#f"] 9 | ] 10 | 11 | ---------------------------------------------------- 12 | 13 | Checks for booleans. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/scheme/comment_feature.test: -------------------------------------------------------------------------------- 1 | ; 2 | ; foobar 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["comment", ";"], 8 | ["comment", "; foobar"] 9 | ] 10 | 11 | ---------------------------------------------------- 12 | 13 | Checks for comments. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/scheme/string_feature.test: -------------------------------------------------------------------------------- 1 | "" 2 | "fo\"obar" 3 | 'turkey 4 | 5 | ---------------------------------------------------- 6 | 7 | [ 8 | ["string", "\"\""], 9 | ["string", "\"fo\\\"obar\""], 10 | ["string", "'turkey"] 11 | ] 12 | 13 | ---------------------------------------------------- 14 | 15 | Checks for strings and symbols. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/scss+jade/scss_inclusion.test: -------------------------------------------------------------------------------- 1 | :sass 2 | @extend .foo; 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["filter-sass", [ 8 | ["filter-name", ":sass"], 9 | ["keyword", "@extend"], 10 | " .foo", 11 | ["punctuation", ";"] 12 | ]] 13 | ] 14 | 15 | ---------------------------------------------------- 16 | 17 | Checks for sass filter (Scss) in Jade. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/scss/atrule_feature.test: -------------------------------------------------------------------------------- 1 | @media (min-width: 600px) {} 2 | 3 | ---------------------------------------------------- 4 | 5 | [ 6 | ["atrule", [ 7 | ["rule", "@media"], 8 | ["punctuation", "("], 9 | ["property", "min-width"], 10 | ["punctuation", ":"], 11 | " 600px", 12 | ["punctuation", ")"] 13 | ]], 14 | ["punctuation", "{"], 15 | ["punctuation", "}"] 16 | ] 17 | 18 | ---------------------------------------------------- 19 | 20 | Checks for at-rules. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/scss/boolean_feature.test: -------------------------------------------------------------------------------- 1 | true 2 | false 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["boolean", "true"], 8 | ["boolean", "false"] 9 | ] 10 | 11 | ---------------------------------------------------- 12 | 13 | Checks for booleans. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/scss/comment_feature.test: -------------------------------------------------------------------------------- 1 | // 2 | // foobar 3 | /**/ 4 | /* foo 5 | bar */ 6 | 7 | 8 | ---------------------------------------------------- 9 | 10 | [ 11 | ["comment", "//"], 12 | ["comment", "// foobar"], 13 | ["comment", "/**/"], 14 | ["comment", "/* foo\r\nbar */"] 15 | ] 16 | 17 | ---------------------------------------------------- 18 | 19 | Checks for comments. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/scss/null_feature.test: -------------------------------------------------------------------------------- 1 | null 2 | 3 | ---------------------------------------------------- 4 | 5 | [ 6 | ["null", "null"] 7 | ] 8 | 9 | ---------------------------------------------------- 10 | 11 | Checks for null. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/scss/placeholder_feature.test: -------------------------------------------------------------------------------- 1 | %foobar 2 | %foo-bar 3 | %foo_bar 4 | 5 | ---------------------------------------------------- 6 | 7 | [ 8 | ["placeholder", "%foobar"], 9 | ["placeholder", "%foo-bar"], 10 | ["placeholder", "%foo_bar"] 11 | ] 12 | 13 | ---------------------------------------------------- 14 | 15 | Checks for placeholders. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/scss/statement_feature.test: -------------------------------------------------------------------------------- 1 | $foo: "bar" !default; 2 | @extend .baz !optional; 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["variable", "$foo"], 8 | ["punctuation", ":"], 9 | ["string", "\"bar\""], 10 | ["statement", "!default"], 11 | ["punctuation", ";"], 12 | 13 | ["keyword", "@extend"], 14 | " .baz ", 15 | ["statement", "!optional"], 16 | ["punctuation", ";"] 17 | ] 18 | 19 | ---------------------------------------------------- 20 | 21 | Checks for statements. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/scss/url_feature.test: -------------------------------------------------------------------------------- 1 | url('foo.png') 2 | font-url('foo.ttf') 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["url", "url"], 8 | ["punctuation", "("], 9 | ["string", "'foo.png'"], 10 | ["punctuation", ")"], 11 | ["url", "font-url"], 12 | ["punctuation", "("], 13 | ["string", "'foo.ttf'"], 14 | ["punctuation", ")"] 15 | ] 16 | 17 | ---------------------------------------------------- 18 | 19 | Checks for URLs. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/scss/variable_feature.test: -------------------------------------------------------------------------------- 1 | $foo 2 | $foo-bar 3 | $foo_bar 4 | #{$foo} 5 | #{$foo-bar} 6 | #{$foo_bar} 7 | 8 | ---------------------------------------------------- 9 | 10 | [ 11 | ["variable", "$foo"], 12 | ["variable", "$foo-bar"], 13 | ["variable", "$foo_bar"], 14 | ["variable", "#{$foo}"], 15 | ["variable", "#{$foo-bar}"], 16 | ["variable", "#{$foo_bar}"] 17 | ] 18 | 19 | ---------------------------------------------------- 20 | 21 | Checks for variables. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/smalltalk/character_feature.test: -------------------------------------------------------------------------------- 1 | $a 2 | $4 3 | $. 4 | $^ 5 | 6 | ---------------------------------------------------- 7 | 8 | [ 9 | ["character", "$a"], 10 | ["character", "$4"], 11 | ["character", "$."], 12 | ["character", "$^"] 13 | ] 14 | 15 | ---------------------------------------------------- 16 | 17 | Checks for characters. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/smalltalk/comment_feature.test: -------------------------------------------------------------------------------- 1 | "foobar" 2 | "foo""bar 3 | baz" 4 | 5 | ---------------------------------------------------- 6 | 7 | [ 8 | ["comment", "\"foobar\""], 9 | ["comment", "\"foo\"\"bar\r\nbaz\""] 10 | ] 11 | 12 | ---------------------------------------------------- 13 | 14 | Checks for comments. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/smalltalk/keyword_feature.test: -------------------------------------------------------------------------------- 1 | nil true false 2 | self super new 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["keyword", "nil"], ["keyword", "true"], ["keyword", "false"], 8 | ["keyword", "self"], ["keyword", "super"], ["keyword", "new"] 9 | ] 10 | 11 | ---------------------------------------------------- 12 | 13 | Checks for keywords. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/smalltalk/number_feature.test: -------------------------------------------------------------------------------- 1 | 42 2 | 3.14159 3 | 3e8 4 | 0.2e-4 5 | 2r10001111 6 | 2r10.1111e4 7 | 16rBADFACE 8 | 9 | ---------------------------------------------------- 10 | 11 | [ 12 | ["number", "42"], 13 | ["number", "3.14159"], 14 | ["number", "3e8"], 15 | ["number", "0.2e-4"], 16 | ["number", "2r10001111"], 17 | ["number", "2r10.1111e4"], 18 | ["number", "16rBADFACE"] 19 | ] 20 | 21 | ---------------------------------------------------- 22 | 23 | Checks for numbers. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/smalltalk/string_feature.test: -------------------------------------------------------------------------------- 1 | 'foobar' 2 | 'foo''bar 3 | baz' 4 | 5 | ---------------------------------------------------- 6 | 7 | [ 8 | ["string", "'foobar'"], 9 | ["string", "'foo''bar\r\nbaz'"] 10 | ] 11 | 12 | ---------------------------------------------------- 13 | 14 | Checks for strings. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/smalltalk/symbol_feature.test: -------------------------------------------------------------------------------- 1 | #foo 2 | #Foo42 3 | #- 4 | #+ 5 | #** 6 | #( 7 | 8 | ---------------------------------------------------- 9 | 10 | [ 11 | ["symbol", "#foo"], 12 | ["symbol", "#Foo42"], 13 | ["symbol", "#-"], 14 | ["symbol", "#+"], 15 | ["symbol", "#**"], 16 | ["symbol", "#"], ["punctuation", "("] 17 | ] 18 | 19 | ---------------------------------------------------- 20 | 21 | Checks for symbols. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/smarty/smarty-comment_feature.test: -------------------------------------------------------------------------------- 1 | {**} 2 | {* foo 3 | bar *} 4 | 5 | ---------------------------------------------------- 6 | 7 | [ 8 | ["smarty-comment", "{**}"], 9 | ["smarty-comment", "{* foo\r\nbar *}"] 10 | ] 11 | 12 | ---------------------------------------------------- 13 | 14 | Checks for comments. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/sql/boolean_feature.test: -------------------------------------------------------------------------------- 1 | TRUE 2 | FALSE 3 | NULL 4 | 5 | ---------------------------------------------------- 6 | 7 | [ 8 | ["boolean", "TRUE"], 9 | ["boolean", "FALSE"], 10 | ["boolean", "NULL"] 11 | ] 12 | 13 | ---------------------------------------------------- 14 | 15 | Checks for booleans. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/sql/comment_feature.test: -------------------------------------------------------------------------------- 1 | /**/ 2 | /* foo 3 | bar */ 4 | -- 5 | -- foo 6 | // 7 | // foo 8 | # 9 | # foo 10 | 11 | ---------------------------------------------------- 12 | 13 | [ 14 | ["comment", "/**/"], 15 | ["comment", "/* foo\r\nbar */"], 16 | ["comment", "--"], 17 | ["comment", "-- foo"], 18 | ["comment", "//"], 19 | ["comment", "// foo"], 20 | ["comment", "#"], 21 | ["comment", "# foo"] 22 | ] 23 | 24 | ---------------------------------------------------- 25 | 26 | Checks for comments. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/sql/string_feature.test: -------------------------------------------------------------------------------- 1 | "" 2 | "fo\"obar" 3 | "foo 4 | bar" 5 | '' 6 | 'fo\'obar' 7 | 'foo 8 | bar' 9 | 10 | ---------------------------------------------------- 11 | 12 | [ 13 | ["string", "\"\""], 14 | ["string", "\"fo\\\"obar\""], 15 | ["string", "\"foo\r\nbar\""], 16 | ["string", "''"], 17 | ["string", "'fo\\'obar'"], 18 | ["string", "'foo\r\nbar'"] 19 | ] 20 | 21 | ---------------------------------------------------- 22 | 23 | Checks for strings. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/sql/variable_feature.test: -------------------------------------------------------------------------------- 1 | @foo 2 | @foo_bar_42 3 | @"fo\"o-b 4 | ar" 5 | @'fo\'o-b 6 | ar' 7 | @`fo\`o-b 8 | ar` 9 | 10 | ---------------------------------------------------- 11 | 12 | [ 13 | ["variable", "@foo"], 14 | ["variable", "@foo_bar_42"], 15 | ["variable", "@\"fo\\\"o-b\r\nar\""], 16 | ["variable", "@'fo\\'o-b\r\nar'"], 17 | ["variable", "@`fo\\`o-b\r\nar`"] 18 | ] 19 | 20 | ---------------------------------------------------- 21 | 22 | Checks for variables. 23 | -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/stylus+jade/stylus_inclusion.test: -------------------------------------------------------------------------------- 1 | :stylus 2 | font-size = 14px 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["filter-stylus", [ 8 | ["filter-name", ":stylus"], 9 | ["variable-declaration", [ 10 | ["variable", "font-size"], 11 | ["operator", "="], 12 | ["number", "14"], 13 | "px" 14 | ]] 15 | ]] 16 | ] 17 | 18 | ---------------------------------------------------- 19 | 20 | Checks for stylus filter in Jade. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/stylus/boolean_feature.test: -------------------------------------------------------------------------------- 1 | a = true 2 | b = false 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["variable-declaration", [ 8 | ["variable", "a"], 9 | ["operator", "="], 10 | ["boolean", "true"] 11 | ]], 12 | ["variable-declaration", [ 13 | ["variable", "b"], 14 | ["operator", "="], 15 | ["boolean", "false"] 16 | ]] 17 | ] 18 | 19 | ---------------------------------------------------- 20 | 21 | Checks for booleans. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/stylus/comment_feature.test: -------------------------------------------------------------------------------- 1 | /**/ 2 | /* foo 3 | bar */ 4 | // 5 | // foobar 6 | 7 | ---------------------------------------------------- 8 | 9 | [ 10 | ["comment", "/**/"], 11 | ["comment", "/* foo\r\nbar */"], 12 | ["comment", "//"], 13 | ["comment", "// foobar"] 14 | ] 15 | 16 | ---------------------------------------------------- 17 | 18 | Checks for comments. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/stylus/important_feature.test: -------------------------------------------------------------------------------- 1 | color: red !important 2 | @extend foo !optional 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["property-declaration", [ 8 | ["property", ["color"]], 9 | ["punctuation", ":"], 10 | " red ", 11 | ["important", "!important"] 12 | ]], 13 | ["atrule-declaration", [ 14 | ["atrule", "@extend"], 15 | " foo ", 16 | ["important", "!optional"] 17 | ]] 18 | ] 19 | 20 | ---------------------------------------------------- 21 | 22 | Checks for !important and !optional. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/stylus/url_feature.test: -------------------------------------------------------------------------------- 1 | background: url('foo.png') 2 | background: url("foo/bar.jpg") 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["property-declaration", [ 8 | ["property", ["background"]], 9 | ["punctuation", ":"], 10 | ["url", "url('foo.png')"] 11 | ]], 12 | ["property-declaration", [ 13 | ["property", ["background"]], 14 | ["punctuation", ":"], 15 | ["url", "url(\"foo/bar.jpg\")"] 16 | ]] 17 | ] 18 | 19 | ---------------------------------------------------- 20 | 21 | Checks for urls. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/swift/constant_feature.test: -------------------------------------------------------------------------------- 1 | nil 2 | AB 3 | FOO_BAR 4 | kAb 5 | kFoo_bar 6 | 7 | ---------------------------------------------------- 8 | 9 | [ 10 | ["constant", "nil"], 11 | ["constant", "AB"], 12 | ["constant", "FOO_BAR"], 13 | ["constant", "kAb"], 14 | ["constant", "kFoo_bar"] 15 | ] 16 | 17 | ---------------------------------------------------- 18 | 19 | Checks for constants. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/tcl/comment_feature.test: -------------------------------------------------------------------------------- 1 | # 2 | # foobar 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["comment", "#"], 8 | ["comment", "# foobar"] 9 | ] 10 | 11 | ---------------------------------------------------- 12 | 13 | Checks for comments. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/tcl/function_feature.test: -------------------------------------------------------------------------------- 1 | proc foo 2 | proc Foobar 3 | proc foo_bar_42 4 | 5 | ---------------------------------------------------- 6 | 7 | [ 8 | ["builtin", "proc"], ["function", "foo"], 9 | ["builtin", "proc"], ["function", "Foobar"], 10 | ["builtin", "proc"], ["function", "foo_bar_42"] 11 | ] 12 | 13 | ---------------------------------------------------- 14 | 15 | Checks for functions. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/tcl/scope_feature.test: -------------------------------------------------------------------------------- 1 | global 2 | upvar 3 | variable 4 | 5 | ---------------------------------------------------- 6 | 7 | [ 8 | ["scope", "global"], 9 | ["scope", "upvar"], 10 | ["scope", "variable"] 11 | ] 12 | 13 | ---------------------------------------------------- 14 | 15 | Checks for scopes. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/tcl/string_feature.test: -------------------------------------------------------------------------------- 1 | "" 2 | "fo\"obar" 3 | "fo\"o\ 4 | bar" 5 | 6 | ---------------------------------------------------- 7 | 8 | [ 9 | ["string", "\"\""], 10 | ["string", "\"fo\\\"obar\""], 11 | ["string", "\"fo\\\"o\\\r\nbar\""] 12 | ] 13 | 14 | ---------------------------------------------------- 15 | 16 | Checks for strings. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/textile/acronym_feature.test: -------------------------------------------------------------------------------- 1 | CSS(Cascading Style Sheet) 2 | HTML(HyperText Markup Language) 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["phrase", [ 8 | ["acronym", ["CSS", ["punctuation", "("], ["comment", "Cascading Style Sheet"], ["punctuation", ")"]]], 9 | ["acronym", ["HTML", ["punctuation", "("], ["comment", "HyperText Markup Language"], ["punctuation", ")"]]] 10 | ]] 11 | ] 12 | 13 | ---------------------------------------------------- 14 | 15 | Checks for acronyms. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/textile/footnote_feature.test: -------------------------------------------------------------------------------- 1 | Foo[1] 2 | Bar[42] 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["phrase", [ 8 | "Foo", ["footnote", [["punctuation", "["], "1", ["punctuation", "]"]]], 9 | "\r\nBar", ["footnote", [["punctuation", "["], "42", ["punctuation", "]"]]] 10 | ]] 11 | ] 12 | 13 | ---------------------------------------------------- 14 | 15 | Checks for footnotes. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/textile/mark_feature.test: -------------------------------------------------------------------------------- 1 | Prism(C) 2 | Foo(TM) 3 | Foobar(R) 4 | 5 | ---------------------------------------------------- 6 | 7 | [ 8 | ["phrase", [ 9 | "Prism", ["mark", [["punctuation", "("], "C", ["punctuation", ")"]]], 10 | "\r\nFoo", ["mark", [["punctuation", "("], "TM", ["punctuation", ")"]]], 11 | "\r\nFoobar", ["mark", [["punctuation", "("], "R", ["punctuation", ")"]]] 12 | ]] 13 | ] 14 | 15 | ---------------------------------------------------- 16 | 17 | Checks for marks symbols. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/twig+jade/twig_inclusion.test: -------------------------------------------------------------------------------- 1 | :atpl 2 | {{42}} 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["filter-atpl", [ 8 | ["filter-name", ":atpl"], 9 | ["tag", [ 10 | ["ld", [["punctuation", "{{"]]], 11 | ["number", "42"], 12 | ["rd", [["punctuation", "}}"]]] 13 | ]] 14 | ]] 15 | ] 16 | 17 | ---------------------------------------------------- 18 | 19 | Checks for atpl filter (Twig) in Jade. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/twig/comment_feature.test: -------------------------------------------------------------------------------- 1 | {##} 2 | {# foo #} 3 | {# foo 4 | bar #} 5 | 6 | ---------------------------------------------------- 7 | 8 | [ 9 | ["comment", "{##}"], 10 | ["comment", "{# foo #}"], 11 | ["comment", "{# foo\r\nbar #}"] 12 | ] 13 | 14 | ---------------------------------------------------- 15 | 16 | Checks for comments. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/verilog/comment_feature.test: -------------------------------------------------------------------------------- 1 | // 2 | // Foobar 3 | /**/ 4 | /* foo 5 | bar */ 6 | 7 | ---------------------------------------------------- 8 | 9 | [ 10 | ["comment", "//"], 11 | ["comment", "// Foobar"], 12 | ["comment", "/**/"], 13 | ["comment", "/* foo\r\nbar */"] 14 | ] 15 | 16 | ---------------------------------------------------- 17 | 18 | Checks for comments. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/verilog/constant_feature.test: -------------------------------------------------------------------------------- 1 | `define 2 | `UNKNOWN 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["constant", "`define"], 8 | ["constant", "`UNKNOWN"] 9 | ] 10 | 11 | ---------------------------------------------------- 12 | 13 | Checks for user defined constants. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/verilog/function_feature.test: -------------------------------------------------------------------------------- 1 | foo() 2 | foo_bar() 3 | foo_BAR_42() 4 | 5 | ---------------------------------------------------- 6 | 7 | [ 8 | ["function", "foo"], ["punctuation", "("], ["punctuation", ")"], 9 | ["function", "foo_bar"], ["punctuation", "("], ["punctuation", ")"], 10 | ["function", "foo_BAR_42"], ["punctuation", "("], ["punctuation", ")"] 11 | ] 12 | 13 | ---------------------------------------------------- 14 | 15 | Checks for functions. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/verilog/property_feature.test: -------------------------------------------------------------------------------- 1 | $display() 2 | 3 | ---------------------------------------------------- 4 | 5 | [ 6 | ["property", "$display"], ["punctuation", "("], ["punctuation", ")"] 7 | ] 8 | 9 | ---------------------------------------------------- 10 | 11 | Checks for kernel functions. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/verilog/string_feature.test: -------------------------------------------------------------------------------- 1 | "" 2 | "fo\"obar" 3 | "foo\ 4 | bar" 5 | 6 | ---------------------------------------------------- 7 | 8 | [ 9 | ["string", "\"\""], 10 | ["string", "\"fo\\\"obar\""], 11 | ["string", "\"foo\\\r\nbar\""] 12 | ] 13 | 14 | ---------------------------------------------------- 15 | 16 | Checks for strings. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/vhdl/boolean_feature.test: -------------------------------------------------------------------------------- 1 | true 2 | false 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["boolean", "true"], 8 | ["boolean", "false"] 9 | ] 10 | 11 | ---------------------------------------------------- 12 | 13 | Checks for booleans. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/vhdl/comment_feature.test: -------------------------------------------------------------------------------- 1 | -- Foo 2 | --foobar 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["comment", "-- Foo"], 8 | ["comment", "--foobar"] 9 | ] 10 | 11 | ---------------------------------------------------- 12 | 13 | Checks for comments. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/vhdl/constant_feature.test: -------------------------------------------------------------------------------- 1 | use 2 | library 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["constant", "use"], 8 | ["constant", "library"] 9 | ] 10 | 11 | ---------------------------------------------------- 12 | 13 | Checks for constants. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/vhdl/string_feature.test: -------------------------------------------------------------------------------- 1 | "" 2 | "fo\"o" 3 | "fo\"o\ 4 | bar" 5 | 6 | ---------------------------------------------------- 7 | 8 | [ 9 | ["string", "\"\""], 10 | ["string", "\"fo\\\"o\""], 11 | ["string", "\"fo\\\"o\\\r\nbar\""] 12 | ] 13 | 14 | ---------------------------------------------------- 15 | 16 | Checks for strings. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/vhdl/vhdl-vectors_feature.test: -------------------------------------------------------------------------------- 1 | B"1111_1111" 2 | O"353" 3 | X"AA55" 4 | "010101" 5 | "Z" 6 | "X" 7 | 8 | ---------------------------------------------------- 9 | 10 | [ 11 | ["vhdl-vectors", "B\"1111_1111\""], 12 | ["vhdl-vectors", "O\"353\""], 13 | ["vhdl-vectors", "X\"AA55\""], 14 | ["vhdl-vectors", "\"010101\""], 15 | ["vhdl-vectors", "\"Z\""], 16 | ["vhdl-vectors", "\"X\""] 17 | ] 18 | 19 | ---------------------------------------------------- 20 | 21 | Checks for vectors -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/vim/comment_feature.test: -------------------------------------------------------------------------------- 1 | " 2 | " Foobar 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["comment", "\""], 8 | ["comment", "\" Foobar"] 9 | ] 10 | 11 | ---------------------------------------------------- 12 | 13 | Checks for comments. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/vim/function_feature.test: -------------------------------------------------------------------------------- 1 | has("mac") 2 | exists("s:call_count") 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["function", "has"], ["punctuation", "("], ["string", "\"mac\""], ["punctuation", ")"], 8 | ["function", "exists"], ["punctuation", "("], ["string", "\"s:call_count\""], ["punctuation", ")"] 9 | ] 10 | 11 | ---------------------------------------------------- 12 | 13 | Checks for functions. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/vim/number_feature.test: -------------------------------------------------------------------------------- 1 | 0xBadFace 2 | 42 3 | 3.14159 4 | 5 | ---------------------------------------------------- 6 | 7 | [ 8 | ["number", "0xBadFace"], 9 | ["number", "42"], 10 | ["number", "3.14159"] 11 | ] 12 | 13 | ---------------------------------------------------- 14 | 15 | Checks for numbers. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/vim/string_feature.test: -------------------------------------------------------------------------------- 1 | "" 2 | "Fo\"ob'ar" 3 | '' 4 | '\' 5 | 'Foo''bar' 6 | 7 | ---------------------------------------------------- 8 | 9 | [ 10 | ["string", "\"\""], 11 | ["string", "\"Fo\\\"ob'ar\""], 12 | ["string", "''"], 13 | ["string", "'\\'"], 14 | ["string", "'Foo''bar'"] 15 | ] 16 | 17 | ---------------------------------------------------- 18 | 19 | Checks for strings. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/wiki/block-comment_feature.test: -------------------------------------------------------------------------------- 1 | /**/ 2 | /* foo */ 3 | /* foo 4 | bar */ 5 | 6 | ---------------------------------------------------- 7 | 8 | [ 9 | ["block-comment", "/**/"], 10 | ["block-comment", "/* foo */"], 11 | ["block-comment", "/* foo\r\nbar */"] 12 | ] 13 | 14 | ---------------------------------------------------- 15 | 16 | Checks for comments. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/wiki/hr_feature.test: -------------------------------------------------------------------------------- 1 | ---- 2 | ----- 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["hr", "----"], 8 | ["hr", "-----"] 9 | ] 10 | 11 | ---------------------------------------------------- 12 | 13 | Checks for horizontal rows. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/wiki/symbol_feature.test: -------------------------------------------------------------------------------- 1 | #REDIRECT [[somewhere]] 2 | ~~~ 3 | ~~~~ 4 | ~~~~~ 5 | 6 | ---------------------------------------------------- 7 | 8 | [ 9 | ["symbol", "#REDIRECT"], ["url", "[[somewhere]]"], 10 | ["symbol", "~~~"], 11 | ["symbol", "~~~~"], 12 | ["symbol", "~~~~~"] 13 | ] 14 | 15 | ---------------------------------------------------- 16 | 17 | Checks for redirects and signatures. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/wiki/variable_feature.test: -------------------------------------------------------------------------------- 1 | __NOTOC__ 2 | {{{1}}} 3 | {{!}} 4 | {{SITENAME}} 5 | {{#ifexists:foo}} 6 | 7 | ---------------------------------------------------- 8 | 9 | [ 10 | ["variable", "__NOTOC__"], 11 | ["variable", "{{{1}}}"], 12 | ["variable", "{{!}}"], 13 | ["variable", "{{SITENAME}}"], 14 | ["variable", "{{#ifexists:foo}}"] 15 | ] 16 | 17 | ---------------------------------------------------- 18 | 19 | Checks for variables and magic words. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/yaml/boolean_feature.test: -------------------------------------------------------------------------------- 1 | --- 2 | foo: true 3 | bar: false 4 | 5 | ---------------------------------------------------- 6 | 7 | [ 8 | ["punctuation", "---"], 9 | ["key", "foo"], ["punctuation", ":"], 10 | ["boolean", "true"], 11 | ["key", "bar"], ["punctuation", ":"], 12 | ["boolean", "false"] 13 | ] 14 | 15 | ---------------------------------------------------- 16 | 17 | Checks for booleans. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/yaml/comment_feature.test: -------------------------------------------------------------------------------- 1 | # 2 | # foobar 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["comment", "#"], 8 | ["comment", "# foobar"] 9 | ] 10 | 11 | ---------------------------------------------------- 12 | 13 | Checks for comments. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/yaml/directive_feature.test: -------------------------------------------------------------------------------- 1 | %YAML 1.2 2 | %TAG 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["directive", "%YAML 1.2"], 8 | ["directive", "%TAG"] 9 | ] 10 | 11 | ---------------------------------------------------- 12 | 13 | Checks for directives. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/yaml/important_feature.test: -------------------------------------------------------------------------------- 1 | &B1 2 | &A 3 | *A 4 | &SS 5 | *SS 6 | 7 | ---------------------------------------------------- 8 | 9 | [ 10 | ["important", "&B1"], 11 | ["important", "&A"], 12 | ["important", "*A"], 13 | ["important", "&SS"], 14 | ["important", "*SS"] 15 | ] 16 | 17 | ---------------------------------------------------- 18 | 19 | Checks for important. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/yaml/key_feature.test: -------------------------------------------------------------------------------- 1 | --- 2 | foo: 4 3 | FooBar : 5 4 | 5 | ---------------------------------------------------- 6 | 7 | [ 8 | ["punctuation", "---"], 9 | ["key", "foo"], ["punctuation", ":"], ["number", "4"], 10 | ["key", "FooBar"], ["punctuation", ":"], ["number", "5"] 11 | ] 12 | 13 | ---------------------------------------------------- 14 | 15 | Checks for keys. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/yaml/null_feature.test: -------------------------------------------------------------------------------- 1 | --- 2 | foo: null 3 | bar: ~ 4 | 5 | ---------------------------------------------------- 6 | 7 | [ 8 | ["punctuation", "---"], 9 | ["key", "foo"], ["punctuation", ":"], 10 | ["null", "null"], 11 | ["key", "bar"], ["punctuation", ":"], 12 | ["null", "~"] 13 | ] 14 | 15 | ---------------------------------------------------- 16 | 17 | Checks for null and ~. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/yaml/scalar_feature.test: -------------------------------------------------------------------------------- 1 | --- 2 | foo: > 3 | Foo bar 4 | baz 5 | bar: | 6 | Foo bar 7 | baz 8 | 9 | ---------------------------------------------------- 10 | 11 | [ 12 | ["punctuation", "---"], 13 | ["key", "foo"], ["punctuation", ":"], 14 | ["punctuation", ">"], 15 | ["scalar", "\r\n\tFoo bar\r\n\tbaz"], 16 | ["key", "bar"], ["punctuation", ":"], 17 | ["punctuation", "|"], 18 | ["scalar", "\r\n\tFoo bar\r\n\tbaz"] 19 | ] 20 | 21 | ---------------------------------------------------- 22 | 23 | Checks for scalars. -------------------------------------------------------------------------------- /node_modules/prismjs/tests/languages/yaml/tag_feature.test: -------------------------------------------------------------------------------- 1 | !!map 2 | !!str 3 | !!seq 4 | 5 | ---------------------------------------------------- 6 | 7 | [ 8 | ["tag", "!!map"], 9 | ["tag", "!!str"], 10 | ["tag", "!!seq"] 11 | ] 12 | 13 | ---------------------------------------------------- 14 | 15 | Checks for tags -------------------------------------------------------------------------------- /plugin/markdown/example.md: -------------------------------------------------------------------------------- 1 | # Markdown Demo 2 | 3 | 4 | 5 | ## External 1.1 6 | 7 | Content 1.1 8 | 9 | Note: This will only appear in the speaker notes window. 10 | 11 | 12 | ## External 1.2 13 | 14 | Content 1.2 15 | 16 | 17 | 18 | ## External 2 19 | 20 | Content 2.1 21 | 22 | 23 | 24 | ## External 3.1 25 | 26 | Content 3.1 27 | 28 | 29 | ## External 3.2 30 | 31 | Content 3.2 32 | -------------------------------------------------------------------------------- /plugin/multiplex/client.js: -------------------------------------------------------------------------------- 1 | (function() { 2 | var multiplex = Reveal.getConfig().multiplex; 3 | var socketId = multiplex.id; 4 | var socket = io.connect(multiplex.url); 5 | 6 | socket.on(multiplex.id, function(data) { 7 | // ignore data from sockets that aren't ours 8 | if (data.socketId !== socketId) { return; } 9 | if( window.location.host === 'localhost:1947' ) return; 10 | 11 | Reveal.slide(data.indexh, data.indexv, data.indexf, 'remote'); 12 | }); 13 | }()); 14 | -------------------------------------------------------------------------------- /test/examples/assets/image1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chentsulin/redux-intro/a1b1afb03a57b657c8730832363f1d28e253e9e4/test/examples/assets/image1.png -------------------------------------------------------------------------------- /test/examples/assets/image2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chentsulin/redux-intro/a1b1afb03a57b657c8730832363f1d28e253e9e4/test/examples/assets/image2.png -------------------------------------------------------------------------------- /test/test-markdown.js: -------------------------------------------------------------------------------- 1 | 2 | 3 | Reveal.addEventListener( 'ready', function() { 4 | 5 | QUnit.module( 'Markdown' ); 6 | 7 | test( 'Vertical separator', function() { 8 | strictEqual( document.querySelectorAll( '.reveal .slides>section>section' ).length, 2, 'found two slides' ); 9 | }); 10 | 11 | 12 | } ); 13 | 14 | Reveal.initialize(); 15 | 16 | -------------------------------------------------------------------------------- /test/test-pdf.js: -------------------------------------------------------------------------------- 1 | 2 | Reveal.addEventListener( 'ready', function() { 3 | 4 | // Only one test for now, we're mainly ensuring that there 5 | // are no execution errors when running PDF mode 6 | 7 | test( 'Reveal.isReady', function() { 8 | strictEqual( Reveal.isReady(), true, 'returns true' ); 9 | }); 10 | 11 | 12 | } ); 13 | 14 | Reveal.initialize({ pdf: true }); 15 | 16 | --------------------------------------------------------------------------------