using MathJax inline doesn't behave as expected

ernst.tribe's Avatar

ernst.tribe

27 Oct, 2011 12:23 AM

I've been experimenting with MathJax and Marked and things are not working out for me as one would expect. The standard delimiters for MathJax are:

inline: $ $ or \( \)
displaystyle: $$ $$ or \[ \]

I believe that the default for the CDN version of MathJax is to use \( \) and \[ \]. However, I've tried all the various options and the only thing that seems to work is $$ $$ for displaystyle. In particular, I cannot seem to typeset any math stuff inline. I've attached a sample text file.

  1. 1 Posted by ernst.tribe on 27 Oct, 2011 12:30 AM

    ernst.tribe's Avatar

    Okay, I see that I have to escape the backslash for the inline stuff. That is, \( and \) need to be used, but this is disappointing. It would be great if you could change the default delimiters to dollar signs.

  2. Support Staff 2 Posted by Brett on 27 Oct, 2011 12:38 AM

    Brett's Avatar

    This isn't my call, it's a function of the MultiMarkdown engine that Marked uses. If you'd like to see a change in the way MathJax is handled, I believe you'll need to file a ticket with Fletcher at http://github.com/fletcher/peg-multimarkdown/issues.

    -Brett

  3. Brett closed this discussion on 02 Nov, 2011 02:15 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac