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

KaTex & Mermaid Support #296

Closed
Sniperhid opened this issue Mar 7, 2021 · 2 comments
Closed

KaTex & Mermaid Support #296

Sniperhid opened this issue Mar 7, 2021 · 2 comments

Comments

@Sniperhid
Copy link

Firstly thanks for this nice theme! I am going to use it for a new project.

One thing I am interested in having is support for KaTeX & Mermaid using shortcodes. This would involve including some javascript libraries to do it (e.g. KaTex & Mermaid JS).

I am happy to do the work to make this happen and submit a Pull Request soon - But before I do I am wondering if this would of interest/in scope of this repository?

@kdkasad
Copy link
Contributor

kdkasad commented Mar 7, 2021

This has been discussed before, and the short answer is no. For the long answer, read @adityatelange's comment in #132 (direct link). The goal of PaperMod is to be simple and have 0 outside dependencies. This rules out inclusion of KaTeX and other external libraries.

Here's how to enable KaTeX in a shortcode: bee-san/hugo-PaperMod@c5c9ffc. There's also documentation of this on the example site.

@Sniperhid
Copy link
Author

Thanks @kdkasad for all the information, that's helpful!

I'll close this issue as it is clear it is out of scope.

@wirano wirano mentioned this issue Dec 12, 2023
7 tasks
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

No branches or pull requests

2 participants