How does highlight.js modify the highlight style?

  node.js, question

I’ve been making one recently.MarkdownEditor for your own use, based onnw.js.
Want to addCode highlightFunction, use ishighlight.js.
Add css files to the index.html (hybrid.css is placed in the css folder on the next level in index.html) with the following code:

<link rel="stylesheet" type="text/css" href="../css/hybrid.css"
 media="screen" />

Ineditor.jsThe code in is as follows:

exports.reload = function(){
 var marked = require("marked");
 var hljs = require("highlight.js");
 renderer: new marked.Renderer(),
 gfm: true,
 tables: true,
 breaks: false,
 pedantic: false,
 sanitize: false,
 smartLists: true,
 smartypants: false,
 highlight:function(code){return hljs.highlightAuto(code).value;  bracket
 var resultDiv = global.$('.md_result');
 var textEditor = global.$('#editor');
 var text = textEditor.val();

The key code is:

var hljs = require("highlight.js");
 highlight:function(code){return hljs.highlightAuto(code).value;  bracket

This can be used, but the rendering effect is not hybrid.css style, but the default format.

PS: markdown base program based onNode Webkit (NW.js) tutorial: creating a Markdown editor

Can you tell me how to use hybrid.css?
Thank you! !

What highlight.js does is parse the syntax and label it with some class, and the style part is all css.
So you think the style problem can be seen first whether css has been successfully introduced, and then whether the corresponding style of keywords or something comes from the hybrid.css file, and if so, that’s the case.

PS: Well, isn’t there already a lot of md editors?