forked from Botanical/BotanJS
Fixed compressed SyntaxHighlighter issue
This commit is contained in:
parent
5acc48289c
commit
3b4ba29b6e
@ -31,7 +31,7 @@
|
|||||||
, "Python" , "python"
|
, "Python" , "python"
|
||||||
, "Perl" , "perl"
|
, "Perl" , "perl"
|
||||||
, "Ruby" , "ruby"
|
, "Ruby" , "ruby"
|
||||||
, "Html/Xml" , "html"
|
, "Html/Xml" , "xml"
|
||||||
, "Java" , "java"
|
, "Java" , "java"
|
||||||
, "JavaScript" , "js"
|
, "JavaScript" , "js"
|
||||||
, "SQL" , "sql"
|
, "SQL" , "sql"
|
||||||
|
@ -51,7 +51,7 @@
|
|||||||
|
|
||||||
/** @type {Libraries.SyntaxHighlighter} */
|
/** @type {Libraries.SyntaxHighlighter} */
|
||||||
var synt = __import( SyntaxHighlighter );
|
var synt = __import( SyntaxHighlighter );
|
||||||
synt.defaults["toolbar"] = false;
|
synt.defaults.toolbar = false;
|
||||||
synt.defaults["quick-code"] = false;
|
synt.defaults["quick-code"] = false;
|
||||||
synt.highlight();
|
synt.highlight();
|
||||||
break;
|
break;
|
||||||
|
@ -21,6 +21,8 @@
|
|||||||
/** @type {Libraries.SyntaxHighlighter} */
|
/** @type {Libraries.SyntaxHighlighter} */
|
||||||
var SyntaxHighlighter = __import( "Libraries.SyntaxHighlighter" );
|
var SyntaxHighlighter = __import( "Libraries.SyntaxHighlighter" );
|
||||||
|
|
||||||
|
var XRegExp = __import( "Libraries.XRegExp" );
|
||||||
|
|
||||||
/** @type {Libraries.SyntaxHighlighter.Brush} **/
|
/** @type {Libraries.SyntaxHighlighter.Brush} **/
|
||||||
var Brush = function()
|
var Brush = function()
|
||||||
{
|
{
|
||||||
|
File diff suppressed because one or more lines are too long
@ -26,7 +26,7 @@ spec:
|
|||||||
mountPath: "/app/cache"
|
mountPath: "/app/cache"
|
||||||
containers:
|
containers:
|
||||||
- name: web
|
- name: web
|
||||||
image: registry.k8s.astropenguin.net/astrojs:2022.04.05.05
|
image: registry.k8s.astropenguin.net/astrojs:2022.04.05.06
|
||||||
securityContext:
|
securityContext:
|
||||||
runAsGroup: 1001
|
runAsGroup: 1001
|
||||||
runAsNonRoot: true
|
runAsNonRoot: true
|
||||||
@ -50,7 +50,7 @@ spec:
|
|||||||
- name: redis
|
- name: redis
|
||||||
image: redis:6.0.8-alpine
|
image: redis:6.0.8-alpine
|
||||||
- name: compiler
|
- name: compiler
|
||||||
image: registry.k8s.astropenguin.net/astrojs:2022.04.05.05
|
image: registry.k8s.astropenguin.net/astrojs:2022.04.05.06
|
||||||
securityContext:
|
securityContext:
|
||||||
runAsGroup: 1001
|
runAsGroup: 1001
|
||||||
runAsNonRoot: true
|
runAsNonRoot: true
|
||||||
|
Loading…
Reference in New Issue
Block a user