-
-
Notifications
You must be signed in to change notification settings - Fork 61
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
Unable to use cases extension of MathJax #59
Comments
Hi @raphaelsoul Thanks for your issue, could you please try to change the jekyll-spaceship:
mathjax-processor:
src:
- https://polyfill.io/v3/polyfill.min.js?features=es6
- https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js
config:
tex:
inlineMath:
- ['$','$']
- ['\(','\)']
displayMath:
- ['$$','$$']
- ['\[','\]']
autoload:
cases:
- []
- ['numcases', 'subnumcases']
svg:
fontCache: 'global' Thanks and Regards |
Hi @raphaelsoul Has your issue been settled down? Don't hesitate to let me know if you were still stuck. Thanks and Regards |
sorry not working. See detail here |
Hi @raphaelsoul Thanks for your patience, actually, this is a bug that it can not handle multiline Mathjax expression, and it has been addressed and fixed. Please update your plugin to the latest version with below code snippet: # Use this in your Gemfile
gem 'jekyll-spaceship', git: 'https://github.com/jeffreytse/jekyll-spaceship' After updating your plugin, you can use the below example to test: $$
\begin{cases}
\text{if true}\ foo \\
\text{if false}\ bar
\end{cases}
$$ Welcome to star this project for further updates in the future. Also, hope you have a good day! : ) Thanks and Regards |
Hi, thanks for your job @jeffreytse !
|
Your spacing method works for me! I have similar problem in using multiline, and found that line break placed immediately after
|
see https://docs.mathjax.org/en/latest/input/tex/extensions/cases.html
this will not be compiled
The text was updated successfully, but these errors were encountered: