Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TikZJax is broken #3034

Open
2 tasks done
gsadovski opened this issue Feb 25, 2025 · 1 comment
Open
2 tasks done

TikZJax is broken #3034

gsadovski opened this issue Feb 25, 2025 · 1 comment
Labels

Comments

@gsadovski
Copy link

gsadovski commented Feb 25, 2025

Have you checked that your issue isn't already filed?

  • I read through FAQ and searched through the past issues, none of which addressed my issue.
  • Yes, I have checked that this issue isn't already filed.

Bug description

TikzJax is no longer rendering a picture.

How to reproduce the bug

TikZJaX is no longer rendering. It can be verified from the deployment: a post with TikZJaX.

I suspect this is due to commit 05eb46, and the deletion of _includes/scripts/*.

What operating system are you using?

Not applicable (e.g. you're using GitHub Pages or other hosting)

Where are you seeing the problem on?

Deployed site, Running locally with Docker (docker compose)

More info

No response

@gsadovski gsadovski added the bug label Feb 25, 2025
@george-gca
Copy link
Collaborator

george-gca commented Feb 25, 2025

It was reported in #3006, but I agree it is best to open an issue for that.

Actually we moved most of the code from _includes/scripts/ to assets/js/, and some to _includes/scripts.liquid.

{% if page.tikzjax %}
<!-- Tikzjax -->
<script
defer
src="https://tikzjax.com/v1/tikzjax.js"
integrity="sha256-+1qyucCXRZJrCg3lm3KxRt/7WXaYhBid4/1XJRHGB1E="
crossorigin="anonymous"
></script>
{% endif %}

If you check the html generated for the page, you can see that the js file for tikzjax is correctly imported, but idk why it is not working.

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants