diff options
author | Óscar Nájera <hello@oscarnajera.com> | 2018-07-08 20:08:54 +0200 |
---|---|---|
committer | Óscar Nájera <hello@oscarnajera.com> | 2018-07-08 20:08:54 +0200 |
commit | da96abdb6d989c5ab432f4b20cf2f5401bf0cb95 (patch) | |
tree | c78fc8b1f91f9168aede1d4ac6e0c993934be21d | |
parent | 46f42f53a7bd2b019540b393be7d69d53b583a64 (diff) | |
download | hugo-minimalist-theme-da96abdb6d989c5ab432f4b20cf2f5401bf0cb95.tar.gz hugo-minimalist-theme-da96abdb6d989c5ab432f4b20cf2f5401bf0cb95.tar.bz2 hugo-minimalist-theme-da96abdb6d989c5ab432f4b20cf2f5401bf0cb95.zip |
syntax highlight and mathjax
-rw-r--r-- | layouts/partials/head.html | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/layouts/partials/head.html b/layouts/partials/head.html index c35336d..0dfeedd 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -1,2 +1,19 @@ <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href="https://unpkg.com/tachyons@4.10.0/css/tachyons.min.css"/> + +<!-- Highligth.js --> +<link rel="stylesheet" + href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/styles/zenburn.min.css"> +<script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/highlight.min.js"></script> +<script>hljs.initHighlightingOnLoad();</script> + +<!-- Mathjax --> +<script src='https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.4/MathJax.js?config=TeX-MML-AM_CHTML' async></script> + +<!-- CSS --> +<style> + pre { + background: #3f3f3f; + color: #dcdcdc; + padding: 0.5em;} +</style> |