Sha256: 4e131a7e89143fe99282561697d773ae06c1f9d0db96451325fdd3ee71c3b263

Contents?: true

Size: 910 Bytes

Versions: 5

Compression:

Stored size: 910 Bytes

Contents

/*! `http` grammar compiled for Highlight.js 11.6.0 */
(()=>{var e=(()=>{"use strict";return e=>{const n="HTTP/(2|1\\.[01])",a={
className:"attribute",
begin:e.regex.concat("^",/[A-Za-z][A-Za-z0-9-]*/,"(?=\\:\\s)"),starts:{
contains:[{className:"punctuation",begin:/: /,relevance:0,starts:{end:"$",
relevance:0}}]}},s=[a,{begin:"\\n\\n",starts:{subLanguage:[],endsWithParent:!0}
}];return{name:"HTTP",aliases:["https"],illegal:/\S/,contains:[{
begin:"^(?="+n+" \\d{3})",end:/$/,contains:[{className:"meta",begin:n},{
className:"number",begin:"\\b\\d{3}\\b"}],starts:{end:/\b\B/,illegal:/\S/,
contains:s}},{begin:"(?=^[A-Z]+ (.*?) "+n+"$)",end:/$/,contains:[{
className:"string",begin:" ",end:" ",excludeBegin:!0,excludeEnd:!0},{
className:"meta",begin:n},{className:"keyword",begin:"[A-Z]+"}],starts:{
end:/\b\B/,illegal:/\S/,contains:s}},e.inherit(a,{relevance:0})]}}})()
;hljs.registerLanguage("http",e)})();

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
domain-jekyll-1.5.0 assets/vendor/highlight/languages/http.min.js
domain-jekyll-1.4.0 assets/vendor/highlight/languages/http.min.js
domain-jekyll-1.3.0 assets/vendor/highlight/languages/http.min.js
domain-jekyll-1.2.1 assets/vendor/highlight/languages/http.min.js
domain-jekyll-1.2.0 assets/vendor/highlight/languages/http.min.js