-
Notifications
You must be signed in to change notification settings - Fork 206
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
Math in marginnote (and change of MathJax id) #36
Comments
let me look into it. The issue may be a 'tags within tags' thing. But if we can just use the default '$' and '$$' tags that are baked into Mathjax, that may be the way to go. On Mar 9, 2016, at 10:44 AM, Claus Ekstrøm notifications@github.com wrote:
|
So I hadn't looked into this before, but now that I do, it turns out Jekyll's default Markdown renderer has built-in MathJax support http://kramdown.gettalong.org/math_engine/mathjax.html So @ekstroem either of these snippets work great!
@clayh53 Apparently there is no need for the So using |
Oh, snap! I do remember reading some documentation about Kramdown having this ability. That makes it easy! On Mar 10, 2016, at 4:04 AM, Nick notifications@github.com wrote:
|
Great! I can confirm that
works. I previously had some problems with $ signs in the main text (in the sense that they were rendered as dollar signs and not starting/ending math blocks) - I'll try to see if I can reproduce this. In any case: this works! Cheers |
Using |
Hmm. It works out of the box here at my end (what I really mean is that I cannot remember what I've tinkered with previously but I cannot see a change like fix #38 anywhere. In any case there's a good solution, and I'm happy :) |
Ok cool. |
Hi.
This may just be a liquid problem (or rather a user problem of not understanding the liquid tags) but I'd like to add a wee bit of inline math to a margin note with the following code
However, that results in an error
and I'm guessing that I cannot nest liquid tags inside one another.
One option is to change the math start and end tags to $ (for inline) and $$ (for block) as is possible with other configurations of MathJax. Would doing that break a lot of things (and if no: can anyone point me in the right direction for this)?
The text was updated successfully, but these errors were encountered: