Merge pull request #56 from STRML/syntaxHighlighting
Add syntax highlighting styles & highlight threshold.
This commit is contained in:
commit
174aff7fbe
|
@ -21,6 +21,19 @@
|
|||
bottom: -30px;
|
||||
}
|
||||
|
||||
/* JSON syntax highlighting */
|
||||
.json, .json .attribute {
|
||||
color: black;
|
||||
}
|
||||
|
||||
.json .value .string {
|
||||
color: #800;
|
||||
}
|
||||
|
||||
.json .value .number, .json .value .literal {
|
||||
color: #080;
|
||||
}
|
||||
|
||||
/*
|
||||
FIXME: Separate the overrides from the rest of the styles, rather than override screen.css entirely.
|
||||
*/
|
||||
|
|
|
@ -26,7 +26,8 @@ $(function() {
|
|||
log('Unable to Load SwaggerUI');
|
||||
log(data);
|
||||
},
|
||||
docExpansion: 'none'
|
||||
docExpansion: 'none',
|
||||
highlightSizeThreshold: 16384
|
||||
});
|
||||
|
||||
$('#explore').click(setAccessToken);
|
||||
|
|
Loading…
Reference in New Issue