假设需要高亮的代码为一段js代码,文件名为 test.js :. var testStr = "hello world";. 你需要在终端中输入:. pygmentize -f html -o test.html test.js.
確定! 回上一頁