Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5-Boxiang
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Hamza
erp5-Boxiang
Commits
72cc28a1
Commit
72cc28a1
authored
Mar 27, 2019
by
Boxiang Sun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_notebook: Add highlight.js for Python code syntax highlight
parent
a3dada56
Changes
4
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
156 additions
and
0 deletions
+156
-0
bt5/erp5_notebook/SkinTemplateItem/portal_skins/erp5_notebook/default.css.css
...inTemplateItem/portal_skins/erp5_notebook/default.css.css
+99
-0
bt5/erp5_notebook/SkinTemplateItem/portal_skins/erp5_notebook/default.css.xml
...inTemplateItem/portal_skins/erp5_notebook/default.css.xml
+28
-0
bt5/erp5_notebook/SkinTemplateItem/portal_skins/erp5_notebook/highlight.js.js
...inTemplateItem/portal_skins/erp5_notebook/highlight.js.js
+1
-0
bt5/erp5_notebook/SkinTemplateItem/portal_skins/erp5_notebook/highlight.js.xml
...nTemplateItem/portal_skins/erp5_notebook/highlight.js.xml
+28
-0
No files found.
bt5/erp5_notebook/SkinTemplateItem/portal_skins/erp5_notebook/default.css.css
0 → 100644
View file @
72cc28a1
/*
Original highlight.js style (c) Ivan Sagalaev <maniac@softwaremaniacs.org>
*/
.hljs
{
display
:
block
;
overflow-x
:
auto
;
padding
:
0.5em
;
background
:
#F0F0F0
;
}
/* Base color: saturation 0; */
.hljs
,
.hljs-subst
{
color
:
#444
;
}
.hljs-comment
{
color
:
#888888
;
}
.hljs-keyword
,
.hljs-attribute
,
.hljs-selector-tag
,
.hljs-meta-keyword
,
.hljs-doctag
,
.hljs-name
{
font-weight
:
bold
;
}
/* User color: hue: 0 */
.hljs-type
,
.hljs-string
,
.hljs-number
,
.hljs-selector-id
,
.hljs-selector-class
,
.hljs-quote
,
.hljs-template-tag
,
.hljs-deletion
{
color
:
#880000
;
}
.hljs-title
,
.hljs-section
{
color
:
#880000
;
font-weight
:
bold
;
}
.hljs-regexp
,
.hljs-symbol
,
.hljs-variable
,
.hljs-template-variable
,
.hljs-link
,
.hljs-selector-attr
,
.hljs-selector-pseudo
{
color
:
#BC6060
;
}
/* Language color: hue: 90; */
.hljs-literal
{
color
:
#78A960
;
}
.hljs-built_in
,
.hljs-bullet
,
.hljs-code
,
.hljs-addition
{
color
:
#397300
;
}
/* Meta color: hue: 200 */
.hljs-meta
{
color
:
#1f7199
;
}
.hljs-meta-string
{
color
:
#4d99bf
;
}
/* Misc effects */
.hljs-emphasis
{
font-style
:
italic
;
}
.hljs-strong
{
font-weight
:
bold
;
}
bt5/erp5_notebook/SkinTemplateItem/portal_skins/erp5_notebook/default.css.xml
0 → 100644
View file @
72cc28a1
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"File"
module=
"OFS.Image"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
__name__
</string>
</key>
<value>
<string>
default.css
</string>
</value>
</item>
<item>
<key>
<string>
content_type
</string>
</key>
<value>
<string>
text/css
</string>
</value>
</item>
<item>
<key>
<string>
precondition
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string></string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_notebook/SkinTemplateItem/portal_skins/erp5_notebook/highlight.js.js
0 → 100644
View file @
72cc28a1
This diff is collapsed.
Click to expand it.
bt5/erp5_notebook/SkinTemplateItem/portal_skins/erp5_notebook/highlight.js.xml
0 → 100644
View file @
72cc28a1
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"File"
module=
"OFS.Image"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
__name__
</string>
</key>
<value>
<string>
highlight.js
</string>
</value>
</item>
<item>
<key>
<string>
content_type
</string>
</key>
<value>
<string>
application/javascript
</string>
</value>
</item>
<item>
<key>
<string>
precondition
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string></string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment