Skip to content

Commit

Permalink
chore: set katex as dependency, usemathjax -> useMath
Browse files Browse the repository at this point in the history
  • Loading branch information
TrebledJ committed Nov 6, 2023
1 parent a2fb104 commit 3e9b5e4
Show file tree
Hide file tree
Showing 16 changed files with 54 additions and 14 deletions.
2 changes: 1 addition & 1 deletion _includes/layouts/default.njk
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
{% endif %}
{% endif %}

{% if usemathjax %}
{% if useMath %}
{# {% include "utilities/mathjax.html" %} #}
{% include "utilities/katex.html" %}
{% endif %}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ tags:
- python
- programming
thumbnail_src: assets/inspector-gadget.png
usemathjax: true
useMath: true
---

### Challenge Description
Expand Down
2 changes: 1 addition & 1 deletion archive/template.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ thumbnail_banner: true # or false depending if you want the thumbnail to show on
keywords: key words # Not really important.
comments: true # Enable comments.
sharable: false # Enable share buttons.
usemathjax: false
useMath: false
pitch: A description displayed in the profile.
track_id: 00000011 # soundcloud track id
score_id: 00000012 # musescore track id
Expand Down
2 changes: 1 addition & 1 deletion content/pages/postlike/styleguide-math.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: "Styleguide – Math"
excerpt: "Minimal style tests for math."
tags:
- mathematics
usemathjax: true
useMath: true
related:
disable: false
tags: [mathematics]
Expand Down
2 changes: 1 addition & 1 deletion content/pages/postlike/styleguide.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ tags:
- composition
- learning
thumbnail_banner: true
usemathjax: true
useMath: true
pitch: This is a dummy page designed to test all aspects of style.
track_id: 1433470732
score_id: 9645115
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ tags:
- cryptography
- python
thumbnail_src: ~/assets/img/posts/thumbnail/hkcert22-thumbnail.jpg
usemathjax: true
useMath: true
---

The challenge looks deceptively simple. Chinese has over 50,000 characters. Base64 just has 64. So it should be easy right?
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ tags:
- haskell
- fp
thumbnail_src: assets/recycle-hs-utils.jpg
usemathjax: true
useMath: true
related:
tags: [aoc, haskell]
---
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ tags:
- reverse
- writeup
thumbnail_src: assets/z3.jpg
usemathjax: true
useMath: true
related:
tags: [aoc, programming, writeup]
---
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ tags:
- mathematics
- writeup
thumbnail_src: assets/aoc-2021-day-22-thumbnail.jpg
usemathjax: true
useMath: true
related:
tags: [aoc, programming]
---
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ tags:
- programming-languages
thumbnail_src: assets/abstract.jpg
# thumbnail_banner: true
usemathjax: true
useMath: true
related:
auto: true
---
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ tags:
- metaprogramming
- oop
- writeup
usemathjax: true
useMath: true
thumbnail_src: assets/thumbnail.jpg
thumbnail_banner: true
redirect_from:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ tags:
- synths
thumbnail_src: assets/synthwave-a-major-space-1.jpg
thumbnail_banner: true
usemathjax: true
useMath: true
related:
posts: [r/digital-audio-synthesis-for-dummies-part-.*/r, stm32-midi-keyboard]
auto: false
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ tags:
- synths
thumbnail_src: assets/synthwave-a-major-space-2.jpg
thumbnail_banner: true
usemathjax: true
useMath: true
related:
posts: [r/digital-audio-synthesis-for-dummies-part-.*/r, stm32-midi-keyboard]
auto: false
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ tags:
- synths
thumbnail_src: assets/synthwave-a-major-space-3.jpg
thumbnail_banner: true
usemathjax: true
useMath: true
related:
posts: [r/digital-audio-synthesis-for-dummies-part-.*/r, stm32-midi-keyboard]
auto: false
Expand Down
39 changes: 39 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@
"bootstrap": "^5.3.2",
"font-awesome": "^4.7.0",
"jquery": "^3.7.1",
"katex": "^0.16.9",
"lunr": "^2.3.9",
"magnific-popup": "^1.1.0",
"prismjs": "^1.29.0",
Expand Down

0 comments on commit 3e9b5e4

Please sign in to comment.