forked from dirk1983/chatgpt
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
采用Stream流模式,前端采用JS的EventSource。同时将Markdown格式文本进行了排版,对代码进行了着色处理。
- Loading branch information
Showing
13 changed files
with
1,478 additions
and
72 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
pre code.hljs { | ||
display: block; | ||
overflow-x: auto; | ||
padding: 1em | ||
} | ||
|
||
code.hljs { | ||
padding: 3px 5px | ||
} | ||
|
||
.hljs { | ||
color: #abb2bf; | ||
background: #282c34 | ||
} | ||
|
||
.hljs-comment,.hljs-quote { | ||
color: #5c6370; | ||
font-style: italic | ||
} | ||
|
||
.hljs-doctag,.hljs-formula,.hljs-keyword { | ||
color: #c678dd | ||
} | ||
|
||
.hljs-deletion,.hljs-name,.hljs-section,.hljs-selector-tag,.hljs-subst { | ||
color: #e06c75 | ||
} | ||
|
||
.hljs-literal { | ||
color: #56b6c2 | ||
} | ||
|
||
.hljs-addition,.hljs-attribute,.hljs-meta .hljs-string,.hljs-regexp,.hljs-string { | ||
color: #98c379 | ||
} | ||
|
||
.hljs-attr,.hljs-number,.hljs-selector-attr,.hljs-selector-class,.hljs-selector-pseudo,.hljs-template-variable,.hljs-type,.hljs-variable { | ||
color: #d19a66 | ||
} | ||
|
||
.hljs-bullet,.hljs-link,.hljs-meta,.hljs-selector-id,.hljs-symbol,.hljs-title { | ||
color: #61aeee | ||
} | ||
|
||
.hljs-built_in,.hljs-class .hljs-title,.hljs-title.class_ { | ||
color: #e6c07b | ||
} | ||
|
||
.hljs-emphasis { | ||
font-style: italic | ||
} | ||
|
||
.hljs-strong { | ||
font-weight: 700 | ||
} | ||
|
||
.hljs-link { | ||
text-decoration: underline | ||
} |
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
Binary file not shown.
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
Oops, something went wrong.