linjer / jekyll-katex

[DEPRECATED] Jekyll plugin for easy server-side math rendering via KaTeX
MIT License
96 stars 8 forks source link

How to use this plugin and deploy the site to Github in User / Organization mode #24

Open Harrypotterrrr opened 5 years ago

Harrypotterrrr commented 5 years ago

Thank you for sharing with this plugin, but as I deployed this site to Github, it told me Liquid syntax error: Unknown tag 'katex. I have checked this issue and found out that the official whitelist excludes the third-party plugins for the sake of safety, just like jekyll-katex.

There is a workaround to deal with this problem is that change the name of the repo to others except for <username>.github.io, accordingly changing the site from User organization mode to project mode. However, I want to make Github build this code for me, and save the permalink <username>.github.io instead of <username>.github.io/<repo-name>.

In summary, I wonder if there is any way I can use your plugins as well as stay in User/Organization mode?

linjer commented 4 years ago

I haven't looked into this aspect yet. I can add this to the backlog or if you have a PR for fixing this, I could review that.