Skip to content

Commit

Permalink
Adding highlight.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Muaath5 authored Feb 14, 2024
1 parent ddf82af commit 3cd070e
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions _layouts/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,10 @@
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" integrity="sha384-T3c6CoIi6uLrA9TneNEoa7RxnatzjcDSCmG1MXxSR1GAsXEV/Dwwykc2MPK8M2HN" crossorigin="anonymous">
{% endif %}
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" integrity="sha384-C6RzsynM9kWDrMNeT87bh95OGNyZPhcTNXj1NW7RuBCsyN/o0jlpcV8Qyq46cDfL" crossorigin="anonymous"></script>


<!-- Highlight.js -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/styles/default.min.css">
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/highlight.min.js"></script>

{% if page.usemathjax %}

Expand All @@ -52,4 +55,4 @@
<body class="d-flex flex-column h-100">
{{ content }}
</body>
</html>
</html>

0 comments on commit 3cd070e

Please sign in to comment.