Skip to content

Commit a66edc7

Browse files
committed
update prism & marked, improve graphql highlighting
1 parent 1768fb2 commit a66edc7

File tree

5 files changed

+756
-447
lines changed

5 files changed

+756
-447
lines changed

site/_core/Marked.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -822,7 +822,7 @@ Parser.prototype.tok = function() {
822822
);
823823
}
824824
case 'code': {
825-
return <Prism line={this.token.line}>{this.token.text}</Prism>;
825+
return <Prism language={this.token.lang} line={this.token.line}>{this.token.text}</Prism>;
826826
}
827827
case 'table': {
828828
var table = []

0 commit comments

Comments
 (0)