swagger: avoid builtin syntax-highlightning #280

This commit is contained in:
Sören Weber 2022-06-23 00:08:07 +02:00
parent aa4d1b77bd
commit 6e70ae0f93
No known key found for this signature in database
GPG key ID: 07D17FF580AE7589

View file

@ -13,6 +13,10 @@ var touchsupport = ('ontouchstart' in window) || (navigator.maxTouchPoints > 0)
var formelements = 'button, datalist, fieldset, input, label, legend, meter, optgroup, option, output, progress, select, textarea';
// rapidoc: #280 disable broad document syntax highlightning
window.Prism = window.Prism || {};
Prism.manual = true;
// PerfectScrollbar
var psc;
var psm;