diff --git a/Gemfile.lock b/Gemfile.lock index 1e1bcd9a37b4..98c191d96378 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -39,7 +39,7 @@ GEM fast-stemmer (~> 1.0) matrix (~> 0.4) colorator (1.1.0) - concurrent-ruby (1.3.4) + concurrent-ruby (1.3.5) connection_pool (2.5.0) crass (1.0.6) csl (1.6.0) @@ -59,7 +59,7 @@ GEM eventmachine (1.2.7) execjs (2.10.0) fast-stemmer (1.0.2) - feedjira (3.2.3) + feedjira (3.2.4) loofah (>= 2.3.1, < 3) sax-machine (>= 1.0, < 2) ffi (1.17.1-aarch64-linux-gnu) @@ -72,19 +72,19 @@ GEM ffi (1.17.1-x86_64-linux-musl) forwardable-extended (2.6.0) gemoji (4.1.0) - google-protobuf (4.29.2) + google-protobuf (4.29.3) bigdecimal rake (>= 13) - google-protobuf (4.29.2-aarch64-linux) + google-protobuf (4.29.3-aarch64-linux) bigdecimal rake (>= 13) - google-protobuf (4.29.2-arm64-darwin) + google-protobuf (4.29.3-arm64-darwin) bigdecimal rake (>= 13) - google-protobuf (4.29.2-x86_64-darwin) + google-protobuf (4.29.3-x86_64-darwin) bigdecimal rake (>= 13) - google-protobuf (4.29.2-x86_64-linux) + google-protobuf (4.29.3-x86_64-linux) bigdecimal rake (>= 13) html-pipeline (2.14.3) @@ -169,7 +169,7 @@ GEM listen (3.9.0) rb-fsevent (~> 0.10, >= 0.10.3) rb-inotify (~> 0.9, >= 0.9.10) - logger (1.6.4) + logger (1.6.5) loofah (2.24.0) crass (~> 1.0.2) nokogiri (>= 1.12.0) @@ -210,21 +210,21 @@ GEM rexml (3.4.0) rouge (4.5.1) safe_yaml (1.0.5) - sass-embedded (1.83.1-aarch64-linux-gnu) + sass-embedded (1.83.4-aarch64-linux-gnu) google-protobuf (~> 4.29) - sass-embedded (1.83.1-aarch64-linux-musl) + sass-embedded (1.83.4-aarch64-linux-musl) google-protobuf (~> 4.29) - sass-embedded (1.83.1-arm-linux-gnueabihf) + sass-embedded (1.83.4-arm-linux-gnueabihf) google-protobuf (~> 4.29) - sass-embedded (1.83.1-arm-linux-musleabihf) + sass-embedded (1.83.4-arm-linux-musleabihf) google-protobuf (~> 4.29) - sass-embedded (1.83.1-arm64-darwin) + sass-embedded (1.83.4-arm64-darwin) google-protobuf (~> 4.29) - sass-embedded (1.83.1-x86_64-darwin) + sass-embedded (1.83.4-x86_64-darwin) google-protobuf (~> 4.29) - sass-embedded (1.83.1-x86_64-linux-gnu) + sass-embedded (1.83.4-x86_64-linux-gnu) google-protobuf (~> 4.29) - sass-embedded (1.83.1-x86_64-linux-musl) + sass-embedded (1.83.4-x86_64-linux-musl) google-protobuf (~> 4.29) sax-machine (1.3.2) securerandom (0.4.1) diff --git a/INSTALL.md b/INSTALL.md index 2decc345d86b..e4279273ef53 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -210,7 +210,7 @@ If you installed **al-folio** as described above, you can manually update your c # Assuming the current directory is $ git remote add upstream https://github.com/alshedivat/al-folio.git $ git fetch upstream -$ git rebase v0.13.2 +$ git rebase v0.13.4 ``` If you have extensively customized a previous version, it might be trickier to upgrade. diff --git a/assets/js/mathjax-setup.js b/assets/js/mathjax-setup.js index c82120659871..53f40b45da77 100644 --- a/assets/js/mathjax-setup.js +++ b/assets/js/mathjax-setup.js @@ -1,5 +1,26 @@ window.MathJax = { tex: { tags: "ams", + inlineMath: [ + ["$", "$"], + ["\\(", "\\)"], + ], + }, + options: { + renderActions: { + addCss: [ + 200, + function (doc) { + const style = document.createElement("style"); + style.innerHTML = ` + .mjx-container { + color: inherit; + } + `; + document.head.appendChild(style); + }, + "", + ], + }, }, }; diff --git a/docker-compose.yml b/docker-compose.yml index d51e086f41aa..47989d57e0de 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,7 +1,7 @@ # this file uses prebuilt image in dockerhub services: jekyll: - image: amirpourmand/al-folio:v0.13.3 + image: amirpourmand/al-folio:v0.13.4 build: . # uncomment these if you are having this issue with the build: # /usr/local/bundle/gems/jekyll-4.3.4/lib/jekyll/site.rb:509:in `initialize': Permission denied @ rb_sysopen - /srv/jekyll/.jekyll-cache/.gitignore (Errno::EACCES)