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

Adding Latex math mode support using jektex #73

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

yagarea
Copy link

@yagarea yagarea commented Mar 2, 2024

Hi, this is simple PR that adds Latex rendering support using jektex.

In current state it

  • renders latex display and inline math modes
  • does not add any JS to page it self.

While adding this feature I have found out. That jekyll-seo-tag does not escape string and can create invalid html head. I have opened issue on its repository.

Tell me what do you think about this PR. Currently this is the minimal jektex setup. I have few suggestions that you may be interested in:

  • adding katex css and fonts to make them local resource
  • ditching seo tag and
    • implement it in liquid directly in head
    • using another plugin that actually works

- comment seo tag because it does not escape strings
- update integrity check to current hash
@yagarea yagarea mentioned this pull request Mar 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant