mirror of
https://github.com/Mibew/docs.mibew.org.git
synced 2024-11-15 00:24:13 +03:00
Add code highlighting
This commit is contained in:
parent
f79432ab82
commit
317f2673b0
@ -3,6 +3,7 @@
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
"bootstrap": "~3.3.4",
|
||||
"jquery": "~1.11.2"
|
||||
"jquery": "~1.11.2",
|
||||
"highlightjs": "~8.5.0"
|
||||
}
|
||||
}
|
@ -14,6 +14,9 @@
|
||||
<!-- Bootstrap core CSS -->
|
||||
<link href="{{baseUrl}}/assets/third-party/bootstrap/dist/css/bootstrap.min.css" rel="stylesheet">
|
||||
|
||||
<!-- Hightlight.js styles -->
|
||||
<link href="{{ baseUrl }}/assets/third-party/highlightjs/styles/github.css" rel="stylesheet">
|
||||
|
||||
<!-- Custom styles for this template -->
|
||||
<link href="{{baseUrl}}/assets/theme.css" rel="stylesheet">
|
||||
|
||||
@ -64,5 +67,9 @@
|
||||
<script src="{{baseUrl}}/assets/third-party/jquery/dist/jquery.min.js"></script>
|
||||
<script src="{{baseUrl}}/assets/third-party/bootstrap/dist/js/bootstrap.min.js"></script>
|
||||
|
||||
<!-- Load and initialize Highlight.js -->
|
||||
<script src="{{baseUrl}}/assets/third-party/highlightjs/highlight.pack.js"></script>
|
||||
<script>hljs.initHighlightingOnLoad();</script>
|
||||
|
||||
</body>
|
||||
</html>
|
Loading…
Reference in New Issue
Block a user