添加项目文件。
This commit is contained in:
3
TightWiki/wwwroot/syntax/core.d.ts
vendored
Normal file
3
TightWiki/wwwroot/syntax/core.d.ts
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
import hljs from "highlight.js";
|
||||
export default hljs;
|
||||
|
||||
3455
TightWiki/wwwroot/syntax/highlight.min.js
vendored
Normal file
3455
TightWiki/wwwroot/syntax/highlight.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
61
TightWiki/wwwroot/syntax/styles/dark.css
Normal file
61
TightWiki/wwwroot/syntax/styles/dark.css
Normal file
@@ -0,0 +1,61 @@
|
||||
|
||||
|
||||
Dark style from softwaremaniacs.org (c) Ivan Sagalaev Maniac@SoftwareManiacs.Org
|
||||
|
||||
|
||||
|
||||
.hljs {
|
||||
color #ddd;
|
||||
background #303030;
|
||||
}
|
||||
|
||||
.hljs-keyword,
|
||||
.hljs-selector-tag,
|
||||
.hljs-literal,
|
||||
.hljs-section,
|
||||
.hljs-link {
|
||||
color white;
|
||||
}
|
||||
|
||||
|
||||
.hljs-subst {
|
||||
default
|
||||
}
|
||||
|
||||
.hljs-string,
|
||||
.hljs-title,
|
||||
.hljs-name,
|
||||
.hljs-type,
|
||||
.hljs-attribute,
|
||||
.hljs-symbol,
|
||||
.hljs-bullet,
|
||||
.hljs-built_in,
|
||||
.hljs-addition,
|
||||
.hljs-variable,
|
||||
.hljs-template-tag,
|
||||
.hljs-template-variable {
|
||||
color #d88;
|
||||
}
|
||||
|
||||
.hljs-comment,
|
||||
.hljs-quote,
|
||||
.hljs-deletion,
|
||||
.hljs-meta {
|
||||
color #979797;
|
||||
}
|
||||
|
||||
.hljs-keyword,
|
||||
.hljs-selector-tag,
|
||||
.hljs-literal,
|
||||
.hljs-title,
|
||||
.hljs-section,
|
||||
.hljs-doctag,
|
||||
.hljs-type,
|
||||
.hljs-name,
|
||||
.hljs-strong {
|
||||
font-weight bold;
|
||||
}
|
||||
|
||||
.hljs-emphasis {
|
||||
font-style italic;
|
||||
}
|
||||
133
TightWiki/wwwroot/syntax/styles/light.css
Normal file
133
TightWiki/wwwroot/syntax/styles/light.css
Normal file
@@ -0,0 +1,133 @@
|
||||
/*!
|
||||
Theme: Default
|
||||
Description: Original highlight.js style
|
||||
Author: (c) Ivan Sagalaev <maniac@softwaremaniacs.org>
|
||||
Maintainer: @highlightjs/core-team
|
||||
Website: https://highlightjs.org/
|
||||
License: see project LICENSE
|
||||
Touched: 2021
|
||||
*/
|
||||
|
||||
/*
|
||||
This is left on purpose making default.css the single file that can be lifted
|
||||
as-is from the repository directly without the need for a build step
|
||||
|
||||
Typically this "required" baseline CSS is added by `makestuff.js` during build.
|
||||
*/
|
||||
pre code.hljs {
|
||||
display: block;
|
||||
overflow-x: auto;
|
||||
padding: 1em;
|
||||
}
|
||||
|
||||
code.hljs {
|
||||
padding: 3px 5px;
|
||||
}
|
||||
/* end baseline CSS */
|
||||
|
||||
.hljs {
|
||||
background: #F3F3F3;
|
||||
color: #444;
|
||||
}
|
||||
|
||||
/* Base color: saturation 0; */
|
||||
|
||||
.hljs-subst {
|
||||
/* default */
|
||||
}
|
||||
|
||||
/* purposely ignored */
|
||||
.hljs-formula,
|
||||
.hljs-attr,
|
||||
.hljs-property,
|
||||
.hljs-params {}
|
||||
|
||||
.hljs-comment {
|
||||
color: #697070;
|
||||
}
|
||||
.hljs-tag,
|
||||
.hljs-punctuation {
|
||||
color: #444a;
|
||||
}
|
||||
|
||||
.hljs-tag .hljs-name,
|
||||
.hljs-tag .hljs-attr {
|
||||
color: #444;
|
||||
}
|
||||
|
||||
|
||||
.hljs-keyword,
|
||||
.hljs-attribute,
|
||||
.hljs-selector-tag,
|
||||
.hljs-meta .hljs-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-operator,
|
||||
.hljs-selector-pseudo {
|
||||
color: #ab5656;
|
||||
}
|
||||
|
||||
/* Language color: hue: 90; */
|
||||
|
||||
.hljs-literal {
|
||||
color: #695;
|
||||
}
|
||||
|
||||
.hljs-built_in,
|
||||
.hljs-bullet,
|
||||
.hljs-code,
|
||||
.hljs-addition {
|
||||
color: #397300;
|
||||
}
|
||||
|
||||
|
||||
/* Meta color: hue: 200 */
|
||||
|
||||
.hljs-meta {
|
||||
color: #1f7199;
|
||||
}
|
||||
|
||||
.hljs-meta .hljs-string {
|
||||
color: #38a;
|
||||
}
|
||||
|
||||
|
||||
/* Misc effects */
|
||||
|
||||
.hljs-emphasis {
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
.hljs-strong {
|
||||
font-weight: bold;
|
||||
}
|
||||
Reference in New Issue
Block a user