Skip to content

Commit

Permalink
fixing syntax highilighting
Browse files Browse the repository at this point in the history
  • Loading branch information
tmastny committed Jun 19, 2020
1 parent 6563a44 commit 54463c8
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 9 deletions.
6 changes: 3 additions & 3 deletions layouts/partials/foot_custom.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@
{{ template "_internal/disqus.html" . }}
{{ end }}

<script src="//cdn.bootcss.com/highlight.js/9.12.0/highlight.min.js"></script>
<script src="//cdn.bootcss.com/highlight.js/9.12.0/languages/r.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/10.1.1/highlight.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/10.1.1/languages/r.min.js"></script>

<script>
hljs.configure({languages: []});
hljs.initHighlightingOnLoad();
</script>
</script>
2 changes: 1 addition & 1 deletion layouts/partials/head_custom.html
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<link href="//cdn.bootcss.com/highlight.js/9.12.0/styles/github.min.css" rel="stylesheet">
<link href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/10.1.1/styles/github.min.css" rel="stylesheet">
1 change: 0 additions & 1 deletion static/css/bootstrap.css
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,6 @@ hr {
pre {
overflow: auto;
}
code,
kbd,
pre,
samp {
Expand Down
4 changes: 0 additions & 4 deletions static/css/fonts.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
body {
font-family: Optima, Candara, Calibri, Arial, sans-serif;
}
code {
font-family: "Lucida Console", Monaco, monospace;
font-size: 85%;
}

0 comments on commit 54463c8

Please sign in to comment.