Kubernetes 1.8 reference docs (#5632)
* Kubernetes 1.8 reference docs * Kubectl reference docs for 1.8 * Update side bar with 1.8 kubectl and api ref docs links
This commit is contained in:
committed by
Steve Perry
parent
271bd0f163
commit
147f04ca76
+47
@@ -0,0 +1,47 @@
|
||||
module.exports = function(hljs) {
|
||||
var CURLY_SUBCOMMENT = hljs.COMMENT(
|
||||
'{',
|
||||
'}',
|
||||
{
|
||||
contains: ['self']
|
||||
}
|
||||
);
|
||||
return {
|
||||
subLanguage: 'xml', relevance: 0,
|
||||
contains: [
|
||||
hljs.COMMENT('^#', '$'),
|
||||
hljs.COMMENT(
|
||||
'\\^rem{',
|
||||
'}',
|
||||
{
|
||||
relevance: 10,
|
||||
contains: [
|
||||
CURLY_SUBCOMMENT
|
||||
]
|
||||
}
|
||||
),
|
||||
{
|
||||
className: 'meta',
|
||||
begin: '^@(?:BASE|USE|CLASS|OPTIONS)$',
|
||||
relevance: 10
|
||||
},
|
||||
{
|
||||
className: 'title',
|
||||
begin: '@[\\w\\-]+\\[[\\w^;\\-]*\\](?:\\[[\\w^;\\-]*\\])?(?:.*)$'
|
||||
},
|
||||
{
|
||||
className: 'variable',
|
||||
begin: '\\$\\{?[\\w\\-\\.\\:]+\\}?'
|
||||
},
|
||||
{
|
||||
className: 'keyword',
|
||||
begin: '\\^[\\w\\-\\.\\:]+'
|
||||
},
|
||||
{
|
||||
className: 'number',
|
||||
begin: '\\^#[0-9a-fA-F]+'
|
||||
},
|
||||
hljs.C_NUMBER_MODE
|
||||
]
|
||||
};
|
||||
};
|
||||
Reference in New Issue
Block a user