🔧 config: add nginx and http markdown language highlight
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
import Prism from "prism-react-renderer/prism";
|
||||
(typeof global !== "undefined" ? global : window).Prism = Prism
|
||||
require("prismjs/components/prism-nginx")
|
||||
require("prismjs/components/prism-http")
|
||||
+3
-1
@@ -13,7 +13,9 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"dumi": "^1.0.31",
|
||||
"lint-md": "^0.1.1"
|
||||
"lint-md": "^0.1.1",
|
||||
"prism-react-renderer": "^1.1.1",
|
||||
"prismjs": "^1.21.0"
|
||||
},
|
||||
"homepage": "https://github.com/tsejx/javascript-guidebook#readme",
|
||||
"repository": {
|
||||
|
||||
Reference in New Issue
Block a user