├── .gitignore ├── docs ├── .nojekyll ├── _style │ └── prism-master │ │ ├── CNAME │ │ ├── .gitignore │ │ ├── plugins │ │ ├── autolinker │ │ │ └── prism-autolinker.css │ │ ├── highlight-keywords │ │ │ ├── prism-highlight-keywords.min.js │ │ │ └── prism-highlight-keywords.js │ │ ├── show-invisibles │ │ │ └── prism-show-invisibles.min.js │ │ ├── wpd │ │ │ └── prism-wpd.css │ │ ├── remove-initial-line-feed │ │ │ └── prism-remove-initial-line-feed.min.js │ │ ├── custom-class │ │ │ └── prism-custom-class.min.js │ │ └── unescaped-markup │ │ │ └── prism-unescaped-markup.css │ │ ├── favicon.png │ │ ├── img │ │ ├── logo-ala.png │ │ ├── logo-mdn.png │ │ ├── spectrum.png │ │ ├── logo-react.png │ │ ├── logo-drupal.png │ │ ├── logo-smashing.png │ │ ├── logo-stripe.png │ │ ├── logo-css-tricks.png │ │ └── logo-sitepoint.png │ │ ├── .gitattributes │ │ ├── components │ │ ├── prism-tsx.min.js │ │ ├── prism-tsx.js │ │ ├── prism-diff.min.js │ │ ├── prism-ini.min.js │ │ ├── prism-hsts.min.js │ │ ├── prism-arff.min.js │ │ ├── prism-gcode.min.js │ │ ├── prism-brainfuck.min.js │ │ ├── prism-git.min.js │ │ ├── prism-ini.js │ │ ├── prism-hpkp.min.js │ │ ├── prism-arff.js │ │ ├── prism-properties.min.js │ │ ├── prism-php-extras.min.js │ │ ├── prism-protobuf.min.js │ │ ├── prism-properties.js │ │ ├── prism-json.min.js │ │ ├── prism-gcode.js │ │ ├── prism-prolog.min.js │ │ ├── prism-docker.min.js │ │ ├── prism-protobuf.js │ │ ├── prism-php-extras.js │ │ ├── prism-brainfuck.js │ │ ├── prism-erb.min.js │ │ ├── prism-tap.min.js │ │ ├── prism-hsts.js │ │ ├── prism-matlab.min.js │ │ └── prism-roboconf.min.js │ │ ├── templates │ │ ├── header-download.html │ │ └── header-plugins.html │ │ ├── tests │ │ └── languages │ │ │ ├── asciidoc │ │ │ ├── entity_feature.js │ │ │ ├── hr_feature.test │ │ │ ├── page-break_feature.test │ │ │ ├── comment-block_feature.test │ │ │ └── line-continuation_feature.test │ │ │ ├── markup │ │ │ ├── entity_feature.js │ │ │ ├── entity_feature.test │ │ │ ├── cdata_feature.test │ │ │ ├── comment_feature.test │ │ │ └── issue888.test │ │ │ ├── asm6502 │ │ │ ├── directive_feature.test │ │ │ ├── comment_feature.test │ │ │ ├── string_feature.test │ │ │ ├── opcode_feature.test │ │ │ ├── register_feature.test │ │ │ └── number_feature.test │ │ │ ├── json │ │ │ ├── null_feature.test │ │ │ ├── operator_feature.test │ │ │ └── boolean_feature.test │ │ │ ├── scss │ │ │ ├── null_feature.test │ │ │ ├── boolean_feature.test │ │ │ ├── placeholder_feature.test │ │ │ └── comment_feature.test │ │ │ ├── lolcode │ │ │ ├── variable_feature.test │ │ │ ├── boolean_feature.test │ │ │ ├── number_feature.test │ │ │ ├── comment_feature.test │ │ │ ├── label_feature.test │ │ │ └── function_feature.test │ │ │ ├── php!+php-extras │ │ │ └── this_feature.test │ │ │ ├── plsql │ │ │ ├── operator_feature.test │ │ │ └── comment_feature.test │ │ │ ├── cil │ │ │ ├── strings.test │ │ │ ├── asm_reference.test │ │ │ ├── comment.test │ │ │ └── boolean.test │ │ │ ├── lisp │ │ │ ├── comment_feature.test │ │ │ ├── heading_feature.test │ │ │ ├── lisp-property_feature.test │ │ │ ├── car_feature.test │ │ │ ├── splice_feature.test │ │ │ ├── quoted-symbol_feature.test │ │ │ └── punctuation_feature.test │ │ │ ├── mizar │ │ │ ├── comment_feature.test │ │ │ ├── number_feature.test │ │ │ └── operator_feature.test │ │ │ ├── bash │ │ │ ├── shebang_feature.test │ │ │ ├── comment_feature.test │ │ │ └── variable_feature.test │ │ │ ├── erlang │ │ │ ├── comment_feature.test │ │ │ ├── boolean_feature.test │ │ │ ├── string_feature.test │ │ │ ├── variable_feature.test │ │ │ └── atom_feature.test │ │ │ ├── tap │ │ │ ├── version_feature.test │ │ │ ├── plan_feature.test │ │ │ ├── pragma_feature.test │ │ │ ├── bail_out_feature.test │ │ │ └── directive_feature.test │ │ │ ├── gherkin │ │ │ ├── outline_feature.test │ │ │ ├── comment_feature.test │ │ │ ├── tag_feature.test │ │ │ └── pystring_feature.test │ │ │ ├── ada │ │ │ ├── char_feature.test │ │ │ ├── boolean_feature.test │ │ │ ├── comment_feature.test │ │ │ ├── string_feature.test │ │ │ ├── variable_feature.test │ │ │ └── attr-name_feature.test │ │ │ ├── roboconf │ │ │ ├── optional_feature.test │ │ │ ├── comment_feature.test │ │ │ ├── wildcard_feature.test │ │ │ └── component_feature.test │ │ │ ├── rust │ │ │ ├── char_feature.test │ │ │ ├── attribute_feature.test │ │ │ ├── macro-rules_feature.test │ │ │ ├── comment_feature.test │ │ │ ├── issue1353.test │ │ │ └── lifetime-annotation_feature.test │ │ │ ├── arff │ │ │ ├── number_feature.test │ │ │ ├── comment_feature.test │ │ │ ├── string_feature.test │ │ │ └── keyword_feature.test │ │ │ ├── gcode │ │ │ ├── checksum_feature.test │ │ │ ├── string_feature.test │ │ │ ├── keyword_feature.test │ │ │ └── property_feature.test │ │ │ ├── nasm │ │ │ ├── comment_feature.test │ │ │ ├── label_feature.test │ │ │ └── string_feature.test │ │ │ ├── rip │ │ │ ├── builtin_feature.test │ │ │ ├── boolean_feature.test │ │ │ ├── comment_feature.test │ │ │ ├── reference_feature.test │ │ │ ├── character_feature.test │ │ │ ├── symbol_feature.test │ │ │ ├── string_feature.test │ │ │ ├── regex_feature.test │ │ │ └── number_feature.test │ │ │ ├── scheme │ │ │ ├── boolean_feature.test │ │ │ ├── comment_feature.test │ │ │ └── character_feature.test │ │ │ ├── toml │ │ │ ├── boolean_feature.test │ │ │ ├── comment_feature.test │ │ │ └── table_feature.test │ │ │ ├── wiki │ │ │ ├── hr_feature.test │ │ │ ├── block-comment_feature.test │ │ │ └── symbol_feature.test │ │ │ ├── abap │ │ │ ├── comment_feature.test │ │ │ ├── eol-comment_feature.test │ │ │ ├── number_feature.test │ │ │ └── string_feature.test │ │ │ ├── batch │ │ │ ├── label_feature.test │ │ │ └── comment_feature.test │ │ │ ├── clojure │ │ │ ├── string_feature.test │ │ │ ├── boolean_feature.test │ │ │ └── comment_feature.test │ │ │ ├── cpp │ │ │ ├── boolean_feature.test │ │ │ └── class-name_feature.test │ │ │ ├── hsts │ │ │ ├── preload_feature.test │ │ │ ├── safe_maxage_feature.test │ │ │ ├── unsafe_maxage_feature.test │ │ │ └── include_subdomains_feature.test │ │ │ ├── icon │ │ │ └── comment_feature.test │ │ │ ├── ini │ │ │ ├── comment_feature.test │ │ │ └── selector_feature.test │ │ │ ├── j │ │ │ ├── string_feature.test │ │ │ └── comment_feature.test │ │ │ ├── nim │ │ │ └── comment_feature.test │ │ │ ├── nix │ │ │ ├── boolean_feature.test │ │ │ ├── number_feature.test │ │ │ ├── antiquotation_feature.test │ │ │ └── comment_feature.test │ │ │ ├── perl │ │ │ ├── vstring_feature.test │ │ │ ├── function_feature.test │ │ │ ├── comment_feature.test │ │ │ └── filehandle_feature.test │ │ │ ├── qore │ │ │ ├── boolean_feature.test │ │ │ ├── variable_feature.test │ │ │ └── string_feature.test │ │ │ ├── r │ │ │ ├── boolean_feature.test │ │ │ ├── comment_feature.test │ │ │ ├── ellipsis_feature.test │ │ │ └── string_feature.test │ │ │ ├── tcl │ │ │ ├── comment_feature.test │ │ │ ├── scope_feature.test │ │ │ ├── string_feature.test │ │ │ └── function_feature.test │ │ │ ├── vhdl │ │ │ ├── boolean_feature.test │ │ │ ├── comment_feature.test │ │ │ ├── constant_feature.test │ │ │ └── string_feature.test │ │ │ ├── yaml │ │ │ ├── comment_feature.test │ │ │ ├── directive_feature.test │ │ │ ├── tag_feature.test │ │ │ ├── key_feature.test │ │ │ ├── important_feature.test │ │ │ ├── null_feature.test │ │ │ └── boolean_feature.test │ │ │ ├── autohotkey │ │ │ ├── boolean_feature.test │ │ │ ├── comment_feature.test │ │ │ ├── variable_feature.test │ │ │ ├── string_feature.test │ │ │ ├── tag_feature.test │ │ │ ├── function_feature.test │ │ │ └── number_feature.test │ │ │ ├── autoit │ │ │ ├── boolean_feature.test │ │ │ ├── directive_feature.test │ │ │ ├── url_feature.test │ │ │ └── number_feature.test │ │ │ ├── docker │ │ │ └── comment_feature.test │ │ │ ├── eiffel │ │ │ ├── boolean_feature.test │ │ │ ├── char_feature.test │ │ │ ├── class-name_feature.test │ │ │ └── comment_feature.test │ │ │ ├── graphql │ │ │ ├── boolean_feature.test │ │ │ ├── comment_feature.test │ │ │ ├── directive_feature.test │ │ │ ├── variable_feature.test │ │ │ └── string_feature.test │ │ │ ├── julia │ │ │ ├── boolean_feature.test │ │ │ └── comment_feature.test │ │ │ ├── latex │ │ │ ├── comment_feature.test │ │ │ └── url_feature.test │ │ │ ├── mel │ │ │ ├── comment_feature.test │ │ │ ├── string_feature.test │ │ │ ├── flag_feature.test │ │ │ ├── number_feature.test │ │ │ ├── variable_feature.test │ │ │ └── code_feature.test │ │ │ ├── nginx │ │ │ ├── comment_feature.test │ │ │ └── variable_feature.test │ │ │ ├── ocaml │ │ │ ├── boolean_feature.test │ │ │ ├── comment_feature.test │ │ │ ├── directive_feature.test │ │ │ └── type_feature.test │ │ │ ├── puppet │ │ │ ├── boolean_feature.test │ │ │ └── variable_feature.test │ │ │ ├── python │ │ │ ├── comment_feature.test │ │ │ ├── boolean_feature.test │ │ │ └── class-name_feature.test │ │ │ ├── q │ │ │ ├── string_feature.test │ │ │ ├── symbol_feature.test │ │ │ └── adverb_feature.test │ │ │ ├── vim │ │ │ ├── comment_feature.test │ │ │ ├── number_feature.test │ │ │ ├── string_feature.test │ │ │ └── function_feature.test │ │ │ ├── apl │ │ │ ├── statement_feature.test │ │ │ ├── assignment_feature.test │ │ │ ├── string_feature.test │ │ │ ├── comment_feature.test │ │ │ ├── constant_feature.test │ │ │ └── system-function_feature.test │ │ │ ├── basic │ │ │ ├── string_feature.test │ │ │ ├── comment_feature.test │ │ │ └── number_feature.test │ │ │ ├── fortran │ │ │ ├── boolean_feature.test │ │ │ └── comment_feature.test │ │ │ ├── ichigojam │ │ │ ├── label_feature.test │ │ │ ├── string_feature.test │ │ │ └── comment_feature.test │ │ │ ├── javascript │ │ │ ├── boolean_feature.test │ │ │ └── issue1337.test │ │ │ ├── parigp │ │ │ ├── string_feature.test │ │ │ ├── comment_feature.test │ │ │ └── function_feature.test │ │ │ ├── pure │ │ │ ├── string_feature.test │ │ │ ├── special_feature.test │ │ │ └── comment_feature.test │ │ │ ├── reason │ │ │ ├── string_feature.test │ │ │ ├── label_feature.test │ │ │ ├── constructor_feature.test │ │ │ ├── character_feature.test │ │ │ └── class-name_feature.test │ │ │ ├── xquery │ │ │ ├── extension_feature.test │ │ │ ├── number_feature.test │ │ │ └── variable_feature.test │ │ │ ├── applescript │ │ │ ├── string_feature.test │ │ │ └── number_feature.test │ │ │ ├── css!+css-extras │ │ │ ├── entity_feature.test │ │ │ ├── number_feature.test │ │ │ └── hexcode_feature.test │ │ │ ├── keyman │ │ │ ├── comment_feature.test │ │ │ ├── operator_feature.test │ │ │ ├── string_feature.test │ │ │ └── tag_feature.test │ │ │ ├── monkey │ │ │ ├── string_feature.test │ │ │ ├── preprocessor_feature.test │ │ │ ├── number_feature.test │ │ │ ├── function_feature.test │ │ │ └── type-char_feature.test │ │ │ ├── csharp │ │ │ ├── issue806.test │ │ │ ├── issue1091.test │ │ │ └── number_feature.test │ │ │ ├── processing │ │ │ ├── constant_feature.test │ │ │ └── function_feature.test │ │ │ ├── php │ │ │ ├── shell-comment_feature.test │ │ │ └── constant_feature.test │ │ │ ├── prolog │ │ │ ├── number_feature.test │ │ │ ├── variable_feature.test │ │ │ ├── comment_feature.test │ │ │ ├── builtin_feature.test │ │ │ └── function_feature.test │ │ │ ├── verilog │ │ │ ├── property_feature.test │ │ │ ├── constant_feature.test │ │ │ ├── string_feature.test │ │ │ └── comment_feature.test │ │ │ ├── bison │ │ │ └── number_feature.test │ │ │ ├── d │ │ │ └── token-string_feature.test │ │ │ ├── hpkp │ │ │ ├── safe_maxage_feature.test │ │ │ ├── unsafe_maxage_feature.test │ │ │ └── sha256_pin_feature.test │ │ │ ├── markdown │ │ │ ├── hr_feature.test │ │ │ └── blockquote_feature.test │ │ │ ├── apacheconf │ │ │ ├── regex_feature.test │ │ │ ├── directive-flags_feature.test │ │ │ └── variable_feature.test │ │ │ ├── clike │ │ │ ├── issue1340.test │ │ │ ├── boolean_feature.test │ │ │ └── comment_feature.test │ │ │ ├── coffeescript │ │ │ ├── class-member_feature.test │ │ │ ├── property_feature.test │ │ │ └── comment_feature.test │ │ │ ├── elixir │ │ │ ├── atom_feature.test │ │ │ ├── boolean_feature.test │ │ │ ├── comment_feature.test │ │ │ ├── issue1392.test │ │ │ └── issue775.test │ │ │ ├── less │ │ │ ├── operator_feature.test │ │ │ └── comment_feature.test │ │ │ ├── markup+haml │ │ │ └── markup_feature.test │ │ │ ├── nsis │ │ │ ├── variable_feature.test │ │ │ ├── string_feature.test │ │ │ ├── comment_feature.test │ │ │ └── number_feature.test │ │ │ ├── oz │ │ │ ├── variable_feature.test │ │ │ ├── atom_feature.test │ │ │ ├── string_feature.test │ │ │ ├── comment_feature.test │ │ │ └── function_feature.test │ │ │ ├── smalltalk │ │ │ ├── string_feature.test │ │ │ ├── comment_feature.test │ │ │ ├── character_feature.test │ │ │ ├── keyword_feature.test │ │ │ └── symbol_feature.test │ │ │ ├── sql │ │ │ ├── boolean_feature.test │ │ │ └── number_feature.test │ │ │ ├── inform7 │ │ │ └── comment_feature.test │ │ │ ├── matlab │ │ │ ├── string_feature.test │ │ │ └── function_feature.test │ │ │ ├── groovy │ │ │ └── shebang_feature.test │ │ │ ├── scala │ │ │ └── symbol_feature.test │ │ │ ├── elm │ │ │ ├── comment_feature.test │ │ │ ├── constant_feature.test │ │ │ ├── hvariable_feature.test │ │ │ └── char_feature.test │ │ │ ├── git │ │ │ ├── coord_feature.test │ │ │ └── string_feature.test │ │ │ ├── smarty │ │ │ └── comment_feature.test │ │ │ ├── visual-basic │ │ │ └── boolean_feature.test │ │ │ ├── csp │ │ │ ├── directive_no_value_feature.test │ │ │ └── directive_with_source_expression_feature.test │ │ │ ├── haml │ │ │ └── doctype_feature.test │ │ │ ├── haskell │ │ │ ├── comment_feature.test │ │ │ ├── char_feature.test │ │ │ ├── constant_feature.test │ │ │ └── hvariable_feature.test │ │ │ ├── xojo │ │ │ ├── string_feature.test │ │ │ ├── comment_feature.test │ │ │ └── symbol_feature.test │ │ │ ├── makefile │ │ │ ├── comment_feature.test │ │ │ └── operator_feature.test │ │ │ ├── livescript │ │ │ ├── argument_feature.test │ │ │ ├── comment_feature.test │ │ │ └── boolean_feature.test │ │ │ ├── twig │ │ │ └── comment_feature.test │ │ │ ├── opencl+c │ │ │ └── boolean_feature.test │ │ │ ├── ruby │ │ │ ├── symbol_feature.test │ │ │ ├── issue1336.test │ │ │ └── constant_feature.test │ │ │ ├── flow │ │ │ └── flow-punctuation_feature.test │ │ │ ├── kotlin │ │ │ └── label_feature.test │ │ │ ├── xeora │ │ │ ├── directive-block-close_feature.test │ │ │ ├── directive-block-separator_feature.test │ │ │ └── constant_feature.test │ │ │ ├── fsharp │ │ │ └── comment_feature.test │ │ │ ├── aspnet │ │ │ └── comment_feature.test │ │ │ ├── handlebars+pug │ │ │ └── handlebars_inclusion.test │ │ │ ├── properties │ │ │ └── comment_feature.test │ │ │ ├── stylus │ │ │ └── comment_feature.test │ │ │ ├── go │ │ │ └── boolean_feature.test │ │ │ ├── pug │ │ │ ├── plain-text_feature.test │ │ │ └── doctype_feature.test │ │ │ ├── css │ │ │ └── comment_feature.test │ │ │ ├── haxe │ │ │ ├── preprocessor_feature.test │ │ │ ├── reification_feature.test │ │ │ ├── metadata_feature.test │ │ │ └── regex_feature.test │ │ │ ├── sas │ │ │ ├── datetime_feature.test │ │ │ ├── comment_feature.test │ │ │ └── keyword_feature.test │ │ │ ├── scss+pug │ │ │ └── scss_inclusion.test │ │ │ ├── vbnet │ │ │ └── comment_feature.test │ │ │ ├── jolie │ │ │ └── number_feature.test │ │ │ ├── swift │ │ │ └── constant_feature.test │ │ │ ├── wasm │ │ │ └── variable_feature.test │ │ │ ├── cpp+pure │ │ │ └── cpp_inclusion.test │ │ │ ├── markdown+pug │ │ │ └── markdown_inclusion.test │ │ │ ├── diff │ │ │ └── coord_feature.test │ │ │ ├── io │ │ │ └── comment_feature.test │ │ │ ├── powershell │ │ │ ├── variable_feature.test │ │ │ └── boolean_feature.test │ │ │ ├── textile │ │ │ └── footnote_feature.test │ │ │ ├── django │ │ │ └── comment_feature.test │ │ │ ├── bro │ │ │ └── comment_feature.test │ │ │ ├── fortran+pure │ │ │ └── fortran_inclusion.test │ │ │ ├── less+pug │ │ │ └── less_inclusion.test │ │ │ ├── coffeescript+pug │ │ │ └── coffeescript_inclusion.test │ │ │ ├── glsl │ │ │ └── comment_feature.test │ │ │ └── pascal │ │ │ └── string_feature.test │ │ ├── examples │ │ ├── prism-ini.html │ │ ├── prism-properties.html │ │ ├── prism-hsts.html │ │ ├── prism-latex.html │ │ ├── prism-rip.html │ │ ├── prism-crystal.html │ │ ├── prism-hpkp.html │ │ ├── prism-parigp.html │ │ └── prism-batch.html │ │ ├── .editorconfig │ │ └── .npmignore ├── _media │ ├── 公众号.jpg │ ├── LogoMakr_1J56bI.png │ └── logomakr-3sxxzw-128x128.png ├── images │ ├── shop.jpg │ └── groupcode.png └── assets │ └── groupcode.png ├── images ├── shop.jpg └── groupcode.png └── .github └── ISSUE_TEMPLATE └── contribute-md.md /.gitignore: -------------------------------------------------------------------------------- 1 | docs/pdf -------------------------------------------------------------------------------- /docs/.nojekyll: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /docs/_style/prism-master/CNAME: -------------------------------------------------------------------------------- 1 | prismjs.com -------------------------------------------------------------------------------- /docs/_style/prism-master/.gitignore: -------------------------------------------------------------------------------- 1 | hide-*.js 2 | node_modules 3 | .idea/ 4 | .DS_Store 5 | -------------------------------------------------------------------------------- /docs/_style/prism-master/plugins/autolinker/prism-autolinker.css: -------------------------------------------------------------------------------- 1 | .token a { 2 | color: inherit; 3 | } -------------------------------------------------------------------------------- /images/shop.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/loafer/effective-java-3rd-chinese/master/images/shop.jpg -------------------------------------------------------------------------------- /docs/_media/公众号.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/loafer/effective-java-3rd-chinese/master/docs/_media/公众号.jpg -------------------------------------------------------------------------------- /docs/images/shop.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/loafer/effective-java-3rd-chinese/master/docs/images/shop.jpg -------------------------------------------------------------------------------- /images/groupcode.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/loafer/effective-java-3rd-chinese/master/images/groupcode.png -------------------------------------------------------------------------------- /docs/assets/groupcode.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/loafer/effective-java-3rd-chinese/master/docs/assets/groupcode.png -------------------------------------------------------------------------------- /docs/images/groupcode.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/loafer/effective-java-3rd-chinese/master/docs/images/groupcode.png -------------------------------------------------------------------------------- /docs/_media/LogoMakr_1J56bI.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/loafer/effective-java-3rd-chinese/master/docs/_media/LogoMakr_1J56bI.png -------------------------------------------------------------------------------- /docs/_style/prism-master/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/loafer/effective-java-3rd-chinese/master/docs/_style/prism-master/favicon.png -------------------------------------------------------------------------------- /docs/_media/logomakr-3sxxzw-128x128.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/loafer/effective-java-3rd-chinese/master/docs/_media/logomakr-3sxxzw-128x128.png -------------------------------------------------------------------------------- /docs/_style/prism-master/img/logo-ala.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/loafer/effective-java-3rd-chinese/master/docs/_style/prism-master/img/logo-ala.png -------------------------------------------------------------------------------- /docs/_style/prism-master/img/logo-mdn.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/loafer/effective-java-3rd-chinese/master/docs/_style/prism-master/img/logo-mdn.png -------------------------------------------------------------------------------- /docs/_style/prism-master/img/spectrum.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/loafer/effective-java-3rd-chinese/master/docs/_style/prism-master/img/spectrum.png -------------------------------------------------------------------------------- /docs/_style/prism-master/img/logo-react.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/loafer/effective-java-3rd-chinese/master/docs/_style/prism-master/img/logo-react.png -------------------------------------------------------------------------------- /docs/_style/prism-master/.gitattributes: -------------------------------------------------------------------------------- 1 | * text=auto 2 | 3 | # Test files should not have their line endings modified by git 4 | /tests/languages/**/*.test binary -------------------------------------------------------------------------------- /docs/_style/prism-master/img/logo-drupal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/loafer/effective-java-3rd-chinese/master/docs/_style/prism-master/img/logo-drupal.png -------------------------------------------------------------------------------- /docs/_style/prism-master/img/logo-smashing.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/loafer/effective-java-3rd-chinese/master/docs/_style/prism-master/img/logo-smashing.png -------------------------------------------------------------------------------- /docs/_style/prism-master/img/logo-stripe.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/loafer/effective-java-3rd-chinese/master/docs/_style/prism-master/img/logo-stripe.png -------------------------------------------------------------------------------- /docs/_style/prism-master/img/logo-css-tricks.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/loafer/effective-java-3rd-chinese/master/docs/_style/prism-master/img/logo-css-tricks.png -------------------------------------------------------------------------------- /docs/_style/prism-master/img/logo-sitepoint.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/loafer/effective-java-3rd-chinese/master/docs/_style/prism-master/img/logo-sitepoint.png -------------------------------------------------------------------------------- /docs/_style/prism-master/components/prism-tsx.min.js: -------------------------------------------------------------------------------- 1 | var typescript=Prism.util.clone(Prism.languages.typescript);Prism.languages.tsx=Prism.languages.extend("jsx",typescript); -------------------------------------------------------------------------------- /docs/_style/prism-master/components/prism-tsx.js: -------------------------------------------------------------------------------- 1 | var typescript = Prism.util.clone(Prism.languages.typescript); 2 | Prism.languages.tsx = Prism.languages.extend('jsx', typescript); -------------------------------------------------------------------------------- /docs/_style/prism-master/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"}}; -------------------------------------------------------------------------------- /docs/_style/prism-master/components/prism-ini.min.js: -------------------------------------------------------------------------------- 1 | Prism.languages.ini={comment:/^[ \t]*;.*$/m,selector:/^[ \t]*\[.*?\]/m,constant:/^[ \t]*[^\s=]+?(?=[ \t]*=)/m,"attr-value":{pattern:/=.*/,inside:{punctuation:/^[=]/}}}; -------------------------------------------------------------------------------- /docs/_style/prism-master/components/prism-hsts.min.js: -------------------------------------------------------------------------------- 1 | Prism.languages.hsts={directive:{pattern:/\b(?:max-age=|includeSubDomains|preload)/,alias:"keyword"},safe:{pattern:/\d{8,}/,alias:"selector"},unsafe:{pattern:/\d{0,7}/,alias:"function"}}; -------------------------------------------------------------------------------- /docs/_style/prism-master/components/prism-arff.min.js: -------------------------------------------------------------------------------- 1 | Prism.languages.arff={comment:/%.*/,string:{pattern:/(["'])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:/@(?:attribute|data|end|relation)\b/i,number:/\b\d+(?:\.\d+)?\b/,punctuation:/[{},]/}; -------------------------------------------------------------------------------- /docs/_style/prism-master/templates/header-download.html: -------------------------------------------------------------------------------- 1 | Download Prism 2 | Customize your download to include only the languages and plugins you need and the compression level you prefer. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/asciidoc/entity_feature.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | '➊': '➊', 3 | '¶': '¶' 4 | }; -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/markup/entity_feature.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | '&': '&', 3 | 'ϑ': 'ϑ' 4 | }; -------------------------------------------------------------------------------- /docs/_style/prism-master/components/prism-gcode.min.js: -------------------------------------------------------------------------------- 1 | Prism.languages.gcode={comment:/;.*|\B\(.*?\)\B/,string:{pattern:/"(?:""|[^"])*"/,greedy:!0},keyword:/\b[GM]\d+(?:\.\d+)?\b/,property:/\b[A-Z]/,checksum:{pattern:/\*\d+/,alias:"punctuation"},punctuation:/:/}; -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/asm6502/directive_feature.test: -------------------------------------------------------------------------------- 1 | .segment CODE 2 | 3 | ------------------------- 4 | 5 | [ 6 | ["directive", ".segment"], 7 | " CODE" 8 | ] 9 | 10 | ------------------------- 11 | 12 | Check for directives 13 | -------------------------------------------------------------------------------- /docs/_style/prism-master/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)})}(); -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/json/null_feature.test: -------------------------------------------------------------------------------- 1 | null 2 | 3 | ---------------------------------------------------- 4 | 5 | [ 6 | ["null", "null"] 7 | ] 8 | 9 | ---------------------------------------------------- 10 | 11 | Checks for null. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/scss/null_feature.test: -------------------------------------------------------------------------------- 1 | null 2 | 3 | ---------------------------------------------------- 4 | 5 | [ 6 | ["null", "null"] 7 | ] 8 | 9 | ---------------------------------------------------- 10 | 11 | Checks for null. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/asm6502/comment_feature.test: -------------------------------------------------------------------------------- 1 | ; 2 | ; foo bar baz 3 | 4 | ------------------------- 5 | 6 | [ 7 | ["comment", ";"], 8 | ["comment", "; foo bar baz"] 9 | ] 10 | 11 | ------------------------- 12 | 13 | Check for comments 14 | -------------------------------------------------------------------------------- /docs/_style/prism-master/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+/}; -------------------------------------------------------------------------------- /docs/_style/prism-master/components/prism-git.min.js: -------------------------------------------------------------------------------- 1 | Prism.languages.git={comment:/^#.*/m,deleted:/^[-–].*/m,inserted:/^\+.*/m,string:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/m,command:{pattern:/^.*\$ git .*$/m,inside:{parameter:/\s--?\w+/m}},coord:/^@@.*@@$/m,commit_sha1:/^commit \w{40}$/m}; -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/json/operator_feature.test: -------------------------------------------------------------------------------- 1 | : 2 | 3 | ---------------------------------------------------- 4 | 5 | [ 6 | ["operator", ":"] 7 | ] 8 | 9 | ---------------------------------------------------- 10 | 11 | Checks for all operators. 12 | -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/asm6502/string_feature.test: -------------------------------------------------------------------------------- 1 | .include "header.asm" 2 | 3 | ------------------------- 4 | 5 | [ 6 | ["directive", ".include"], 7 | ["string", "\"header.asm\""] 8 | ] 9 | 10 | ------------------------- 11 | 12 | Check for strings 13 | -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/lolcode/variable_feature.test: -------------------------------------------------------------------------------- 1 | IT 2 | 3 | ---------------------------------------------------- 4 | 5 | [ 6 | ["variable", "IT"] 7 | ] 8 | 9 | ---------------------------------------------------- 10 | 11 | Checks for variables. -------------------------------------------------------------------------------- /docs/_style/prism-master/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. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/plsql/operator_feature.test: -------------------------------------------------------------------------------- 1 | := 2 | 3 | ---------------------------------------------------- 4 | 5 | [ 6 | ["operator", ":="] 7 | ] 8 | 9 | ---------------------------------------------------- 10 | 11 | Checks for all operators. -------------------------------------------------------------------------------- /docs/_style/prism-master/examples/prism-ini.html: -------------------------------------------------------------------------------- 1 |
; This is a comment
3 |
4 | [owner]
6 | [database]
7 |
8 | name=prism
10 | file="somefile.txt"
--------------------------------------------------------------------------------
/docs/_style/prism-master/tests/languages/cil/strings.test:
--------------------------------------------------------------------------------
1 | "testing! £$%^&*"
2 |
3 | ----------------------------------------------------
4 |
5 | [
6 | ["string", "\"testing! £$%^&*\""]
7 | ]
8 |
9 | ----------------------------------------------------
10 |
11 | Tests strings.
12 |
--------------------------------------------------------------------------------
/docs/_style/prism-master/tests/languages/lisp/comment_feature.test:
--------------------------------------------------------------------------------
1 | ;; h1
2 |
3 | ----------------------------------------------------
4 |
5 | [
6 | ["comment", ";; h1"]
7 | ]
8 |
9 | ----------------------------------------------------
10 |
11 | Checks for comments.
12 |
--------------------------------------------------------------------------------
/docs/_style/prism-master/tests/languages/lisp/heading_feature.test:
--------------------------------------------------------------------------------
1 | ;;; h1
2 |
3 | ----------------------------------------------------
4 |
5 | [
6 | ["heading", ";;; h1"]
7 | ]
8 |
9 | ----------------------------------------------------
10 |
11 | Checks for headings.
12 |
--------------------------------------------------------------------------------
/docs/_style/prism-master/tests/languages/mizar/comment_feature.test:
--------------------------------------------------------------------------------
1 | :: Foobar
2 |
3 | ----------------------------------------------------
4 |
5 | [
6 | ["comment", ":: Foobar"]
7 | ]
8 |
9 | ----------------------------------------------------
10 |
11 | Checks for comments.
--------------------------------------------------------------------------------
/docs/_style/prism-master/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.
--------------------------------------------------------------------------------
/docs/_style/prism-master/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.
--------------------------------------------------------------------------------
/docs/_style/prism-master/tests/languages/tap/version_feature.test:
--------------------------------------------------------------------------------
1 | TAP version 13
2 |
3 | ----------------------------------------------------
4 |
5 | [
6 | ["version", "TAP version 13" ]
7 | ]
8 |
9 | ----------------------------------------------------
10 |
11 | Checks TAP version
12 |
--------------------------------------------------------------------------------
/docs/_style/prism-master/components/prism-ini.js:
--------------------------------------------------------------------------------
1 | Prism.languages.ini= {
2 | 'comment': /^[ \t]*;.*$/m,
3 | 'selector': /^[ \t]*\[.*?\]/m,
4 | 'constant': /^[ \t]*[^\s=]+?(?=[ \t]*=)/m,
5 | 'attr-value': {
6 | pattern: /=.*/,
7 | inside: {
8 | 'punctuation': /^[=]/
9 | }
10 | }
11 | };
--------------------------------------------------------------------------------
/docs/_style/prism-master/examples/prism-properties.html:
--------------------------------------------------------------------------------
1 | # This is a comment
3 | ! This is a comment too
4 |
5 | some_key some_value
7 | some\ key\ with\ spaces : some value
8 | some_key = some \
9 | multiline value
--------------------------------------------------------------------------------
/docs/_style/prism-master/plugins/show-invisibles/prism-show-invisibles.min.js:
--------------------------------------------------------------------------------
1 | !function(){"undefined"!=typeof self&&!self.Prism||"undefined"!=typeof global&&!global.Prism||Prism.hooks.add("before-highlight",function(e){var f=e.grammar;f&&(f.tab=/\t/g,f.crlf=/\r\n/g,f.lf=/\n/g,f.cr=/\r/g,f.space=/ /g)})}();
--------------------------------------------------------------------------------
/docs/_style/prism-master/tests/languages/cil/asm_reference.test:
--------------------------------------------------------------------------------
1 | [mscorlib]
2 |
3 | --------------------------------------------------------
4 |
5 | [
6 | [ "variable", "[mscorlib]" ]
7 | ]
8 |
9 | --------------------------------------------------------
10 |
11 | Tests assembly references
12 |
--------------------------------------------------------------------------------
/docs/_style/prism-master/tests/languages/cil/comment.test:
--------------------------------------------------------------------------------
1 | // this is a test
2 |
3 | --------------------------------------------------------
4 |
5 | [
6 | [ "comment", "// this is a test" ]
7 | ]
8 |
9 | --------------------------------------------------------
10 |
11 | Tests comments
12 |
--------------------------------------------------------------------------------
/docs/_style/prism-master/tests/languages/gherkin/outline_feature.test:
--------------------------------------------------------------------------------
1 | max-age=31536000
3 |
4 | max-age=123
6 |
7 | max-age=31536000; includeSubdomains; preload
9 |
--------------------------------------------------------------------------------
/docs/_style/prism-master/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.
--------------------------------------------------------------------------------
/docs/_style/prism-master/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.
--------------------------------------------------------------------------------
/docs/_style/prism-master/tests/languages/asciidoc/page-break_feature.test:
--------------------------------------------------------------------------------
1 | <<<
2 |
3 | <<<<<<<<<<<<<
4 |
5 | ----------------------------------------------------
6 |
7 | [
8 | ["page-break", "<<<"],
9 | ["page-break", "<<<<<<<<<<<<<"]
10 | ]
11 |
12 | ----------------------------------------------------
13 |
14 | Checks for page breaks.
--------------------------------------------------------------------------------
/docs/_style/prism-master/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.
--------------------------------------------------------------------------------
/docs/_style/prism-master/tests/languages/clike/issue1340.test:
--------------------------------------------------------------------------------
1 | /*
2 | //
3 | */
4 |
5 | ----------------------------------------------------
6 |
7 | [
8 | ["comment", "/*\r\n//\r\n*/"]
9 | ]
10 |
11 | ----------------------------------------------------
12 |
13 | Non-regression test for inline comments inside multiline comments. See #1340
--------------------------------------------------------------------------------
/docs/_style/prism-master/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.
--------------------------------------------------------------------------------
/docs/_style/prism-master/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.
--------------------------------------------------------------------------------
/docs/_style/prism-master/tests/languages/hsts/include_subdomains_feature.test:
--------------------------------------------------------------------------------
1 | includeSubDomains
2 |
3 | ----------------------------------------------------
4 |
5 | [
6 | ["directive", "includeSubDomains"]
7 | ]
8 |
9 | ----------------------------------------------------
10 |
11 | Checks for HSTS with the includeSubDomains directive.
12 |
--------------------------------------------------------------------------------
/docs/_style/prism-master/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.
--------------------------------------------------------------------------------
/docs/_style/prism-master/tests/languages/markup+haml/markup_feature.test:
--------------------------------------------------------------------------------
1 | % This is a comment
3 |
4 | \begin{document}
6 | \documentstyle[twoside,epsfig]{article}
7 | \usepackage{epsfig,multicol}
8 |
9 | $\alpha$
11 | H$_{2}$O
12 | 45$^{\circ}$C
--------------------------------------------------------------------------------
/docs/_style/prism-master/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.
--------------------------------------------------------------------------------
/docs/_style/prism-master/tests/languages/asm6502/register_feature.test:
--------------------------------------------------------------------------------
1 | LDA $8000,x
2 | ASL A
3 |
4 | -------------------------
5 |
6 | [
7 | ["opcode", "LDA"],
8 | ["hexnumber", "$8000"],
9 | ",",
10 | ["register", "x"],
11 | ["opcode", "ASL"],
12 | ["register", "A"]
13 | ]
14 |
15 | -------------------------
16 |
17 | Check for registers
18 |
--------------------------------------------------------------------------------
/docs/_style/prism-master/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.
--------------------------------------------------------------------------------
/docs/_style/prism-master/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.
--------------------------------------------------------------------------------
/docs/_style/prism-master/tests/languages/matlab/string_feature.test:
--------------------------------------------------------------------------------
1 | ''
2 | 'foo''bar'
3 | '%s'
4 |
5 | ----------------------------------------------------
6 |
7 | [
8 | ["string", "''"],
9 | ["string", "'foo''bar'"],
10 | ["string", "'%s'"]
11 | ]
12 |
13 | ----------------------------------------------------
14 |
15 | Checks for strings.
--------------------------------------------------------------------------------
/docs/_style/prism-master/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.
--------------------------------------------------------------------------------
/docs/_style/prism-master/tests/languages/python/boolean_feature.test:
--------------------------------------------------------------------------------
1 | True
2 | False
3 | None
4 |
5 | ----------------------------------------------------
6 |
7 | [
8 | ["boolean", "True"],
9 | ["boolean", "False"],
10 | ["boolean", "None"]
11 | ]
12 |
13 | ----------------------------------------------------
14 |
15 | Checks for booleans.
--------------------------------------------------------------------------------
/docs/_style/prism-master/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.
--------------------------------------------------------------------------------
/docs/_style/prism-master/examples/prism-rip.html:
--------------------------------------------------------------------------------
1 | # This is a comment
3 |
4 | "foo \"bar\" baz"
6 | 'foo \'bar\' baz'
7 |
8 | regular_expression = /abc/
10 |
11 | string_symbol = :rip
--------------------------------------------------------------------------------
/docs/_style/prism-master/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.
--------------------------------------------------------------------------------
/docs/_style/prism-master/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.
--------------------------------------------------------------------------------
/docs/_style/prism-master/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.
--------------------------------------------------------------------------------
/docs/_style/prism-master/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.
--------------------------------------------------------------------------------
/docs/_style/prism-master/tests/languages/oz/atom_feature.test:
--------------------------------------------------------------------------------
1 | ''
2 | 'fo\'obar'
3 | 'foo
4 | bar'
5 |
6 | ----------------------------------------------------
7 |
8 | [
9 | ["atom", "''"],
10 | ["atom", "'fo\\'obar'"],
11 | ["atom", "'foo\r\nbar'"]
12 | ]
13 |
14 | ----------------------------------------------------
15 |
16 | Checks for atoms.
--------------------------------------------------------------------------------
/docs/_style/prism-master/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.
--------------------------------------------------------------------------------
/docs/_style/prism-master/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.
--------------------------------------------------------------------------------
/docs/_style/prism-master/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.
--------------------------------------------------------------------------------
/docs/_style/prism-master/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.
--------------------------------------------------------------------------------
/docs/_style/prism-master/tests/languages/eiffel/class-name_feature.test:
--------------------------------------------------------------------------------
1 | A
2 | FOO
3 | B4D_F4C3
4 |
5 | ----------------------------------------------------
6 |
7 | [
8 | ["class-name", "A"],
9 | ["class-name", "FOO"],
10 | ["class-name", "B4D_F4C3"]
11 | ]
12 |
13 | ----------------------------------------------------
14 |
15 | Checks for class names.
--------------------------------------------------------------------------------
/docs/_style/prism-master/tests/languages/elm/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.
--------------------------------------------------------------------------------
/docs/_style/prism-master/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.
--------------------------------------------------------------------------------
/docs/_style/prism-master/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.
--------------------------------------------------------------------------------
/docs/_style/prism-master/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.
--------------------------------------------------------------------------------
/docs/_style/prism-master/tests/languages/reason/label_feature.test:
--------------------------------------------------------------------------------
1 | foo::bar
2 | a::baz
3 |
4 | ----------------------------------------------------
5 |
6 | [
7 | ["label", "foo"], ["operator", "::"], "bar\r\n",
8 | ["label", "a"], ["operator", "::"], "baz"
9 | ]
10 |
11 | ----------------------------------------------------
12 |
13 | Checks for labels.
--------------------------------------------------------------------------------
/docs/_style/prism-master/tests/languages/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.
--------------------------------------------------------------------------------
/docs/_style/prism-master/tests/languages/visual-basic/boolean_feature.test:
--------------------------------------------------------------------------------
1 | True
2 | False
3 | Nothing
4 |
5 | ----------------------------------------------------
6 |
7 | [
8 | ["boolean", "True"],
9 | ["boolean", "False"],
10 | ["boolean", "Nothing"]
11 | ]
12 |
13 | ----------------------------------------------------
14 |
15 | Checks for booleans.
--------------------------------------------------------------------------------
/docs/_style/prism-master/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.
--------------------------------------------------------------------------------
/docs/_style/prism-master/tests/languages/clojure/comment_feature.test:
--------------------------------------------------------------------------------
1 | ;; this is comment
2 | ; this is another comment
3 |
4 | ----------------------------------------------------
5 |
6 | [
7 | ["comment", ";; this is comment"],
8 | ["comment", "; this is another comment"]
9 | ]
10 |
11 | ----------------------------------------------------
12 |
13 | Checks for comments.
--------------------------------------------------------------------------------
/docs/_style/prism-master/tests/languages/csp/directive_no_value_feature.test:
--------------------------------------------------------------------------------
1 | upgrade-insecure-requests;
2 |
3 | ----------------------------------------------------
4 |
5 | [
6 | ["directive", "upgrade-insecure-requests;"]
7 | ]
8 |
9 | ----------------------------------------------------
10 |
11 | Checks for a "void" CSP directive followed by semicolon.
12 |
--------------------------------------------------------------------------------
/docs/_style/prism-master/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 |
--------------------------------------------------------------------------------
/docs/_style/prism-master/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.
--------------------------------------------------------------------------------
/docs/_style/prism-master/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.
--------------------------------------------------------------------------------
/docs/_style/prism-master/tests/languages/lisp/lisp-property_feature.test:
--------------------------------------------------------------------------------
1 | (
2 | :foo
3 | )
4 |
5 | ----------------------------------------------------
6 |
7 | [
8 | ["punctuation", "("],
9 | ["lisp-property", ":foo"],
10 | ["punctuation", ")"]
11 | ]
12 |
13 | ----------------------------------------------------
14 |
15 | Checks for lisp properties.
16 |
--------------------------------------------------------------------------------
/docs/_style/prism-master/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.
--------------------------------------------------------------------------------
/docs/_style/prism-master/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.
--------------------------------------------------------------------------------
/docs/_style/prism-master/tests/languages/reason/constructor_feature.test:
--------------------------------------------------------------------------------
1 | Yes
2 | Foo_bar
3 | A
4 |
5 | ----------------------------------------------------
6 |
7 | [
8 | ["constructor", "Yes"],
9 | ["constructor", "Foo_bar"],
10 | ["constructor", "A"]
11 | ]
12 |
13 | ----------------------------------------------------
14 |
15 | Checks for constructors.
--------------------------------------------------------------------------------
/docs/_style/prism-master/tests/languages/xojo/string_feature.test:
--------------------------------------------------------------------------------
1 | ""
2 | """"
3 | "Foo ""bar"""
4 |
5 | ----------------------------------------------------
6 |
7 | [
8 | ["string", "\"\""],
9 | ["string", "\"\"\"\""],
10 | ["string", "\"Foo \"\"bar\"\"\""]
11 | ]
12 |
13 | ----------------------------------------------------
14 |
15 | Checks for strings.
--------------------------------------------------------------------------------
/docs/_style/prism-master/components/prism-properties.js:
--------------------------------------------------------------------------------
1 | Prism.languages.properties = {
2 | 'comment': /^[ \t]*[#!].*$/m,
3 | 'attr-value': {
4 | pattern: /(^[ \t]*(?:\\(?:\r\n|[\s\S])|[^\\\s:=])+?(?: *[=:] *| ))(?:\\(?:\r\n|[\s\S])|[^\\\r\n])+/m,
5 | lookbehind: true
6 | },
7 | 'attr-name': /^[ \t]*(?:\\(?:\r\n|[\s\S])|[^\\\s:=])+?(?= *[=:] *| )/m,
8 | 'punctuation': /[=:]/
9 | };
--------------------------------------------------------------------------------
/docs/_style/prism-master/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).
--------------------------------------------------------------------------------
/docs/_style/prism-master/tests/languages/eiffel/comment_feature.test:
--------------------------------------------------------------------------------
1 | --
2 | -- foo bar
3 | -- "foo" bar
4 |
5 | ----------------------------------------------------
6 |
7 | [
8 | ["comment", "--"],
9 | ["comment", "-- foo bar"],
10 | ["comment", "-- \"foo\" bar"]
11 | ]
12 |
13 | ----------------------------------------------------
14 |
15 | Checks for comments.
--------------------------------------------------------------------------------
/docs/_style/prism-master/tests/languages/elm/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.
--------------------------------------------------------------------------------
/docs/_style/prism-master/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.
--------------------------------------------------------------------------------
/docs/_style/prism-master/tests/languages/oz/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.
--------------------------------------------------------------------------------
/docs/_style/prism-master/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.
--------------------------------------------------------------------------------
/docs/_style/prism-master/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.
--------------------------------------------------------------------------------
/docs/_style/prism-master/tests/languages/sql/number_feature.test:
--------------------------------------------------------------------------------
1 | 42
2 | 0.154
3 | 0xBadFace
4 |
5 | ----------------------------------------------------
6 |
7 | [
8 | ["number", "42"],
9 | ["number", "0.154"],
10 | ["number", "0xBadFace"]
11 | ]
12 |
13 | ----------------------------------------------------
14 |
15 | Checks for decimal and hexadecimal numbers.
--------------------------------------------------------------------------------
/docs/_style/prism-master/components/prism-json.min.js:
--------------------------------------------------------------------------------
1 | Prism.languages.json={comment:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,property:{pattern:/"(?:\\.|[^\\"\r\n])*"(?=\s*:)/,greedy:!0},string:{pattern:/"(?:\\.|[^\\"\r\n])*"(?!\s*:)/,greedy:!0},number:/-?\d+\.?\d*(e[+-]?\d+)?/i,punctuation:/[{}[\],]/,operator:/:/,"boolean":/\b(?:true|false)\b/,"null":/\bnull\b/},Prism.languages.jsonp=Prism.languages.json;
--------------------------------------------------------------------------------
/docs/_style/prism-master/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.
--------------------------------------------------------------------------------
/docs/_style/prism-master/tests/languages/elm/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.
--------------------------------------------------------------------------------
/docs/_style/prism-master/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.
--------------------------------------------------------------------------------
/docs/_style/prism-master/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.
--------------------------------------------------------------------------------
/docs/_style/prism-master/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.
--------------------------------------------------------------------------------
/docs/_style/prism-master/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.
--------------------------------------------------------------------------------
/docs/_style/prism-master/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.
--------------------------------------------------------------------------------
/docs/_style/prism-master/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.
--------------------------------------------------------------------------------
/docs/_style/prism-master/components/prism-gcode.js:
--------------------------------------------------------------------------------
1 | Prism.languages.gcode = {
2 | 'comment': /;.*|\B\(.*?\)\B/,
3 | 'string': {
4 | pattern: /"(?:""|[^"])*"/,
5 | greedy: true
6 | },
7 | 'keyword': /\b[GM]\d+(?:\.\d+)?\b/,
8 | 'property': /\b[A-Z]/,
9 | 'checksum': {
10 | pattern: /\*\d+/,
11 | alias: 'punctuation'
12 | },
13 | // T0:0:0
14 | 'punctuation': /:/
15 | };
16 |
--------------------------------------------------------------------------------
/docs/_style/prism-master/components/prism-prolog.min.js:
--------------------------------------------------------------------------------
1 | Prism.languages.prolog={comment:[/%.+/,/\/\*[\s\S]*?\*\//],string:{pattern:/(["'])(?:\1\1|\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},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:/[(){}\[\],]/};
--------------------------------------------------------------------------------
/docs/_style/prism-master/tests/languages/ada/attr-name_feature.test:
--------------------------------------------------------------------------------
1 | Integer'Size
2 | Character'Val
3 |
4 | ----------------------------------------------------
5 |
6 | [
7 | ["variable", "Integer"], ["attr-name", "'Size"],
8 | ["variable", "Character"], ["attr-name", "'Val"]
9 | ]
10 |
11 | ----------------------------------------------------
12 |
13 | Checks for attributes.
--------------------------------------------------------------------------------
/docs/_style/prism-master/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.
--------------------------------------------------------------------------------
/docs/_style/prism-master/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.
--------------------------------------------------------------------------------
/docs/_style/prism-master/tests/languages/elixir/comment_feature.test:
--------------------------------------------------------------------------------
1 | #
2 | # Foobar
3 | #{ This is a comment
4 |
5 | ----------------------------------------------------
6 |
7 | [
8 | ["comment", "#"],
9 | ["comment", "# Foobar"],
10 | ["comment", "#{ This is a comment"]
11 | ]
12 |
13 | ----------------------------------------------------
14 |
15 | Checks for comments.
--------------------------------------------------------------------------------
/docs/_style/prism-master/tests/languages/graphql/string_feature.test:
--------------------------------------------------------------------------------
1 | ""
2 | "foo bar"
3 | "foo\"bar\\baz"
4 |
5 | ----------------------------------------------------
6 |
7 | [
8 | ["string", "\"\""],
9 | ["string", "\"foo bar\""],
10 | ["string", "\"foo\\\"bar\\\\baz\""]
11 | ]
12 |
13 | ----------------------------------------------------
14 |
15 | Checks for strings.
--------------------------------------------------------------------------------
/docs/_style/prism-master/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.
--------------------------------------------------------------------------------
/docs/_style/prism-master/tests/languages/livescript/argument_feature.test:
--------------------------------------------------------------------------------
1 | &
2 | &0
3 | &1
4 | &999
5 |
6 | ----------------------------------------------------
7 |
8 | [
9 | ["argument", "&"],
10 | ["argument", "&0"],
11 | ["argument", "&1"],
12 | ["argument", "&999"]
13 | ]
14 |
15 | ----------------------------------------------------
16 |
17 | Checks for arguments.
--------------------------------------------------------------------------------
/docs/_style/prism-master/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.
--------------------------------------------------------------------------------
/docs/_style/prism-master/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.
--------------------------------------------------------------------------------
/docs/_style/prism-master/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.
--------------------------------------------------------------------------------
/docs/_style/prism-master/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.
--------------------------------------------------------------------------------
/docs/_style/prism-master/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.
--------------------------------------------------------------------------------
/docs/_style/prism-master/tests/languages/csp/directive_with_source_expression_feature.test:
--------------------------------------------------------------------------------
1 | script-src example.com;
2 |
3 | ----------------------------------------------------
4 |
5 | [
6 | ["directive", "script-src "],
7 | "example.com;"
8 | ]
9 |
10 | ----------------------------------------------------
11 |
12 | Checks for CSP directive followed by a source expression.
13 |
--------------------------------------------------------------------------------
/docs/_style/prism-master/tests/languages/javascript/issue1337.test:
--------------------------------------------------------------------------------
1 | // gulp.watch('./src/**/*.js', ['move']);
2 |
3 | ----------------------------------------------------
4 |
5 | [
6 | ["comment", "// gulp.watch('./src/**/*.js', ['move']);"]
7 | ]
8 |
9 | ----------------------------------------------------
10 |
11 | Checks for multi-line comment inside single-line comment. See #1337
--------------------------------------------------------------------------------
/docs/_style/prism-master/tests/languages/lisp/car_feature.test:
--------------------------------------------------------------------------------
1 | (foo)
2 | (foo bar)
3 |
4 | ----------------------------------------------------
5 |
6 | [
7 | ["punctuation","("], ["car", "foo"], ["punctuation",")"],
8 | ["punctuation","("], ["car", "foo"], " bar", ["punctuation",")"]
9 | ]
10 |
11 | ----------------------------------------------------
12 |
13 | Checks for car.
--------------------------------------------------------------------------------
/docs/_style/prism-master/tests/languages/lisp/splice_feature.test:
--------------------------------------------------------------------------------
1 | (
2 | ,foo
3 | ,@foo
4 | )
5 |
6 | ----------------------------------------------------
7 |
8 | [
9 | ["punctuation", "("],
10 | ["splice", ",foo"],
11 | ["splice", ",@foo"],
12 | ["punctuation", ")"]
13 | ]
14 |
15 | ----------------------------------------------------
16 |
17 | Checks for splices
18 |
--------------------------------------------------------------------------------
/docs/_style/prism-master/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.
--------------------------------------------------------------------------------
/docs/_style/prism-master/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.
--------------------------------------------------------------------------------
/docs/_style/prism-master/tests/languages/nix/antiquotation_feature.test:
--------------------------------------------------------------------------------
1 | ${42}
2 |
3 | ----------------------------------------------------
4 |
5 | [
6 | ["antiquotation", "$"],
7 | ["punctuation", "{"],
8 | ["number", "42"],
9 | ["punctuation", "}"]
10 | ]
11 |
12 | ----------------------------------------------------
13 |
14 | Checks for antiquotations outside of strings.
--------------------------------------------------------------------------------
/docs/_style/prism-master/tests/languages/opencl+c/boolean_feature.test:
--------------------------------------------------------------------------------
1 | CL_TRUE
2 | CL_FALSE
3 |
4 | ----------------------------------------------------
5 |
6 | [
7 | ["boolean-opencl-host", "CL_TRUE"],
8 | ["boolean-opencl-host", "CL_FALSE"]
9 | ]
10 |
11 | ----------------------------------------------------
12 |
13 | Checks for reserved boolean types in OpenCL host code (C-API).
--------------------------------------------------------------------------------
/docs/_style/prism-master/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.
--------------------------------------------------------------------------------
/docs/_style/prism-master/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.
--------------------------------------------------------------------------------
/docs/_style/prism-master/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.
--------------------------------------------------------------------------------
/docs/_style/prism-master/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.
--------------------------------------------------------------------------------
/docs/_style/prism-master/tests/languages/xquery/number_feature.test:
--------------------------------------------------------------------------------
1 | 0
2 | 3.14159
3 | 42E8
4 | 3.25E-4
5 |
6 | ----------------------------------------------------
7 |
8 | [
9 | ["number", "0"],
10 | ["number", "3.14159"],
11 | ["number", "42E8"],
12 | ["number", "3.25E-4"]
13 | ]
14 |
15 | ----------------------------------------------------
16 |
17 | Checks for numbers.
--------------------------------------------------------------------------------
/docs/_style/prism-master/tests/languages/xquery/variable_feature.test:
--------------------------------------------------------------------------------
1 | $foo
2 | $foo-bar
3 | $strings:LetterA
4 |
5 | ----------------------------------------------------
6 |
7 | [
8 | ["variable", "$foo"],
9 | ["variable", "$foo-bar"],
10 | ["variable", "$strings:LetterA"]
11 | ]
12 |
13 | ----------------------------------------------------
14 |
15 | Checks for variables.
--------------------------------------------------------------------------------
/docs/_style/prism-master/components/prism-docker.min.js:
--------------------------------------------------------------------------------
1 | Prism.languages.docker={keyword:{pattern:/(^\s*)(?:ADD|ARG|CMD|COPY|ENTRYPOINT|ENV|EXPOSE|FROM|HEALTHCHECK|LABEL|MAINTAINER|ONBUILD|RUN|SHELL|STOPSIGNAL|USER|VOLUME|WORKDIR)(?=\s)/im,lookbehind:!0},string:/("|')(?:(?!\1)[^\\\r\n]|\\(?:\r\n|[\s\S]))*\1/,comment:/#.*/,punctuation:/---|\.\.\.|[:[\]{}\-,|>?]/},Prism.languages.dockerfile=Prism.languages.docker;
--------------------------------------------------------------------------------
/docs/_style/prism-master/templates/header-plugins.html:
--------------------------------------------------------------------------------
1 | 6 | Prism is a lightweight, extensible syntax highlighter, built with modern web standards in mind. 7 | It’s used in thousands of websites, including some of those you visit daily. 8 |
9 | -------------------------------------------------------------------------------- /docs/_style/prism-master/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. -------------------------------------------------------------------------------- /docs/_style/prism-master/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. -------------------------------------------------------------------------------- /docs/_style/prism-master/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. -------------------------------------------------------------------------------- /docs/_style/prism-master/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. -------------------------------------------------------------------------------- /docs/_style/prism-master/.npmignore: -------------------------------------------------------------------------------- 1 | .idea 2 | *.iml 3 | 4 | hide-*.js 5 | 6 | CNAME 7 | examples/ 8 | img/ 9 | templates/ 10 | tests/ 11 | vendor/ 12 | *.tgz 13 | *.html 14 | style.css 15 | favicon.png 16 | logo.svg 17 | bower.json 18 | composer.json 19 | download.js 20 | examples.js 21 | gulpfile.js 22 | prefixfree.min.js 23 | utopia.js 24 | code.js 25 | .editorconfig 26 | .gitattributes 27 | .travis.yml -------------------------------------------------------------------------------- /docs/_style/prism-master/components/prism-protobuf.js: -------------------------------------------------------------------------------- 1 | Prism.languages.protobuf = Prism.languages.extend('clike', { 2 | keyword: /\b(?:package|import|message|enum)\b/, 3 | builtin: /\b(?:required|repeated|optional|reserved)\b/, 4 | primitive: { 5 | pattern: /\b(?:double|float|int32|int64|uint32|uint64|sint32|sint64|fixed32|fixed64|sfixed32|sfixed64|bool|string|bytes)\b/, 6 | alias: 'symbol' 7 | } 8 | }); 9 | -------------------------------------------------------------------------------- /docs/_style/prism-master/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 | -------------------------------------------------------------------------------- /docs/_style/prism-master/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. -------------------------------------------------------------------------------- /docs/_style/prism-master/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. -------------------------------------------------------------------------------- /docs/_style/prism-master/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. -------------------------------------------------------------------------------- /docs/_style/prism-master/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. -------------------------------------------------------------------------------- /docs/_style/prism-master/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. -------------------------------------------------------------------------------- /docs/_style/prism-master/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-sanity-check",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)/,""))}})}(); -------------------------------------------------------------------------------- /docs/_style/prism-master/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. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/arff/comment_feature.test: -------------------------------------------------------------------------------- 1 | % 2 | % Some comment 3 | % Comment " with ' quotes 4 | 5 | ---------------------------------------------------- 6 | 7 | [ 8 | ["comment", "%"], 9 | ["comment", "% Some comment"], 10 | ["comment", "% Comment \" with ' quotes"] 11 | ] 12 | 13 | ---------------------------------------------------- 14 | 15 | Checks for comments. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/arff/string_feature.test: -------------------------------------------------------------------------------- 1 | "double quoted\"' % string" 2 | 'single quoted"\' % string' 3 | 4 | ---------------------------------------------------- 5 | 6 | [ 7 | ["string", "\"double quoted\\\"' % string\""], 8 | ["string", "'single quoted\"\\' % string'"] 9 | ] 10 | 11 | ---------------------------------------------------- 12 | 13 | Checks for strings. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/asm6502/number_feature.test: -------------------------------------------------------------------------------- 1 | LDA #127 2 | STA $8000 3 | LDX #%10001010 4 | 5 | ------------------------- 6 | 7 | [ 8 | ["opcode", "LDA"], 9 | ["decimalnumber", "#127"], 10 | ["opcode", "STA"], 11 | ["hexnumber", "$8000"], 12 | ["opcode", "LDX"], 13 | ["binarynumber", "#%10001010"] 14 | ] 15 | 16 | ------------------------- 17 | 18 | Check for numbers 19 | -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/flow/flow-punctuation_feature.test: -------------------------------------------------------------------------------- 1 | {| foo : string |} 2 | 3 | ---------------------------------------------------- 4 | 5 | [ 6 | ["flow-punctuation", "{|"], " foo ", ["punctuation", ":"], 7 | ["type", "string"], ["flow-punctuation", "|}"] 8 | ] 9 | 10 | ---------------------------------------------------- 11 | 12 | Checks for Flow specific punctuation. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/hpkp/sha256_pin_feature.test: -------------------------------------------------------------------------------- 1 | pin-sha256="EpOpN/ahUF6jhWShDUdy+NvvtaGcu5F7qM6+x2mfkh4=" 2 | 3 | ---------------------------------------------------- 4 | 5 | [ 6 | ["directive", "pin-sha256=\"EpOpN/ahUF6jhWShDUdy+NvvtaGcu5F7qM6+x2mfkh4=\""] 7 | ] 8 | 9 | ---------------------------------------------------- 10 | 11 | Checks for HPKP with a sha256 pin. 12 | -------------------------------------------------------------------------------- /docs/_style/prism-master/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. -------------------------------------------------------------------------------- /docs/_style/prism-master/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. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/kotlin/label_feature.test: -------------------------------------------------------------------------------- 1 | loop@ 2 | break@loop 3 | return@forEach 4 | 5 | ---------------------------------------------------- 6 | 7 | [ 8 | ["label", "loop@"], 9 | ["keyword", "break"], ["label", "@loop"], 10 | ["keyword", "return"], ["label", "@forEach"] 11 | ] 12 | 13 | ---------------------------------------------------- 14 | 15 | Checks for labels. -------------------------------------------------------------------------------- /docs/_style/prism-master/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. -------------------------------------------------------------------------------- /docs/_style/prism-master/tests/languages/perl/filehandle_feature.test: -------------------------------------------------------------------------------- 1 | _ 2 | <> 3 |1_u32
3 | 123_456.789e-10_f64
4 |
5 | @[AlwaysInline]
7 | def foo
8 | 1
9 | end
10 |
11 | {% for key, value in {foo: 100, bar: 20} %}
13 | def {{ key.id }}
14 | {{ value }}
15 | end
16 | {% end %}
--------------------------------------------------------------------------------
/docs/_style/prism-master/tests/languages/asciidoc/comment-block_feature.test:
--------------------------------------------------------------------------------
1 | ////
2 | ////
3 |
4 | ////
5 | Foobar
6 |
7 | Baz
8 | ////
9 |
10 | ----------------------------------------------------
11 |
12 | [
13 | ["comment-block", "////\r\n////"],
14 | ["comment-block", "////\r\nFoobar\r\n\r\nBaz\r\n////"]
15 | ]
16 |
17 | ----------------------------------------------------
18 |
19 | Checks for comment blocks.
--------------------------------------------------------------------------------
/docs/_style/prism-master/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.
--------------------------------------------------------------------------------
/docs/_style/prism-master/tests/languages/haxe/preprocessor_feature.test:
--------------------------------------------------------------------------------
1 | #if
2 | #elseif
3 | #else
4 | #end
5 |
6 | ----------------------------------------------------
7 |
8 | [
9 | ["preprocessor", "#if"],
10 | ["preprocessor", "#elseif"],
11 | ["preprocessor", "#else"],
12 | ["preprocessor", "#end"]
13 | ]
14 |
15 | ----------------------------------------------------
16 |
17 | Checks for preprocessor directives.
--------------------------------------------------------------------------------
/docs/_style/prism-master/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.
--------------------------------------------------------------------------------
/docs/_style/prism-master/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.
--------------------------------------------------------------------------------
/docs/_style/prism-master/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.
--------------------------------------------------------------------------------
/docs/_style/prism-master/tests/languages/rust/issue1353.test:
--------------------------------------------------------------------------------
1 | (*e 0 b'a')
2 |
3 | ----------------------------------------------------
4 |
5 | [
6 | ["punctuation", "("],
7 | ["operator", "*"],
8 | "e ",
9 | ["number", "0"],
10 | ["char", "b'a'"],
11 | ["punctuation", ")"]
12 | ]
13 |
14 | ----------------------------------------------------
15 |
16 | Makes sure lifetime annotations do not mess with bytes. See #1353.
--------------------------------------------------------------------------------
/docs/_style/prism-master/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.
--------------------------------------------------------------------------------
/docs/_style/prism-master/tests/languages/scss+pug/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.
--------------------------------------------------------------------------------
/docs/_style/prism-master/tests/languages/vbnet/comment_feature.test:
--------------------------------------------------------------------------------
1 | !foobar
2 | REM foobar
3 |
4 | '
5 | 'foobar
6 |
7 | ----------------------------------------------------
8 |
9 | [
10 | ["comment", ["!foobar"]],
11 | ["comment", [["keyword", "REM"], " foobar"]],
12 | ["comment", "'"],
13 | ["comment", "'foobar"]
14 | ]
15 |
16 | ----------------------------------------------------
17 |
18 | Checks for comments
--------------------------------------------------------------------------------
/docs/_style/prism-master/components/prism-tap.min.js:
--------------------------------------------------------------------------------
1 | Prism.languages.tap={fail:/not ok[^#{\n\r]*/,pass:/ok[^#{\n\r]*/,pragma:/pragma [+-][a-z]+/,bailout:/bail out!.*/i,version:/TAP version \d+/i,plan:/\d+\.\.\d+(?: +#.*)?/,subtest:{pattern:/# Subtest(?:: .*)?/,greedy:!0},punctuation:/[{}]/,directive:/#.*/,yamlish:{pattern:/(^[^\S\r\n]*)---(?:\r\n?|\n)(?:.*(?:\r\n?|\n))*?[^\S\r\n]*\.\.\.$/m,lookbehind:!0,inside:Prism.languages.yaml,alias:"language-yaml"}};
--------------------------------------------------------------------------------
/docs/_style/prism-master/examples/prism-hpkp.html:
--------------------------------------------------------------------------------
1 | pin-sha256="EpOpN/ahUF6jhWShDUdy+NvvtaGcu5F7qM6+x2mfkh4=";
3 | max-age=31536000;
4 | includeSubDomains;
5 | report-uri="https://my-reports.com/submit"
6 |
7 |
8 | pin-sha256="EpOpN/ahUF6jhWShDUdy+NvvtaGcu5F7qM6+x2mfkh4=";
10 | max-age=123
11 |
12 |
--------------------------------------------------------------------------------
/docs/_style/prism-master/tests/languages/elixir/issue1392.test:
--------------------------------------------------------------------------------
1 | String.upcase(@fixed)
2 |
3 | ----------------------------------------------------
4 |
5 | [
6 | "String",
7 | ["punctuation", "."],
8 | "upcase",
9 | ["punctuation", "("],
10 | ["attribute", "@fixed"],
11 | ["punctuation", ")"]
12 | ]
13 |
14 | ----------------------------------------------------
15 |
16 | Ensure module attributes don't consume punctuation.
--------------------------------------------------------------------------------
/docs/_style/prism-master/tests/languages/haxe/reification_feature.test:
--------------------------------------------------------------------------------
1 | $e
2 | ${4+2}
3 |
4 | ----------------------------------------------------
5 |
6 | [
7 | ["reification", "$e"],
8 | ["reification", "$"],
9 | ["punctuation", "{"],
10 | ["number", "4"], ["operator", "+"], ["number", "2"],
11 | ["punctuation", "}"]
12 | ]
13 |
14 | ----------------------------------------------------
15 |
16 | Checks for reification.
--------------------------------------------------------------------------------
/docs/_style/prism-master/tests/languages/jolie/number_feature.test:
--------------------------------------------------------------------------------
1 | 42
2 | 42L
3 | 1.2e3
4 | 0.1E-4
5 | 0.2e+1
6 |
7 | ----------------------------------------------------
8 |
9 | [
10 | ["number", "42" ],
11 | ["number", "42L" ],
12 | ["number", "1.2e3" ],
13 | ["number", "0.1E-4" ],
14 | ["number", "0.2e+1" ]
15 | ]
16 |
17 | ----------------------------------------------------
18 |
19 | Checks for decimal numbers.
--------------------------------------------------------------------------------
/docs/_style/prism-master/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.
--------------------------------------------------------------------------------
/docs/_style/prism-master/tests/languages/rust/lifetime-annotation_feature.test:
--------------------------------------------------------------------------------
1 | 'foo
2 | 'a
3 | <'a>
4 |
5 | ----------------------------------------------------
6 |
7 | [
8 | ["lifetime-annotation", "'foo"],
9 | ["lifetime-annotation", "'a"],
10 | ["operator", "<"], ["lifetime-annotation", "'a"], ["operator", ">"]
11 | ]
12 |
13 | ----------------------------------------------------
14 |
15 | Checks for lifetime annotations.
--------------------------------------------------------------------------------
/docs/_style/prism-master/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.
--------------------------------------------------------------------------------
/docs/_style/prism-master/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.
--------------------------------------------------------------------------------
/docs/_style/prism-master/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.
--------------------------------------------------------------------------------
/docs/_style/prism-master/tests/languages/wasm/variable_feature.test:
--------------------------------------------------------------------------------
1 | $Foo
2 | $foo_42!
3 | $$
4 | $!#$%&'*+-./:<=>?@\^_`|~
5 |
6 | ----------------------------------------------------
7 |
8 | [
9 | ["variable", "$Foo"],
10 | ["variable", "$foo_42!"],
11 | ["variable", "$$"],
12 | ["variable", "$!#$%&'*+-./:<=>?@\\^_`|~"]
13 | ]
14 |
15 | ----------------------------------------------------
16 |
17 | Checks for variables.
--------------------------------------------------------------------------------
/docs/_style/prism-master/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 ~.
--------------------------------------------------------------------------------
/docs/_style/prism-master/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.
--------------------------------------------------------------------------------
/docs/_style/prism-master/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.
--------------------------------------------------------------------------------
/docs/_style/prism-master/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.
--------------------------------------------------------------------------------
/docs/_style/prism-master/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.
--------------------------------------------------------------------------------
/docs/_style/prism-master/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.
--------------------------------------------------------------------------------
/docs/_style/prism-master/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.
--------------------------------------------------------------------------------
/docs/_style/prism-master/tests/languages/markdown+pug/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.
--------------------------------------------------------------------------------
/docs/_style/prism-master/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.
--------------------------------------------------------------------------------
/docs/_style/prism-master/tests/languages/scheme/character_feature.test:
--------------------------------------------------------------------------------
1 | #\a
2 | #\space
3 | #\u0041
4 | #\λ
5 | #\)
6 |
7 | ----------------------------------------------------
8 |
9 | [
10 | ["character", "#\\a"],
11 | ["character", "#\\space"],
12 | ["character", "#\\u0041"],
13 | ["character", "#\\λ"],
14 | ["character", "#\\)"]
15 | ]
16 |
17 | ----------------------------------------------------
18 |
19 | Checks for character literals.
20 |
--------------------------------------------------------------------------------
/docs/_style/prism-master/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.
--------------------------------------------------------------------------------
/docs/_style/prism-master/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.
--------------------------------------------------------------------------------
/docs/_style/prism-master/tests/languages/lisp/punctuation_feature.test:
--------------------------------------------------------------------------------
1 | ()
2 | ( )
3 | []
4 | (
5 |
6 | ----------------------------------------------------
7 |
8 | [
9 | ["punctuation", "("], ["punctuation", ")"],
10 | ["punctuation", "("], ["punctuation", ")"],
11 | ["punctuation", "["], ["punctuation", "]"],
12 | ["punctuation", "("]
13 | ]
14 | ----------------------------------------------------
15 |
16 | Checks for punctuation.
--------------------------------------------------------------------------------
/docs/_style/prism-master/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.
--------------------------------------------------------------------------------
/docs/_style/prism-master/tests/languages/reason/character_feature.test:
--------------------------------------------------------------------------------
1 | 'a'
2 | '\''
3 | '\\'
4 | '\xff'
5 | '\o214'
6 |
7 | ----------------------------------------------------
8 |
9 | [
10 | ["character", "'a'"],
11 | ["character", "'\\''"],
12 | ["character", "'\\\\'"],
13 | ["character", "'\\xff'"],
14 | ["character", "'\\o214'"]
15 | ]
16 |
17 | ----------------------------------------------------
18 |
19 | Checks for characters.
--------------------------------------------------------------------------------
/docs/_style/prism-master/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 run"], ["keyword", "then"]
9 | ]
10 |
11 | ----------------------------------------------------
12 |
13 | Checks for all keywords.
--------------------------------------------------------------------------------
/docs/_style/prism-master/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.
--------------------------------------------------------------------------------
/docs/_style/prism-master/components/prism-hsts.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Original by Scott Helme.
3 | *
4 | * Reference: https://scotthelme.co.uk/hsts-cheat-sheet/
5 | */
6 |
7 | Prism.languages.hsts = {
8 | 'directive': {
9 | pattern: /\b(?:max-age=|includeSubDomains|preload)/,
10 | alias: 'keyword'
11 | },
12 | 'safe': {
13 | pattern: /\d{8,}/,
14 | alias: 'selector'
15 | },
16 | 'unsafe': {
17 | pattern: /\d{0,7}/,
18 | alias: 'function'
19 | }
20 | };
--------------------------------------------------------------------------------
/docs/_style/prism-master/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.
--------------------------------------------------------------------------------
/docs/_style/prism-master/tests/languages/io/comment_feature.test:
--------------------------------------------------------------------------------
1 | //
2 | // Foobar
3 | #!/usr/bin/env io
4 | /* multiline
5 | comment
6 | */
7 |
8 | ----------------------------------------------------
9 |
10 | [
11 | ["comment", "//"],
12 | ["comment", "// Foobar"],
13 | ["comment", "#!/usr/bin/env io"],
14 | ["comment", "/* multiline\ncomment\n*/"]
15 | ]
16 |
17 | ----------------------------------------------------
18 |
19 | Checks for comments.
20 |
--------------------------------------------------------------------------------
/docs/_style/prism-master/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.
--------------------------------------------------------------------------------
/docs/_style/prism-master/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.
--------------------------------------------------------------------------------
/docs/_style/prism-master/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
--------------------------------------------------------------------------------
/docs/_style/prism-master/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.
--------------------------------------------------------------------------------
/docs/_style/prism-master/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.
--------------------------------------------------------------------------------
/docs/_style/prism-master/tests/languages/xeora/directive-block-separator_feature.test:
--------------------------------------------------------------------------------
1 | }:Control3:{
2 |
3 | ----------------------------------------------------
4 |
5 | [
6 | ["directive-block-separator", [
7 | ["punctuation", "}"],
8 | ["punctuation", ":"],
9 | "Control3",
10 | ["punctuation", ":"],
11 | ["punctuation", "{"]
12 | ]]
13 | ]
14 |
15 | ----------------------------------------------------
16 |
17 | Checks for functions.
--------------------------------------------------------------------------------
/docs/_style/prism-master/components/prism-matlab.min.js:
--------------------------------------------------------------------------------
1 | Prism.languages.matlab={comment:[/%\{[\s\S]*?\}%/,/%.+/],string:{pattern:/\B'(?:''|[^'\r\n])*'/,greedy:!0},number:/(?:\b\d+\.?\d*|\B\.\d+)(?:[eE][+-]?\d+)?(?:[ij])?|\b[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}|[.,;\[\](){}!]/};
--------------------------------------------------------------------------------
/docs/_style/prism-master/tests/languages/django/comment_feature.test:
--------------------------------------------------------------------------------
1 | {##}
2 | {# This a Django template example #}
3 | {# Multi-line
4 | comment #}
5 |
6 | ----------------------------------------------------
7 |
8 | [
9 | ["comment", "{##}"],
10 | ["comment", "{# This a Django template example #}"],
11 | ["comment", "{# Multi-line\r\ncomment #}"]
12 | ]
13 |
14 | ----------------------------------------------------
15 |
16 | Checks for comments.
--------------------------------------------------------------------------------
/docs/_style/prism-master/tests/languages/haxe/metadata_feature.test:
--------------------------------------------------------------------------------
1 | @author("Nicolas")
2 | @debug
3 | @:noCompletion
4 |
5 | ----------------------------------------------------
6 |
7 | [
8 | ["metadata", "@author"], ["punctuation", "("], ["string", ["\"Nicolas\""]], ["punctuation", ")"],
9 | ["metadata", "@debug"],
10 | ["metadata", "@:noCompletion"]
11 | ]
12 |
13 | ----------------------------------------------------
14 |
15 | Checks for metadata.
--------------------------------------------------------------------------------
/docs/_style/prism-master/tests/languages/haxe/regex_feature.test:
--------------------------------------------------------------------------------
1 | ~/ha\/xe/i
2 | ~/[A-Z0-9._%-]+@[A-Z0-9.-]+.[A-Z][A-Z][A-Z]?/i
3 | ~/(dog|fox)/igmsu
4 |
5 | ----------------------------------------------------
6 |
7 | [
8 | ["regex", "~/ha\\/xe/i"],
9 | ["regex", "~/[A-Z0-9._%-]+@[A-Z0-9.-]+.[A-Z][A-Z][A-Z]?/i"],
10 | ["regex", "~/(dog|fox)/igmsu"]
11 | ]
12 |
13 | ----------------------------------------------------
14 |
15 | Checks for regexes.
--------------------------------------------------------------------------------
/docs/_style/prism-master/tests/languages/parigp/function_feature.test:
--------------------------------------------------------------------------------
1 | foo()
2 | f o o b a r ( )
3 |
4 | ----------------------------------------------------
5 |
6 | [
7 | ["function", "foo"], ["punctuation", "("], ["punctuation", ")"],
8 | ["function", "f o o b a r"], ["punctuation", "("], ["punctuation", ")"]
9 | ]
10 |
11 | ----------------------------------------------------
12 |
13 | Checks for functions. Also checks that whitespaces are ignored.
--------------------------------------------------------------------------------
/docs/_style/prism-master/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.
--------------------------------------------------------------------------------
/docs/_style/prism-master/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.
--------------------------------------------------------------------------------
/docs/_style/prism-master/tests/languages/xojo/symbol_feature.test:
--------------------------------------------------------------------------------
1 | #If
2 | #Else
3 | #ElseIf
4 | #Endif
5 | #Pragma
6 |
7 | ----------------------------------------------------
8 |
9 | [
10 | ["symbol", "#If"],
11 | ["symbol", "#Else"],
12 | ["symbol", "#ElseIf"],
13 | ["symbol", "#Endif"],
14 | ["symbol", "#Pragma"]
15 | ]
16 |
17 | ----------------------------------------------------
18 |
19 | Checks for conditional compilation and pragma.
--------------------------------------------------------------------------------
/docs/_style/prism-master/examples/prism-parigp.html:
--------------------------------------------------------------------------------
1 | \\ Single line comment
3 | /* Multi line
4 | comment */
5 |
6 | ""
8 | "Foo \"bar\" baz"
9 |
10 | 0.
12 | 42
13 | 3 . 14 15 9
14 | 5.2 E +12
15 | .89
16 |
17 | p r i n t ("hello")
19 | if err(1/i, E, print (E))
20 | a + = b \ / c
--------------------------------------------------------------------------------
/docs/_style/prism-master/plugins/unescaped-markup/prism-unescaped-markup.css:
--------------------------------------------------------------------------------
1 | /* Fallback, in case JS does not run, to ensure the code is at least visible */
2 | [class*='lang-'] script[type='text/plain'],
3 | [class*='language-'] script[type='text/plain'],
4 | script[type='text/plain'][class*='lang-'],
5 | script[type='text/plain'][class*='language-'] {
6 | display: block;
7 | font: 100% Consolas, Monaco, monospace;
8 | white-space: pre;
9 | overflow: auto;
10 | }
11 |
--------------------------------------------------------------------------------
/docs/_style/prism-master/tests/languages/asciidoc/line-continuation_feature.test:
--------------------------------------------------------------------------------
1 | Foo +
2 | bar
3 |
4 | * Foo
5 | +
6 | bar
7 |
8 | ----------------------------------------------------
9 |
10 | [
11 | "Foo ", ["line-continuation", "+"], "\r\nbar\r\n\r\n",
12 | ["list-punctuation", "*"], " Foo\r\n",
13 | ["line-continuation", "+"], "\r\nbar"
14 | ]
15 |
16 | ----------------------------------------------------
17 |
18 | Checks for line continuations.
--------------------------------------------------------------------------------
/docs/_style/prism-master/tests/languages/gcode/keyword_feature.test:
--------------------------------------------------------------------------------
1 | G00
2 | G200
3 | G84.1
4 |
5 | M00
6 | M123
7 | M52.4
8 |
9 | ----------------------------------------------------
10 |
11 | [
12 | ["keyword", "G00"],
13 | ["keyword", "G200"],
14 | ["keyword", "G84.1"],
15 |
16 | ["keyword", "M00"],
17 | ["keyword", "M123"],
18 | ["keyword", "M52.4"]
19 | ]
20 |
21 | ----------------------------------------------------
22 |
23 | Checks for G- and M-codes.
24 |
--------------------------------------------------------------------------------
/docs/_style/prism-master/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.
--------------------------------------------------------------------------------
/docs/_style/prism-master/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.
--------------------------------------------------------------------------------
/docs/_style/prism-master/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
--------------------------------------------------------------------------------
/docs/_style/prism-master/examples/prism-batch.html:
--------------------------------------------------------------------------------
1 | ::
3 | :: Foo bar
4 | REM This is a comment too
5 | REM Multi-line ^
6 | comment
7 |
8 | :foobar
10 | GOTO :EOF
11 |
12 | @ECHO OFF
14 | FOR /l %%a in (5,-1,1) do (TITLE %title% -- closing in %%as)
15 | SET title=%~n0
16 | if /i "%InstSize:~0,1%"=="M" set maxcnt=3
17 | ping -n 2 -w 1 127.0.0.1
--------------------------------------------------------------------------------
/docs/_style/prism-master/tests/languages/bro/comment_feature.test:
--------------------------------------------------------------------------------
1 | ## comment
2 | #TODO
3 | ## FIXME
4 | # XXX
5 |
6 | ----------------------------------------------------
7 |
8 | [
9 | ["comment", [ "## comment"]],
10 | ["comment", [ "#", ["italic", "TODO"]]],
11 | ["comment", [ "## ", ["italic", "FIXME"]]],
12 | ["comment", [ "# ", ["italic", "XXX"]]]
13 | ]
14 |
15 | ----------------------------------------------------
16 |
17 | Checks for the highlighting of comments
--------------------------------------------------------------------------------
/docs/_style/prism-master/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.
--------------------------------------------------------------------------------
/docs/_style/prism-master/tests/languages/gcode/property_feature.test:
--------------------------------------------------------------------------------
1 | X123
2 | Y0.2
3 | Z-3.1415
4 | E420:420
5 |
6 | ----------------------------------------------------
7 |
8 | [
9 | ["property", "X"], "123\n",
10 | ["property", "Y"], "0.2\n",
11 | ["property", "Z"], "-3.1415\n",
12 | ["property", "E"], "420", ["punctuation", ":"], "420"
13 | ]
14 |
15 | ----------------------------------------------------
16 |
17 | Checks for all other codes except G- and M-codes.
18 |
--------------------------------------------------------------------------------
/docs/_style/prism-master/tests/languages/less+pug/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.
--------------------------------------------------------------------------------
/docs/_style/prism-master/tests/languages/livescript/boolean_feature.test:
--------------------------------------------------------------------------------
1 | false
2 | no
3 | off
4 | on
5 | true
6 | yes
7 |
8 | ----------------------------------------------------
9 |
10 | [
11 | ["boolean", "false"],
12 | ["boolean", "no"],
13 | ["boolean", "off"],
14 | ["boolean", "on"],
15 | ["boolean", "true"],
16 | ["boolean", "yes"]
17 | ]
18 |
19 | ----------------------------------------------------
20 |
21 | Checks for all boolean aliases.
--------------------------------------------------------------------------------
/docs/_style/prism-master/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.
--------------------------------------------------------------------------------
/docs/_style/prism-master/tests/languages/reason/class-name_feature.test:
--------------------------------------------------------------------------------
1 | String.foo
2 | Foo_bar.baz
3 | A.bar
4 |
5 | ----------------------------------------------------
6 |
7 | [
8 | ["class-name", "String"], ["punctuation", "."], "foo\r\n",
9 | ["class-name", "Foo_bar"], ["punctuation", "."], "baz\r\n",
10 | ["class-name", "A"], ["punctuation", "."], "bar"
11 | ]
12 |
13 | ----------------------------------------------------
14 |
15 | Checks for class names.
--------------------------------------------------------------------------------
/docs/_style/prism-master/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.
--------------------------------------------------------------------------------
/docs/_style/prism-master/tests/languages/tap/directive_feature.test:
--------------------------------------------------------------------------------
1 | ok # SKIP test not written
2 | ok 42 this is the description # TODO write test
3 |
4 | ----------------------------------------------------
5 |
6 | [
7 | ["pass", "ok " ],
8 | ["directive", "# SKIP test not written"],
9 | ["pass", "ok 42 this is the description "],
10 | ["directive", "# TODO write test"]
11 | ]
12 |
13 | ----------------------------------------------------
14 |
15 | Checks directives
16 |
--------------------------------------------------------------------------------
/docs/_style/prism-master/tests/languages/xeora/constant_feature.test:
--------------------------------------------------------------------------------
1 | $DomainContents$
2 | $PageRenderDuration$
3 |
4 | ----------------------------------------------------
5 |
6 | [
7 | ["constant", [
8 | ["punctuation", "$"], "DomainContents", ["punctuation", "$"]]],
9 | ["constant", [
10 | ["punctuation", "$"], "PageRenderDuration", ["punctuation", "$"]]]
11 | ]
12 |
13 | ----------------------------------------------------
14 |
15 | Checks for constants.
--------------------------------------------------------------------------------
/docs/_style/prism-master/components/prism-roboconf.min.js:
--------------------------------------------------------------------------------
1 | Prism.languages.roboconf={comment:/#.*/,keyword:{pattern:/(^|\s)(?:(?:facet|instance of)(?=[ \t]+[\w-]+[ \t]*\{)|(?:external|import)\b)/,lookbehind:!0},component:{pattern:/[\w-]+(?=[ \t]*\{)/,alias:"variable"},property:/[\w.-]+(?=[ \t]*:)/,value:{pattern:/(=[ \t]*)[^,;]+/,lookbehind:!0,alias:"attr-value"},optional:{pattern:/\(optional\)/,alias:"builtin"},wildcard:{pattern:/(\.)\*/,lookbehind:!0,alias:"operator"},punctuation:/[{},.;:=]/};
--------------------------------------------------------------------------------
/docs/_style/prism-master/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.
--------------------------------------------------------------------------------
/docs/_style/prism-master/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.
--------------------------------------------------------------------------------
/docs/_style/prism-master/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.
--------------------------------------------------------------------------------
/docs/_style/prism-master/tests/languages/coffeescript+pug/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.
--------------------------------------------------------------------------------
/docs/_style/prism-master/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.
--------------------------------------------------------------------------------
/docs/_style/prism-master/tests/languages/markup/issue888.test:
--------------------------------------------------------------------------------
1 |