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

Add mathjax integration #124

Closed
DanOvando opened this issue Feb 13, 2018 · 2 comments · Fixed by #126
Closed

Add mathjax integration #124

DanOvando opened this issue Feb 13, 2018 · 2 comments · Fixed by #126

Comments

@DanOvando
Copy link
Contributor

Expected Behavior

Great theme, thanks! I'm writing an academic blog using blogdown and hugo-future-imperfect. Posts usually involve at least a few mathematical equations, so wanted to build that capacity into this theme

Current Behavior

Equations do not seem to be currently supported, and I couldn't find any reference to equations in the documentation, current issues, or pull requests. So, this will allow users of the theme to easily integrate equations in their blogs.

Possible Solution

I simply integrated the steps for integrating mathjax from the blgodown default theme. I'm very new to hugo but it works on my end, branch with mathjax integration here. Should be ready for a pull request if you feel this feature is worth exploring

Steps to Reproduce or Template with Error (for bugs)

Context

Sometimes despite our best intentions we're forced to write equations in blogs, hopefully this helps other users accomplish this using your theme

Your Environment

Hugo Version:
0.36
Browser:
Firefox

Desktop or Mobile:
Desktop
Link to your project:
https://github.com/DanOvando/hugo-future-imperfect/tree/add-mathjax

@DanOvando
Copy link
Contributor Author

mathjax

@pacollins
Copy link
Collaborator

Feel free to make the PR and we can review from there.

Thanks for your contribution!

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

Successfully merging a pull request may close this issue.

2 participants