-
Notifications
You must be signed in to change notification settings - Fork 828
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This upgrades Exceptional to v2 and takes advantage of several features. HighlightJS is added, which will be followed up with a prettify removal later.
- Loading branch information
1 parent
b4116d9
commit f07b685
Showing
22 changed files
with
459 additions
and
126 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -393,6 +393,7 @@ | |
}); | ||
prepTableSorter(); | ||
prettyPrint(); | ||
hljs.initHighlighting(); | ||
} | ||
|
||
return { | ||
|
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,114 @@ | ||
/* | ||
* Based on: | ||
* Visual Studio 2015 dark style | ||
* Author: Nicolas LLOBERA <[email protected]> | ||
*/ | ||
|
||
.command code, .hljs { | ||
display: block; | ||
overflow-x: auto; | ||
padding: 0.5em; | ||
background: #2f3640; | ||
color: #e6e9ed; | ||
border: solid 1px #f5f5f5; | ||
} | ||
|
||
.hljs-keyword, | ||
.hljs-literal, | ||
.hljs-symbol, | ||
.hljs-name { | ||
color: #4fc1e9; | ||
} | ||
|
||
.hljs-link { | ||
color: #4fc1e9; | ||
text-decoration: underline; | ||
} | ||
|
||
.hljs-built_in, | ||
.hljs-type { | ||
color: #4EC9B0; | ||
} | ||
|
||
.hljs-number, | ||
.hljs-class { | ||
color: #B8D7A3; | ||
} | ||
|
||
.hljs-string, | ||
.hljs-meta-string { | ||
color: #D69D85; | ||
} | ||
|
||
.hljs-regexp, | ||
.hljs-template-tag { | ||
color: #9A5334; | ||
} | ||
|
||
.hljs-subst, | ||
.hljs-function, | ||
.hljs-title, | ||
.hljs-params, | ||
.hljs-formula { | ||
color: #DCDCDC; | ||
} | ||
|
||
.hljs-comment, | ||
.hljs-quote { | ||
color: #57A64A; | ||
font-style: italic; | ||
} | ||
|
||
.hljs-doctag { | ||
color: #608B4E; | ||
} | ||
|
||
.hljs-meta, | ||
.hljs-meta-keyword, | ||
.hljs-tag { | ||
color: #8e9caf; | ||
} | ||
|
||
.hljs-variable, | ||
.hljs-template-variable { | ||
color: #BD63C5; | ||
} | ||
|
||
.hljs-attr, | ||
.hljs-attribute, | ||
.hljs-builtin-name { | ||
color: #9CDCFE; | ||
} | ||
|
||
.hljs-section { | ||
color: gold; | ||
} | ||
|
||
.hljs-emphasis { | ||
font-style: italic; | ||
} | ||
|
||
.hljs-strong { | ||
font-weight: bold; | ||
} | ||
|
||
.hljs-bullet, | ||
.hljs-selector-tag, | ||
.hljs-selector-id, | ||
.hljs-selector-class, | ||
.hljs-selector-attr, | ||
.hljs-selector-pseudo { | ||
color: #D7BA7D; | ||
} | ||
|
||
.hljs-addition { | ||
background-color: #144212; | ||
display: inline-block; | ||
width: 100%; | ||
} | ||
|
||
.hljs-deletion { | ||
background-color: #600; | ||
display: inline-block; | ||
width: 100%; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8657,6 +8657,102 @@ input[type="checkbox"] { | |
.modal .close { | ||
color: #EBEBEB; | ||
} | ||
/* | ||
* Based on: | ||
* Visual Studio 2015 dark style | ||
* Author: Nicolas LLOBERA <[email protected]> | ||
*/ | ||
.command code, | ||
.hljs { | ||
display: block; | ||
overflow-x: auto; | ||
padding: 0.5em; | ||
background: #2f3640; | ||
color: #e6e9ed; | ||
border: solid 1px #f5f5f5; | ||
} | ||
.hljs-keyword, | ||
.hljs-literal, | ||
.hljs-symbol, | ||
.hljs-name { | ||
color: #4fc1e9; | ||
} | ||
.hljs-link { | ||
color: #4fc1e9; | ||
text-decoration: underline; | ||
} | ||
.hljs-built_in, | ||
.hljs-type { | ||
color: #4EC9B0; | ||
} | ||
.hljs-number, | ||
.hljs-class { | ||
color: #B8D7A3; | ||
} | ||
.hljs-string, | ||
.hljs-meta-string { | ||
color: #D69D85; | ||
} | ||
.hljs-regexp, | ||
.hljs-template-tag { | ||
color: #9A5334; | ||
} | ||
.hljs-subst, | ||
.hljs-function, | ||
.hljs-title, | ||
.hljs-params, | ||
.hljs-formula { | ||
color: #DCDCDC; | ||
} | ||
.hljs-comment, | ||
.hljs-quote { | ||
color: #57A64A; | ||
font-style: italic; | ||
} | ||
.hljs-doctag { | ||
color: #608B4E; | ||
} | ||
.hljs-meta, | ||
.hljs-meta-keyword, | ||
.hljs-tag { | ||
color: #8e9caf; | ||
} | ||
.hljs-variable, | ||
.hljs-template-variable { | ||
color: #BD63C5; | ||
} | ||
.hljs-attr, | ||
.hljs-attribute, | ||
.hljs-builtin-name { | ||
color: #9CDCFE; | ||
} | ||
.hljs-section { | ||
color: gold; | ||
} | ||
.hljs-emphasis { | ||
font-style: italic; | ||
} | ||
.hljs-strong { | ||
font-weight: bold; | ||
} | ||
.hljs-bullet, | ||
.hljs-selector-tag, | ||
.hljs-selector-id, | ||
.hljs-selector-class, | ||
.hljs-selector-attr, | ||
.hljs-selector-pseudo { | ||
color: #D7BA7D; | ||
} | ||
.hljs-addition { | ||
background-color: #144212; | ||
display: inline-block; | ||
width: 100%; | ||
} | ||
.hljs-deletion { | ||
background-color: #600; | ||
display: inline-block; | ||
width: 100%; | ||
} | ||
.spin, | ||
.hover-spin:hover .fa { | ||
-webkit-animation: spin 2s infinite linear; | ||
|
Large diffs are not rendered by default.
Oops, something went wrong.
Oops, something went wrong.