Update reference docs with most recent version of brodocs (#4600)
* Update 1.7 apidocs with new brodocs * Update 1.7 resource reference docs with new brodocs * Update 1.7 kubectl reference docs with new brodocs
This commit is contained in:
committed by
Andrew Chen
parent
4b004cf717
commit
217c86642f
+6
-6
@@ -31,17 +31,17 @@ module.exports = function(hljs) {
|
||||
// for string templates
|
||||
var SUBST = {
|
||||
className: 'subst',
|
||||
variants: [
|
||||
{begin: '\\$' + hljs.UNDERSCORE_IDENT_RE},
|
||||
{begin: '\\${', end: '}', contains: [hljs.APOS_STRING_MODE, hljs.C_NUMBER_MODE]}
|
||||
]
|
||||
begin: '\\${', end: '}', contains: [hljs.APOS_STRING_MODE, hljs.C_NUMBER_MODE]
|
||||
};
|
||||
var VARIABLE = {
|
||||
className: 'variable', begin: '\\$' + hljs.UNDERSCORE_IDENT_RE
|
||||
};
|
||||
var STRING = {
|
||||
className: 'string',
|
||||
variants: [
|
||||
{
|
||||
begin: '"""', end: '"""',
|
||||
contains: [SUBST]
|
||||
contains: [VARIABLE, SUBST]
|
||||
},
|
||||
// Can't use built-in modes easily, as we want to use STRING in the meta
|
||||
// context as 'meta-string' and there's no syntax to remove explicitly set
|
||||
@@ -54,7 +54,7 @@ module.exports = function(hljs) {
|
||||
{
|
||||
begin: '"', end: '"',
|
||||
illegal: /\n/,
|
||||
contains: [hljs.BACKSLASH_ESCAPE, SUBST]
|
||||
contains: [hljs.BACKSLASH_ESCAPE, VARIABLE, SUBST]
|
||||
}
|
||||
]
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user